/* Sistema de diseno .lx (2026-09-25): componentes reutilizables por cualquier pagina.
   Envolver el contenido en <div class="lx">. Tokens en gm-design.css. Lo carga Master.astro.
   La aparicion al hacer scroll ([data-reveal]) la maneja /js/gm-lx.js. */

/* =====================================================================
   SISTEMA
   ===================================================================== */
/* Tokens --lx-*: public/css/gm-design.css (los carga Master.astro) */

.lx { font-family: var(--lx-sans); color: var(--lx-text); overflow-x: clip; }
.lx *, .lx *::before, .lx *::after { box-sizing: border-box; }
.lx img { max-width: 100%; }
.lx a { text-decoration: none; }
.lx-wrap { width: min(1280px, 100% - 48px); margin-inline: auto; }

/* Bodoni: opsz fijo bajo para que los trazos capilares no desaparezcan en 1x */
.lx-serif, .lx h1, .lx h2, .lx h3, .lx blockquote {
    font-family: var(--lx-serif);
    font-optical-sizing: none;
    font-variation-settings: 'opsz' 14;
    font-weight: 400;
    letter-spacing: -0.005em;
}

.lx-eyebrow {
    font-family: var(--lx-sans);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.34em;
    text-transform: uppercase;
    color: var(--lx-gold-deep);
    margin: 0 0 1.1rem;
    display: flex;
    align-items: center;
    gap: 14px;
}
.lx-eyebrow::before {
    content: '';
    width: 36px;
    height: 1px;
    background: currentColor;
    opacity: 0.7;
}
.lx-eyebrow.center { justify-content: center; }
.lx-eyebrow.center::after {
    content: '';
    width: 36px;
    height: 1px;
    background: currentColor;
    opacity: 0.7;
}
.lx-dark .lx-eyebrow { color: var(--lx-gold); }

.lx-h2 {
    font-size: clamp(2.1rem, 4.4vw, 3.6rem);
    line-height: 1.08;
    color: var(--lx-text);
    margin: 0 0 1.4rem;
}
.lx-dark .lx-h2 { color: #F7F1E6; }
.lx-h2 em, .lx-gold-text {
    font-style: italic;
    background: var(--lx-gold-grad);
    background-size: 220% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.lx-lead {
    font-weight: 300;
    font-size: clamp(0.98rem, 1.15vw, 1.08rem);
    line-height: 1.8;
    color: var(--lx-text-soft);
    max-width: 58ch;
}
.lx-dark .lx-lead { color: rgba(247, 241, 230, 0.72); }

.lx-dark { background: var(--lx-ink); color: #F7F1E6; }
.lx-section { padding: clamp(80px, 11vw, 150px) 0; position: relative; }

/* Botones */
.lx-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 17px 34px;
    font-family: var(--lx-sans);
    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--lx-ink) !important;
    background: var(--lx-gold-grad);
    background-size: 200% 100%;
    background-position: 0% 0;
    border: 0;
    border-radius: 0;
    overflow: hidden;
    transition: background-position 0.8s var(--lx-ease), transform 0.4s var(--lx-ease), box-shadow 0.4s var(--lx-ease);
    box-shadow: 0 14px 40px -12px rgba(201, 162, 104, 0.55);
}
.lx-btn:hover { background-position: 100% 0; transform: translateY(-2px); color: var(--lx-ink) !important; }
.lx-btn .fa { font-size: 1.05rem; }
.lx-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    color: var(--lx-text) !important;
    padding-bottom: 6px;
    background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
    transition: background-size 0.5s var(--lx-ease), color 0.3s;
}
.lx-link::after { content: '\2192'; font-size: 1rem; letter-spacing: 0; transition: transform 0.4s var(--lx-ease); }
.lx-link:hover { background-size: 30% 1px; color: var(--lx-gold-deep) !important; }
.lx-link:hover::after { transform: translateX(6px); }
.lx-dark .lx-link { color: var(--lx-gold-light) !important; }
.lx-dark .lx-link:hover { color: #fff !important; }

/* Aparicion al hacer scroll */
.lx-js [data-reveal] {
    opacity: 0;
    transform: translateY(34px);
    transition: opacity 1.1s var(--lx-ease), transform 1.1s var(--lx-ease);
    transition-delay: var(--d, 0s);
}
.lx-js [data-reveal].is-in { opacity: 1; transform: none; }

.lx-head { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 80px; align-items: end; margin-bottom: clamp(48px, 6vw, 86px); }
.lx-head .lx-h2 { margin: 0; }

/* =====================================================================
   FUNDADORA
   ===================================================================== */
.lx-founder { background: var(--lx-paper); }
.lx-founder-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(48px, 8vw, 130px); align-items: center; }
.lx-founder-photo { position: relative; margin: 0; }
.lx-founder-photo .ph { overflow: hidden; aspect-ratio: 1214 / 1296; background: transparent; }
.lx-founder-photo img { width: 100%; height: 100%; object-fit: cover; display: block; filter: grayscale(1) contrast(1.04); transition: transform 1.6s var(--lx-ease); }
.lx-founder-photo:hover img { transform: scale(1.04); }
.lx-founder-photo::before { content: ''; position: absolute; inset: 28px -28px -28px 28px; border: 1px solid var(--lx-gold); z-index: -1; }
.lx-founder-photo { z-index: 0; }
.lx-founder-cap {
    position: absolute; left: 0; right: 0; bottom: 0;
    background: var(--lx-ink); color: var(--lx-gold-light);
    padding: 17px 16px;
    display: flex; justify-content: center; align-items: center; flex-wrap: nowrap;
    font-size: 0.6rem; letter-spacing: 0.22em; text-transform: uppercase; white-space: nowrap;
}
.lx-founder-cap span + span::before { content: '\2726'; color: var(--lx-gold); font-size: 0.55rem; margin: 0 14px; letter-spacing: 0; }
@media (max-width: 600px) {
    .lx-founder-cap { flex-direction: column; gap: 6px; padding: 14px 16px; }
    .lx-founder-cap span + span::before { content: none; }
}
.lx-founder p.lx-lead { margin-bottom: 1.2rem; }
.lx-creds { list-style: none; padding: 0; margin: 2.2rem 0 2.6rem; border-top: 1px solid var(--lx-rule-light); }
.lx-creds li {
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 20px;
    padding: 16px 0;
    border-bottom: 1px solid var(--lx-rule-light);
    font-size: 0.9rem;
    font-weight: 300;
    color: var(--lx-text-soft);
    line-height: 1.6;
}
.lx-creds li b { font-weight: 500; font-size: 0.64rem; letter-spacing: 0.26em; text-transform: uppercase; color: var(--lx-gold-deep); padding-top: 4px; }

/* =====================================================================
   CREDENCIALES
   ===================================================================== */
.lx-awards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--lx-rule-dark); border: 1px solid var(--lx-rule-dark); }
.lx-award { background: var(--lx-ink); padding: clamp(28px, 3vw, 44px); display: flex; flex-direction: column; transition: background 0.6s var(--lx-ease); }
.lx-award:hover { background: var(--lx-ink-3); }
.lx-award-img { aspect-ratio: 4 / 3; overflow: hidden; margin-bottom: 30px; background: #111; }
.lx-award-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--lx-ease); }
.lx-award:hover .lx-award-img img { transform: scale(1.05); }

