
:root {
  --navy:#06101b;
  --navy-2:#0d1926;
  --paper:#f7f4f0;
  --white:#fff;
  --ink:#18222c;
  --muted:#68747e;
  --line:#e5ddd5;
  --copper:#d19a7b;
  --copper-dark:#b97856;
  --green:#25D366;
  --shadow:0 16px 42px rgba(6,16,27,.09);
  --shadow-lg:0 30px 80px rgba(6,16,27,.18);
  --radius:28px;
  --serif:Georgia,"Times New Roman",serif;
  --sans:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:var(--sans);color:var(--ink);background:var(--paper);line-height:1.58;overflow-x:hidden}
img{display:block;max-width:100%}
a{color:inherit;text-decoration:none}
button,input,textarea,select{font:inherit}
.container{width:min(1180px,calc(100% - 40px));margin:auto}
.section{padding:92px 0}
.eyebrow{display:inline-flex;align-items:center;gap:10px;color:var(--copper-dark);font-size:.76rem;font-weight:800;text-transform:uppercase;letter-spacing:.15em}
.eyebrow:before{content:"";width:34px;height:1px;background:currentColor}
h1,h2,h3,h4{margin:0;line-height:1.08}
h1,h2{font-family:var(--serif);font-weight:500;letter-spacing:-.025em}
h1{font-size:clamp(2.5rem,5vw,4.8rem)}
h2{font-size:clamp(2rem,4vw,3.4rem)}
h3{font-size:1.2rem}
p{margin:0}
.section-head{max-width:800px;margin-bottom:38px}
.section-head h2{margin:12px 0 14px}
.section-head p{color:var(--muted);font-size:1.02rem}
.btn{min-height:54px;padding:0 24px;border-radius:999px;display:inline-flex;align-items:center;justify-content:center;gap:10px;font-weight:600;border:1px solid transparent;transition:.22s ease;cursor:pointer}
.btn:hover{transform:translateY(-2px)}
.btn .btn-icon{width:18px;height:18px;display:inline-flex;align-items:center;justify-content:center;flex:0 0 18px}
.btn .btn-icon svg{width:18px;height:18px;display:block}
.btn-wa{background:var(--green);color:#fff;box-shadow:0 10px 28px rgba(37,211,102,.22)}
.btn-copper{background:var(--copper);color:#101010}
.btn-outline{border-color:rgba(255,255,255,.35);color:#fff;background:rgba(255,255,255,.04)}
.btn-dark-outline{border-color:#b7bec4;color:#25303a;background:transparent}
.btn-soft{border-color:#d8cec6;color:#1c262f;background:#fff}
.cta-row{display:flex;gap:12px;flex-wrap:wrap}

.header{position:fixed;top:0;left:0;right:0;z-index:1000;padding:15px 0;transition:.3s}
.header.scrolled{background:rgba(6,16,27,.92);backdrop-filter:blur(14px);box-shadow:0 8px 28px rgba(0,0,0,.14);padding:10px 0}
.nav{display:flex;align-items:center;justify-content:space-between;gap:20px}
.brand img{width:min(220px,46vw)}
.nav-links{display:flex;align-items:center;gap:12px;color:#fff}
.nav-links a:not(.btn){font-size:.92rem;font-weight:650;opacity:.92}
.nav-links .btn{min-height:48px;padding:0 18px;font-size:.92rem;white-space:nowrap}

.hero{
  position:relative;min-height:100vh;display:flex;align-items:center;color:#fff;padding:128px 0 70px;overflow:hidden;
  background:
    linear-gradient(90deg,rgba(6,16,27,.97) 0%,rgba(6,16,27,.89) 39%,rgba(6,16,27,.54) 70%,rgba(6,16,27,.26) 100%),
    url('hero-clinic.webp') center/cover no-repeat fixed;
}
.hero::after{content:"";position:absolute;left:0;right:0;bottom:0;height:110px;background:linear-gradient(transparent,rgba(6,16,27,.36));pointer-events:none}
.hero-grid{position:relative;z-index:2;display:grid;grid-template-columns:1.06fr .94fr;gap:58px;align-items:center}
.hero-copy{max-width:690px}
.hero-copy h1{margin:18px 0 16px;}
.hero-sub{font-size:clamp(1rem,1.38vw,1.15rem);color:#e1e6ea;max-width:670px}
.hero-points{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:26px 0 30px}
.hero-point{padding:13px 14px;border-radius:14px;background:rgba(255,255,255,.075);border:1px solid rgba(255,255,255,.11);backdrop-filter:blur(8px);font-size:.91rem;font-weight:400;color:#eff3f5}
.hero-point::before{content:"✓";color:var(--copper);margin-right:8px}
.hero-form{background:rgba(250,248,245,.99);color:var(--ink);padding:36px;border-radius:30px;box-shadow:var(--shadow-lg);border:1px solid rgba(255,255,255,.35);position:relative;overflow:hidden}
.hero-form::before{content:"";position:absolute;left:0;right:0;top:0;height:5px;background:linear-gradient(90deg,var(--copper),#eed5c5)}
.hero-form h3{font-family:var(--serif);font-size:1.92rem;font-weight:500;margin-bottom:10px}
.hero-form .intro{color:#69747e;font-size:.94rem;margin-bottom:24px}
.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px 16px}
.field{display:flex;flex-direction:column;gap:8px}
.field.full{grid-column:1/-1}
label{font-size:.72rem;letter-spacing:.02em;font-weight:750;color:#6d7780}
input,textarea,select{width:100%;border:1px solid #d5dade;background:#fff;border-radius:13px;padding:15px 15px;color:#18222c;font-size:1rem;outline:none;transition:.2s}
input::placeholder,textarea::placeholder{color:#a0a8af}
input:focus,textarea:focus,select:focus{border-color:var(--copper-dark);box-shadow:0 0 0 4px rgba(209,154,123,.14)}
textarea{min-height:110px;resize:vertical}
.form-submit{width:100%;margin-top:20px;border:0}
.after-submit-note{margin-top:12px;text-align:center;font-size:.75rem;color:#7d8790}
.form-status{display:none;margin-top:16px;padding:15px 16px;border-radius:14px;background:#eaf8ef;border:1px solid #b7e4c5;color:#235d37;font-size:.9rem;font-weight:650}
.form-status.show{display:block}

.trust{background:var(--navy);color:#fff;border-top:1px solid rgba(255,255,255,.08);border-bottom:1px solid rgba(255,255,255,.08)}
.trust-grid{display:grid;grid-template-columns:repeat(4,1fr)}
.trust-item{padding:22px 18px;text-align:center;border-right:1px solid rgba(255,255,255,.08)}
.trust-item:last-child{border-right:0}
.trust-item .icon{width:24px;height:24px;margin:0 auto 10px;color:#fff}
.trust-item .icon svg{width:24px;height:24px;display:block}
.trust-item strong{display:block;color:var(--copper);font-size:.98rem;margin-bottom:3px}
.trust-item span{color:#d3dbe1;font-size:.88rem}

.info-split{display:grid;grid-template-columns:1.02fr .98fr;gap:28px;align-items:center}
.visual-large{min-height:520px;border-radius:30px;background:none center/cover no-repeat;box-shadow:var(--shadow-lg)}
.card-panel{background:#fff;border:1px solid #e4dbd3;border-radius:26px;padding:30px;box-shadow:var(--shadow)}
.card-panel h3{font-family:var(--serif);font-size:2rem;font-weight:500;margin-bottom:10px}
.card-panel p{color:var(--muted)}
.bullet-list{margin:18px 0 0;padding:0;list-style:none;display:grid;gap:12px}
.bullet-list li{display:flex;gap:10px;align-items:flex-start;color:#31404d}
.bullet-list .bullet-icon{width:20px;height:20px;color:var(--copper-dark);flex:0 0 20px}

.cards{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.mini-card{background:#fff;border:1px solid #e4dbd3;border-radius:22px;padding:22px;box-shadow:0 9px 24px rgba(6,16,27,.05)}
.mini-card .icon{width:44px;height:44px;border-radius:14px;background:#f1e0d5;color:var(--copper-dark);display:grid;place-items:center;margin-bottom:16px}
.mini-card .icon svg{width:24px;height:24px;display:block}
.mini-card h4{font-size:1.02rem;margin-bottom:8px}
.mini-card p{font-size:.92rem;color:var(--muted)}

.process{background:#fff}
.steps{display:grid;grid-template-columns:repeat(5,1fr);gap:14px;counter-reset:steps}
.step{counter-increment:steps;background:#f8f3ee;border:1px solid #eadfd6;border-radius:18px;padding:18px 16px;min-height:170px}
.step::before{content:counter(steps);width:34px;height:34px;border-radius:50%;background:var(--navy);color:#fff;display:grid;place-items:center;font-size:.8rem;font-weight:900;margin-bottom:15px}
.step h4{margin-bottom:8px;font-size:1rem}
.step p{font-size:.88rem;color:#5f6a74}

.spaces{background:#f4efea}
.space-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.photo-card{background:#fff;border:1px solid var(--line);border-radius:22px;overflow:hidden;box-shadow:var(--shadow)}
.photo-card .image{height:238px;background-size:cover;background-position:center}
.photo-card .label{padding:15px 17px;background:#fff}
.photo-card .label strong{display:block;font-size:.95rem;margin-bottom:3px}
.photo-card .label span{font-size:.84rem;color:var(--muted)}

.specialties-block{background:linear-gradient(90deg,rgba(6,16,27,.96),rgba(6,16,27,.9)),url('reception-main.webp') center/cover no-repeat fixed;color:#fff}
.spec-wrap{display:grid;grid-template-columns:1fr 330px;gap:28px;align-items:start}
.spec-list{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.spec-chip{display:flex;align-items:center;gap:9px;padding:13px 14px;border-radius:14px;border:1px solid rgba(255,255,255,.12);font-weight:700;font-size:.9rem;backdrop-filter:blur(7px);background:rgba(255,255,255,.075)}
.spec-chip:nth-child(even){background:rgba(209,154,123,.12)}
.spec-chip.active{background:#fff;color:var(--navy);border-color:#fff}
.spec-chip .mini{font-size:1rem;opacity:.92}
.side-panel{background:rgba(255,255,255,.085);border:1px solid rgba(255,255,255,.12);backdrop-filter:blur(10px);padding:25px;border-radius:24px}
.side-panel h3{font-family:var(--serif);font-size:1.7rem;font-weight:500;margin-bottom:9px}
.side-panel p{color:#d7dee3;font-size:.91rem;margin-bottom:15px}
.side-panel ul{margin:0;padding:0;list-style:none;display:grid;gap:8px}
.side-panel li{font-size:.9rem;color:#edf1f4}
.side-panel li::before{content:"✓";color:var(--copper);margin-right:8px}

.mid-cta{padding:30px 0;background:#fff;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.mid-cta-inner{display:flex;align-items:center;justify-content:space-between;gap:24px}
.mid-cta-copy strong{display:block;font-family:var(--serif);font-size:1.45rem;font-weight:500;margin-bottom:4px}
.mid-cta-copy span{color:var(--muted);font-size:.93rem}

footer{background:#050d16;color:#c3cad0;padding:72px 0 48px}
.footer-grid{display:grid;grid-template-columns:1.15fr 1fr 1fr;gap:46px;align-items:start}
.footer-logo{width:min(250px,100%);margin-bottom:20px}
footer h4{color:#fff;margin:0 0 14px;font-size:1rem}
footer p,footer a{font-size:.92rem;color:#c2cad0}
footer a:hover{color:#fff}
.footer-links{display:grid;gap:10px}
.footer-link{display:flex;align-items:flex-start;gap:10px}
.footer-link .f-icon{width:18px;height:18px;display:inline-flex;align-items:center;justify-content:center;color:#fff;flex:0 0 18px;margin-top:2px}
.footer-link .f-icon svg{width:18px;height:18px;display:block}
.social-links{display:flex;gap:12px;margin-top:20px}
.social-link{width:38px;height:38px;border-radius:50%;border:1px solid rgba(255,255,255,.16);display:grid;place-items:center;color:#fff;background:rgba(255,255,255,.04);transition:.2s ease}
.social-link:hover{background:rgba(255,255,255,.1);transform:translateY(-2px)}
.social-link svg{width:19px;height:19px;display:block}
.legal{margin-top:38px;padding-top:22px;border-top:1px solid rgba(255,255,255,.1);font-size:.75rem;color:#85909a}

.wa-float{position:fixed;right:18px;bottom:18px;z-index:999;width:60px;height:60px;border-radius:50%;background:var(--green);color:#fff;display:grid;place-items:center;box-shadow:0 15px 34px rgba(0,0,0,.25)}
.wa-float svg{width:28px;height:28px;display:block}
.reveal{opacity:0;transform:translateY(18px);transition:opacity .65s ease,transform .65s ease}
.reveal.show{opacity:1;transform:none}

@media(max-width:1100px){
  .hero-grid,.info-split,.spec-wrap{grid-template-columns:1fr}
  .cards{grid-template-columns:1fr 1fr}
  .steps{grid-template-columns:repeat(3,1fr)}
  .space-grid{grid-template-columns:1fr 1fr}
  .spec-list{grid-template-columns:repeat(3,1fr)}
  .hero,.specialties-block{background-attachment:scroll}
}
@media(max-width:840px){
  .nav-links a:not(.btn){display:none}
  .hero{padding-top:112px}
  .hero-points,.form-grid,.trust-grid{grid-template-columns:1fr}
  .cards{grid-template-columns:1fr}
  .steps{grid-template-columns:repeat(2,1fr)}
  .spec-list{grid-template-columns:1fr 1fr}
  .footer-grid{grid-template-columns:1fr 1fr}
  .mid-cta-inner{align-items:flex-start;flex-direction:column}
  .trust-item{border-right:0;border-bottom:1px solid rgba(255,255,255,.08)}
  .trust-item:last-child{border-bottom:0}
}
@media(max-width:560px){
  .container{width:min(100% - 28px,1180px)}
  .section{padding:70px 0}
  .hero{min-height:auto;padding:102px 0 54px;background-position:64% center}
  .hero-copy h1{font-size:2.35rem}
  .hero-form{padding:24px 20px;border-radius:22px}
  .visual-large{min-height:320px}
  .space-grid,.steps,.spec-list,.footer-grid{grid-template-columns:1fr}
  .photo-card .image{height:210px}
  footer{padding:58px 0 36px}
  .wa-float{width:56px;height:56px;right:14px;bottom:14px}
}


.nav-links .btn .btn-icon{
  width:18px;
  height:18px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex:0 0 18px;
}
.nav-links .btn .btn-icon svg{
  width:18px;
  height:18px;
  display:block;
}

.footer-heading{
  color:#fff;
  margin:0 0 14px;
  font-size:1rem;
  font-weight:700;
}


/* =========================================================
   V13 — Ajuste de proporciones HEADER + FOOTER
   ========================================================= */

/* Logo siempre proporcional: evita deformaciones por atributos HTML */
.brand img,
.header .brand img,
.footer-logo,
.mobile-menu-logo{
  height:auto !important;
  object-fit:contain;
}

/* Header desktop: más compacto y equilibrado */
.header{
  padding:10px 0;
}
.header.scrolled{
  padding:7px 0;
}
.header .nav{
  min-height:64px;
  gap:24px;
}
.header .brand{
  flex:0 0 auto;
}
.header .brand img{
  width:190px !important;
  max-width:190px !important;
  max-height:70px !important;
}
.nav-links{
  gap:11px;
  flex-wrap:nowrap;
}
.nav-links a:not(.btn){
  font-size:.88rem;
  line-height:1;
  white-space:nowrap;
}
.nav-links .btn{
  min-height:46px;
  padding:0 17px;
  font-size:.88rem;
}

/* Footer: logo y navegación/contactos con escala más limpia */
footer{
  padding:58px 0 40px;
}
.footer-grid{
  grid-template-columns:1.08fr .96fr .96fr;
  gap:38px;
}
.footer-logo{
  width:205px !important;
  max-width:205px !important;
  margin-bottom:16px;
}
.footer-heading{
  font-size:.96rem;
  margin-bottom:12px;
}
footer p,
footer a{
  font-size:.88rem;
  line-height:1.55;
}
.footer-links{
  gap:8px;
}
.social-links{
  margin-top:16px;
}
.legal{
  margin-top:30px;
  padding-top:18px;
}

/* Notebook / tablet landscape */
@media (max-width:1180px) and (min-width:961px){
  .header .nav{
    gap:16px;
  }
  .header .brand img{
    width:170px !important;
    max-width:170px !important;
  }
  .nav-links{
    gap:8px;
  }
  .nav-links a:not(.btn),
  .nav-links .btn{
    font-size:.82rem;
  }
  .nav-links .btn{
    min-height:44px;
    padding-inline:14px;
  }
}

/* Tablet/mobile */
@media (max-width:960px){
  .header{
    padding:8px 0;
  }
  .header .nav{
    min-height:58px;
  }
  .header .brand img{
    width:168px !important;
    max-width:168px !important;
    max-height:58px !important;
  }
  .mobile-menu-logo{
    width:165px !important;
    max-width:165px !important;
    max-height:62px !important;
  }
  footer{
    padding:50px 0 34px;
  }
  .footer-logo{
    width:190px !important;
    max-width:190px !important;
  }
}

/* Mobile */
@media (max-width:560px){
  .header .brand img{
    width:145px !important;
    max-width:145px !important;
    max-height:52px !important;
  }
  .footer-logo{
    width:180px !important;
    max-width:180px !important;
  }
  footer p,
  footer a{
    font-size:.9rem;
  }
}


/* =========================================================
   V15 — Menú de Especialidades desplegable
   ========================================================= */

/* Desktop dropdown */
.nav-dropdown{
  position:relative;
  display:flex;
  align-items:center;
}
.nav-dropdown-toggle{
  appearance:none;
  border:0;
  background:transparent;
  color:inherit;
  font:inherit;
  font-weight:700;
  cursor:pointer;
  min-height:44px;
  padding:0 4px;
  display:inline-flex;
  align-items:center;
  gap:6px;
  white-space:nowrap;
}
.nav-dropdown-toggle svg{
  width:15px;
  height:15px;
  transition:transform .22s ease;
}
.nav-dropdown.open .nav-dropdown-toggle svg,
.nav-dropdown:focus-within .nav-dropdown-toggle svg{
  transform:rotate(180deg);
}
.nav-dropdown-menu{
  position:absolute;
  top:calc(100% + 10px);
  left:50%;
  transform:translateX(-50%) translateY(6px);
  width:min(560px,82vw);
  max-height:min(68vh,620px);
  overflow-y:auto;
  padding:12px;
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:6px;
  background:rgba(8,18,29,.985);
  border:1px solid rgba(255,255,255,.12);
  border-radius:18px;
  box-shadow:0 24px 60px rgba(0,0,0,.34);
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transition:opacity .18s ease,transform .18s ease,visibility .18s ease;
  z-index:1300;
}
.nav-dropdown.open .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu{
  opacity:1;
  visibility:visible;
  pointer-events:auto;
  transform:translateX(-50%) translateY(0);
}
.nav-dropdown-menu a{
  min-height:44px;
  padding:10px 12px;
  border-radius:11px;
  display:flex;
  align-items:center;
  color:#fff;
  font-size:.86rem;
  line-height:1.3;
  white-space:normal;
}
.nav-dropdown-menu a:hover,
.nav-dropdown-menu a:focus-visible{
  background:rgba(209,154,123,.12);
  color:#f1b089;
}

/* Mobile accordion */
.mobile-submenu{
  border-bottom:1px solid rgba(255,255,255,.075);
}
.mobile-submenu-toggle{
  width:100%;
  min-height:50px;
  padding:11px 10px;
  border:0;
  background:transparent;
  color:#fff;
  font:inherit;
  font-weight:700;
  font-size:1rem;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  cursor:pointer;
  text-align:left;
}
.mobile-submenu-toggle svg{
  width:18px;
  height:18px;
  flex:0 0 18px;
  color:#d19a7b;
  transition:transform .2s ease;
}
.mobile-submenu.open .mobile-submenu-toggle svg{
  transform:rotate(180deg);
}
.mobile-submenu-panel{
  display:grid;
  grid-template-columns:1fr;
  gap:2px;
  padding:0 8px 10px 14px;
}
.mobile-submenu-panel[hidden]{display:none}
.mobile-submenu-panel a{
  min-height:44px;
  padding:9px 10px 9px 15px;
  border-left:2px solid rgba(209,154,123,.34);
  border-bottom:0;
  color:#d8e0e6;
  font-size:.92rem;
  font-weight:600;
  line-height:1.3;
}
.mobile-submenu-panel a::after{display:none}
.mobile-submenu-panel a:hover,
.mobile-submenu-panel a:focus-visible{
  color:#fff;
  border-left-color:#d19a7b;
  background:rgba(255,255,255,.035);
}

@media (max-width:960px){
  .nav-dropdown{display:none}
}

@media (min-width:961px){
  .mobile-submenu{display:none}
}


/* V16 — Estados de formulario */
.form-error{
  display:none;
  margin-top:14px;
  padding:13px 15px;
  border-radius:12px;
  background:#fff1f0;
  border:1px solid #efc1bc;
  color:#8d3028;
  font-size:.88rem;
  line-height:1.45;
  font-weight:650;
}
.form-error.show{display:block}
.form-submit:disabled{
  opacity:.72;
  cursor:wait;
}


/* =========================================================
   V17 — Orden explícito de logo en footer
   ========================================================= */
.footer-brand{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  min-width:0;
}
.footer-brand .footer-logo{
  order:1 !important;
  display:block;
  margin:0 0 18px 0 !important;
}
.footer-brand > p{
  order:2 !important;
  margin-top:0;
}
.footer-brand .social-links{
  order:3 !important;
  margin-top:16px;
}

/* El logo debe permanecer arriba también en tablet/mobile */
@media (max-width:960px){
  .footer-brand{
    align-items:flex-start;
  }
  .footer-brand .footer-logo{
    margin-bottom:16px !important;
  }
}


/* V18 — Subencabezados SEO semánticos */
.seo-subheading{
  margin:16px 0 10px;
  font-family:inherit;
  font-size:.92rem;
  line-height:1.35;
  font-weight:750;
  letter-spacing:.01em;
  color:inherit;
}
.side-panel .seo-subheading{
  color:#fff;
  opacity:.92;
}
@media (max-width:560px){
  .seo-subheading{
    font-size:.9rem;
    margin-top:14px;
  }
}


/* =========================================================
   V23 — Títulos previos a formularios más pequeños
   ========================================================= */
.hero-form h2,
.hero-form h3,
.contact-card h2,
.contact-card h3,
.form-card h2,
.form-card h3{
  font-size:clamp(2rem,3.2vw,3.15rem) !important;
  line-height:1.05 !important;
  letter-spacing:-.025em;
}

@media (max-width:768px){
  .hero-form h2,
  .hero-form h3,
  .contact-card h2,
  .contact-card h3,
  .form-card h2,
  .form-card h3{
    font-size:clamp(1.75rem,7vw,2.35rem) !important;
    line-height:1.08 !important;
  }
}

@media (max-width:560px){
  .hero-form h2,
  .hero-form h3,
  .contact-card h2,
  .contact-card h3,
  .form-card h2,
  .form-card h3{
    font-size:1.85rem !important;
    line-height:1.08 !important;
  }
}


/* =========================================================
   V25 — Bloques de síntomas / motivos frecuentes
   ========================================================= */
.symptoms-section{
  padding:78px 0;
  background:#f6f2ee;
}
.symptoms-card{
  padding:38px;
  border-radius:26px;
  background:#fff;
  border:1px solid #e7ddd5;
  box-shadow:0 18px 48px rgba(17,28,38,.08);
}
.symptoms-head{
  max-width:840px;
  margin-bottom:28px;
}
.symptoms-head h2{
  margin:10px 0 12px;
  font-size:clamp(2rem,3.5vw,3.25rem);
  line-height:1.08;
}
.symptoms-head p{
  margin:0;
  color:#697681;
  font-size:1rem;
  line-height:1.6;
}
.symptoms-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px 14px;
}
.symptom-item{
  min-height:54px;
  display:flex;
  align-items:center;
  gap:11px;
  padding:13px 15px;
  border-radius:14px;
  background:#f7f4f1;
  border:1px solid #ece3dc;
  color:#15212b;
  font-weight:650;
  line-height:1.35;
}
.symptom-check{
  width:25px;
  height:25px;
  flex:0 0 25px;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:#f2ded2;
  color:#b86e4d;
  font-weight:800;
}
.symptoms-cta{
  margin-top:26px;
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}
.symptoms-cta .btn{
  min-height:52px;
}
@media (max-width:768px){
  .symptoms-section{padding:62px 0}
  .symptoms-card{padding:28px 24px}
  .symptoms-grid{grid-template-columns:1fr}
}
@media (max-width:560px){
  .symptoms-card{
    padding:24px 18px;
    border-radius:20px;
  }
  .symptoms-head h2{
    font-size:1.9rem;
  }
  .symptoms-cta{
    display:grid;
    grid-template-columns:1fr;
  }
  .symptoms-cta .btn{
    width:100%;
  }
}


/* =========================================================
   V26 — Situaciones frecuentes para especialistas
   ========================================================= */
.specialist-situations{
  padding:78px 0;
  background:#0a1521;
  color:#fff;
}
.specialist-situations-card{
  padding:38px;
  border-radius:26px;
  background:#111e2b;
  border:1px solid rgba(255,255,255,.09);
  box-shadow:0 22px 60px rgba(0,0,0,.22);
}
.specialist-situations-head{
  max-width:900px;
  margin-bottom:28px;
}
.specialist-situations-head .eyebrow{
  color:#d99a78;
}
.specialist-situations-head h2{
  margin:10px 0 12px;
  color:#fff;
  font-size:clamp(2rem,3.5vw,3.25rem);
  line-height:1.08;
}
.specialist-situations-head p{
  margin:0;
  color:#c9d2d9;
  font-size:1rem;
  line-height:1.65;
}
.specialist-situations-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px 14px;
}
.specialist-situation-item{
  min-height:58px;
  display:flex;
  align-items:center;
  gap:12px;
  padding:14px 16px;
  border-radius:14px;
  background:rgba(255,255,255,.045);
  border:1px solid rgba(255,255,255,.075);
  color:#f2f5f7;
  font-weight:650;
  line-height:1.38;
}
.specialist-situation-check{
  width:26px;
  height:26px;
  flex:0 0 26px;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:rgba(217,154,120,.14);
  color:#e6a985;
  font-weight:800;
}
.specialist-situations-cta{
  margin-top:28px;
  display:flex;
  flex-wrap:wrap;
  gap:12px;
}
.specialist-situations-cta .btn{
  min-height:52px;
}
@media (max-width:768px){
  .specialist-situations{padding:62px 0}
  .specialist-situations-card{padding:28px 24px}
  .specialist-situations-grid{grid-template-columns:1fr}
}
@media (max-width:560px){
  .specialist-situations-card{
    padding:24px 18px;
    border-radius:20px;
  }
  .specialist-situations-head h2{
    font-size:1.9rem;
  }
  .specialist-situations-cta{
    display:grid;
    grid-template-columns:1fr;
  }
  .specialist-situations-cta .btn{
    width:100%;
  }
}


/* =========================================================
   V27 — Reubicación de bloques + contraste botón contacto
   ========================================================= */
.header .btn-outline{
  background:rgba(7,18,29,.82);
  color:#fff;
  border-color:rgba(255,255,255,.18);
  backdrop-filter:blur(10px);
  box-shadow:0 12px 30px rgba(0,0,0,.18);
}
.header .btn-outline:hover,
.header .btn-outline:focus-visible{
  background:rgba(17,34,52,.96);
  color:#fff;
  border-color:rgba(255,255,255,.30);
}
.header.scrolled .btn-outline{
  background:rgba(255,255,255,.08);
  border-color:rgba(255,255,255,.18);
}


/* =========================================================
   V29 — CTA Dossier Comercial en Especialistas
   ========================================================= */
.final-cta .btn-dossier{
  min-height:56px;
  padding:0 24px;
  background:#fff;
  color:#0a1521;
  border:1px solid rgba(255,255,255,.9);
  box-shadow:0 12px 32px rgba(0,0,0,.20);
}
.final-cta .btn-dossier:hover,
.final-cta .btn-dossier:focus-visible{
  background:#f0dfd4;
  color:#0a1521;
  border-color:#f0dfd4;
}
.final-cta .btn-dossier .btn-icon{
  width:20px;
  height:20px;
  flex-basis:20px;
}
.final-cta .btn-dossier .btn-icon svg{
  width:20px;
  height:20px;
}
@media (max-width:560px){
  .final-cta .btn-dossier{
    width:100%;
    min-height:54px;
    padding:0 18px;
    white-space:normal;
    text-align:center;
  }
}


/* =========================================================
   V30 — Mejoras visuales para botones en bloques de situaciones
   ========================================================= */
.symptoms-cta .btn-outline,
.specialist-situations-cta .btn-outline{
  background:#ffffff;
  color:#15212b;
  border:1px solid #d7c4b5;
  box-shadow:0 12px 28px rgba(21,33,43,.08);
}

.symptoms-cta .btn-outline:hover,
.symptoms-cta .btn-outline:focus-visible,
.specialist-situations-cta .btn-outline:hover,
.specialist-situations-cta .btn-outline:focus-visible{
  background:#f2ded2;
  color:#15212b;
  border-color:#c79069;
  box-shadow:0 14px 32px rgba(199,144,105,.16);
}

.symptoms-cta .btn-wa,
.specialist-situations-cta .btn-wa{
  box-shadow:0 14px 34px rgba(37,211,102,.26);
}

.symptoms-cta .btn,
.specialist-situations-cta .btn{
  min-width:240px;
  justify-content:center;
}

@media (max-width:560px){
  .symptoms-cta .btn,
  .specialist-situations-cta .btn{
    min-width:100%;
  }
}


/* =========================================================
   V32 — QA final: formularios y estados
   ========================================================= */
.form-error{
  display:none;
  margin-top:14px;
  padding:13px 15px;
  border-radius:12px;
  background:#fff1f0;
  border:1px solid #efc1bc;
  color:#8d3028;
  font-size:.88rem;
  line-height:1.45;
  font-weight:650;
}
.form-error.show{display:block}
.form-submit:disabled{
  opacity:.72;
  cursor:wait;
}


/* =========================================================
   V35 — Títulos hero y botones de formularios
   ========================================================= */

/* Títulos principales: un poco más pequeños y con saltos de línea más naturales */
.hero-copy h1{
  font-size:clamp(2.3rem,4.15vw,4.15rem) !important;
  line-height:1.03 !important;
  max-width:700px !important;
  text-wrap:balance;
  word-break:normal !important;
  overflow-wrap:normal !important;
  hyphens:none;
}

/* Evita que signos/palabras muy cortas queden aislados cuando el navegador puede balancear */
@supports (text-wrap: pretty){
  .hero-copy h1{ text-wrap:pretty; }
}

/* Botón principal de todos los formularios */
.form-submit,
.hero-form .form-submit{
  background:#06101b !important;
  color:#ffffff !important;
  border-color:#06101b !important;
  box-shadow:0 10px 26px rgba(6,16,27,.16);
}
.form-submit:hover,
.form-submit:focus-visible,
.hero-form .form-submit:hover,
.hero-form .form-submit:focus-visible{
  background:#d19a7b !important;
  color:#ffffff !important;
  border-color:#d19a7b !important;
}

/* El ícono hereda siempre el color blanco */
.form-submit .btn-icon,
.form-submit .btn-icon svg{
  color:#ffffff !important;
}

@media (max-width:960px){
  .hero-copy h1{
    font-size:clamp(2.25rem,6.5vw,3.35rem) !important;
    line-height:1.04 !important;
    max-width:760px !important;
  }
}

@media (max-width:560px){
  .hero-copy h1{
    font-size:clamp(2rem,9vw,2.55rem) !important;
    line-height:1.05 !important;
    max-width:100% !important;
    text-wrap:balance;
  }
}


/* =========================================================
   V39 — Espacios: 6 cuadros / 2 filas de 3
   ========================================================= */
.space-grid{
  grid-template-columns:repeat(3,minmax(0,1fr)) !important;
  gap:18px !important;
}
.photo-card .image{
  height:230px;
}
.photo-card .label{
  min-height:104px;
}

@media (max-width:960px){
  .space-grid{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  }
}

@media (max-width:560px){
  .space-grid{
    grid-template-columns:1fr !important;
  }
  .photo-card .image{
    height:210px;
  }
  .photo-card .label{
    min-height:0;
  }
}


/* =========================================================
   V43 — Google reCAPTCHA v3
   ========================================================= */

/* Badge visible en la esquina inferior izquierda para no
   interferir con el botón flotante de WhatsApp. */
.grecaptcha-badge{
  left:14px !important;
  right:auto !important;
  bottom:14px !important;
  z-index:900 !important;
}

.recaptcha-notice{
  margin:12px 0 0;
  color:#7b858d;
  font-size:.68rem;
  line-height:1.45;
  text-align:center;
}
.recaptcha-notice a{
  color:inherit;
  text-decoration:underline;
  text-underline-offset:2px;
}

@media (max-width:560px){
  .grecaptcha-badge{
    left:6px !important;
    bottom:8px !important;
    transform:scale(.88);
    transform-origin:left bottom;
  }
  .recaptcha-notice{
    font-size:.65rem;
  }
}


/* =========================================================
   V46 — reCAPTCHA v3: badge oculto
   La protección sigue activa. El aviso legal permanece visible.
   ========================================================= */
.grecaptcha-badge{
  visibility:hidden !important;
}


/* =========================================================
   V49 — Menú principal centrado en desktop
   ========================================================= */
@media (min-width:1181px){
  .header .nav{position:relative}
  .header .nav-links{flex:1 1 auto;justify-content:flex-end;min-width:0}
  .header .nav-primary{
    position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);
    display:flex;align-items:center;justify-content:center;gap:12px;
    white-space:nowrap;z-index:2
  }
  .header .nav-actions{
    display:flex;align-items:center;justify-content:flex-end;gap:11px;
    margin-left:auto;z-index:3
  }
}
@media (max-width:1180px) and (min-width:961px){
  .header .nav-links{
    flex:1 1 auto;display:grid;grid-template-columns:minmax(0,1fr) auto;
    align-items:center;gap:12px
  }
  .header .nav-primary{
    display:flex;align-items:center;justify-content:center;gap:8px;min-width:0
  }
  .header .nav-actions{
    display:flex;align-items:center;justify-content:flex-end;gap:8px
  }
}
@media (max-width:960px){
  .header .nav-primary,.header .nav-actions{display:none !important}
}


/* =========================================================
   V50 — Menú desktop: mayúsculas, centrado y mayor espaciado
   ========================================================= */
@media (min-width:961px){
  .header .nav{
    position:relative;
  }

  .header .nav-primary{
    position:absolute;
    left:50%;
    top:50%;
    transform:translate(-50%,-50%);
    display:flex;
    align-items:center;
    justify-content:center;
    gap:22px !important;
    white-space:nowrap;
    z-index:2;
  }

  .header .nav-primary > a,
  .header .nav-primary .nav-dropdown-toggle{
    text-transform:uppercase !important;
    font-size:15.5px !important;
    font-weight:750 !important;
    letter-spacing:.025em !important;
    line-height:1 !important;
  }

  .header .nav-actions{
    display:flex;
    align-items:center;
    justify-content:flex-end;
    gap:11px;
    margin-left:auto;
    z-index:3;
  }
}

/* En pantallas más anchas damos un poco más de aire */
@media (min-width:1280px){
  .header .nav-primary{
    gap:28px !important;
  }

  .header .nav-primary > a,
  .header .nav-primary .nav-dropdown-toggle{
    font-size:16px !important;
  }
}

/* En notebooks conservamos el centrado, reduciendo apenas
   el espacio para evitar choques con los botones de acción. */
@media (max-width:1100px) and (min-width:961px){
  .header .nav-primary{
    gap:16px !important;
  }

  .header .nav-primary > a,
  .header .nav-primary .nav-dropdown-toggle{
    font-size:14.5px !important;
    letter-spacing:.015em !important;
  }
}


/* =========================================================
   V51 — Menú desktop uniforme y sin superposiciones
   ========================================================= */
@media (min-width:1231px){
  .header .container{
    width:min(1520px,calc(100% - 32px)) !important;
  }

  .header .nav{
    display:grid !important;
    grid-template-columns:minmax(0,1fr) auto minmax(0,1fr) !important;
    align-items:center !important;
    gap:28px !important;
    position:relative !important;
  }

  .header .brand{
    grid-column:1 !important;
    justify-self:start !important;
    min-width:0;
  }

  .header .nav-links{
    display:contents !important;
  }

  .header .nav-primary{
    grid-column:2 !important;
    position:static !important;
    left:auto !important;
    top:auto !important;
    transform:none !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    gap:26px !important;
    white-space:nowrap !important;
    z-index:2;
  }

  .header .nav-primary > a,
  .header .nav-primary .nav-dropdown-toggle{
    font-family:var(--sans) !important;
    font-size:15.5px !important;
    font-weight:600 !important;
    line-height:1 !important;
    letter-spacing:.055em !important;
    text-transform:uppercase !important;
    opacity:1 !important;
  }

  .header .nav-primary .nav-dropdown-toggle{
    padding:0 !important;
  }

  .header .nav-actions{
    grid-column:3 !important;
    position:static !important;
    display:flex !important;
    align-items:center !important;
    justify-content:flex-end !important;
    justify-self:end !important;
    gap:12px !important;
    margin:0 !important;
    white-space:nowrap !important;
    z-index:3;
  }

  .header .menu-toggle{
    display:none !important;
  }
}

@media (min-width:1500px){
  .header .nav-primary{
    gap:31px !important;
  }
}

@media (min-width:961px) and (max-width:1230px){
  .header .container{
    width:min(1180px,calc(100% - 32px)) !important;
  }
  .header .nav{
    display:flex !important;
    align-items:center !important;
    justify-content:space-between !important;
  }
  .header .nav-links,
  .header .nav-primary,
  .header .nav-actions{
    display:none !important;
  }
  .header .menu-toggle{
    display:inline-flex !important;
  }
}


/* =========================================================
   V52 — Inicio + Especialidades: centrado real del menú
   Especialistas conserva exactamente el comportamiento V51.
   ========================================================= */
@media (min-width:1231px){
  .header.header-standard .nav{
    position:relative !important;
    display:flex !important;
    align-items:center !important;
    justify-content:space-between !important;
  }

  .header.header-standard .nav-links{
    display:block !important;
    margin-left:auto !important;
  }

  .header.header-standard .nav-primary{
    position:absolute !important;
    left:50% !important;
    top:50% !important;
    transform:translate(-50%,-50%) !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    gap:31px !important;
    white-space:nowrap !important;
    z-index:2 !important;
  }

  .header.header-standard .nav-actions{
    position:relative !important;
    display:flex !important;
    align-items:center !important;
    justify-content:flex-end !important;
    gap:12px !important;
    margin-left:auto !important;
    z-index:3 !important;
  }

  .header.header-standard .nav-primary > a,
  .header.header-standard .nav-primary .nav-dropdown-toggle{
    font-family:var(--sans) !important;
    font-size:15.5px !important;
    font-weight:600 !important;
    letter-spacing:.055em !important;
    line-height:1 !important;
    text-transform:uppercase !important;
  }
}


/* =========================================================
   V54 — Google reCAPTCHA v2 checkbox
   ========================================================= */
.recaptcha-v2-wrap{
  margin:16px 0 18px;
  display:flex;
  justify-content:flex-start;
  align-items:center;
  min-height:78px;
}

@media (max-width:360px){
  .recaptcha-v2-wrap{
    width:270px;
    height:70px;
    overflow:visible;
  }

  .recaptcha-v2-wrap .g-recaptcha{
    transform:scale(.88);
    transform-origin:left top;
  }
}

/* Ya no se utiliza badge flotante de reCAPTCHA v3 */
.grecaptcha-badge{
  display:none !important;
}


/* =========================================================
   V56 — reCAPTCHA v2: render explícito y visibilidad garantizada
   ========================================================= */
.recaptcha-v2-wrap{
  display:flex !important;
  align-items:center !important;
  justify-content:flex-start !important;
  min-height:78px !important;
  margin:16px 0 18px !important;
  overflow:visible !important;
  visibility:visible !important;
  opacity:1 !important;
  position:relative !important;
  z-index:2 !important;
}

.recaptcha-v2-wrap .g-recaptcha{
  display:block !important;
  min-width:304px;
  min-height:78px;
  visibility:visible !important;
  opacity:1 !important;
}

.recaptcha-v2-wrap iframe{
  visibility:visible !important;
  opacity:1 !important;
}

@media (max-width:360px){
  .recaptcha-v2-wrap{
    width:270px !important;
    height:70px !important;
    min-height:70px !important;
  }
  .recaptcha-v2-wrap .g-recaptcha{
    transform:scale(.88);
    transform-origin:left top;
  }
}

/* V60 — menú con Blog */
@media (min-width:1231px){
  .header .nav-primary{gap:20px !important}
  .header .nav-primary>a,.header .nav-primary .nav-dropdown-toggle{font-size:15px !important;font-weight:600 !important;letter-spacing:.055em !important}
}
@media (min-width:1500px){.header .nav-primary{gap:25px !important}}
