/* Jost 300 y 400 (variable), servida desde el sitio; licencia SIL OFL. */
@font-face { font-family: 'Jost'; font-style: normal; font-weight: 300 400; font-display: swap; src: url(/assets/fuentes/jost-latin-ext-b2a539cd1f2b.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Jost'; font-style: normal; font-weight: 300 400; font-display: swap; src: url(/assets/fuentes/jost-latin-235d8f8964bf.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }




:root {
    
    --bg-primary: #111F2D;      
    --bg-secondary: #0B1622;    
    --bg-marino: #1A3E5C;       
    --bg-hueso: #FAF8F4;        

    
    --gold-gradient: linear-gradient(#DEB864, #DEB864);
    --gold-gradient-v: linear-gradient(#DEB864, #DEB864);
    --gold-base: #DEB864;
    --gold-soft: rgba(222, 184, 100, 0.16);

    
    --primary-500: #DEB864;
    --primary-400: #DEB864;
    --primary-600: #DEB864;

    
    --text-primary: #FAF8F4;
    --text-secondary: #FAF8F4;
    --text-tertiary: #FAF8F4;
    --text-on-gold: #111F2D;

    --grafito: #1C1C1C;
    --azul-marino: #1A3E5C;

    --font-display: 'Jost', sans-serif;   
    --font-body:'Jost',sans-serif;

    --shadow-card: 0 20px 50px -20px rgba(0, 0, 0, 0.55);
    --shadow-card-hover: 0 30px 60px -18px rgba(0, 0, 0, 0.65);
    --shadow-gold: 0 10px 34px -10px rgba(222, 184, 100, 0.35);
    --radius: 20px;
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}


*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-secondary);
    background: var(--bg-primary);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: #FAF8F4; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }

.container { width: min(1160px, 92%); margin-inline: auto; }


h1, h2, h3, .brand-type {
    font-family: var(--font-display);
    color: var(--text-primary);
    font-weight:400;
    line-height: 1.2;
}
h1 { font-size: clamp(38px, 5.5vw, 62px); letter-spacing: 0.06em; text-transform: uppercase; font-weight:400; }
h2 { font-size: clamp(27px, 4vw, 40px); letter-spacing: 0.045em; text-transform: uppercase; font-weight:400; }
h3 { font-size: 21px; font-weight:400; letter-spacing: 0.02em; }

.accent {
    background: var(--gold-gradient);
    -webkit-background-clip: text; background-clip: text;
    color: transparent;
}
.label {
    font-family: var(--font-body);
    font-size: 12px;
    font-weight:400;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: #FAF8F4;
}
.gold-line {
    width: 56px; height: 2px;
    background: var(--gold-gradient);
    margin: 18px 0 26px;
    border-radius: 2px;
}
.gold-line.center { margin-inline: auto; }
.lead { font-size: 19px; line-height: 1.65; }

.section { padding: 96px 0; }
.section-head { max-width: 640px; margin-bottom: 56px; }
.section-head.center { margin-inline: auto; text-align: center; }


.navbar {
    position: fixed; top: 0; left: 0; width: 100%;
    z-index: 1000;
    padding: 22px 0;
    transition: all 0.3s ease;
}
.navbar.scrolled {
    background: rgba(17, 31, 45, 0.86);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(222, 184, 100, 0.14);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
    padding: 14px 0;
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav-logo img { height: 46px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links a {
    position: relative;
    font-size: 14px; font-weight:400;
    letter-spacing: 0.04em;
    color: var(--text-secondary);
    padding: 4px 0;
}
.nav-links a::after {
    content: ''; position: absolute; left: 0; bottom: -2px;
    width: 0; height: 2px;
    background: var(--gold-gradient);
    transition: width 0.3s ease;
}
.nav-links a:hover, .nav-links a.active { color: var(--text-primary); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.btn { display: inline-block; text-align: center; border: none; border-radius: 10px; transition: all 0.3s var(--ease); }
.btn-primary {
    background: var(--gold-gradient);
    color: var(--text-on-gold) !important;
    font-family: var(--font-display);
    font-size: 14px; font-weight:400;
    letter-spacing: 0.09em; text-transform: uppercase;
    padding: 14px 30px;
    box-shadow:none;
}
.btn-primary:hover {
    filter:none;
    transform: translateY(-2px);
    box-shadow:none;
}
.btn-outline {
    background: transparent;
    color: var(--text-primary) !important;
    font-family: var(--font-display);
    font-size: 14px; font-weight:400;
    letter-spacing: 0.09em; text-transform: uppercase;
    padding: 13px 30px;
    border: 1.5px solid rgba(222, 184, 100, 0.4);
}
.btn-outline:hover { border-color: #FAF8F4; background: rgba(222, 184, 100, 0.08); transform: translateY(-2px); }
.btn-lg { padding: 17px 42px; font-size: 15px; }

.nav-toggle { display: none; background: none; border: none; width: 40px; height: 40px; position: relative; }
.nav-toggle span {
    display: block; width: 24px; height: 2px;
    background: var(--text-primary);
    margin: 5px auto;
    transition: all 0.3s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }


.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh; 
    display: flex; align-items: center;
    padding: 140px 0 80px;
    background:
        radial-gradient(ellipse 60% 50% at 80% 12%, rgba(37, 59, 75, 0.12) 0%, transparent 60%),
        radial-gradient(ellipse 55% 60% at 10% 90%, rgba(37, 59, 75, 0.45) 0%, transparent 65%),
        var(--bg-primary);
    overflow: hidden;
}
.beams-bg {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    z-index: 0;
    pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 48px;
    align-items: center;
}
.hero-title { margin: 20px 0 8px; }
.hero-title .line-2 {
    display: block;
    background: var(--gold-gradient);
    -webkit-background-clip: text; background-clip: text; color: transparent;
    letter-spacing: 0.22em;
}
.hero-tagline {
    font-family: var(--font-display);
    font-size: 19px; font-weight:400;
    letter-spacing: 0.18em; text-transform: uppercase;
    color: var(--text-tertiary);
    margin-bottom: 26px;
}
.hero-text { max-width: 520px; margin-bottom: 36px; color: var(--text-secondary); }
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-visual { position: relative; display: flex; justify-content: center; padding: 10px 0 56px; }
.hero-visual::before {
    content: '';
    position: absolute; inset: 8% 12% 20% 12%;
    background: radial-gradient(ellipse at center, rgba(37, 59, 75, 0.16) 0%, transparent 68%);
    border-radius: 50%;
    z-index: 0;
}


.hero-photo-wrap { position: relative; z-index: 1; line-height: 0; }
.hero-photo-wrap::after {
    content: '';
    position: absolute;
    top: 2%; left: 2.5%;
    width: 100%; height: 98%;
    border: 1.5px solid transparent;
    border-image: var(--gold-gradient) 1;
    border-radius: 4px;
    opacity: 0.65;
    z-index: -1;
    pointer-events: none;
}
.hero-photo {
    position: relative;
    max-height: 550px; width: auto;
    filter:
        drop-shadow(0 30px 60px rgba(0, 0, 0, 0.55))
        drop-shadow(0 0 40px rgba(250, 248, 244, 0.22));
}


.hero-schedule {
    position: absolute; right: -6px; bottom: 0;
    z-index: 2;
    background: rgba(11, 22, 34, 0.86);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid rgba(222, 184, 100, 0.28);
    border-radius: 14px;
    padding: 18px 22px;
    box-shadow: 0 20px 44px -12px rgba(0, 0, 0, 0.6);
    font-size: 13px;
    color: var(--text-secondary);
    max-width: 250px;
}
.hero-schedule strong { display: block; font-family: var(--font-display); letter-spacing: 0.08em; text-transform: uppercase; font-size: 12px; color: #FAF8F4; margin-bottom: 6px; }


.sirf {
    background: var(--bg-secondary);
    border-block: 1px solid rgba(222, 184, 100, 0.10);
    padding: 34px 0;
}
.sirf-inner { display: flex; align-items: center; justify-content: center; gap: 20px; flex-wrap: wrap; text-align: center; }
.sirf-badge {
    width: 52px; height: 52px; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
    background: rgba(250, 248, 244, 0.05);
    border: 1px solid rgba(222, 184, 100, 0.3);
    padding: 10px;
}
.sirf-badge img { height: 26px; width: auto; }
.sirf p { font-size: 15px; color: var(--text-secondary); }
.sirf a { font-weight:400; color: var(--text-primary); border-bottom: 1px solid rgba(222, 184, 100, 0.4); }
.sirf a:hover { border-color: #FAF8F4; color: #FAF8F4; }


.card {
    background: linear-gradient(135deg, rgba(37, 59, 75, 0.055) 0%, rgba(37, 59, 75, 0.22) 55%, rgba(37, 59, 75, 0.03) 100%);
    backdrop-filter: blur(20px) saturate(160%);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
    border: 1px solid rgba(222, 184, 100, 0.14);
    border-radius: var(--radius);
    padding: 32px;
    box-shadow: var(--shadow-card);
    transition: all 0.4s var(--ease);
}
.card:hover {
    transform: translateY(-4px);
    border-color: rgba(222, 184, 100, 0.38);
    box-shadow: var(--shadow-card-hover);
}


.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.service-tile { text-align: center; padding: 40px 24px; }
.service-tile .icon {
    width: 64px; height: 64px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: rgba(222, 184, 100, 0.12);
    display: flex; align-items: center; justify-content: center;
    color: #FAF8F4;
    transition: all 0.35s var(--ease);
}
.service-tile:hover .icon { background: var(--gold-gradient); color: var(--text-on-gold); transform: scale(1.06); }
.service-tile .icon svg { width: 28px; height: 28px; }
.service-tile h3 { margin-bottom: 8px; }
.service-tile p { font-size: 14px; color: var(--text-tertiary); }
.service-tile .more {
    display: inline-block; margin-top: 14px;
    font-size: 13px; font-weight:400;
    letter-spacing: 0.08em; text-transform: uppercase;
    color: #FAF8F4;
}


.allies { padding: 72px 0; background: var(--bg-secondary); border-block: 1px solid rgba(222, 184, 100, 0.08); }
.allies-row { display: flex; align-items: center; justify-content: center; gap: clamp(36px, 7vw, 76px); flex-wrap: wrap; margin-top: 40px; }

.allies-row img {
    height: 30px; width: auto;
    opacity: 0.62;
    filter: drop-shadow(0 0 1px rgba(250, 248, 244, 0.15));
    transition: opacity 0.35s var(--ease), filter 0.35s var(--ease), transform 0.35s var(--ease);
}
.allies-row img:hover {
    opacity: 1;
    transform: translateY(-2px);
    filter: drop-shadow(0 0 10px rgba(222, 184, 100, 0.35));
}


.stats-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; text-align: center; }
.stat-num {
    font-family: var(--font-display);
    font-size: clamp(38px, 5vw, 54px);
    font-weight:400;
    letter-spacing: 0.03em;
    background: var(--gold-gradient);
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat-label { font-size: 13px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-tertiary); }


.appointment { background: var(--bg-primary); }
.appointment-grid { display: grid; grid-template-columns: 1fr 0.85fr; gap: 48px; align-items: start; }
.form-card { padding: 40px; }
.form-group { margin-bottom: 20px; }
.form-group label {
    display: block; margin-bottom: 7px;
    font-size: 13px; font-weight:400;
    letter-spacing: 0.05em;
    color: var(--text-primary);
}
.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 13px 16px;
    font-family: var(--font-body); font-size: 15px;
    color: var(--text-primary);
    background: rgba(250, 248, 244, 0.04);
    border: 1px solid rgba(222, 184, 100, 0.2);
    border-radius: 10px;
    transition: all 0.25s ease;
}
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--text-tertiary); }
.form-group select option { background: #0B1622; color: var(--text-primary); }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none;
    border-color: #FAF8F4;
    box-shadow: 0 0 0 3px rgba(222, 184, 100, 0.16);
    background: rgba(250, 248, 244, 0.07);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-note { font-size: 12px; color: var(--text-tertiary); margin-top: 14px; }

.contact-info .card { margin-bottom: 20px; }
.contact-info h3 { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; font-size: 16px; letter-spacing: 0.06em; text-transform: uppercase; }
.contact-info h3 svg { width: 18px; height: 18px; color: #FAF8F4; flex-shrink: 0; }
.contact-info p { font-size: 14.5px; color: var(--text-secondary); }


.zone-tabs { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-bottom: 56px; }
.zone-tab {
    font-family: var(--font-display);
    font-size: 14px; font-weight:400;
    letter-spacing: 0.07em; text-transform: uppercase;
    color: var(--text-secondary);
    background: rgba(250, 248, 244, 0.03);
    border: 1px solid rgba(222, 184, 100, 0.2);
    border-radius: 100px;
    padding: 11px 24px;
    transition: all 0.3s var(--ease);
}
.zone-tab:hover { border-color: #FAF8F4; color: var(--text-primary); transform: translateY(-2px); }
.zone-tab.active { background: var(--gold-gradient); border-color: transparent; color: var(--text-on-gold); font-weight:400; }

.zone-panel { display: none; animation: fade-in-up 0.5s var(--ease-out); }
.zone-panel.active { display: block; }
.zone-intro { max-width: 620px; margin: 0 auto 40px; text-align: center; }
.subzone-tabs { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 36px; }
.subzone-tab {
    font-size: 13px; font-weight:400;
    letter-spacing: 0.05em;
    color: var(--text-tertiary);
    background: none; border: none;
    border-bottom: 2px solid transparent;
    padding: 6px 4px;
    text-transform: uppercase;
}
.subzone-tab.active { color: #FAF8F4; border-color: #FAF8F4; }

.treatment-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.treatment-card h3 { margin-bottom: 10px; }
.treatment-card p { color: var(--text-secondary); }
.treatment-card .tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.tag {
    font-size: 11.5px; font-weight:400;
    letter-spacing: 0.06em; text-transform: uppercase;
    color: #FAF8F4;
    background: rgba(222, 184, 100, 0.12);
    padding: 5px 12px;
    border-radius: 100px;
}


.about-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 56px; align-items: center; }
.about-photo { position: relative; }
.about-photo img {
    border-radius: var(--radius);
    box-shadow: var(--shadow-card-hover);
}
.about-photo::after {
    content: '';
    position: absolute; top: 18px; left: 18px;
    width: 100%; height: 100%;
    border: 1.5px solid transparent;
    border-image: var(--gold-gradient) 1;
    border-radius: 4px;
    z-index: -1;
    opacity: 0.6;
}
.about-body p { margin-bottom: 18px; color: var(--text-secondary); }


.page-header {
    padding: 170px 0 70px;
    background:
        radial-gradient(ellipse 60% 70% at 50% 0%, rgba(37, 59, 75, 0.12) 0%, transparent 60%),
        var(--bg-primary);
    text-align: center;
}
.page-header .label { display: block; margin-bottom: 14px; }
.page-header p { max-width: 560px; margin: 20px auto 0; color: var(--text-secondary); }


.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.post-card { overflow: hidden; padding: 0; display: flex; flex-direction: column; }
.post-thumb { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.post-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); filter: saturate(1.05); }
.post-card:hover .post-thumb img { transform: scale(1.05); }
.post-body { padding: 26px 28px 30px; display: flex; flex-direction: column; flex: 1; }
.post-meta { font-size: 12.5px; color: #FAF8F4; letter-spacing: 0.05em; text-transform: uppercase; margin-bottom: 10px; }
.post-body h3 { font-size: 18px; line-height: 1.35; margin-bottom: 12px; }
.post-body p { font-size: 14.5px; flex: 1; color: var(--text-secondary); }
.post-body .more { margin-top: 18px; font-size: 13px; font-weight:400; letter-spacing: 0.08em; text-transform: uppercase; color: #FAF8F4; }


.article { max-width: 760px; margin-inline: auto; }
.article-hero { border-radius: var(--radius); overflow: hidden; margin-bottom: 40px; box-shadow: var(--shadow-card); }
.article-body p { margin-bottom: 20px; font-size: 17px; color: var(--text-secondary); }
.article-body h2 { font-size: 24px; text-transform: none; letter-spacing: 0.01em; margin: 36px 0 16px; }
.share { display: flex; align-items: center; gap: 14px; margin-top: 44px; padding-top: 28px; border-top: 1px solid rgba(222, 184, 100, 0.14); }
.share span { font-size: 13px; font-weight:400; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-secondary); }
.share a {
    width: 38px; height: 38px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
    color: var(--text-secondary);
    border: 1px solid rgba(222, 184, 100, 0.28);
    transition: all 0.3s ease;
}
.share a:hover { background: var(--gold-gradient); border-color: transparent; color: var(--text-on-gold); }
.share a svg { width: 16px; height: 16px; }
.post-nav { display: flex; justify-content: space-between; gap: 20px; margin-top: 40px; }
.post-nav a { font-size: 14px; font-weight:400; color: var(--text-primary); }
.post-nav a:hover { color: #FAF8F4; }


.cta-final {
    position: relative;
    background: var(--bg-marino);
    color: var(--text-primary);
    text-align: center;
    padding: 100px 0;
    overflow: hidden;
}
.cta-final::before {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(ellipse 60% 80% at 50% 100%, rgba(37, 59, 75, 0.14) 0%, transparent 60%);
}
.cta-final h2 { color: #fff; position: relative; }
.cta-final p { position: relative; max-width: 520px; margin: 18px auto 36px; color: #FAF8F4; }
.cta-final .btn-gold {
    position: relative;
    background: var(--gold-gradient);
    color: var(--text-on-gold) !important;
    font-family: var(--font-display);
    font-weight:400; font-size: 15px;
    letter-spacing: 0.09em; text-transform: uppercase;
    padding: 17px 44px;
    border-radius: 10px;
    box-shadow:none;
}
.cta-final .btn-gold:hover { transform: translateY(-2px); filter:none; box-shadow:none; }


.footer { background: var(--bg-primary); color: var(--text-secondary); padding: 72px 0 0; border-top: 1px solid rgba(222, 184, 100, 0.1); }
.footer a { color: var(--text-secondary); transition: color 0.25s ease; }
.footer a:hover { color: #FAF8F4; }
.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1fr 1fr;
    gap: 44px;
    padding-bottom: 52px;
    border-bottom: 1px solid rgba(222, 184, 100, 0.12);
}
.footer-brand img { height: 74px; width: auto; margin-bottom: 18px; }
.footer-brand p { font-size: 14px; }
.footer h4, .footer h3, .footer h2 {
    font-family: var(--font-display);
    font-size: 13px; font-weight:400;
    letter-spacing: 0.14em; text-transform: uppercase;
    color: #FAF8F4;
    margin-bottom: 18px;
}
.footer li { margin-bottom: 10px; font-size: 14px; }
.newsletter-form { display: flex; gap: 10px; margin-top: 14px; }
.newsletter-form input {
    flex: 1;
    padding: 12px 14px;
    font-size: 14px;
    color: var(--text-primary);
    background: rgba(250, 248, 244, 0.05);
    border: 1px solid rgba(222, 184, 100, 0.22);
    border-radius: 8px;
}
.newsletter-form input::placeholder { color: var(--text-tertiary); }
.newsletter-form input:focus { outline: none; border-color: #FAF8F4; }
.newsletter-form button {
    background: var(--gold-gradient);
    color: var(--text-on-gold);
    border: none; border-radius: 8px;
    font-family: var(--font-display); font-weight:400;
    font-size: 13px; letter-spacing: 0.07em; text-transform: uppercase;
    padding: 12px 18px;
    transition: filter 0.25s ease;
}
.newsletter-form button:hover { filter:none; }
.footer-bottom {
    display: flex; align-items: center; justify-content: space-between;
    gap: 16px; flex-wrap: wrap;
    padding: 22px 0;
    font-size: 13px;
    color: var(--text-tertiary);
}
.footer-social { display: flex; gap: 12px; }
.footer-social a {
    width: 36px; height: 36px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
    border: 1px solid rgba(222, 184, 100, 0.25);
}
.footer-social a:hover { border-color: #FAF8F4; color: #FAF8F4; }
.footer-social svg { width: 15px; height: 15px; }


@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}
@keyframes fade-in-up {
    from { opacity: 0; transform: translateY(26px); }
    to { opacity: 1; transform: translateY(0); }
}
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out); }
.reveal.visible { opacity: 1; transform: translateY(0); }

.anim-1 { animation: fade-in-up 0.8s var(--ease-out) 0.05s both; }
.anim-2 { animation: fade-in-up 0.8s var(--ease-out) 0.2s both; }
.anim-3 { animation: fade-in-up 0.8s var(--ease-out) 0.35s both; }
.anim-4 { animation: fade-in-up 0.8s var(--ease-out) 0.5s both; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; }
    html { scroll-behavior: auto; }
}


@media (max-width: 1023px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .treatment-grid, .blog-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .hero-grid { grid-template-columns: 1fr; gap: 40px; }
    .hero-visual { order: -1; flex-direction: column; align-items: center; }
    .hero-photo { max-height: 400px; }
    .hero-schedule { position: static; transform: none; margin: 20px auto 0; max-width: 320px; width: 100%; }
    .appointment-grid, .about-grid { grid-template-columns: 1fr; }
    .about-photo { max-width: 420px; margin-inline: auto; }
}
@media (max-width: 767px) {
    .section { padding: 64px 0; }
    .about-photo::after { top: 12px; left: 12px; }
    .hero { padding-top: 110px; }
    .nav-links {
        display: none;
        position: absolute; top: 100%; left: 0; width: 100%;
        flex-direction: column; align-items: flex-start;
        gap: 0;
        background: rgba(17, 31, 45, 0.97);
        backdrop-filter: blur(20px);
        border-bottom: 1px solid rgba(222, 184, 100, 0.14);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
        padding: 12px 0;
    }
    .nav-links.open { display: flex; }
    .nav-links li { width: 100%; }
    .nav-links a { display: block; padding: 13px 24px; width: 100%; }
    .nav-links a::after { display: none; }
    .nav-cta-desktop { display: none; }
    .nav-toggle { display: block; }
    .services-grid, .treatment-grid, .blog-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .stats-row { grid-template-columns: 1fr; gap: 32px; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .zone-tabs { gap: 8px; }
    .zone-tab { padding: 9px 16px; font-size: 12.5px; }
}


body, input, select, textarea, button {font-family:'Jost',sans-serif;font-weight:400;}
h1,h2,h3,h4,.brand-type {font-weight:400;}
.accent,.hero-title .line-2,.stat-num {background:none;color:#FAF8F4;-webkit-text-fill-color:#FAF8F4;}
.label,.hero-schedule strong,.service-tile .more,.post-body .more,.post-meta,.tag,.footer h4,.footer h3,.footer h2,.subzone-tab.active {color:#FAF8F4;}
.cta-final {background:#111F2D;}
.cta-final h2 {color:#FAF8F4;}

strong,b {font-weight:400;}

/* Dr. Parra v2.0: identidad corregida; contenido y distribución conservados. */
body,input,select,textarea,button {font-family:'Jost',sans-serif!important;font-weight:400;}
h1,h2,h3,h4,h5,h6,.h1,.h2,.h3,.hero-h2,.brandline,.card-title,.planet-title,.item-title {font-family:'Jost',sans-serif!important;font-weight:300!important;}
h1 b,h1 strong,h2 b,h2 strong,h3 b,h3 strong,.brandline b {font-weight:300!important;}
b,strong {font-weight:400;}
a,a:hover {color:#FAF8F4;}
.beams-bg,.hero__shader-canvas,#shader-container,.shader-anim {display:none!important;}
.orbital-decoration::before,.orbital-decoration::after {display:none!important;}
.deco-sep {visibility:hidden;}
.btn-primary,.btn-primary:hover,.btn-gold,.btn-gold:hover,.cta,.cta:hover,.newsletter-form button,.newsletter-form button:hover {background:#DEB864;color:#111F2D!important;filter:none!important;box-shadow:none!important;text-shadow:none;}
#btnS:not(:disabled){animation:none!important;}
.allies-row img,.allies-row img:hover,.post-thumb img,.img-item:hover {filter:none!important;}
.label,.ey,.eyebrow,.tag,.post-meta,.card-num,.tz-hora,.terms-link,.terms-link:hover,.faq-l summary:hover,.search-select-list li:hover {color:#FAF8F4;}
.nav-logo img,.h-firma,.navbar__logo,.footer-brand img,.footer__logo {filter:none!important;opacity:1!important;}

.accent,
.hero-title .line-2,
.stat-num{background:none!important;-webkit-text-fill-color:#FAF8F4!important;color:#FAF8F4!important;}

.footer-brand img{width:180px;height:auto;margin-bottom:18px;}
.footer h4,.footer h3,.footer h2{font-weight:400!important;}
.stat-num{font-weight:300;}
.sirf a:hover,.footer a:hover,.post-nav a:hover{color:#FAF8F4;}
.hero{background:radial-gradient(ellipse 70% 75% at 82% 20%,rgba(37,59,75,.45),transparent 75%),#111F2D;}
.article-body a{text-decoration:underline;text-underline-offset:3px;}

/* Correcciones de formularios: identidad y jerarquía existentes. */
.consent-row,.form-group .consent-row{display:flex;align-items:flex-start;gap:10px;font-size:14px;line-height:1.5;margin:14px 0;color:#FAF8F4;}
.consent-row input[type=checkbox]{width:18px;height:18px;flex:0 0 18px;margin:2px 0 0;accent-color:#DEB864;}
.consent-row a,.form-note a{text-decoration:underline;text-underline-offset:3px;}
.newsletter-form{flex-wrap:wrap;}
.newsletter-form .consent-row,.newsletter-form .form-status{flex-basis:100%;}
.form-status{font-size:14px;line-height:1.5;margin-top:12px;color:#FAF8F4;}
.form-status:empty{display:none;}
.form-status[data-state=error]{color:#f0b5b5;}
[data-sensitive]:disabled{opacity:.5;cursor:not-allowed;}

/* Selector de idioma ES · EN (20 oct 2026) */
.nav-links .lang-switch { display: flex; align-items: center; gap: 6px; font-size: 14px; letter-spacing: 0.04em; color: var(--text-secondary); }
.nav-links .lang-switch [aria-current] { color: var(--text-primary); }
@media (max-width: 767px) {
    .nav-links .lang-switch { padding: 13px 24px; }
    .nav-links .lang-switch a { display: inline; padding: 0; width: auto; }
}
/* Tablet: la barra no se parte en dos líneas (20 oct 2026) */
@media (min-width: 768px) and (max-width: 1100px) {
    .nav-inner { gap: 16px; }
    .nav-links { gap: 18px; }
    .nav-links a, .nav-links .lang-switch { font-size: 13px; }
    .nav-cta-desktop { white-space: nowrap; padding-left: 16px; padding-right: 16px; font-size: 11px; }
}

/* Bloques SIRF, ENCÉFALO, redes y trayectoria (20 oct 2026) */
.ciencia-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; max-width: 980px; margin: 40px auto 0; }
.ciencia-card { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; padding: 36px; }
.ciencia-card p { color: var(--text-secondary); flex: 1; }
.ciencia-logo { height: 64px; width: auto; }
.ciencia-marca { display: flex; align-items: center; gap: 14px; height: 64px; }
.ciencia-marca img { height: 56px; width: auto; }
.ciencia-marca span { font-size: 26px; letter-spacing: 0.18em; color: var(--text-primary); font-weight: 300; }
.about-social { display: flex; align-items: center; gap: 12px; margin-top: 22px; flex-wrap: wrap; }
.about-social span { font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-tertiary); margin-right: 4px; }
.about-social a { width: 40px; height: 40px; border: 1px solid rgba(222, 184, 100, 0.35); border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: var(--text-primary); transition: border-color .3s, background .3s; }
.about-social a:hover { border-color: #FAF8F4; background: rgba(222, 184, 100, 0.08); }
.about-social svg { width: 17px; height: 17px; }
.distinciones { max-width: 760px; margin: 48px auto 0; }
.distinciones h3 { text-align: center; margin-bottom: 18px; }
.distinciones ul { list-style: none; padding: 0; margin: 0; }
.distinciones li { padding: 12px 0; border-bottom: 1px solid rgba(222, 184, 100, 0.12); color: var(--text-secondary); }
.pub-wrap { max-width: 860px; margin: 32px auto 0; }
.pub-list { list-style: none; padding: 0; margin: 0; }
.pub-list li { padding: 14px 0; border-bottom: 1px solid rgba(222, 184, 100, 0.12); color: var(--text-secondary); line-height: 1.55; }
.pub-list a { color: var(--text-primary); border-bottom: 1px solid rgba(222, 184, 100, 0.3); }
.pub-list a:hover { border-color: #FAF8F4; }
.pub-list em { display: block; font-size: 14px; color: var(--text-tertiary); margin-top: 4px; }
.pub-anio { display: inline-block; min-width: 46px; color: #DEB864; font-size: 14px; }
@media (max-width: 767px) {
    .ciencia-grid { grid-template-columns: 1fr; }
    .ciencia-card { padding: 26px; }
    .stats-row { grid-template-columns: 1fr; }
}

/* Audi, 21 oct 2026: tarjetas de Tecnología y Blog en h2 con el tamaño que tenían en h3 */
.treatment-card h2 { font-size: 21px; letter-spacing: 0.02em; text-transform: none; margin-bottom: 10px; }
.post-body h2 { font-size: 18px; line-height: 1.35; letter-spacing: 0.02em; text-transform: none; margin-bottom: 12px; }
/* El pie pasó de h4 a h3 (h2 en la 404): mismo interlineado que tenía el h4 */
.footer h3, .footer h2 { line-height: inherit; }