.lx-seal { position: relative; background: radial-gradient(70% 70% at 50% 45%, #2a2520 0%, #0b0a09 75%) !important; }
.lx-seal svg { position: absolute; top: 7%; bottom: 7%; left: 50%; translate: -50% 0; height: auto; aspect-ratio: 1; width: auto; height: auto; overflow: visible; filter: drop-shadow(0 0 22px rgba(201,162,104,.18)); transform: scale(1.32); transition: transform 1.4s var(--lx-ease); }
.lx-award:hover .lx-seal svg { transform: scale(1.38); }
.lx-seal-ring { transform-origin: 150px 150px; animation: lxSealSpin 40s linear infinite; }
@keyframes lxSealSpin { to { transform: rotate(360deg); } }
.lx-award small { font-size: 0.62rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--lx-gold); margin-bottom: 12px; }
.lx-award h3 { font-size: clamp(1.4rem, 1.9vw, 1.8rem); color: #F7F1E6; line-height: 1.2; margin: 0 0 14px; }
.lx-award p { font-weight: 300; font-size: 0.88rem; line-height: 1.75; color: rgba(247, 241, 230, 0.62); margin: 0; }

/* =====================================================================
   CTA FINAL
   ===================================================================== */
.lx-final { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); min-height: min(92vh, 900px); isolation: isolate; }
.lx-final-photo { position: relative; margin: 0; overflow: hidden; }
.lx-final-photo img { position: absolute; inset: -6% 0; width: 100%; height: 112%; object-fit: cover; object-position: 22% 50%; will-change: transform; }
.lx-final-photo::after {    /* funde la foto hacia el negro del texto */
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(15,14,13,0) 55%, rgba(15,14,13,0.85) 88%, var(--lx-ink) 100%),
        linear-gradient(180deg, rgba(15,14,13,0.25) 0%, rgba(15,14,13,0) 25%, rgba(15,14,13,0) 75%, rgba(15,14,13,0.45) 100%);
}
.lx-final-copy { align-self: center; padding: clamp(60px, 8vw, 120px) clamp(24px, 6vw, 110px) clamp(60px, 8vw, 120px) clamp(24px, 4vw, 70px); max-width: 680px; }
.lx-final .lx-h2 { font-size: clamp(2.3rem, 4.4vw, 4.2rem); }
.lx-final .lx-lead { margin: 0 0 2.6rem; }
.lx-final-meta { margin: 2.8rem 0 0; padding-top: 24px; border-top: 1px solid var(--lx-rule-dark); display: grid; grid-template-columns: 1fr 1fr; gap: 22px 40px; }
.lx-final-meta dt { font-size: 0.62rem; font-weight: 500; letter-spacing: 0.3em; text-transform: uppercase; color: var(--lx-gold); margin-bottom: 8px; }
.lx-final-meta dd { margin: 0; font-size: 0.92rem; font-weight: 300; line-height: 1.8; color: rgba(247, 241, 230, 0.78); }
.lx-final-meta a { color: var(--lx-gold-light) !important; }
.lx-final-meta a:hover { color: #fff !important; }
@media (max-width: 900px) {
    .lx-final { grid-template-columns: 1fr; min-height: 0; }
    .lx-final-photo { height: 78vw; max-height: 560px; }
    .lx-final-photo::after { background: linear-gradient(180deg, rgba(15,14,13,0) 50%, var(--lx-ink) 100%); }
    .lx-final-copy { padding-top: 10px; }
    .lx-final-meta { grid-template-columns: 1fr; }
    .lx-final-photo img { inset: 0; height: 100%; transform: none !important; }
}



/* =====================================================================
   RESPONSIVO (componentes base)
   ===================================================================== */
@media (max-width: 900px) {
    .lx-head { grid-template-columns: 1fr; gap: 20px; }
    .lx-founder-grid { grid-template-columns: 1fr; }
    .lx-founder-photo { max-width: 460px; margin-right: 28px; }
    .lx-awards-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
    .lx-wrap { width: calc(100% - 36px); }
    .lx-creds li { grid-template-columns: 1fr; gap: 4px; }
}
@media (prefers-reduced-motion: reduce) {
    .lx *, .lx *::before, .lx *::after { animation: none !important; transition: none !important; }
    .lx-js [data-reveal] { opacity: 1; transform: none; }
}

/* =====================================================================
   HORARIOS (componente global HorariosInformes, envuelto en <div class="lx-horarios">)
   ===================================================================== */
.lx-horarios { background: var(--lx-ink-2); border-top: 1px solid var(--lx-rule-dark); padding: 30px 0; font-family: var(--lx-sans); }
.lx-horarios h4 {
    font-family: var(--lx-serif) !important;
    font-variation-settings: 'opsz' 14;
    font-weight: 400 !important;
    font-size: clamp(1.5rem, 2.2vw, 2rem) !important;
    color: #F7F1E6 !important;
    text-transform: lowercase;
    letter-spacing: 0;
}
.lx-horarios h4::first-letter { text-transform: uppercase; }
.lx-horarios .solidpanel { background: transparent !important; box-shadow: none !important; border-radius: 0 !important; border-top: 1px solid var(--lx-rule-dark) !important; padding: 0 !important; }
.lx-horarios .list-group-item {
    color: rgba(247, 241, 230, 0.78) !important;
    font-size: 0.78rem;
    letter-spacing: 0.16em;
    border-bottom: 1px solid var(--lx-rule-dark) !important;
    padding: 14px 0 !important;
}
.lx-horarios .list-group-item:last-child { color: var(--lx-gold) !important; }
.lx-horarios p { color: rgba(247, 241, 230, 0.7) !important; font-weight: 300; }
.lx-horarios .botongolden {
    display: inline-block;
    padding: 16px 34px !important;
    border-radius: 0 !important;
    border: 0 !important;
    background: var(--lx-gold-grad) !important;
    background-size: 200% 100% !important;
    color: var(--lx-ink) !important;
    font-size: 0.72rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    box-shadow: 0 14px 40px -12px rgba(201, 162, 104, 0.5) !important;
    transition: background-position 0.8s var(--lx-ease), transform 0.4s var(--lx-ease);
}
.lx-horarios .botongolden:hover { background-position: 100% 0 !important; transform: translateY(-2px); }


/* =====================================================================
   HERO DE PROFESIONAL (perfil y landings de medicos)
   ===================================================================== */
.lx-phero { position: relative; background: var(--lx-ink); color: #F7F1E6; overflow: hidden; }
.lx-phero::before { content: ''; position: absolute; inset: 0; pointer-events: none;
    background: radial-gradient(60% 70% at 85% 30%, rgba(201,162,104,.14), transparent 70%), radial-gradient(40% 50% at 10% 90%, rgba(201,162,104,.08), transparent 70%); }
.lx-phero-grid { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(40px, 6vw, 100px); align-items: center; padding: clamp(56px, 7vw, 110px) 0 clamp(48px, 6vw, 90px); }
.lx-phero .lx-eyebrow { color: var(--lx-gold); }
.lx-phero h1 { font-family: var(--lx-serif); font-optical-sizing: none; font-variation-settings: 'opsz' 14; font-weight: 400;
    font-size: clamp(2.8rem, 5.6vw, 5.4rem); line-height: .98; letter-spacing: -.02em; color: #F7F1E6; margin: 0 0 1.4rem; }
.lx-phero h1 em { font-style: italic; display: block; background: var(--lx-gold-grad); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; }
.lx-phero-sub { font-family: var(--lx-serif); font-style: italic; font-size: clamp(1.15rem, 1.6vw, 1.4rem); line-height: 1.45; color: rgba(247,241,230,.86); margin: 0 0 1.6rem; max-width: 34ch; }
.lx-phero .lx-lead { color: rgba(247,241,230,.72); margin-bottom: 2rem; }
.lx-phero-creds { list-style: none; margin: 0 0 2.4rem; padding: 0; border-top: 1px solid var(--lx-rule-dark); max-width: 560px; }
.lx-phero-creds li { position: relative; padding: 12px 0 12px 26px; border-bottom: 1px solid var(--lx-rule-dark); font-size: .9rem; font-weight: 300; line-height: 1.55; color: rgba(247,241,230,.8); }
.lx-phero-creds li::before { content: '\2726'; position: absolute; left: 0; top: 13px; font-size: .7rem; color: var(--lx-gold); }
.lx-phero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 22px 34px; }
.lx-phero .lx-link { color: #F7F1E6 !important; }
.lx-phero-media { position: relative; margin: 0; z-index: 0; }
.lx-phero-media::before { content: ''; position: absolute; inset: 26px -26px -26px 26px; border: 1px solid var(--lx-gold); z-index: -1; }
.lx-phero-media video, .lx-phero-media img { display: block; width: 100%; aspect-ratio: 3 / 4; object-fit: cover; background: #111; }
.lx-phero-media.cutout img { background: radial-gradient(80% 70% at 50% 35%, #2a2520, #121110 75%); object-fit: contain; object-position: 50% 100%; }
.lx-phero-media figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 16px; background: linear-gradient(0deg, rgba(15,14,13,.85), rgba(15,14,13,0));
    font-size: .6rem; letter-spacing: .28em; text-transform: uppercase; color: var(--lx-gold-light); text-align: center; }
.lx-phero-quote { margin: 0 0 2.2rem; padding-left: 20px; border-left: 1px solid var(--lx-gold); font-family: var(--lx-serif); font-style: italic; font-size: 1.1rem; line-height: 1.5; color: rgba(247,241,230,.8); max-width: 40ch; }
.lx-facts { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--lx-rule-dark); }
.lx-facts div { padding: 24px 22px 28px; border-left: 1px solid var(--lx-rule-dark); }
.lx-facts div:first-child { border-left: 0; padding-left: 0; }
.lx-facts b { display: block; font-family: var(--lx-serif); font-variation-settings: 'opsz' 14; font-weight: 400; font-size: clamp(1.3rem, 2vw, 1.8rem); color: #F7F1E6; margin-bottom: 6px; }
.lx-facts span { font-size: .62rem; letter-spacing: .24em; text-transform: uppercase; color: rgba(247,241,230,.55); }

/* =====================================================================
   BLOQUE EDITORIAL A DOS COLUMNAS (texto largo con foto)
   ===================================================================== */
.lx-split { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(40px, 7vw, 120px); align-items: start; }
.lx-split-side { position: sticky; top: 96px; }
.lx-split-photo { margin: 0 0 28px; overflow: hidden; }
.lx-split-photo img { width: 100%; display: block; object-fit: cover; filter: grayscale(1) contrast(1.04); }
.lx-prose h3 { font-size: clamp(1.5rem, 2.2vw, 2rem); line-height: 1.2; margin: 0 0 1rem; color: var(--lx-text); }
.lx-prose h3 em { font-style: italic; color: var(--lx-gold-deep); }
.lx-prose p { font-weight: 300; font-size: clamp(1rem, 1.15vw, 1.08rem); line-height: 1.9; color: var(--lx-text-soft); margin: 0 0 1.2rem; }
.lx-prose strong { font-weight: 500; color: var(--lx-text); }
.lx-prose .lx-prose-block + .lx-prose-block { margin-top: 3rem; padding-top: 3rem; border-top: 1px solid var(--lx-rule-light); }
.lx-pull { margin: 1.6rem 0 0; font-family: var(--lx-serif); font-style: italic; font-size: clamp(1.3rem, 1.9vw, 1.7rem); line-height: 1.35; color: var(--lx-gold-deep); }
.lx-dark .lx-prose h3 { color: #F7F1E6; }
.lx-dark .lx-prose p { color: rgba(247,241,230,.72); }
.lx-dark .lx-prose strong { color: #F7F1E6; }
.lx-dark .lx-pull { color: var(--lx-gold-light); }

/* Lista con estrellas de oro (enfermedades, beneficios...) */
.lx-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; border-top: 1px solid var(--lx-rule-light); }
.lx-list li { position: relative; padding: 16px 0 16px 28px; border-bottom: 1px solid var(--lx-rule-light); font-size: .95rem; font-weight: 300; line-height: 1.5; color: var(--lx-text-soft); }
.lx-list li::before { content: '\2726'; position: absolute; left: 0; top: 17px; font-size: .75rem; color: var(--lx-gold); }
.lx-dark .lx-list, .lx-dark .lx-list li { border-color: var(--lx-rule-dark); color: rgba(247,241,230,.8); }

/* =====================================================================
   POR QUE AGENDAR (razones numeradas)
   ===================================================================== */
.lx-why { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--lx-rule-light); }
.lx-why li { padding: 30px 26px 34px 0; border-bottom: 1px solid var(--lx-rule-light); }
.lx-why li + li { padding-left: 26px; border-left: 1px solid var(--lx-rule-light); }
.lx-why li:nth-child(4n+1) { padding-left: 0; border-left: 0; }
.lx-why span { display: block; font-family: var(--lx-serif); font-style: italic; font-size: 1.1rem; color: var(--lx-gold-deep); margin-bottom: 14px; }
.lx-why strong { display: block; font-family: var(--lx-serif); font-variation-settings: 'opsz' 14; font-weight: 400; font-size: 1.25rem; line-height: 1.25; color: var(--lx-text); margin-bottom: 8px; }
.lx-why p { margin: 0; font-size: .88rem; font-weight: 300; line-height: 1.65; color: var(--lx-text-soft); }

/* =====================================================================
   TARJETAS DE TRATAMIENTOS
   ===================================================================== */
.lx-tgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px 24px; }
.lx-tcard { display: flex; flex-direction: column; color: var(--lx-text) !important; }
.lx-tcard-img { aspect-ratio: 1; overflow: hidden; background: #efe9e0; margin-bottom: 18px; }
.lx-tcard-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--lx-ease); }
.lx-tcard:hover .lx-tcard-img img { transform: scale(1.06); }
.lx-tcard h3 { font-size: 1.3rem; line-height: 1.2; margin: 0 0 8px; }
.lx-tcard p { font-size: .86rem; font-weight: 300; line-height: 1.6; color: var(--lx-text-soft); margin: 0 0 14px; flex: 1; }
.lx-tcard-more { font-size: .64rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--lx-gold-deep); }
.lx-tcard-more::after { content: ' \2192'; letter-spacing: 0; }

/* =====================================================================
   PROMOCIONES
   ===================================================================== */
.lx-promo-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1px; background: var(--lx-rule-dark); border: 1px solid var(--lx-rule-dark); }
.lx-promo { background: var(--lx-ink); padding: clamp(28px, 3vw, 46px); display: flex; flex-direction: column; }
.lx-promo small { font-size: .62rem; letter-spacing: .28em; text-transform: uppercase; color: var(--lx-gold); margin-bottom: 14px; }
.lx-promo h3 { font-size: clamp(1.5rem, 2.2vw, 2rem); line-height: 1.15; color: #F7F1E6; margin: 0 0 18px; }
.lx-promo p { font-size: .92rem; font-weight: 300; line-height: 1.7; color: rgba(247,241,230,.7); margin: 0 0 22px; }
.lx-promo ul { list-style: none; margin: 0 0 24px; padding: 0; }
.lx-promo li { position: relative; padding: 7px 0 7px 22px; font-size: .9rem; font-weight: 300; line-height: 1.5; color: rgba(247,241,230,.78); }
.lx-promo li::before { content: '\2726'; position: absolute; left: 0; top: 8px; font-size: .65rem; color: var(--lx-gold); }
.lx-promo-foot { margin-top: auto; display: flex; flex-direction: column; gap: 22px; padding-top: 22px; border-top: 1px solid var(--lx-rule-dark); }
.lx-promo-price { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.lx-promo-price s { font-size: .95rem; color: var(--lx-stone); }
.lx-promo-price strong { font-family: var(--lx-serif); font-weight: 400; font-size: clamp(2rem, 3vw, 2.6rem); line-height: 1; color: #F7F1E6; }
.lx-promo-price span { font-size: .64rem; letter-spacing: .22em; text-transform: uppercase; color: rgba(247,241,230,.55); }
.lx-promo .lx-btn { justify-content: center; white-space: nowrap; }
@media (max-width: 600px) { .lx-promo .lx-btn { padding: 17px 16px; letter-spacing: .16em; gap: 10px; } }
.lx-promo .lx-promo-who { margin: -8px 0 20px; font-size: .74rem; letter-spacing: .06em; color: var(--lx-gold-light); }
.lx-promo-who::before { content: '\2014\00a0'; color: var(--lx-gold); }
.lx-promo-alt { margin-top: 28px; padding: 26px 30px; border: 1px solid var(--lx-rule-dark); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 30px; }
.lx-promo-alt p { margin: 0; font-size: .95rem; font-weight: 300; line-height: 1.6; color: rgba(247,241,230,.78); max-width: 62ch; }
.lx-promo-alt strong { font-weight: 500; color: #F7F1E6; }

/* =====================================================================
   VIDEOS
   ===================================================================== */
.lx-vid-main { position: relative; aspect-ratio: 16 / 9; background: #000; margin-bottom: 18px; overflow: hidden; }
.lx-vid-main iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.lx-vid-poster { position: absolute; inset: 0; width: 100%; padding: 0; border: 0; background: #000; cursor: pointer; }
.lx-vid-poster img { width: 100%; height: 100%; object-fit: cover; opacity: .72; transition: opacity .5s; }
.lx-vid-poster:hover img { opacity: .9; }
.lx-vid-play { position: absolute; left: 50%; top: 50%; width: 88px; height: 88px; margin: -44px 0 0 -44px; border-radius: 50%; border: 1px solid var(--lx-gold-light); background: rgba(15,14,13,.45); }
.lx-vid-play::after { content: ''; position: absolute; left: 36px; top: 29px; border-style: solid; border-width: 15px 0 15px 24px; border-color: transparent transparent transparent var(--lx-gold-light); }
.lx-vid-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 26px; text-align: left; font-family: var(--lx-serif); font-style: italic; font-size: clamp(1.1rem, 1.8vw, 1.5rem); color: #F7F1E6; background: linear-gradient(0deg, rgba(15,14,13,.85), transparent); }
.lx-vid-strip { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(200px, 1fr); gap: 12px; overflow-x: auto; padding-bottom: 8px; scrollbar-width: thin; }
.lx-vid-thumb { padding: 0; border: 0; background: none; text-align: left; cursor: pointer; opacity: .6; transition: opacity .4s; }
.lx-vid-thumb:hover, .lx-vid-thumb.on { opacity: 1; }
.lx-vid-thumb img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; margin-bottom: 10px; border-bottom: 2px solid transparent; }
.lx-vid-thumb.on img { border-bottom-color: var(--lx-gold); }
.lx-vid-thumb span { display: block; font-size: .78rem; line-height: 1.45; color: rgba(247,241,230,.8); }

/* =====================================================================
   OPINIONES
   ===================================================================== */
.lx-ops-frase { margin: 0; font-family: var(--lx-serif); font-style: italic; font-size: clamp(1.1rem, 1.5vw, 1.3rem); line-height: 1.55; color: var(--lx-text-soft); }
.lx-ops-frase cite { display: block; margin-top: 14px; font-family: var(--lx-sans); font-style: normal; font-size: .64rem; letter-spacing: .28em; text-transform: uppercase; color: var(--lx-gold-deep); }
.lx-ops-grid { columns: 3; column-gap: 24px; }
.lx-ops-card { break-inside: avoid; margin: 0 0 24px; padding: 30px 28px 26px; background: var(--lx-paper); border: 1px solid var(--lx-rule-light); }
.lx-ops-mark { display: block; font-family: var(--lx-serif); font-size: 3rem; line-height: .6; color: var(--lx-gold); margin-bottom: 10px; }
.lx-ops-card blockquote { margin: 0 0 18px; font-size: .95rem; font-weight: 300; line-height: 1.75; color: var(--lx-text); }
.lx-ops-card figcaption { font-size: .6rem; letter-spacing: .26em; text-transform: uppercase; color: var(--lx-stone); }

/* =====================================================================
   TRAYECTORIA + DIPLOMAS
   ===================================================================== */
.lx-edu { background: var(--lx-ivory); }
.lx-edu-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(40px, 6vw, 100px); }
.lx-edu h3 { font-family: var(--lx-sans); font-size: .66rem; font-weight: 500; letter-spacing: .32em; text-transform: uppercase; color: var(--lx-gold-deep); margin: 0 0 20px; }
.lx-time { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--lx-rule-light); }
.lx-time li { display: grid; grid-template-columns: 120px 1fr; gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--lx-rule-light); }
.lx-time .y { font-family: var(--lx-serif); font-variation-settings: 'opsz' 14; font-size: 1.35rem; color: var(--lx-gold-deep); line-height: 1.2; }
.lx-time strong { display: block; font-family: var(--lx-serif); font-variation-settings: 'opsz' 14; font-weight: 400; font-size: 1.25rem; line-height: 1.3; color: var(--lx-text); }
.lx-time small { display: block; margin-top: 6px; font-size: .82rem; font-weight: 300; line-height: 1.6; color: var(--lx-text-soft); }
.lx-time-sm li { padding: 14px 0; }
.lx-time-sm .y { font-size: 1.05rem; }
.lx-time-sm strong { font-family: var(--lx-sans); font-size: .9rem; font-weight: 400; color: var(--lx-text-soft); }
.lx-courses { list-style: none; margin: 0; padding: 0; }
.lx-courses li { position: relative; padding: 11px 0 11px 24px; border-bottom: 1px solid var(--lx-rule-light); font-size: .9rem; font-weight: 300; line-height: 1.5; color: var(--lx-text-soft); }
.lx-courses li::before { content: '\2726'; position: absolute; left: 0; top: 12px; font-size: .7rem; color: var(--lx-gold); }
.lx-dipl { margin-top: clamp(56px, 7vw, 90px); }
.lx-dipl-head { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin-bottom: 18px; }
.lx-dipl-head span { font-size: .62rem; letter-spacing: .24em; text-transform: uppercase; color: var(--lx-stone); }
.lx-dipl-strip { display: flex; gap: 14px; overflow-x: auto; padding-bottom: 12px; scrollbar-width: thin; }
.lx-dipl-strip a { flex: none; background: #fff; padding: 10px; border: 1px solid var(--lx-rule-light); transition: transform .5s var(--lx-ease), box-shadow .5s var(--lx-ease); }
.lx-dipl-strip a:hover { transform: translateY(-4px); box-shadow: 0 18px 30px -20px rgba(15,14,13,.5); }
.lx-dipl-strip img { display: block; height: 240px; width: auto; }

/* =====================================================================
   CONSULTORIO
   ===================================================================== */
.lx-office { background: var(--lx-paper); }
.lx-office-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(40px, 6vw, 100px); align-items: center; }
.lx-office-photo { margin: 0; aspect-ratio: 4 / 3; overflow: hidden; }
.lx-office-photo img { width: 100%; height: 100%; object-fit: cover; }
.lx-office .lx-lead { margin-bottom: 1.2rem; }
.lx-office-social { display: flex; align-items: center; gap: 10px; margin-top: 2.2rem; }
.lx-office-social span { font-size: .62rem; letter-spacing: .28em; text-transform: uppercase; color: var(--lx-stone); margin-right: 8px; }
.lx-office-social a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--lx-rule-light); display: inline-flex; align-items: center; justify-content: center; color: var(--lx-text) !important; transition: border-color .3s, color .3s; }
.lx-office-social a:hover { border-color: var(--lx-gold-deep); color: var(--lx-gold-deep) !important; }

/* Galeria que corre sola (antes/despues) */
.lx-marquee { overflow: hidden; }
.lx-marquee-track { display: flex; gap: 12px; width: max-content; animation: lxMarquee 90s linear infinite; }
.lx-marquee:hover .lx-marquee-track { animation-play-state: paused; }
.lx-marquee img { height: clamp(260px, 30vw, 420px); width: auto; display: block; }
@keyframes lxMarquee { to { transform: translateX(-50%); } }

/* Resenas de Google */
.lx-reviews { background: var(--lx-paper); padding-top: clamp(60px, 7vw, 100px); }
.lx-reviews-box { position: relative; max-height: 820px; overflow: hidden; }
.lx-reviews-box::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 180px; background: linear-gradient(0deg, var(--lx-paper), rgba(251,248,243,0)); pointer-events: none; }
.lx-reviews-box.open { max-height: none; }
.lx-reviews-box.open::after { display: none; }
.lx-reviews-more { text-align: center; margin-top: 10px; }
.lx-reviews-more .lx-link { background-color: transparent; border: 0; cursor: pointer; }

/* =====================================================================
   RESPONSIVO (componentes)
   ===================================================================== */
@media (max-width: 1100px) {
    .lx-tgrid { grid-template-columns: repeat(3, 1fr); }
    .lx-why { grid-template-columns: repeat(2, 1fr); }
    .lx-why li:nth-child(n) { padding-left: 26px; border-left: 1px solid var(--lx-rule-light); }
    .lx-why li:nth-child(2n+1) { padding-left: 0; border-left: 0; }
    .lx-ops-grid { columns: 2; }
}
@media (max-width: 900px) {
    .lx-split, .lx-edu-grid, .lx-office-grid { grid-template-columns: 1fr; }
    .lx-facts { grid-template-columns: repeat(2, 1fr); }
    .lx-facts div, .lx-facts div:first-child { padding: 20px 16px 22px; border-left: 0; border-bottom: 1px solid var(--lx-rule-dark); }
    .lx-facts div:nth-child(2n) { border-left: 1px solid var(--lx-rule-dark); }
    .lx-split-side { position: static; max-width: 440px; }
    .lx-tgrid { grid-template-columns: repeat(2, 1fr); gap: 32px 16px; }
    .lx-list { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
    .lx-phero-cta { flex-direction: column; align-items: stretch; }
    .lx-phero-cta .lx-btn { justify-content: center; }
    .lx-phero-cta .lx-link { align-self: center; }
    .lx-time li { grid-template-columns: 1fr; gap: 6px; }
    .lx-why { grid-template-columns: 1fr; }
    .lx-why li:nth-child(n) { padding-left: 0; border-left: 0; }
    .lx-ops-grid { columns: 1; }
    .lx-tcard h3 { font-size: 1.1rem; }
    .lx-dipl-strip img { height: 190px; }
}
@media (prefers-reduced-motion: reduce) { .lx-marquee-track { animation: none; } }

/* =====================================================================
   PAGINA DE TRATAMIENTO (tt-*)
   ===================================================================== */
.lx-tthero { position: relative; background: var(--lx-ink); color: #F7F1E6; overflow: hidden; min-height: min(78vh, 720px); display: flex; align-items: center; }
.lx-tthero-media { position: absolute; inset: 0 0 0 30%; }
.lx-tthero-media img, .lx-tthero-media video { width: 100%; height: 100%; object-fit: cover; display: block; }
.lx-tthero-media::after { content: ''; position: absolute; inset: 0;
    background: linear-gradient(90deg, var(--lx-ink) 0%, rgba(15,14,13,.82) 22%, rgba(15,14,13,.25) 55%, rgba(15,14,13,.1) 100%),
                linear-gradient(0deg, rgba(15,14,13,.5), transparent 40%); }
.lx-tthero-in { position: relative; padding: clamp(60px, 8vw, 120px) 0; }
.lx-tthero-copy { max-width: 600px; }
.lx-tthero .lx-eyebrow { color: var(--lx-gold); }
.lx-tthero h1 { font-family: var(--lx-serif); font-optical-sizing: none; font-variation-settings: 'opsz' 14; font-weight: 400;
    font-size: clamp(2.6rem, 5.2vw, 5rem); line-height: 1; letter-spacing: -.02em; color: #F7F1E6; margin: 0 0 1.2rem; }
.lx-tthero h1 em { font-style: italic; display: block; background: var(--lx-gold-grad); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; }
.lx-tthero-frase { font-family: var(--lx-serif); font-style: italic; font-size: clamp(1.15rem, 1.7vw, 1.45rem); line-height: 1.4; color: rgba(247,241,230,.88); margin: 0 0 1.2rem; }
.lx-tthero .lx-lead { color: rgba(247,241,230,.74); margin-bottom: 2.2rem; }
.lx-tthero .lx-link { color: #F7F1E6 !important; }

.lx-ficha { background: var(--lx-paper); }
.lx-ficha-grid { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0; border-top: 1px solid var(--lx-rule-light); }
.lx-ficha-grid div { padding: 28px 26px 30px 0; border-bottom: 1px solid var(--lx-rule-light); }
.lx-ficha-grid div:not(:nth-child(3n+1)) { padding-left: 26px; border-left: 1px solid var(--lx-rule-light); }
.lx-ficha-grid dt { font-size: .64rem; font-weight: 500; letter-spacing: .28em; text-transform: uppercase; color: var(--lx-gold-deep); margin-bottom: 10px; }
.lx-ficha-grid dd { margin: 0; font-family: var(--lx-serif); font-variation-settings: 'opsz' 14; font-size: clamp(1.3rem, 2vw, 1.7rem); line-height: 1.2; color: var(--lx-text); }

.lx-faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 6vw, 100px); align-items: start; }
.lx-faq-side { position: sticky; top: 96px; }
.lx-faq-side .lx-btn { margin-top: 1.4rem; }
.lx-faq-list { border-top: 1px solid var(--lx-rule-light); }
.lx-faq-list details { border-bottom: 1px solid var(--lx-rule-light); }
.lx-faq-list summary { list-style: none; cursor: pointer; position: relative; padding: 24px 50px 24px 0;
    font-family: var(--lx-serif); font-variation-settings: 'opsz' 14; font-size: clamp(1.1rem, 1.5vw, 1.3rem); line-height: 1.35; color: var(--lx-text); }
.lx-faq-list summary::-webkit-details-marker { display: none; }
.lx-faq-list summary::after { content: '+'; position: absolute; right: 4px; top: 20px; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--lx-rule-light);
    display: flex; align-items: center; justify-content: center; font-family: var(--lx-sans); font-size: 1rem; color: var(--lx-gold-deep); }
.lx-faq-list details[open] summary { color: var(--lx-gold-deep); }
.lx-faq-list details[open] summary::after { content: '\2212'; border-color: var(--lx-gold); }
.lx-faq-a { padding: 0 40px 26px 0; font-size: .95rem; font-weight: 300; line-height: 1.8; color: var(--lx-text-soft); }
.lx-faq-a a { color: var(--lx-gold-deep); text-decoration: underline; text-underline-offset: 3px; }
.lx-faq-a strong { font-weight: 500; color: var(--lx-text); }

.lx-benef { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: clamp(50px, 6vw, 80px); }
.lx-benef-card { margin: 0; }
.lx-benef-img { aspect-ratio: 1; overflow: hidden; margin-bottom: 16px; background: #efe9e0; }
.lx-benef-img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.15); transition: transform 1.4s var(--lx-ease); }
.lx-benef-card:hover .lx-benef-img img { transform: scale(1.05); }
.lx-benef-card strong { display: block; font-family: var(--lx-serif); font-variation-settings: 'opsz' 14; font-weight: 400; font-size: 1.2rem; line-height: 1.25; color: var(--lx-text); margin-bottom: 6px; }
.lx-benef-card span { font-size: .86rem; font-weight: 300; line-height: 1.6; color: var(--lx-text-soft); }

.lx-ad { padding-bottom: clamp(50px, 6vw, 80px); }
.lx-ad-strip { display: flex; gap: 16px; overflow-x: auto; padding: 0 max(24px, calc((100% - 1280px) / 2)) 14px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.lx-ad-pair { flex: none; width: min(520px, 84vw); margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 3px; scroll-snap-align: start; }
.lx-ad-pair div { position: relative; }
.lx-ad-pair img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; }
.lx-ad-pair span { position: absolute; left: 12px; bottom: 10px; font-size: .58rem; letter-spacing: .26em; text-transform: uppercase; color: #fff; background: rgba(15,14,13,.55); padding: 5px 10px; }
.lx-ad-pair div:last-child span { background: var(--lx-gold-deep); }
.lx-ad-hint { text-align: center; margin: 18px 0 0; font-size: .62rem; letter-spacing: .26em; text-transform: uppercase; color: rgba(247,241,230,.5); }

.lx-esp { background: var(--lx-ivory); }
.lx-esp-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 7vw, 120px); align-items: center; }
.lx-esp-photo { margin: 0; position: relative; z-index: 0; aspect-ratio: 4 / 5; }
.lx-esp-photo::before { content: ''; position: absolute; inset: 22px -22px -22px 22px; border: 1px solid var(--lx-gold); z-index: -1; }
.lx-esp-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lx-esp-name { font-family: var(--lx-serif); font-variation-settings: 'opsz' 14; font-weight: 400; font-size: 1.6rem; margin: 0 0 4px; color: var(--lx-text); }
.lx-esp-ced { font-size: .66rem; letter-spacing: .22em; text-transform: uppercase; color: var(--lx-stone); margin: 0 0 1.4rem; }
.lx-esp .lx-lead { margin-bottom: 1.8rem; }

@media (max-width: 900px) {
    .lx-tthero { display: block; min-height: 0; }
    .lx-tthero-media { position: relative; inset: auto; aspect-ratio: 16 / 10; }
    .lx-tthero-media::after { background: linear-gradient(0deg, var(--lx-ink) 0%, rgba(15,14,13,.2) 45%, transparent 70%); }
    .lx-tthero-in { padding: 10px 0 56px; }
    .lx-ficha-grid { grid-template-columns: repeat(2, 1fr); }
    .lx-ficha-grid div:nth-child(n) { padding-left: 20px; border-left: 1px solid var(--lx-rule-light); }
    .lx-ficha-grid div:nth-child(2n+1) { padding-left: 0; border-left: 0; }
    .lx-faq-grid, .lx-esp-grid { grid-template-columns: 1fr; }
    .lx-faq-side { position: static; }
    .lx-benef { grid-template-columns: repeat(2, 1fr); }
    .lx-esp-photo { max-width: 380px; margin-right: 22px; }
}
@media (max-width: 600px) {
    .lx-tthero-copy .lx-phero-cta { flex-direction: column; align-items: stretch; }
    .lx-tthero-copy .lx-btn { justify-content: center; }
    .lx-faq-a { padding-right: 0; }
}

/* =====================================================================
   HERO DE PROFESIONAL EN CELULAR (primero celular: ~90% de las visitas)
   Foto/video arriba a todo lo ancho; nombre sobre su degradado; el boton de
   WhatsApp dentro de la primera pantalla y las credenciales despues del boton.
   ===================================================================== */
@media (max-width: 900px) {
    .lx-phero-grid { display: flex; flex-direction: column; gap: 0; padding: 0 0 44px; }
    /* a todo lo ancho: se sale exactamente el margen del .lx-wrap (24px; 18px en <=600) */
    .lx-phero-media { order: -1; align-self: flex-start; width: calc(100% + 48px); max-width: none; margin: 0 0 0 -24px; height: min(54svh, 500px); }
    .lx-phero-media::before { display: none; }
    .lx-phero-media video, .lx-phero-media img { height: 100%; aspect-ratio: auto; }
    .lx-phero-media::after { content: ''; position: absolute; inset: 0; pointer-events: none;
        background: linear-gradient(0deg, var(--lx-ink) 0%, rgba(15,14,13,.55) 26%, rgba(15,14,13,0) 55%); }
    .lx-phero-media figcaption { display: none; }
    .lx-phero-grid > :first-child { position: relative; z-index: 2; margin-top: -96px; display: flex; flex-direction: column; }
    .lx-phero .lx-eyebrow { font-size: .6rem; letter-spacing: .26em; margin-bottom: .7rem; }
    .lx-phero h1 { font-size: clamp(2.3rem, 10.5vw, 3rem); margin-bottom: .9rem; }
    .lx-phero-sub { font-size: 1.05rem; margin-bottom: 1.1rem; }
    .lx-phero .lx-lead { font-size: .92rem; line-height: 1.65; margin-bottom: 1.4rem; }
    .lx-phero-cta { order: 1; }
    .lx-phero-creds, .lx-phero-quote { order: 2; margin: 30px 0 0; }
    /* video solo en computadora: en celular va la foto (ver .lx-only-desktop / .lx-only-mobile) */
    .lx-only-desktop { display: none !important; }
}
@media (min-width: 901px) { .lx-only-mobile { display: none !important; } }

/* =====================================================================
   CERTIFICACIONES POR ESPECIALIDAD + GALERIA DE DIPLOMAS CON FILTRO
   ===================================================================== */
.lx-cert { background: var(--lx-paper); }
.lx-cert-cols { display: grid; gap: clamp(28px, 4vw, 56px); }
.lx-cert-cols.n3 { grid-template-columns: repeat(3, 1fr); }
.lx-cert-cols.n2 { grid-template-columns: repeat(2, 1fr); }
.lx-cert-cols h3 { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 0 0 14px; padding-bottom: 14px;
    border-bottom: 1px solid var(--lx-gold); font-family: var(--lx-serif); font-variation-settings: 'opsz' 14; font-weight: 400; font-size: 1.35rem; line-height: 1.2; color: var(--lx-text); }
.lx-cert-cols h3 span { font-family: var(--lx-sans); font-size: .7rem; letter-spacing: .1em; color: var(--lx-gold-deep); }
.lx-cert-cols ul { list-style: none; margin: 0; padding: 0; }
.lx-cert-cols li { position: relative; padding: 11px 0 11px 22px; border-bottom: 1px solid var(--lx-rule-light); }
.lx-cert-cols li::before { content: 'º6'; position: absolute; left: 0; top: 13px; font-size: .62rem; color: var(--lx-gold); }
.lx-cert-cols li strong { display: block; font-size: .9rem; font-weight: 400; line-height: 1.45; color: var(--lx-text); }
.lx-cert-cols li small { display: block; margin-top: 2px; font-size: .74rem; font-weight: 300; line-height: 1.45; color: var(--lx-stone); }
.lx-dipl-head h3 span { font-family: var(--lx-sans); font-size: .8rem; color: var(--lx-stone); }
.lx-dipl-filter { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; }
.lx-dipl-filter button { border: 1px solid var(--lx-rule-light); background: transparent; padding: 8px 14px; cursor: pointer;
    font: 500 .62rem/1 var(--lx-sans); letter-spacing: .2em; text-transform: uppercase; color: var(--lx-text-soft); transition: all .3s; }
.lx-dipl-filter button.on, .lx-dipl-filter button:hover { background: var(--lx-ink); border-color: var(--lx-ink); color: var(--lx-gold-light); }
.lx-dipl-strip a { display: flex; flex-direction: column; text-decoration: none; }
.lx-dipl-strip a[hidden] { display: none; }
.lx-dipl-strip a span { display: block; max-width: 220px; margin-top: 10px; font-size: .72rem; line-height: 1.4; color: var(--lx-text-soft); white-space: normal; }
.lx-cert-more { display: none; }
@media (max-width: 900px) {
    .lx-cert-cols.n3, .lx-cert-cols.n2 { grid-template-columns: 1fr; }
    /* en celular: 5 por especialidad y boton para ver todas */
    .lx-cert-cols ul:not(.open) li:nth-child(n+6) { display: none; }
    .lx-cert-more { display: inline-flex; margin-top: 14px; padding: 10px 0; border: 0; border-bottom: 1px solid var(--lx-gold); background: none; cursor: pointer;
        font: 600 .62rem/1 var(--lx-sans); letter-spacing: .22em; text-transform: uppercase; color: var(--lx-gold-deep); }
}
@media (max-width: 600px) { .lx-dipl-strip a span { max-width: 170px; } .lx-dipl-filter { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; } .lx-dipl-filter button { flex: none; } }

/* Lista del bloque de equipo (sobre fondo claro) */
.lx-esp .lx-equipo-list { border-color: var(--lx-rule-light); margin: 0 0 1.8rem; }
.lx-esp .lx-equipo-list li { color: var(--lx-text-soft); border-color: var(--lx-rule-light); }

/* Opiniones: columnas en computadora; en celular carrusel deslizable con la siguiente asomando */
.lx-ops-more { display: none; }
@media (max-width: 900px) {
    .lx-ops-grid { columns: auto; display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
        margin-inline: calc(50% - 50vw); padding: 0 calc(50vw - 50%) 6px; scroll-padding-left: var(--lx-gutter); align-items: flex-start; }
    .lx-ops-grid::-webkit-scrollbar { display: none; }
    .lx-ops-card { flex: none; width: 80vw; max-width: 360px; margin: 0; scroll-snap-align: start; display: flex; flex-direction: column; }
    .lx-ops-hint { display: block; }
}
.lx-ops-hint { display: none; text-align: center; margin: 16px 0 0; font-size: .6rem; letter-spacing: .26em; text-transform: uppercase; color: var(--lx-stone); }

/* Boton de "Resolvemos tus dudas": en celular a todo lo ancho y centrado, como los demas CTA */
@media (max-width: 900px) { .lx-faq-side .lx-btn { display: flex; width: 100%; justify-content: center; } }

/* Beneficios con foto: fila de 4 en computadora; en celular carrusel deslizable (como el original),
   con la siguiente tarjeta asomando para que se note que hay mas. */
@media (max-width: 900px) {
    .lx-benef { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
        margin-inline: calc(50% - 50vw); padding: 0 calc(50vw - 50%) 6px; scroll-padding-left: var(--lx-gutter); }
    .lx-benef::-webkit-scrollbar { display: none; }
    .lx-benef-card { flex: none; width: 72vw; max-width: 320px; scroll-snap-align: start; }
}

/* =====================================================================
   CELULAR: CARRUSELES EN LUGAR DE PILAS (2026-09-25)
   Todo bloque de tarjetas que en telefono se apilaba en una sola columna pasa a ser un
   carrusel deslizable con la siguiente tarjeta asomando. Listas de texto, secuencias
   (pasos) y bloques de 2 elementos se quedan apilados a proposito.
   ===================================================================== */
@media (max-width: 600px) {
    .lx-tgrid, .lx-why, .lx-promo-grid, .lx-awards-grid { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
        margin-inline: calc(50% - 50vw); padding: 0 calc(50vw - 50%) 8px; scroll-padding-left: var(--lx-gutter);
        align-items: stretch; background: none; border: 0; }
    .lx-tgrid::-webkit-scrollbar, .lx-why::-webkit-scrollbar, .lx-promo-grid::-webkit-scrollbar, .lx-awards-grid::-webkit-scrollbar { display: none; }
    .lx-tcard { flex: none; width: 64vw; max-width: 280px; scroll-snap-align: start; }
    .lx-why li, .lx-why li + li, .lx-why li:nth-child(n) { flex: none; width: 74vw; max-width: 300px; scroll-snap-align: start;
        padding: 26px 22px 28px; border: 1px solid var(--lx-rule-light); background: var(--lx-paper); }
    .lx-promo { flex: none; width: 84vw; max-width: 380px; scroll-snap-align: start; border: 1px solid var(--lx-rule-dark); }
    .lx-award { flex: none; width: 80vw; max-width: 360px; scroll-snap-align: start; border: 1px solid var(--lx-rule-dark); }
}
@media (max-width: 600px) { .lx-phero-media { width: calc(100% + 36px); margin-left: -18px; } }

/* Margen lateral de los carruseles (= margen del .lx-wrap). scroll-padding en % se calcula sobre
   el propio carrusel, no sobre la pagina: con calc(50vw - 50%) daba 0 y la primera tarjeta se
   pegaba al borde. Se usa una variable fija. */
.lx { --lx-gutter: 24px; }
@media (max-width: 600px) { .lx { --lx-gutter: 18px; } }

/* =====================================================================
   PAGINAS SUELTAS (2026-09-25): mensaje centrado (404, gracias, mantenimiento),
   documento legal, galeria de instalaciones y valores.
   ===================================================================== */
.lx-msg { min-height: min(78vh, 760px); display: grid; place-items: center; text-align: center; padding: clamp(90px, 12vw, 160px) 0; }
.lx-msg .lx-h2 { font-size: clamp(2.4rem, 5.6vw, 4.6rem); }
.lx-msg .lx-lead { max-width: 620px; margin: 0 auto 2.4rem; }
.lx-msg-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 32px; max-width: 900px; margin: 0 auto 3rem; border-top: 1px solid var(--lx-rule-dark); text-align: left; }
.lx-msg-links a { display: flex; justify-content: space-between; gap: 12px; padding: 18px 0; border-bottom: 1px solid var(--lx-rule-dark); font-size: .92rem; font-weight: 300; color: rgba(247,241,230,.85) !important; transition: color .3s; }
.lx-msg-links a::after { content: '\2192'; color: var(--lx-gold); }
.lx-msg-links a:hover { color: var(--lx-gold-light) !important; }
.lx-msg-foot { font-size: .9rem; font-weight: 300; color: rgba(247,241,230,.6); margin: 1.6rem 0 0; }
.lx-msg-foot a { color: var(--lx-gold-light) !important; }
@media (max-width: 900px) { .lx-msg-links { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .lx-msg-links { grid-template-columns: minmax(0, 1fr); } .lx-msg .lx-btn { display: flex; justify-content: center; } }

.lx-legal { max-width: 820px; margin-inline: auto; }
.lx-legal h2 { font-size: clamp(1.4rem, 2.2vw, 1.8rem); line-height: 1.25; color: var(--lx-text); margin: 3rem 0 1rem; padding-top: 2.2rem; border-top: 1px solid var(--lx-rule-light); }
.lx-legal h2:first-child { margin-top: 0; padding-top: 0; border: 0; }
.lx-legal p, .lx-legal li { font-weight: 300; font-size: 1rem; line-height: 1.85; color: var(--lx-text-soft); overflow-wrap: anywhere; }
.lx-legal p { margin: 0 0 1rem; }
.lx-legal ul { margin: 0 0 1.2rem; padding-left: 1.2rem; }
.lx-legal li { margin: 0 0 .4rem; }
.lx-legal li::marker { color: var(--lx-gold); }
.lx-legal-date { font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; color: var(--lx-gold-deep) !important; margin-top: 3rem !important; }

.lx-gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.lx-gallery figure { margin: 0; overflow: hidden; aspect-ratio: 3 / 4; background: #111; }
.lx-gallery img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.2s var(--lx-ease); }
.lx-gallery figure:hover img { transform: scale(1.04); }
@media (max-width: 900px) { .lx-gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 600px) {
    .lx-gallery { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
        margin-inline: calc(50% - 50vw); padding: 0 calc(50vw - 50%) 8px; scroll-padding-left: var(--lx-gutter); }
    .lx-gallery::-webkit-scrollbar { display: none; }
    .lx-gallery figure { flex: none; width: 72vw; max-width: 300px; scroll-snap-align: start; }
}

.lx-values { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--lx-rule-light); }
.lx-values li { padding: 24px 24px 26px 0; border-bottom: 1px solid var(--lx-rule-light); }
.lx-values strong { display: block; font-family: var(--lx-serif); font-weight: 400; font-size: 1.35rem; color: var(--lx-text); margin-bottom: 6px; }
.lx-values span { font-size: .92rem; font-weight: 300; line-height: 1.6; color: var(--lx-text-soft); }
@media (max-width: 900px) { .lx-values { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .lx-values { grid-template-columns: minmax(0, 1fr); } .lx-values li { padding-right: 0; } }

.lx-contact-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 32px; border-top: 1px solid var(--lx-rule-dark); }
.lx-contact-grid a { display: block; padding: 22px 0; border-bottom: 1px solid var(--lx-rule-dark); color: #F7F1E6 !important; }
.lx-contact-grid small { display: block; font-size: .62rem; letter-spacing: .3em; text-transform: uppercase; color: var(--lx-gold); margin-bottom: 8px; }
.lx-contact-grid span { font-family: var(--lx-serif); font-size: clamp(1.15rem, 1.6vw, 1.4rem); overflow-wrap: anywhere; }
@media (max-width: 900px) { .lx-contact-grid { grid-template-columns: minmax(0, 1fr); } }
.lx-map { margin-top: 48px; aspect-ratio: 16 / 7; background: #111; }
.lx-map iframe { width: 100%; height: 100%; border: 0; display: block; filter: grayscale(.4); }
@media (max-width: 600px) { .lx-map { aspect-ratio: 4 / 5; } }
