/* =========================================================
   SISTEMA VISUAL GLOBAL — AUTORIDAD SERENA
   Dra. Erika Abarca | Medicina de Rehabilitación
   ========================================================= */

   :root {
    --primary: #1B3A5F;        /* Azul navy elegante */
    --primary-soft: #EAF2FA;   /* Azul médico suave */
    --secondary: #4A90E2;      /* Azul cielo claro */
    --accent: #D64B8A;         /* Magenta de marca */
    --accent-hover: #B83D72;   /* Magenta intenso */
    --bg: #FFFFFF;             /* Blanco puro */
    --bg-soft: #F7F9FC;        /* Blanco azulado sutil */
    --text: #1F2937;           /* Gris carbón cálido */
    --text-soft: #6B7280;      /* Gris medio */
    --border: rgba(27, 58, 95, 0.10);
    --shadow-soft: 0 18px 48px rgba(27, 58, 95, 0.08);
    --shadow-card: 0 24px 70px rgba(27, 58, 95, 0.10);
    --shadow-strong: 0 34px 90px rgba(27, 58, 95, 0.15);
    --radius-card: 28px;
    --radius-large: 38px;
  }
  
  /* Base global */
  body {
    background: var(--bg);
    color: var(--text);
  }
  
  .container {
    width: min(100% - 80px, 1280px);
    margin: 0 auto;
  }
  
  @media (max-width: 760px) {
    .container {
      width: min(100% - 32px, 1280px);
    }
  }

:root {
  --blue: #355C7D;
  --blue-deep: #2F4F6B;
  --green: #6BAA8F;
  --mustard: #C89B3C;
  --bg: #F8F6F1;
  --bg-alt: #EEF4F6;
  --text: #2F3440;
  --text-muted: #5F6670;
  --white: #ffffff;
  --line: rgba(47, 52, 64, 0.08);
  --shadow-soft: 0 14px 30px rgba(47, 52, 64, 0.08);
  --shadow-card: 0 10px 24px rgba(47, 52, 64, 0.06);
  --radius: 18px;
  --radius-lg: 28px;
  --max: 1160px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #fbfaf7 0%, var(--bg) 100%);
  line-height: 1.65;
}
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-deep); }
img { max-width: 100%; display: block; }
.container { width: min(92%, var(--max)); margin: 0 auto; }
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(248, 246, 241, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(53, 92, 125, 0.08);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; min-height: 84px;
}
.brand { display: flex; align-items: center; }
.brand-logo { width: 172px; height: auto; object-fit: contain; }
.nav-toggle { display:none; background:none; border:none; font-size:1.5rem; color:var(--blue-deep); }
.main-nav ul { display:flex; list-style:none; gap:22px; padding:0; margin:0; align-items:center; }
.main-nav a { color: var(--text); font-weight:600; }
.main-nav a.active, .main-nav a:hover { color: var(--blue); }
.btn {
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  padding: 14px 22px; border-radius: 999px; font-weight:700; border:1px solid transparent;
  transition: .2s ease; cursor:pointer;
}
.btn-primary { background: var(--blue); color: var(--white); box-shadow: 0 8px 18px rgba(53,92,125,.18); }
.btn-primary:hover { background: var(--blue-deep); color: var(--white); transform: translateY(-1px); }
.btn-secondary { border-color: rgba(53,92,125,.22); color: var(--blue); background: rgba(255,255,255,.65); }
.btn-secondary:hover { background: rgba(53, 92, 125, 0.08); }
.btn-light { background: var(--white); color: var(--blue-deep); }
.btn-light:hover { background: #f6f8fb; color: var(--blue-deep); }
.btn-light-outline { border-color: rgba(255,255,255,.5); color: var(--white); background: transparent; }
.btn-light-outline:hover { background: rgba(255,255,255,.12); color: var(--white); }
.text-cta { display:inline-block; margin-top:14px; font-weight:700; }
.hero { padding: 78px 0 46px; }
.hero-premium { background: radial-gradient(circle at top right, rgba(107,170,143,.10), transparent 38%), radial-gradient(circle at top left, rgba(53,92,125,.08), transparent 35%); }
.refined-hero { display:grid; grid-template-columns: 1.05fr 0.95fr; gap: 38px; align-items:center; }
.kicker { color: var(--green); font-weight: 800; letter-spacing: .02em; text-transform: uppercase; font-size: .84rem; }
h1, .page-hero h1, .section-title {
  font-family: "Playfair Display", Georgia, serif;
  color: var(--blue-deep);
}
.hero h1, .page-hero h1 {
  font-size: clamp(2.15rem, 4vw, 4.2rem);
  line-height: 1.06; margin: 10px 0 16px;
}
.lead { font-size: 1.08rem; color: var(--text-muted); max-width: 62ch; }
.hero-actions { display:flex; flex-wrap:wrap; gap:14px; margin: 28px 0 20px; }
.hero-note { color: var(--text-muted); font-size: .98rem; }
.media-slot {
  min-height: 480px; border-radius: 30px; padding: 18px;
  background: linear-gradient(135deg, rgba(53,92,125,.10), rgba(107,170,143,.16));
  box-shadow: var(--shadow-soft);
}
.media-slot-inner {
  width: 100%; height: 100%; min-height: 444px; border: 2px dashed rgba(53,92,125,.28);
  border-radius: 24px; display:flex; flex-direction:column; justify-content:flex-end; gap:12px;
  padding: 26px; background: linear-gradient(180deg, rgba(255,255,255,.45), rgba(255,255,255,.82));
}
.media-chip {
  align-self:flex-start; display:inline-flex; padding:6px 10px; border-radius:999px;
  background: rgba(53,92,125,.12); color: var(--blue-deep); font-size:.82rem; font-weight:700;
}
.media-slot h3 { margin:0; font-size: 1.45rem; color: var(--blue-deep); }
.media-slot p { margin:0; max-width: 44ch; color: var(--text-muted); }
.trust-bar { display:grid; grid-template-columns: repeat(4, 1fr); gap:14px; }
.trust-item, .card, .review-card, .resource-card, .contact-card {
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-card);
}
.trust-item {
  padding: 16px; text-align:center; font-weight:700; color: var(--blue-deep);
  border: 1px solid rgba(53,92,125,.08);
}
.section { padding: 34px 0 18px; }
.section-lg { padding: 58px 0; }
.section-alt { background: var(--bg-alt); }
.section-title { font-size: clamp(1.8rem, 2vw, 2.6rem); margin: 0 0 10px; }
.section-intro { color: var(--text-muted); max-width: 68ch; margin-bottom: 24px; }
.grid-2 { display:grid; grid-template-columns: repeat(2, 1fr); gap:20px; }
.grid-3 { display:grid; grid-template-columns: repeat(3, 1fr); gap:20px; }
.grid-4 { display:grid; grid-template-columns: repeat(4, 1fr); gap:20px; }
.compact-grid { gap:16px; }
.card, .review-card, .resource-card, .contact-card {
  padding: 24px; border: 1px solid rgba(53,92,125,.06);
}
.feature-card { position: relative; overflow: hidden; }
.feature-card::before {
  content:""; position:absolute; inset:auto auto 0 0; width:64px; height:4px; background: var(--green);
}
.card h3, .review-card h3, .resource-card h3, .contact-card h3 { margin-top:0; color: var(--blue-deep); }
.list-clean { list-style:none; padding:0; margin:0; }
.list-clean li { padding: 8px 0; border-bottom: 1px solid var(--line); }
.list-clean li:last-child { border-bottom:none; }
.split { display:grid; grid-template-columns: 0.92fr 1.08fr; gap:28px; align-items:center; }
.refined-about { align-items: stretch; }
.portrait-panel {
  background: linear-gradient(160deg, rgba(53,92,125,.10), rgba(255,255,255,.85));
  border-radius: var(--radius-lg); display:grid; place-items:end center; min-height: 500px; overflow:hidden;
  box-shadow: var(--shadow-soft); padding-top: 18px;
}
.portrait-image { max-height: 520px; width: auto; object-fit: contain; }
.credentials-image { border-radius: var(--radius-lg); box-shadow: var(--shadow-soft); }
.cta-band {
  background: linear-gradient(135deg, var(--blue-deep), var(--blue));
  color: white; border-radius: var(--radius-lg); padding: 36px; box-shadow: var(--shadow-soft);
}
.cta-band h2 { color: white; margin-top:0; max-width: 24ch; }
.page-hero { padding: 58px 0 26px; }
.breadcrumbs { font-size: .94rem; color: var(--text-muted); margin-bottom: 6px; }
.site-footer { margin-top: 52px; background: var(--blue-deep); color: rgba(255,255,255,.92); }
.footer-grid { display:grid; grid-template-columns: 1.2fr 1fr 1fr; gap:24px; padding: 38px 0; }
.footer-logo { width: 168px; margin-bottom: 14px; filter: brightness(0) invert(1) contrast(1.05); opacity: .92; }
.site-footer a { color: white; }
.disclaimer { font-size: .92rem; color: rgba(255,255,255,.82); }
.whatsapp-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 1000;
  background: #25D366; color: white; border-radius: 999px; padding: 14px 18px;
  font-weight: 800; box-shadow: 0 12px 28px rgba(0,0,0,.22);
}
.small { font-size: .95rem; color: var(--text-muted); }
@media (max-width: 1040px) {
  .refined-hero, .split { grid-template-columns: 1fr; }
  .brand-logo { width: 156px; }
}
@media (max-width: 920px) {
  .grid-4, .grid-3, .grid-2, .trust-bar, .footer-grid { grid-template-columns: 1fr; }
  .main-nav { display:none; position:absolute; top:84px; left:0; right:0; background:var(--bg); border-bottom:1px solid rgba(53,92,125,.08); }
  .main-nav.open { display:block; }
  .main-nav ul { flex-direction:column; align-items:flex-start; padding:16px 4%; gap:14px; }
  .nav-toggle { display:block; }
  .header-cta { display:none; }
  .hero { padding-top: 42px; }
  .media-slot, .media-slot-inner { min-height: 320px; }
  .portrait-panel { min-height: 380px; }
  .portrait-image { max-height: 390px; }
}
@media (max-width: 640px) {
  .brand-logo { width: 140px; }
  .hero h1, .page-hero h1 { font-size: clamp(2rem, 8vw, 2.8rem); }
  .section-lg { padding: 44px 0; }
  .cta-band { padding: 26px; }
  .whatsapp-float { padding: 12px 16px; font-size: .95rem; }
}
.hero-keywords{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px}.hero-keywords span{padding:8px 12px;border-radius:999px;background:rgba(53,92,125,.08);color:var(--blue-deep);font-weight:600;font-size:.92rem}.media-slot-ready .media-slot-inner{justify-content:center;align-items:flex-start}.media-placeholder-icon{width:62px;height:62px;border-radius:50%;display:grid;place-items:center;background:rgba(53,92,125,.12);color:var(--blue-deep);font-size:1.5rem;font-weight:800}.section-actions{margin-top:20px}.clinical-split{align-items:center}.photo-card{background:linear-gradient(160deg, rgba(53,92,125,.08), rgba(255,255,255,.92));border-radius:var(--radius-lg);padding:16px;box-shadow:var(--shadow-soft)}.clinical-photo{width:100%;border-radius:22px;object-fit:cover;min-height:420px;max-height:520px}.bullet-grid{padding-left:18px;display:grid;gap:10px}.faq-list{display:grid;gap:14px}.faq-list details{background:var(--white);border-radius:var(--radius);padding:18px 20px;box-shadow:var(--shadow-card);border:1px solid rgba(53,92,125,.06)}.faq-list summary{cursor:pointer;font-weight:700;color:var(--blue-deep)}.faq-list p{margin:12px 0 0;color:var(--text-muted)}.contact-strip{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.contact-mini{background:var(--white);border:1px solid rgba(53,92,125,.06);box-shadow:var(--shadow-card);border-radius:var(--radius);padding:18px}.contact-mini strong{display:block;color:var(--blue-deep);margin-bottom:6px}.footer-list li{border-bottom-color:rgba(255,255,255,.12)}.compact-faq details{padding:16px 18px}@media (max-width:920px){.contact-strip{grid-template-columns:1fr}.hero-keywords span{font-size:.88rem}.clinical-photo{min-height:300px}}
.location-card .location-media{display:block;margin:12px 0 14px}.location-card .location-media img{width:100%;border-radius:18px;object-fit:cover;max-height:260px;box-shadow:var(--shadow-soft)}.doctoralia-widget-wrap{margin-top:12px}.doctoralia-widget-wrap .zl-url{display:inline-block;min-height:48px}

.btn-whatsapp{background:#25D366;color:#fff;box-shadow:0 8px 18px rgba(37,211,102,.25)}.btn-whatsapp:hover{background:#1ebe5a;color:#fff;transform:translateY(-1px)}

.video-grid .resource-card,.docs-grid .resource-card{padding:0;overflow:hidden}
.resource-rich .resource-body{padding:20px 22px 24px}
.resource-thumb{position:relative;display:block;background:#eef4f6}
.resource-thumb img{width:100%;aspect-ratio:16/9;object-fit:cover}
.video-thumb::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg, rgba(0,0,0,.04), rgba(0,0,0,.24));pointer-events:none}
.doc-thumb{min-height:180px;display:grid;place-items:center;background:linear-gradient(135deg, rgba(53,92,125,.09), rgba(107,170,143,.14))}
.doc-icon{width:82px;height:82px;border-radius:24px;display:grid;place-items:center;background:#fff;color:var(--blue-deep);font-weight:800;letter-spacing:.06em;box-shadow:var(--shadow-soft)}
.thumb-badge{position:absolute;left:16px;top:16px;display:inline-flex;align-items:center;justify-content:center;padding:7px 12px;border-radius:999px;font-size:.82rem;font-weight:800;letter-spacing:.01em}
.thumb-badge-video{background:rgba(255,255,255,.9);color:#c62828}
.thumb-badge-doc{background:rgba(255,255,255,.9);color:var(--blue-deep)}
.guidance-grid{align-items:stretch}
.guidance-card{border-radius:24px;padding:24px;box-shadow:var(--shadow-card);border:1px solid rgba(53,92,125,.06);background:#fff;position:relative;overflow:hidden}
.guidance-card::before{content:"";position:absolute;left:0;top:0;bottom:0;width:6px}
.guidance-primary::before{background:var(--blue)}
.guidance-info::before{background:var(--green)}
.guidance-alert::before{background:var(--mustard)}
.guidance-primary{background:linear-gradient(180deg, rgba(53,92,125,.05), #fff)}
.guidance-info{background:linear-gradient(180deg, rgba(107,170,143,.08), #fff)}
.guidance-alert{background:linear-gradient(180deg, rgba(200,155,60,.09), #fff)}
.guidance-tag{display:inline-flex;padding:7px 12px;border-radius:999px;background:rgba(53,92,125,.09);color:var(--blue-deep);font-weight:800;font-size:.8rem;margin-bottom:14px}
.guidance-card h3{margin:0 0 10px;color:var(--blue-deep)}
.guidance-card p{margin:0;color:var(--text)}
@media (max-width:920px){.doc-thumb{min-height:150px}}

.pdf-thumb img{width:100%;aspect-ratio:4/3;object-fit:cover;display:block}
.pdf-thumb::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg, rgba(0,0,0,.02), rgba(0,0,0,.12));pointer-events:none}
.guidance-card{min-height:100%}
.guidance-card p{line-height:1.72}
.guidance-alert .guidance-tag{background:rgba(200,155,60,.16)}
.guidance-info .guidance-tag{background:rgba(107,170,143,.16)}
.guidance-primary .guidance-tag{background:rgba(53,92,125,.12)}

.quote-clouds{display:flex;flex-wrap:wrap;gap:12px;margin-top:18px}.quote-clouds span{display:inline-flex;padding:12px 16px;border-radius:999px;background:rgba(238,244,246,.95);border:1px solid rgba(53,92,125,.08);color:var(--blue-deep);font-weight:600;box-shadow:var(--shadow-card);max-width:36ch}.quote-clouds.centered{justify-content:center}.soft-quote{margin:16px 0 0;display:inline-flex;padding:11px 16px;border-radius:18px;background:rgba(107,170,143,.10);color:var(--blue-deep);font-weight:700}.soft-quote-inline{margin-bottom:8px}.quote-centered{display:flex;justify-content:center;text-align:center;margin-top:22px}.quote-hero{margin-bottom:14px}.service-info-grid .card,.service-cases .card,.service-extended .card,.service-moments .card{height:100%}.info-list li{font-weight:500}.pathway-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.path-step{background:var(--white);border-radius:22px;padding:22px;box-shadow:var(--shadow-card);border:1px solid rgba(53,92,125,.06)}.path-step span{display:inline-grid;place-items:center;width:36px;height:36px;border-radius:50%;background:rgba(53,92,125,.10);color:var(--blue-deep);font-weight:800;margin-bottom:12px}.path-step h3{margin:0;color:var(--blue-deep);font-size:1.02rem;line-height:1.4}@media (max-width:920px){.pathway-grid{grid-template-columns:1fr}.quote-clouds span{max-width:100%}}

.hero-figure{margin:0;display:flex;flex-direction:column;gap:10px}
.hero-media-image{width:100%;min-height:420px;max-height:560px;object-fit:cover;border-radius:28px;box-shadow:var(--shadow-soft)}
.illustrative-caption{font-size:.82rem;color:var(--text-muted);text-align:right}
.section-note{margin-top:14px;font-size:.95rem;color:var(--text-muted)}
.intro-visual-split{display:grid;grid-template-columns:1.15fr .85fr;gap:24px;align-items:center}
.reverse-mobile{grid-template-columns:.95fr 1.05fr}
.section-figure{margin:0;background:linear-gradient(180deg, rgba(53,92,125,.04), rgba(255,255,255,.92));padding:14px;border-radius:24px;box-shadow:var(--shadow-card)}
.section-figure img{width:100%;display:block;border-radius:18px;object-fit:cover;max-height:380px}
.section-figure-wide img{max-height:none}
.image-top-grid .image-card{overflow:hidden;padding:0}
.image-card .card-media{width:100%;aspect-ratio:16/9;object-fit:cover;display:block}
.image-card h3,.image-card p,.image-card ul{padding-left:22px;padding-right:22px}
.image-card h3{padding-top:18px}
.image-card .info-list{padding-bottom:6px}
.illustrative-micro{display:block;padding:0 22px 18px;color:var(--text-muted);font-size:.82rem}
@media (max-width:920px){.intro-visual-split,.reverse-mobile{grid-template-columns:1fr}.hero-media-image{min-height:280px;max-height:360px}}

.doctoralia-inline-widget{margin-top:18px;max-width:320px}
.quote-clouds{display:grid;gap:14px;margin-top:20px}
.quote-clouds span{display:block;padding:0 0 0 18px;border-left:3px solid rgba(53,92,125,.22);background:transparent;border-radius:0;box-shadow:none;max-width:44ch;color:var(--blue-deep);font-weight:600;line-height:1.6}
.soft-quote{margin:18px 0 0;display:block;padding:0 0 0 16px;border-left:3px solid rgba(107,170,143,.45);background:transparent;border-radius:0;color:var(--blue-deep);font-weight:700;line-height:1.65}
.quote-centered{display:flex;justify-content:center;text-align:center;margin-top:22px}
.quote-centered.soft-quote,.soft-quote.quote-centered{justify-content:center;border-left:none;border-top:1px solid rgba(107,170,143,.35);padding:14px 0 0;margin-left:auto;margin-right:auto;max-width:58ch}


/* v7 refinements */
.breadcrumbs{display:none !important}
.full-bleed-figure{width:min(100vw,1600px);margin:0 auto 26px;position:relative;left:50%;transform:translateX(-50%)}
.service-opening{max-width:var(--container-narrow)}
.valuation-panel{display:grid;grid-template-columns:1.05fr .95fr;gap:28px;align-items:center}
.valuation-figure img{max-height:420px}
.valuation-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.value-pill{padding:16px 18px;border-radius:20px;background:linear-gradient(180deg, rgba(255,255,255,.98), rgba(238,244,246,.9));border:1px solid rgba(53,92,125,.08);box-shadow:var(--shadow-card);font-weight:700;color:var(--blue-deep);line-height:1.45}
.editorial-quote{position:relative;max-width:760px;margin:24px auto;padding:26px 42px;text-align:center;font-family:"Playfair Display",serif;font-size:clamp(1.45rem,2.5vw,2.25rem);line-height:1.45;color:var(--blue-deep);font-style:italic;background:linear-gradient(180deg, rgba(255,255,255,.65), rgba(238,244,246,.35));border-radius:36px}
.editorial-quote::before,.editorial-quote::after{position:absolute;font-family:"Playfair Display",serif;font-size:4.5rem;line-height:1;color:rgba(200,155,60,.55)}
.editorial-quote::before{content:"“";left:14px;top:8px}
.editorial-quote::after{content:"”";right:16px;bottom:-14px}
.editorial-quote-left{margin:20px 0 0;max-width:100%;text-align:left;padding:24px 28px 24px 58px}
.editorial-quote-left::before{left:18px;top:12px}
.editorial-quote-left::after{display:none}
.editorial-quote-center{max-width:780px}
.soft-quote,.quote-clouds{display:none !important}
.contain-card-media{object-fit:contain;background:#fff}
.doctoralia-inline-widget{margin-top:22px;max-width:340px}
@media (max-width:920px){
  .valuation-panel{grid-template-columns:1fr}
  .valuation-grid{grid-template-columns:1fr}
  .full-bleed-figure{width:100%;left:auto;transform:none}
  .editorial-quote{padding:22px 24px;font-size:clamp(1.3rem,6vw,1.9rem)}
  .editorial-quote::before,.editorial-quote::after{font-size:3.2rem}
  .editorial-quote-left{padding-left:44px}
}


/* v8 services refinements */
.page-hero .container{max-width:var(--container-narrow);text-align:center}
.lead-centered{margin-left:auto;margin-right:auto;max-width:760px}
.full-bleed-figure{width:100vw;max-width:none;margin:0 0 28px calc(50% - 50vw);left:auto;transform:none}
.full-bleed-figure .hero-media-image{width:100%;border-radius:0;max-height:620px;object-position:center center}
.service-opening{max-width:var(--container-narrow)}
.section-intro-justified{text-align:justify;text-justify:inter-word}
.illustrative-caption,.illustrative-micro{font-size:.8rem;color:var(--text-muted);font-style:italic}
.illustrative-micro{padding-top:2px;line-height:1.45}
.valuation-figure{padding:0;background:transparent;box-shadow:none}
.valuation-figure img{max-height:none;border-radius:24px;box-shadow:var(--shadow-card)}
.valuation-panel{grid-template-columns:1.1fr .9fr}
.checklist-board{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.check-item{display:flex;gap:16px;align-items:flex-start;padding:22px 22px 20px;background:linear-gradient(180deg, rgba(255,255,255,.98), rgba(238,244,246,.9));border:1px solid rgba(53,92,125,.08);border-radius:24px;box-shadow:var(--shadow-card)}
.check-icon{flex:0 0 42px;width:42px;height:42px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(180deg, rgba(107,170,143,.18), rgba(107,170,143,.08));color:#2d6a4f;font-weight:800;font-size:1.2rem}
.check-item h3{margin:0 0 6px;color:var(--blue-deep);font-size:1.02rem}
.check-item p{margin:0;color:var(--text);line-height:1.65}
.cta-band-widget-only{display:flex;justify-content:center;align-items:center;padding:24px;background:transparent;box-shadow:none;border:none}
.centered-widget{margin:0 auto;max-width:420px;text-align:center}
.image-card .card-media{object-position:center center}
.contain-card-media{object-fit:cover;background:#fff}
.card-media-squareish{aspect-ratio:4/3}
@media (max-width:920px){
  .checklist-board{grid-template-columns:1fr}
  .full-bleed-figure .hero-media-image{max-height:380px}
  .valuation-panel{grid-template-columns:1fr}
}


/* v9 refinements */
.page-hero-centered{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;}
.service-opening-centered{display:flex;flex-direction:column;align-items:center;}
.service-opening-centered .section-intro{max-width:980px;margin-left:auto;margin-right:auto;}
.figure-caption-center{text-align:center;margin-top:10px;}
.full-bleed-figure{display:flex;flex-direction:column;align-items:center;justify-content:center;}
.full-bleed-figure .hero-media-image{display:block;margin:0 auto;}
.section-intro-justified{text-align:justify;text-align-last:left;hyphens:auto;}
.site-footer .disclaimer.small{max-width:780px;line-height:1.6;}
.valuation-figure img{max-height:none;}
@media (min-width: 1200px){.service-opening-centered .section-intro{max-width:1080px;}}


/* v10 refinements */
.service-hero-figure{width:min(100%,var(--container));margin:0 auto 26px;position:relative;display:block}
.service-hero-figure .hero-media-image{width:100%;display:block;margin:0 auto;border-radius:0;max-height:560px;object-fit:cover;object-position:center center}
.image-overlay-note{position:absolute;right:14px;bottom:12px;margin:0;padding:6px 10px;border-radius:999px;background:rgba(255,255,255,.78);backdrop-filter:blur(4px);font-size:.7rem;line-height:1.2;color:var(--blue-deep);text-align:right;font-style:italic;box-shadow:var(--shadow-card)}
.valuation-panel{grid-template-columns:1.02fr .98fr;align-items:start}
.valuation-figure{margin:0}
.valuation-figure img{width:100%;display:block;border-radius:22px;box-shadow:var(--shadow-card)}
.valuation-content{display:flex;flex-direction:column;gap:18px;align-self:center}
.valuation-grid{align-content:start}
.valuation-content .editorial-quote-left{margin-top:6px}
.wide-intro{max-width:none;width:100%}
.section-intro.wide-intro{text-align:justify;text-justify:inter-word}
.intro-visual-split{grid-template-columns:1.05fr .95fr;align-items:start}
.service-extended .card{height:100%}
.illustrative-caption{font-size:.76rem}
.illustrative-micro{font-size:.76rem}
@media (max-width:920px){
  .service-hero-figure .hero-media-image{max-height:360px}
  .image-overlay-note{right:10px;bottom:10px;font-size:.66rem}
  .valuation-panel,.intro-visual-split{grid-template-columns:1fr}
}

/* v11 refinements */
.service-opening-centered{max-width:980px;margin:0 auto;text-align:center}
.service-opening-centered .section-intro-justified{max-width:980px;margin:0 auto;text-align:justify;text-justify:inter-word;line-height:1.75}
.contained-hero{max-width:var(--container);margin:0 auto 26px;position:relative}
.contained-hero .hero-media-image{display:block;width:100%;max-height:520px;min-height:clamp(260px,36vw,500px);border-radius:28px;object-fit:cover}
.image-overlay-note{position:absolute;right:14px;bottom:12px;text-align:right;background:rgba(255,255,255,.74);backdrop-filter:blur(3px);padding:4px 8px;border-radius:999px;font-size:.68rem;color:var(--text-muted);box-shadow:0 4px 10px rgba(0,0,0,.06)}
.valuation-panel{grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);gap:34px;align-items:center}
.valuation-figure{position:relative}
.valuation-figure img{max-height:470px}
.valuation-content{display:grid;gap:20px;align-content:center}
.valuation-grid{align-self:start}
.valuation-content .editorial-quote-left{margin-top:8px;max-width:100%;padding:20px 26px 18px 52px;font-size:clamp(1.2rem,2vw,1.6rem);line-height:1.45}
.valuation-content .editorial-quote-left::before{font-size:3.2rem;top:10px;left:16px}
.footer-grid{align-items:start}
.social-icons{display:flex;flex-wrap:wrap;gap:10px;margin:8px 0 16px}
.social-icons a{width:40px;height:40px;border-radius:50%;display:grid;place-items:center;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.18);color:#fff;text-decoration:none;font-weight:800;font-size:1rem;line-height:1;transition:transform .18s ease, background .18s ease}
.social-icons a:hover{transform:translateY(-1px);background:rgba(255,255,255,.2)}
.site-footer .disclaimer.small{color:rgba(255,255,255,.68)}
.whatsapp-float{width:56px;height:56px;border-radius:50%;font-size:0;color:transparent;display:grid;place-items:center;background:#25D366;box-shadow:0 12px 26px rgba(37,211,102,.3);right:20px;bottom:20px}
.whatsapp-float::before{content:none}
#faq-link{display:none}
.main-nav a[href="faq.html"]::after{content:""}
@media (max-width:920px){.valuation-panel{grid-template-columns:1fr}.service-opening-centered .section-intro-justified{text-align:left}.contained-hero{max-width:calc(100% - 32px)}.social-icons{justify-content:flex-start}}


.social-icons a img{width:20px;height:20px;object-fit:contain;display:block}.social-icons a .icon-doctoralia{width:26px;height:auto}.social-icons a svg{width:20px;height:20px;display:block}.site-footer .disclaimer.tiny{font-size:.9rem;line-height:1.55;color:rgba(255,255,255,.72);max-width:520px;margin:10px 0 0}.legal-links,.copyright{font-size:.88rem;color:rgba(255,255,255,.72);margin-top:14px}.legal-links a{color:#fff;text-decoration:none}.legal-links a:hover{text-decoration:underline}.copyright{margin-top:8px}.whatsapp-float{padding:0}.whatsapp-float img{width:56px;height:56px;display:block;border-radius:50%}.prose-page{max-width:900px}.prose-page h2{margin-top:28px;margin-bottom:8px}.prose-page p{line-height:1.8;color:var(--text-secondary)}


/* Footer refined */
.footer-grid-updated{grid-template-columns:1.15fr .8fr 1fr;align-items:start;gap:40px}
.footer-logo-large{width:230px;max-width:100%;margin-bottom:18px}
.footer-brand p{max-width:420px;color:rgba(255,255,255,.84);line-height:1.7}
.footer-links-col h3,.footer-social-col h3{margin-bottom:14px}
.footer-social-col .social-icons{margin-top:6px}
.footer-social-col .social-icons a{width:46px;height:46px}
.footer-social-col .social-icons a img,.footer-social-col .social-icons a svg{width:22px;height:22px}
.footer-bottom{width:100%;border-top:1px solid rgba(255,255,255,.12);margin-top:22px;padding:18px 20px 22px}
.footer-bottom-inner{max-width:1240px;margin:0 auto;text-align:center}
.footer-bottom .legal-links,.footer-bottom .copyright{margin:0;font-size:.84rem;color:rgba(255,255,255,.74)}
.footer-bottom .copyright{margin-top:8px}
.footer-bottom .legal-links a{color:#fff;text-decoration:none}
.footer-bottom .legal-links a:hover{text-decoration:underline}
.site-footer .disclaimer,.site-footer .tiny{display:none !important}

@media (max-width: 920px){
  .footer-grid-updated{grid-template-columns:1fr;gap:28px}
  .footer-bottom{padding-left:16px;padding-right:16px}
  .footer-logo-large{width:200px}
}


/* v15 scale and alignment refinements */
:root{
  --max: 1320px;
  --container: 1320px;
  --container-narrow: 1020px;
}
body{font-size:17px;}
.container{width:min(94%, var(--max));}
.header-inner{min-height:88px;}
.brand-logo{width:182px;}
.main-nav ul{gap:24px;}
.main-nav a{font-size:.98rem;}
.btn{padding:15px 24px;}
.section{padding:40px 0 22px;}
.section-lg{padding:72px 0;}
.section-title{font-size:clamp(2.05rem, 2.6vw, 3.1rem); margin-bottom:14px;}
.section-intro{font-size:1.08rem; line-height:1.8; max-width:76ch;}
.page-hero{padding:72px 0 34px;}
.page-hero h1{font-size:clamp(3.1rem, 5vw, 4.9rem); line-height:1.02; margin-bottom:14px;}
.page-hero .lead{font-size:1.14rem; line-height:1.8; max-width:820px;}

.service-opening-centered{max-width:1180px;}
.service-opening-centered .section-intro-justified{max-width:900px; line-height:1.9; font-size:1.08rem;}
.contained-hero{max-width:1180px; margin:0 auto 36px;}
.contained-hero .hero-media-image{max-height:620px; min-height:clamp(360px, 42vw, 590px);}
.image-overlay-note{right:16px; bottom:14px; padding:5px 10px; font-size:.7rem;}
.editorial-quote{max-width:920px; margin:28px auto; padding:32px 54px; font-size:clamp(1.75rem, 2.8vw, 2.7rem); line-height:1.42;}
.editorial-quote::before,.editorial-quote::after{font-size:5rem;}

.valuation-panel{grid-template-columns:1.15fr .95fr; gap:44px; align-items:center;}
.valuation-figure img{max-height:560px;}
.valuation-grid{gap:16px;}
.value-pill{padding:18px 20px; font-size:1rem; min-height:88px; display:flex; align-items:center;}
.valuation-content{gap:24px;}
.valuation-content .editorial-quote-left{font-size:clamp(1.35rem, 2.1vw, 2rem); line-height:1.48; padding:24px 30px 22px 58px;}
.valuation-content .editorial-quote-left::before{font-size:3.6rem;}

.service-moments .card,
.service-cases .card,
.service-extended .card{padding:0; overflow:hidden;}
.image-card .card-media{aspect-ratio:16/10;}
.image-card h3,.image-card p,.image-card ul{padding-left:24px; padding-right:24px;}
.image-card h3{padding-top:20px; font-size:1.18rem; margin-bottom:10px;}
.image-card p{font-size:1rem; line-height:1.7; margin:0 0 8px;}
.image-card .info-list{padding-bottom:10px;}
.image-card .info-list li{padding:10px 0; font-size:.98rem;}
.illustrative-micro{padding:2px 24px 18px; font-size:.74rem;}
.grid-3.compact-grid{gap:22px;}
.grid-2.compact-grid{gap:24px;}

.section-figure.section-figure-wide{max-width:1180px; margin:0 auto 28px;}
.section-figure.section-figure-wide img{max-height:460px; width:100%; object-fit:cover;}
.pathway-grid{grid-template-columns:repeat(3, minmax(0,1fr)); gap:18px; max-width:1180px; margin:0 auto;}
.path-step{padding:24px; min-height:120px;}
.path-step h3{font-size:1.05rem; line-height:1.45;}
.path-step span{width:40px; height:40px;}

.checklist-board{gap:20px; max-width:1180px; margin:0 auto;}
.check-item{padding:24px 24px 22px;}
.check-item h3{font-size:1.06rem; margin-bottom:7px;}
.check-item p{font-size:.98rem; line-height:1.68;}
.check-icon{width:46px; height:46px; font-size:1.28rem;}

.wide-intro{max-width:980px; line-height:1.9; font-size:1.08rem;}
.intro-visual-split{grid-template-columns:1.05fr .95fr; gap:32px; align-items:start;}
.service-extended{align-items:stretch;}
.service-extended .card{padding:26px 24px;}
.service-extended .card h3{font-size:1.24rem; margin-bottom:14px;}
.service-extended .info-list li{padding:11px 0; font-size:.98rem;}
.section-figure img{max-height:420px;}

.site-footer{margin-top:64px;}
.footer-grid-updated{grid-template-columns:1.2fr .9fr 1fr; gap:52px; padding:52px 0 34px;}
.footer-logo-large{width:250px; margin-bottom:20px;}
.footer-brand p{font-size:1rem; line-height:1.82; max-width:460px;}
.footer-links-col h3,.footer-social-col h3{font-size:1.55rem; margin-top:0; margin-bottom:16px;}
.footer-list li{padding:10px 0;}
.footer-list a{font-size:1rem;}
.footer-social-col .social-icons{gap:12px; margin-top:10px;}
.footer-social-col .social-icons a{width:48px; height:48px;}
.footer-bottom{padding:20px 20px 24px;}
.footer-bottom .legal-links,.footer-bottom .copyright{font-size:.9rem;}

.whatsapp-float{width:60px; height:60px; right:22px; bottom:22px;}
.whatsapp-float img{width:60px; height:60px;}

@media (max-width: 1100px){
  .container{width:min(95%, var(--max));}
  .valuation-panel,.intro-visual-split{grid-template-columns:1fr;}
  .valuation-figure img{max-height:480px;}
}
@media (max-width: 920px){
  body{font-size:16px;}
  .section-lg{padding:56px 0;}
  .page-hero h1{font-size:clamp(2.5rem, 8vw, 3.5rem);}
  .contained-hero{max-width:100%;}
  .contained-hero .hero-media-image{min-height:260px; max-height:380px; border-radius:22px;}
  .editorial-quote{padding:24px 28px; font-size:clamp(1.35rem, 5vw, 2rem);}
  .pathway-grid,.checklist-board{grid-template-columns:1fr;}
  .valuation-grid{grid-template-columns:1fr;}
  .value-pill{min-height:auto;}
  .footer-grid-updated{gap:28px;}
}

/* v16 services content refinement */
.consult-eval-panel{align-items:start}
.consult-collage-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
.consult-collage-grid img{width:100%;height:170px;object-fit:cover;border-radius:14px;display:block}
.section-prose{max-width:980px;color:var(--text);font-size:1.05rem;line-height:1.8}
.section-prose p{margin:0 0 14px}
.section-prose-wide{max-width:1080px}
.consult-prose{max-width:640px}
.care-settings-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
.route-prose{margin-bottom:20px}
.pathway-grid-five{grid-template-columns:repeat(5,minmax(0,1fr))}
@media (max-width:1100px){.care-settings-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.pathway-grid-five{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (max-width:920px){.consult-collage-grid{grid-template-columns:repeat(2,1fr)}.consult-collage-grid img{height:150px}.care-settings-grid,.pathway-grid-five{grid-template-columns:1fr}}


/* v17 header and services refinements */
.site-header{background:rgba(248,246,241,.96);border-bottom:1px solid rgba(53,92,125,.09);}
.header-inner{min-height:96px;display:grid;grid-template-columns:auto 1fr auto;align-items:center;column-gap:28px;}
.brand-logo{width:210px;max-width:100%;}
.main-nav{justify-self:center;}
.main-nav ul{gap:30px;}
.main-nav a{font-size:1rem;font-weight:700;letter-spacing:-.01em;}
.header-cta.btn-whatsapp,.header-cta{background:#25D366;color:#fff;box-shadow:0 10px 22px rgba(37,211,102,.24);}
.header-cta.btn-whatsapp:hover,.header-cta:hover{background:#1fb85a;color:#fff;}
.page-hero{padding:82px 0 36px;}
.page-hero .lead{max-width:900px;}
.service-hero-figure.contained-hero{max-width:1240px;}
.contained-hero .hero-media-image{min-height:420px;max-height:640px;}
.consult-collage-single{padding:0;background:transparent;box-shadow:none;position:relative;}
.consult-collage-single img{width:100%;display:block;border-radius:26px;box-shadow:var(--shadow-soft);max-height:none;}
.consult-collage-single .image-overlay-note{right:16px;bottom:14px;}
.valuation-panel{grid-template-columns:1.08fr .92fr;gap:42px;align-items:center;}
.valuation-content .editorial-quote-left{margin-top:18px;}
.service-cases .card .card-media{aspect-ratio:16/9;}
.service-cases .card h3{font-size:1.14rem;}
.footer-social-col .social-icons a{width:54px;height:54px;}
.footer-social-col .social-icons a img,.footer-social-col .social-icons a svg{width:26px;height:26px;}
.footer-grid-updated{gap:58px;}
.whatsapp-float{width:64px;height:64px;}
.whatsapp-float img{width:64px;height:64px;}
@media (max-width:1100px){
  .header-inner{grid-template-columns:auto auto auto;column-gap:18px;}
  .brand-logo{width:188px;}
  .main-nav ul{gap:20px;}
}
@media (max-width:920px){
  .header-inner{display:flex;min-height:82px;}
  .brand-logo{width:168px;}
  .main-nav{justify-self:stretch;}
  .service-hero-figure.contained-hero{max-width:100%;}
}

/* v20 header refinement */
.site-header .nav-wrap{align-items:center;gap:28px;min-height:108px;}
.brand{display:flex;align-items:center;flex:0 0 auto;}
.brand-logo{width:250px !important;max-width:100%;height:auto;display:block;}
.site-nav{gap:40px;justify-content:center;flex:1 1 auto;}
.site-nav a{font-size:1.1rem;font-weight:700;}
.header-cta, .nav-cta, .header-cta-doctoralia{
  background:#355C7D !important;
  border-color:#355C7D !important;
  color:#fff !important;
  padding:14px 24px !important;
  font-size:1rem !important;
  border-radius:999px !important;
  box-shadow:0 10px 24px rgba(53,92,125,.18) !important;
  white-space:nowrap;
}
.header-cta:hover, .nav-cta:hover, .header-cta-doctoralia:hover{transform:translateY(-1px);}
.social-links a{width:62px;height:62px;border-color:rgba(255,255,255,.28);}
.social-links a img{width:30px;height:30px;object-fit:contain;}
.footer-col h3{margin-bottom:20px;}
.footer-brand p{max-width:440px;}
@media (max-width:1100px){
  .brand-logo{width:220px !important;}
  .site-nav{gap:26px;}
  .site-nav a{font-size:1rem;}
  .header-cta, .nav-cta, .header-cta-doctoralia{padding:12px 18px !important;font-size:.95rem !important;}
}
@media (max-width:860px){
  .site-header .nav-wrap{min-height:96px;gap:16px;}
  .brand-logo{width:200px !important;}
}
@media (max-width:640px){
  .brand-logo{width:176px !important;}
  .header-cta, .nav-cta, .header-cta-doctoralia{padding:11px 16px !important;font-size:.92rem !important;}
}


/* v23 header refinement */
.site-header{
  background:#ffffff !important;
  backdrop-filter:none !important;
  border-bottom:1px solid rgba(47,79,107,.10) !important;
  box-shadow:0 2px 12px rgba(47,52,64,.03);
}
.site-header .nav-wrap{
  min-height:82px !important;
  gap:22px !important;
  padding-top:8px;
  padding-bottom:8px;
}
.brand{
  flex:0 0 auto;
}
.brand-logo{
  width:280px !important;
  max-width:min(28vw,280px) !important;
}
.site-nav{
  gap:30px !important;
  align-items:center;
}
.site-nav a{
  font-size:1rem !important;
  font-weight:600 !important;
  letter-spacing:-0.01em;
}
.header-cta, .nav-cta, .header-cta-doctoralia{
  padding:12px 22px !important;
  font-size:.98rem !important;
  font-weight:700 !important;
  border-radius:999px;
  box-shadow:0 8px 20px rgba(53,92,125,.12) !important;
}
.header-cta-doctoralia{
  background:var(--blue) !important;
  color:#fff !important;
}
.header-cta-doctoralia:hover{
  background:var(--blue-deep) !important;
}
@media (max-width: 1180px){
  .brand-logo{width:240px !important; max-width:min(30vw,240px) !important;}
  .site-nav{gap:22px !important;}
  .site-nav a{font-size:.96rem !important;}
  .header-cta, .nav-cta, .header-cta-doctoralia{padding:11px 18px !important; font-size:.92rem !important;}
}
@media (max-width: 920px){
  .site-header .nav-wrap{min-height:72px !important;}
  .brand-logo{width:190px !important; max-width:190px !important;}
}


/* v24 actual header + hero refinement */
.site-header{background:#fff !important; border-bottom:1px solid rgba(47,79,107,.08) !important; box-shadow:0 1px 10px rgba(47,52,64,.025) !important;}
.header-inner{min-height:72px !important; gap:18px !important; padding:10px 0 !important; align-items:center !important;}
.brand{display:flex; align-items:center; flex:0 0 auto;}
.brand-logo{width:240px !important; max-width:min(24vw,240px) !important; height:auto !important; object-fit:contain !important;}
.main-nav ul{gap:16px !important;}
.main-nav a{font-size:.94rem !important; font-weight:600 !important; color:var(--text) !important;}
.main-nav a.active,.main-nav a:hover{color:var(--blue) !important;}
.header-cta.header-cta-doctoralia{padding:10px 18px !important; font-size:.9rem !important; font-weight:700 !important; border-radius:999px !important; box-shadow:0 6px 16px rgba(53,92,125,.12) !important;}
.page-hero{padding:50px 0 28px !important;}
.page-hero h1{font-size:clamp(2.6rem,4.2vw,3.9rem) !important; line-height:1.08 !important; margin:0 0 16px !important;}
.page-hero .lead, .lead-centered{font-size:1rem !important; max-width:36ch !important; line-height:1.6 !important; margin-left:auto !important; margin-right:auto !important;}
.section-lg:first-of-type{padding-top:34px !important;}
.service-hero-figure.contained-hero{max-width:1120px !important; margin-top:10px !important;}
@media (max-width:1200px){
  .brand-logo{width:218px !important; max-width:218px !important;}
  .main-nav ul{gap:14px !important;}
  .main-nav a{font-size:.9rem !important;}
  .header-cta.header-cta-doctoralia{padding:9px 16px !important; font-size:.86rem !important;}
}
@media (max-width:920px){
  .header-inner{min-height:64px !important; padding:8px 0 !important;}
  .brand-logo{width:178px !important; max-width:178px !important;}
}



/* Contacto refinado */
.contact-hero-compact{
  padding-top: 1.25rem;
  padding-bottom: 1.5rem;
}
.contact-hero-compact .lead{
  text-align:center;
  margin:0;
}
.contact-inline-cta{
  display:flex;
  justify-content:center;
  margin-top:1rem;
}
.contact-inline-cta .btn{
  min-width: 220px;
}
.contact-mail-icon{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:74px;
  height:74px;
  margin:0.35rem 0 0.9rem;
  border-radius:18px;
  background:#f6f8fb;
  border:1px solid rgba(63,95,134,.14);
  box-shadow:0 10px 24px rgba(20,36,60,.08);
  text-decoration:none;
}
.contact-mail-icon img{
  width:42px;
  height:42px;
  object-fit:contain;
  display:block;
}




/* Correo como CTA */
.contact-email-plain{
  margin: 0.9rem 0 1rem;
  font-size: 1.1rem;
  color: #3f5f86;
  font-weight: 500;
  word-break: break-word;
}
.contact-email-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 190px;
}


/* Correo CTA corregido */
.contact-email-plain{
  margin: 1rem 0 1rem;
  font-size: 1.1rem;
  color: #3f5f86;
  font-weight: 500;
  word-break: break-word;
}
.contact-email-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 200px;
}


/* --- Home refinements v40 --- */
.hero-premium{
  background:
    radial-gradient(circle at top right, rgba(107,170,143,.14), transparent 36%),
    radial-gradient(circle at top left, rgba(221,185,119,.16), transparent 34%),
    linear-gradient(180deg, #fffdf8 0%, #f8f6ef 100%);
}
.refined-hero{gap:52px;align-items:center}
.hero{padding:86px 0 58px}
.hero h1{max-width:12ch;letter-spacing:-.02em}
.hero .lead{font-size:1.14rem;line-height:1.65;max-width:34ch}
.kicker{color:#73a58b;font-size:.92rem}
.hero-keywords span{
  background:rgba(255,255,255,.9);
  border:1px solid rgba(53,92,125,.08);
  box-shadow:0 8px 24px rgba(53,92,125,.06)
}
.quote-clouds span{
  background:rgba(255,255,255,.82);
  border:1px solid rgba(53,92,125,.06);
}
.hero-figure{
  background:linear-gradient(145deg, rgba(255,255,255,.96), rgba(246,243,236,.94));
  border:1px solid rgba(53,92,125,.06);
  min-height:520px;
}
.hero-media-image{
  width:100%;height:100%;min-height:430px;object-fit:cover;object-position:center;
  border-radius:26px;
}
.trust-item{
  background:rgba(255,255,255,.94);
  padding:18px 16px;
}
.feature-card,.review-card,.resource-card,.contact-mini,.card{
  box-shadow:0 14px 34px rgba(53,92,125,.06);
}
.section-alt{
  background:linear-gradient(180deg, #f3f8f7 0%, #eef5f4 100%);
}
.soft-quote{
  background:rgba(221,185,119,.12);
  color:var(--blue-deep);
}
.photo-card{
  background:linear-gradient(160deg, rgba(221,185,119,.12), rgba(255,255,255,.94));
  padding:22px;
}
.clinical-photo{
  object-fit:contain;
  background:linear-gradient(180deg, #fff 0%, #f7f3ed 100%);
  padding:10px;
}
.clinical-split{gap:46px}
.review-card{
  background:rgba(255,255,255,.95);
}
.resource-card{
  background:linear-gradient(180deg, #ffffff 0%, #fbfaf7 100%);
}
.cta-band{
  background:linear-gradient(135deg, #365c7d 0%, #466c8f 55%, #5b7c97 100%);
  padding:42px;
}
.cta-support{
  margin:18px 0 0;
  color:rgba(255,255,255,.88);
  max-width:58ch;
  line-height:1.6;
}
.contact-strip .contact-mini{
  background:#fffdfa;
}
@media (max-width: 920px){
  .hero h1{max-width:none}
  .refined-hero{gap:28px}
  .hero-figure{min-height:auto}
  .hero-media-image{min-height:320px}
}

/* --- Home v41 premium editorial refinement --- */
.hero-home-elegant{
  background:
    radial-gradient(circle at top right, rgba(107,170,143,.14), transparent 32%),
    radial-gradient(circle at top left, rgba(221,185,119,.18), transparent 30%),
    linear-gradient(180deg, #fffefb 0%, #f8f5ee 100%);
}
.refined-hero-clean{grid-template-columns:1.02fr .98fr; gap:64px;}
.hero-copy-clean{max-width:660px}
.hero-overline{
  margin:0 0 16px;
  color:#7ea489;
  font-size:.98rem;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.06em;
}
.hero-home-elegant h1{
  max-width:10.5ch;
  font-size:clamp(3.1rem, 6vw, 5.6rem);
  line-height:.97;
  margin-bottom:20px;
}
.hero-intro-clean{
  font-size:1.22rem;
  line-height:1.75;
  max-width:34ch;
  color:var(--text-muted);
  margin:0 0 24px;
}
.hero-editorial-line{
  display:inline-flex;
  padding:14px 18px;
  border-radius:999px;
  background:rgba(255,255,255,.88);
  border:1px solid rgba(53,92,125,.08);
  box-shadow:0 16px 36px rgba(53,92,125,.06);
  color:var(--blue-deep);
  font-weight:600;
  line-height:1.5;
}
.hero-figure-clean{
  min-height:560px;
  padding:18px;
  background:linear-gradient(145deg, rgba(255,255,255,.98), rgba(249,245,236,.94));
}
.hero-figure-clean .hero-media-image{
  min-height:500px;
  object-position:center;
}
.trust-bar-soft .trust-item{
  background:rgba(255,255,255,.96);
  border:1px solid rgba(53,92,125,.06);
  box-shadow:0 14px 34px rgba(53,92,125,.05);
}
.section-heading-row{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(280px,420px);
  gap:26px;
  align-items:end;
  margin-bottom:26px;
}
.section-eyebrow{
  margin:0 0 10px;
  color:#7ea489;
  text-transform:uppercase;
  letter-spacing:.08em;
  font-size:.88rem;
  font-weight:800;
}
.section-heading-support{
  margin:0;
  color:var(--text-muted);
  line-height:1.7;
  font-size:1.04rem;
}
.clinical-split-premium{align-items:center; gap:54px;}
.photo-card-warm{
  background:linear-gradient(160deg, rgba(221,185,119,.12), rgba(255,255,255,.96));
}
.photo-card-warm .clinical-photo{
  object-fit:cover;
  object-position:center top;
  min-height:520px;
  max-height:640px;
  background:none;
  padding:0;
}
.section-testimonials{
  background:linear-gradient(180deg, #fffdf9 0%, #f8f4ee 100%);
}
.testimonial-premium-grid{
  display:grid;
  grid-template-columns:1.2fr 1fr 1fr;
  gap:18px;
  align-items:stretch;
}
.testimonial-premium-card{
  background:rgba(255,255,255,.96);
  border:1px solid rgba(53,92,125,.06);
  border-radius:28px;
  padding:24px 24px 22px;
  box-shadow:0 18px 42px rgba(53,92,125,.06);
  display:flex;
  flex-direction:column;
  min-height:100%;
}
.testimonial-premium-card.featured{
  background:linear-gradient(180deg, #fff 0%, #fbf7ef 100%);
  grid-row:span 2;
}
.testimonial-stars{
  color:#ddb977;
  letter-spacing:.18em;
  font-size:1rem;
  margin-bottom:14px;
}
.testimonial-premium-card blockquote{
  margin:0;
  font-family:'Playfair Display', serif;
  color:var(--blue-deep);
  font-size:1.22rem;
  line-height:1.75;
  flex:1;
}
.testimonial-premium-card:not(.featured) blockquote{
  font-family:Inter, sans-serif;
  font-size:1.03rem;
  line-height:1.75;
  color:var(--text-dark);
}
.testimonial-premium-card footer{
  margin-top:18px;
  display:flex;
  justify-content:space-between;
  gap:14px;
  align-items:flex-end;
  color:var(--text-muted);
  font-size:.92rem;
}
.testimonial-premium-card footer strong{
  color:var(--blue-deep);
  font-size:.96rem;
}
.cta-band-home-clean{
  background:linear-gradient(135deg, #365c7d 0%, #4a6f92 55%, #63808c 100%);
}
.cta-band-home-clean h2{max-width:18ch}
@media (max-width:1100px){
  .testimonial-premium-grid{grid-template-columns:1fr 1fr}
  .testimonial-premium-card.featured{grid-row:auto; grid-column:1 / -1}
}
@media (max-width:920px){
  .refined-hero-clean{grid-template-columns:1fr; gap:34px}
  .hero-home-elegant h1{max-width:none}
  .hero-intro-clean{max-width:none}
  .hero-figure-clean{min-height:auto}
  .hero-figure-clean .hero-media-image{min-height:320px}
  .section-heading-row{grid-template-columns:1fr; gap:12px}
  .testimonial-premium-grid{grid-template-columns:1fr}
  .photo-card-warm .clinical-photo{min-height:360px; max-height:none}
}


/* --- Home v42 luminous refinement --- */
.hero-home-luminous{
  background:
    radial-gradient(circle at 88% 12%, rgba(107,170,143,.16), transparent 22%),
    radial-gradient(circle at 12% 14%, rgba(221,185,119,.18), transparent 22%),
    linear-gradient(180deg, #fffefb 0%, #fbf8f1 52%, #f7f4ed 100%);
}
.refined-hero-warm{
  gap:72px;
  align-items:center;
}
.hero-copy-luminous{max-width:700px}
.hero-copy-luminous h1{
  max-width:11ch;
  font-size:clamp(3.35rem, 6vw, 5.9rem);
  line-height:.96;
  letter-spacing:-0.04em;
}
.hero-copy-luminous .hero-intro-clean{
  max-width:37ch;
  font-size:1.18rem;
  line-height:1.8;
  color:#626a73;
}
.hero-actions-home{margin:28px 0 22px}
.hero-actions-home .btn{padding:15px 24px; font-size:1rem}
.hero-actions-home .btn-secondary{background:rgba(255,255,255,.86)}
.hero-editorial-warm{
  border-radius:22px;
  padding:16px 20px;
  max-width:40ch;
  font-weight:600;
  background:linear-gradient(180deg, rgba(255,255,255,.96), rgba(252,248,240,.96));
}
.hero-proof-strip{
  display:flex;
  flex-wrap:wrap;
  gap:10px 12px;
  margin-top:18px;
}
.hero-proof-strip span{
  display:inline-flex;
  align-items:center;
  padding:10px 14px;
  border-radius:999px;
  background:rgba(255,255,255,.84);
  border:1px solid rgba(53,92,125,.08);
  color:#486176;
  font-size:.95rem;
  font-weight:600;
  box-shadow:0 12px 30px rgba(53,92,125,.05);
}
.hero-figure-luminous{
  position:relative;
  min-height:590px;
  padding:20px;
  border:1px solid rgba(53,92,125,.06);
  background:linear-gradient(145deg, rgba(255,255,255,.98), rgba(250,246,239,.96));
  box-shadow:0 30px 70px rgba(53,92,125,.10);
}
.hero-figure-luminous::after{
  content:"";
  position:absolute;
  inset:14px;
  border-radius:26px;
  border:1px solid rgba(221,185,119,.18);
  pointer-events:none;
}
.hero-figure-badge{
  position:absolute;
  top:34px;
  left:34px;
  z-index:2;
  display:inline-flex;
  padding:10px 14px;
  border-radius:999px;
  background:rgba(255,255,255,.92);
  color:var(--blue-deep);
  border:1px solid rgba(53,92,125,.08);
  box-shadow:0 16px 36px rgba(53,92,125,.08);
  font-size:.92rem;
  font-weight:700;
}
.hero-figure-luminous .hero-media-image{
  min-height:548px;
  border-radius:24px;
  object-fit:cover;
  object-position:center;
  filter:saturate(.98) contrast(.98);
}
.trust-bar-home .trust-item{
  padding:18px 20px;
  font-weight:700;
  line-height:1.5;
  background:linear-gradient(180deg, rgba(255,255,255,.98), rgba(252,248,241,.98));
}
.section-heading-support{max-width:44ch}
.photo-card-warm .clinical-photo{
  object-fit:contain;
  object-position:center bottom;
  min-height:520px;
  max-height:640px;
  padding:18px;
  background:linear-gradient(180deg, #fff7fb 0%, #fff 100%);
}
.soft-quote-inline{
  margin:0 0 20px;
  display:inline-flex;
}
@media (max-width: 1040px){
  .refined-hero-warm{gap:34px}
  .hero-copy-luminous h1{max-width:none}
  .hero-figure-luminous{min-height:420px}
  .hero-figure-luminous .hero-media-image{min-height:380px}
}
@media (max-width: 720px){
  .hero-copy-luminous h1{font-size:clamp(2.55rem, 12vw, 4rem)}
  .hero-proof-strip span{width:100%; justify-content:center}
  .hero-figure-badge{top:26px; left:26px; right:26px; justify-content:center}
}


/* --- Home premium refine v43 --- */
.hero{
  padding: 96px 0 72px;
}
.hero h1{
  max-width: 12ch;
  font-size: clamp(2.8rem, 5.4vw, 4.75rem);
  line-height: 1.03;
}
.hero .lead{
  max-width: 36ch;
  font-size: 1.12rem;
  line-height: 1.72;
  color: #465565;
}
.hero .hero-actions{
  margin-top: 1.5rem;
}
.microphrase{
  margin-top: 1rem;
  color: #6e7c88;
  font-style: italic;
  font-size: .98rem;
}
.refined-hero{
  align-items: center;
}
.hero-premium{
  background:
    radial-gradient(circle at top right, rgba(107,170,143,.12), transparent 35%),
    radial-gradient(circle at top left, rgba(200,155,60,.12), transparent 32%),
    linear-gradient(180deg, #fffdfa 0%, #f9f7f1 100%);
}
.hero-figure{
  min-height: 560px;
  background: linear-gradient(160deg, rgba(255,255,255,.96), rgba(250,246,238,.96));
}
.hero-media-image{
  min-height: 460px;
  object-position: center center;
}
.section{
  padding-top: 86px;
  padding-bottom: 86px;
}
.section h2{
  font-size: clamp(2rem, 3vw, 2.75rem);
}
.feature-card, .card, .review-card, .resource-card{
  border-radius: 24px;
  padding: 1.4rem;
  transition: transform .22s ease, box-shadow .22s ease;
}
.feature-card:hover, .resource-card:hover{
  transform: translateY(-3px);
}
.feature-link{
  display:inline-flex;
  margin-top: .95rem;
  font-weight: 700;
  color: #3f5f86;
  text-decoration: none;
}
.bridge-services{
  padding-top: 24px;
  padding-bottom: 24px;
}
.bridge-shell{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 40px;
  align-items: center;
  background: linear-gradient(145deg, #fffdf9 0%, #f6f8f5 100%);
  border:1px solid rgba(53,92,125,.08);
  border-radius: 28px;
  padding: 28px;
  box-shadow: 0 16px 38px rgba(53,92,125,.06);
}
.bridge-media img{
  width:100%;
  height:100%;
  min-height:280px;
  object-fit:cover;
  border-radius:22px;
}
.bridge-copy h2{
  margin-bottom:.85rem;
}
.bridge-copy p{
  margin-bottom:1.15rem;
  line-height:1.72;
}
.soft-quote{
  background: rgba(255,255,255,.72);
  border-left: 3px solid rgba(200,155,60,.55);
  font-style: italic;
}
.review-card h3{
  font-size: 1.14rem;
}
.cta-band{
  border-radius: 28px;
  padding: 48px;
}
.cta-band h2{
  max-width: 20ch;
}
@media (max-width: 920px){
  .hero{
    padding: 72px 0 48px;
  }
  .hero h1{
    max-width:none;
  }
  .bridge-shell{
    grid-template-columns: 1fr;
  }
}


/* --- Home cleanup v44 --- */
.hero{
  padding: 108px 0 84px;
}
.hero h1{
  max-width: 12ch;
  font-size: clamp(3rem, 5.2vw, 4.9rem);
  line-height: 1.02;
}
.hero .lead{
  max-width: 34ch;
  font-size: 1.14rem;
  line-height: 1.75;
  color:#4b5b69;
}
.hero-figure{
  background: linear-gradient(160deg, rgba(255,255,255,.96), rgba(248,244,236,.96));
}
.section-intro{
  max-width: 58ch;
  color:#5b6a78;
  line-height:1.7;
}
.feature-card, .card, .review-card, .resource-card{
  padding: 1.5rem;
  border-radius: 24px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfaf7 100%);
}
.feature-card h3, .card h3{
  margin-bottom:.55rem;
}
.feature-link{
  margin-top:1rem;
  font-weight:700;
}
.bridge-shell{
  padding: 30px;
}
.review-card{
  background: linear-gradient(180deg, #ffffff 0%, #fdfbf7 100%);
}
.review-card h3{
  font-size: 1.08rem;
  line-height:1.55;
}
.cta-band{
  padding: 54px 48px;
}
.cta-band h2{
  max-width: 28ch;
  margin-bottom:0;
}
@media (max-width: 920px){
  .hero{
    padding: 78px 0 54px;
  }
  .hero h1{max-width:none}
}


/* --- Home hero full-width refinement v45 --- */
.hero.hero-premium,
.hero{
  background: #f8f7f3;
  padding: 0 0 56px;
}
.hero .container.refined-hero,
.hero .container.hero-shell,
.hero .container.hero-grid{
  max-width: 100%;
  width: 100%;
  padding-left: 0;
  padding-right: 0;
  display: block;
}
.hero-figure{
  width: 100%;
  max-width: 100%;
  margin: 0 0 28px 0;
  border-radius: 0;
  min-height: auto;
  background: transparent;
  box-shadow: none;
  border: 0;
  overflow: hidden;
}
.hero-fullwidth-image,
.hero .hero-media-image{
  width: 100%;
  height: clamp(360px, 54vw, 720px);
  min-height: unset;
  display: block;
  object-fit: cover;
  object-position: center center;
  border-radius: 0;
}
.hero-figure figcaption{
  position: absolute;
  right: 16px;
  bottom: 14px;
  z-index: 2;
  display: inline-flex;
  background: rgba(255,255,255,.88);
  color: #5a6672;
  border-radius: 999px;
  padding: 5px 10px;
  font-size: .72rem;
  line-height: 1;
}
.hero-copy,
.hero-content,
.hero-text{
  max-width: 980px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
}
.hero-keyphrase{
  display: flex;
  justify-content: center;
}
.hero-keyphrase p{
  max-width: 20ch;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.2rem, 5vw, 4.3rem);
  line-height: 1.06;
  letter-spacing: -.03em;
  color: #355c7d;
}
.hero-single-cta{
  margin-top: 22px;
  display: flex;
  justify-content: center;
}
.hero-single-cta .btn{
  min-width: 220px;
}
@media (max-width: 920px){
  .hero-fullwidth-image,
  .hero .hero-media-image{
    height: 46vw;
    min-height: 280px;
  }
  .hero-copy,
  .hero-content,
  .hero-text{
    padding: 0 18px;
  }
  .hero-keyphrase p{
    max-width: 15ch;
  }
}



/* =========================================================
   HOME V47 — blanca, concisa, moderna y profesional
   ========================================================= */
:root{
  --brand-blue:#355C7D;
  --brand-green:background: #D64B8A;;
  --brand-green-dark:#16A852;
  --brand-rose:#C94F8A;
  --ink:#26313A;
  --muted:#5F6B76;
  --white:#FFFFFF;
  --soft:#F7FAF8;
  --line:rgba(53,92,125,.10);
}
html, body{background:#FFFFFF !important;}
.site-header, header{background:#FFFFFF !important;}
.home-white-hero{background:#FFFFFF;}
.home-white-image{position:relative;width:100%;min-height:clamp(380px, 55vw, 720px);overflow:hidden;background:#FFFFFF;}
.home-white-image img{width:100%;height:clamp(380px, 55vw, 720px);object-fit:cover;object-position:center;display:block;}
.home-white-image::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg, rgba(255,255,255,.00) 42%, rgba(255,255,255,.72) 100%);pointer-events:none;}
.home-white-image span{position:absolute;right:18px;bottom:18px;z-index:2;font-size:.74rem;color:#5f6b76;background:rgba(255,255,255,.88);border:1px solid rgba(255,255,255,.6);border-radius:999px;padding:6px 11px;}
.home-white-message{max-width:980px;margin:-92px auto 0;position:relative;z-index:3;padding:44px 32px 36px;text-align:center;background:rgba(255,255,255,.94);border:1px solid var(--line);border-radius:32px;box-shadow:0 24px 70px rgba(53,92,125,.10);backdrop-filter:blur(10px);}
.home-white-kicker,.home-white-heading p{margin:0 0 12px;color:var(--brand-green-dark);font-weight:800;text-transform:uppercase;letter-spacing:.08em;font-size:.78rem;}
.home-white-message h1{max-width:14ch;margin:0 auto;color:var(--brand-blue);font-family:Georgia, "Times New Roman", serif;font-size:clamp(2.4rem, 5.5vw, 5rem);line-height:1.04;letter-spacing:-.04em;}
.home-white-primary{margin-top:24px;background:var(--brand-green) !important;color:#FFFFFF !important;border-color:var(--brand-green) !important;box-shadow:0 16px 34px rgba(34,199,101,.24) !important;}
.home-white-primary:hover{background:var(--brand-green-dark) !important;transform:translateY(-2px);}
.home-white-secondary{background:#FFFFFF !important;color:var(--brand-blue) !important;border:1px solid rgba(53,92,125,.18) !important;}
.home-white-section{padding:82px 0;background:#FFFFFF;}
.home-white-soft{background:#F7FAF8;}
.home-white-center{padding-top:72px;padding-bottom:36px;}
.home-white-lead{max-width:780px;margin:0 auto;color:var(--ink);font-size:clamp(1.35rem, 2.6vw, 2.15rem);line-height:1.45;text-align:center;font-family:Georgia, "Times New Roman", serif;}
.home-white-heading{max-width:720px;margin:0 0 34px;}
.home-white-heading h2,.home-white-bridge h2,.home-white-final h2{margin:0;color:var(--brand-blue);font-family:Georgia, "Times New Roman", serif;font-size:clamp(2rem, 3.4vw, 3.25rem);line-height:1.08;letter-spacing:-.025em;}
.home-white-benefits{display:grid;grid-template-columns:repeat(3, minmax(0, 1fr));gap:22px;}
.home-white-benefits article{background:#FFFFFF;border:1px solid var(--line);border-radius:28px;padding:30px;box-shadow:0 18px 44px rgba(53,92,125,.06);}
.home-white-benefits span{display:inline-flex;color:var(--brand-green-dark);font-weight:800;margin-bottom:22px;font-size:.9rem;}
.home-white-benefits h3,.home-white-cards h3{color:var(--brand-blue);margin:0 0 10px;font-size:1.35rem;}
.home-white-benefits p,.home-white-cards p,.home-white-bridge p{color:var(--muted);line-height:1.65;margin:0;}
.home-white-cards{display:grid;grid-template-columns:repeat(4, minmax(0, 1fr));gap:20px;}
.home-white-cards a{display:block;background:#FFFFFF;color:inherit;text-decoration:none;border:1px solid var(--line);border-radius:28px;overflow:hidden;box-shadow:0 18px 44px rgba(53,92,125,.07);transition:transform .22s ease, box-shadow .22s ease;}
.home-white-cards a:hover{transform:translateY(-4px);box-shadow:0 28px 58px rgba(53,92,125,.12);}
.home-white-cards img{width:100%;height:210px;display:block;object-fit:cover;}
.home-white-cards h3,.home-white-cards p{padding-left:22px;padding-right:22px;}
.home-white-cards h3{padding-top:20px;}
.home-white-cards p{padding-bottom:24px;}
.home-white-bridge{display:grid;grid-template-columns:1.05fr .95fr;gap:44px;align-items:center;background:#FFFFFF;border:1px solid var(--line);border-radius:34px;padding:34px;box-shadow:0 20px 60px rgba(53,92,125,.08);}
.home-white-bridge img{width:100%;min-height:360px;object-fit:cover;border-radius:26px;}
.home-white-bridge p{margin:18px 0 22px;font-size:1.06rem;}
.home-white-testimonials{background:#FFFFFF;}
.home-white-quotes{display:grid;grid-template-columns:repeat(3, minmax(0,1fr));gap:22px;}
.home-white-quotes blockquote{margin:0;padding:30px;background:linear-gradient(180deg, #FFFFFF 0%, #F9FCFA 100%);border:1px solid var(--line);border-radius:28px;box-shadow:0 18px 44px rgba(53,92,125,.06);}
.home-white-quotes p{margin:0 0 18px;color:var(--ink);font-size:1.08rem;line-height:1.62;}
.home-white-quotes cite{color:var(--brand-green-dark);font-style:normal;font-weight:800;font-size:.88rem;}
.home-white-final{padding-top:40px;padding-bottom:96px;background:#FFFFFF;}
.home-white-final .container{text-align:center;background:linear-gradient(135deg, #355C7D 0%, #416F93 100%);color:#FFFFFF;border-radius:34px;padding:58px 28px;box-shadow:0 24px 64px rgba(53,92,125,.16);}
.home-white-final h2{color:#FFFFFF;max-width:820px;margin:0 auto;}
.home-white-final .btn{margin-top:26px;}
@media (max-width:1000px){
  .home-white-benefits,.home-white-quotes{grid-template-columns:1fr;}
  .home-white-cards{grid-template-columns:repeat(2, minmax(0, 1fr));}
  .home-white-bridge{grid-template-columns:1fr;}
}
@media (max-width:640px){
  .home-white-message{margin:-52px 16px 0;padding:30px 22px;border-radius:26px;}
  .home-white-cards{grid-template-columns:1fr;}
  .home-white-section{padding:60px 0;}
  .home-white-image,.home-white-image img{min-height:320px;height:360px;}
}
/* =========================
   AJUSTE CARRUSEL HOME
   Proporción más elegante y congruente
   ========================= */

   .home-carousel {
    width: 100%;
    background: #ffffff;
    margin: 0;
    overflow: hidden;
  }
  
  /* Altura más controlada: antes estaba demasiado panorámico */
  .carousel-slide {
    height: clamp(420px, 46vw, 620px);
    min-height: 420px;
  }
  
  /* Imagen más equilibrada */
  .carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }
  
  /* Menos velo blanco para que la imagen tenga más presencia */
  .carousel-slide::after {
    background:
      linear-gradient(
        90deg,
        rgba(255, 255, 255, 0.90) 0%,
        rgba(255, 255, 255, 0.62) 34%,
        rgba(255, 255, 255, 0.08) 100%
      );
  }
  
  /* Texto más proporcionado */
  .carousel-caption {
    left: clamp(40px, 7vw, 120px);
    max-width: 540px;
  }
  
  /* Reduce el título del carrusel */
  .carousel-caption h1,
  .carousel-caption h2 {
    font-size: clamp(2.3rem, 4.2vw, 4.1rem);
    line-height: 1.05;
    letter-spacing: -0.035em;
  }
  
  /* Kicker menos dominante */
  .carousel-kicker {
    font-size: 0.78rem;
    margin-bottom: 12px;
  }
  
  /* Botón más fino */
  .carousel-btn {
    margin-top: 24px;
    padding: 13px 24px;
    font-size: 0.95rem;
  }
  
  /* Flechas más discretas */
  .carousel-arrow {
    width: 40px;
    height: 40px;
    font-size: 1.8rem;
  }
  
  /* Indicadores más sutiles */
  .carousel-dots {
    bottom: 18px;
  }
  
  .carousel-dot {
    width: 8px;
    height: 8px;
  }
  
  .carousel-dot.active {
    width: 24px;
  }
  
  /* Dar más aire y escala al contenido posterior */
  main > .section-lg:first-of-type {
    padding-top: 72px;
  }
  
  /* Servicios un poco más presentes para no contrastar tanto con el hero */
  .section-title {
    font-size: clamp(2rem, 3vw, 3.2rem);
  }
  
  .service-cases.image-top-grid {
    gap: 28px;
  }
  
  /* En pantallas grandes, que servicios no se vean tan miniatura */
  @media (min-width: 1100px) {
    .service-cases.image-top-grid {
      max-width: 980px;
      margin-left: auto;
      margin-right: auto;
    }
  
    .card.image-card .card-media {
      height: 250px;
      object-fit: cover;
    }
  }
  
  /* Responsive móvil */
  @media (max-width: 760px) {
    .carousel-slide {
      height: 560px;
      min-height: 560px;
    }
  
    .carousel-slide::after {
      background:
        linear-gradient(
          180deg,
          rgba(255, 255, 255, 0.20) 0%,
          rgba(255, 255, 255, 0.94) 70%
        );
    }
  
    .carousel-caption {
      left: 24px;
      right: 24px;
      bottom: 76px;
      top: auto;
      transform: none;
      max-width: none;
    }
  
    .carousel-caption h1,
    .carousel-caption h2 {
      font-size: clamp(2rem, 9vw, 3rem);
    }
  }
  /* =========================================================
   OPINIONES PREMIUM — ESTILO EDITORIAL CLARO
   ========================================================= */

.premium-testimonials {
  background:
    radial-gradient(circle at 12% 10%, rgba(201, 79, 138, 0.06), transparent 28%),
    radial-gradient(circle at 88% 22%, rgba(34, 199, 101, 0.07), transparent 30%),
    #ffffff;
  padding: clamp(86px, 8vw, 130px) 0;
}

.premium-testimonials-heading {
  max-width: 760px;
  margin: 0 auto clamp(42px, 5vw, 70px);
  text-align: center;
}

.premium-testimonials-heading p {
  margin: 0 0 12px;
  color: #16a852;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.premium-testimonials-heading h2 {
  margin: 0;
  color: #355c7d;
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-size: clamp(2.35rem, 4vw, 4.2rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.premium-testimonials-list {
  display: grid;
  gap: clamp(26px, 4vw, 44px);
}

.premium-testimonial-card {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  max-width: 1080px;
  margin: 0 auto;
  padding: clamp(30px, 4vw, 56px);
  border-radius: 34px;
  background: #ffffff;
  border: 1px solid rgba(53, 92, 125, 0.08);
  box-shadow: 0 24px 70px rgba(53, 92, 125, 0.10);
}

.testimonial-card-reverse {
  grid-template-columns: 1fr 170px;
}

.testimonial-card-reverse .testimonial-avatar {
  order: 2;
}

.testimonial-card-reverse .testimonial-content {
  order: 1;
}

.testimonial-avatar {
  width: 150px;
  height: 150px;
  border-radius: 999px;
  background:
    linear-gradient(180deg, #f5f7f8 0%, #e9eef1 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 10px solid #ffffff;
  box-shadow: 0 16px 36px rgba(53, 92, 125, 0.12);
  position: relative;
  overflow: hidden;
}

.testimonial-avatar::before {
  content: "";
  position: absolute;
  top: 30px;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: #b8c0c6;
}

.testimonial-avatar::after {
  content: "";
  position: absolute;
  bottom: 28px;
  width: 92px;
  height: 54px;
  border-radius: 999px 999px 0 0;
  background: #b8c0c6;
}

.testimonial-content {
  position: relative;
}

.testimonial-stars {
  margin-bottom: 14px;
  color: #d8bb7a;
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  line-height: 1;
}

.testimonial-content p {
  margin: 0;
  color: #26313a;
  font-size: clamp(1.28rem, 2.2vw, 2rem);
  font-weight: 600;
  line-height: 1.55;
  letter-spacing: -0.02em;
}

.testimonial-content p strong {
  color: #355c7d;
}

.testimonial-content cite {
  display: block;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(53, 92, 125, 0.12);
  color: #16a852;
  font-size: 0.86rem;
  font-weight: 800;
  font-style: normal;
}

/* Responsive */
@media (max-width: 760px) {
  .premium-testimonial-card,
  .testimonial-card-reverse {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .testimonial-card-reverse .testimonial-avatar,
  .testimonial-card-reverse .testimonial-content {
    order: initial;
  }

  .testimonial-avatar {
    width: 112px;
    height: 112px;
  }

  .testimonial-avatar::before {
    top: 22px;
    width: 34px;
    height: 34px;
  }

  .testimonial-avatar::after {
    bottom: 20px;
    width: 70px;
    height: 42px;
  }

  .testimonial-content p {
    font-size: clamp(1.18rem, 5vw, 1.65rem);
  }
}
/* =========================================================
   RUTA DE ATENCIÓN MODERNA — AZUL MÉDICO DINÁMICO
   ========================================================= */

   .home-route-modern {
    position: relative;
    overflow: hidden;
    background:
      radial-gradient(circle at 12% 18%, rgba(34, 199, 101, 0.16), transparent 28%),
      radial-gradient(circle at 88% 82%, rgba(201, 79, 138, 0.14), transparent 26%),
      linear-gradient(135deg, #eff9fb 0%, #ffffff 42%, #eaf6fb 100%);
    padding: clamp(90px, 9vw, 138px) 0;
  }
  
  .route-modern-bg {
    position: absolute;
    inset: 0;
    background:
      linear-gradient(120deg, rgba(53, 92, 125, 0.06) 0%, transparent 42%),
      linear-gradient(300deg, rgba(34, 199, 101, 0.08) 0%, transparent 38%);
    pointer-events: none;
  }
  
  .route-modern-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: clamp(42px, 6vw, 86px);
    align-items: center;
  }
  
  .route-modern-image {
    position: relative;
    margin: 0;
    min-height: clamp(480px, 44vw, 660px);
    border-radius: 42px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 34px 90px rgba(53, 92, 125, 0.16);
    border: 1px solid rgba(53, 92, 125, 0.08);
  }
  
  .route-modern-image::before {
    content: "";
    position: absolute;
    inset: 18px;
    z-index: 2;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.62);
    pointer-events: none;
  }
  
  .route-modern-image::after {
    content: "Plan claro";
    position: absolute;
    left: 28px;
    bottom: 28px;
    z-index: 3;
    padding: 11px 18px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    color: #355c7d;
    font-size: 0.82rem;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    box-shadow: 0 12px 34px rgba(53, 92, 125, 0.14);
  }
  
  .route-modern-image img {
    width: 100%;
    height: 100%;
    min-height: inherit;
    display: block;
    object-fit: cover;
    object-position: center;
  }
  
  .route-modern-content {
    min-width: 0;
  }
  
  .route-modern-kicker {
    margin: 0 0 14px;
    color: #16a852;
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.13em;
    text-transform: uppercase;
  }
  
  .route-modern-content h2 {
    margin: 0;
    max-width: 680px;
    color: #355c7d;
    font-family: "Playfair Display", Georgia, "Times New Roman", serif;
    font-size: clamp(2.6rem, 4.8vw, 5.1rem);
    line-height: 1.03;
    letter-spacing: -0.045em;
  }
  
  .route-modern-intro {
    margin: 24px 0 0;
    max-width: 600px;
    color: #5f6b76;
    font-size: clamp(1.04rem, 1.35vw, 1.24rem);
    line-height: 1.72;
    font-weight: 500;
  }
  
  .route-modern-steps {
    position: relative;
    display: grid;
    gap: 16px;
    margin-top: 34px;
  }
  
  .route-modern-steps::before {
    content: "";
    position: absolute;
    left: 27px;
    top: 30px;
    bottom: 30px;
    width: 2px;
    background: linear-gradient(180deg, background: #D64B8A;, rgba(53, 92, 125, 0.16));
  }
  
  .route-modern-step {
    position: relative;
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: 18px;
    align-items: start;
    padding: 20px 22px 20px 0;
  }
  
  .route-modern-step span {
    position: relative;
    z-index: 2;
    width: 56px;
    height: 56px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    background: #ffffff;
    color: #16a852;
    font-size: 0.86rem;
    font-weight: 900;
    box-shadow: 0 14px 34px rgba(53, 92, 125, 0.12);
    border: 1px solid rgba(34, 199, 101, 0.18);
  }
  
  .route-modern-step div {
    padding: 22px 24px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(53, 92, 125, 0.08);
    box-shadow: 0 18px 46px rgba(53, 92, 125, 0.07);
    backdrop-filter: blur(10px);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
  }
  
  .route-modern-step:hover div {
    transform: translateX(4px);
    box-shadow: 0 24px 58px rgba(53, 92, 125, 0.12);
  }
  
  .route-modern-step h3 {
    margin: 0 0 8px;
    color: #294964;
    font-size: 1.12rem;
    line-height: 1.25;
    font-weight: 900;
  }
  
  .route-modern-step p {
    margin: 0;
    color: #5f6b76;
    font-size: 0.96rem;
    line-height: 1.56;
  }
  
  /* Responsive */
  @media (max-width: 980px) {
    .route-modern-grid {
      grid-template-columns: 1fr;
    }
  
    .route-modern-content {
      text-align: center;
    }
  
    .route-modern-content h2,
    .route-modern-intro {
      margin-left: auto;
      margin-right: auto;
    }
  
    .route-modern-image {
      min-height: 420px;
    }
  
    .route-modern-steps {
      max-width: 760px;
      margin-left: auto;
      margin-right: auto;
      text-align: left;
    }
  }
  
  @media (max-width: 620px) {
    .home-route-modern {
      padding: 68px 0;
    }
  
    .route-modern-image {
      min-height: 340px;
      border-radius: 30px;
    }
  
    .route-modern-image::before {
      inset: 12px;
      border-radius: 22px;
    }
  
    .route-modern-content h2 {
      font-size: clamp(2.25rem, 10vw, 3.5rem);
    }
  
    .route-modern-step {
      grid-template-columns: 46px 1fr;
      gap: 14px;
    }
  
    .route-modern-step span {
      width: 46px;
      height: 46px;
      border-radius: 15px;
      font-size: 0.78rem;
    }
  
    .route-modern-steps::before {
      left: 22px;
    }
  
    .route-modern-step div {
      padding: 18px 18px;
    }
  }
  /* =========================================================
   PALETA FINAL — AUTORIDAD SERENA
   Ajustes globales de color y congruencia visual
   ========================================================= */

:root {
  --color-primary: #1B3A5F;      /* Azul navy elegante */
  --color-secondary: #4A90E2;    /* Azul cielo claro */
  --color-accent: #D64B8A;       /* Magenta de marca */
  --color-cta: #D64B8A;          /* CTA principal */
  --color-cta-hover: #B83D72;    /* CTA hover */
  --color-bg: #FFFFFF;           /* Blanco puro */
  --color-bg-soft: #F7F9FC;      /* Blanco azulado sutil */
  --color-text: #1F2937;         /* Gris carbón cálido */
  --color-text-soft: #6B7280;    /* Gris medio */
  --color-border: rgba(27, 58, 95, 0.10);
  --color-shadow: rgba(27, 58, 95, 0.12);
}

/* Base */
body {
  background: var(--color-bg) !important;
  color: var(--color-text) !important;
}

/* Header */
.premium-header {
  background: var(--color-bg) !important;
  border-bottom: 1px solid var(--color-border) !important;
  box-shadow: 0 8px 28px rgba(27, 58, 95, 0.04) !important;
}

.main-nav a {
  color: var(--color-text) !important;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--color-primary) !important;
}

.header-cta {
  background: var(--color-cta) !important;
  color: #ffffff !important;
  box-shadow: 0 14px 32px rgba(214, 75, 138, 0.22) !important;
}

.header-cta:hover {
  background: var(--color-cta-hover) !important;
  box-shadow: 0 18px 40px rgba(184, 61, 114, 0.28) !important;
}

/* Hero */
.home-hero-premium {
  background:
    radial-gradient(circle at 8% 12%, rgba(214, 75, 138, 0.08), transparent 28%),
    radial-gradient(circle at 92% 16%, rgba(74, 144, 226, 0.10), transparent 30%),
    var(--color-bg) !important;
}

.hero-image-band {
  background: var(--color-bg) !important;
}

.hero-image-band::after {
  background:
    linear-gradient(
      90deg,
      rgba(255,255,255,0.10) 0%,
      rgba(255,255,255,0.02) 45%,
      rgba(255,255,255,0.10) 100%
    ) !important;
}

.hero-quote-wrap {
  background: var(--color-bg) !important;
}

.hero-quote-card {
  background: rgba(255, 255, 255, 0.96) !important;
  border: 1px solid var(--color-border) !important;
  box-shadow: 0 34px 90px rgba(27, 58, 95, 0.10) !important;
}

.hero-quote-card h1 {
  color: var(--color-primary) !important;
}

.quote-mark {
  color: rgba(214, 75, 138, 0.42) !important;
}

/* Recursos destacados */
.home-resource-feature {
  background: var(--color-bg) !important;
}

.home-resource-heading p {
  color: var(--color-accent) !important;
}

.home-resource-heading h2 {
  color: var(--color-primary) !important;
}

.home-resource-card {
  background: var(--color-bg) !important;
  border: 1px solid var(--color-border) !important;
  box-shadow: 0 24px 70px rgba(27, 58, 95, 0.10) !important;
}

.home-resource-card:hover {
  box-shadow: 0 34px 80px rgba(27, 58, 95, 0.16) !important;
}

.home-resource-overlay span {
  background: rgba(255, 255, 255, 0.94) !important;
  color: var(--color-accent) !important;
}

.home-resource-overlay h3 {
  color: #ffffff !important;
}

.home-resource-overlay p {
  color: rgba(255, 255, 255, 0.92) !important;
}

/* Opiniones */
.premium-testimonials {
  background:
    radial-gradient(circle at 12% 10%, rgba(214, 75, 138, 0.07), transparent 30%),
    radial-gradient(circle at 88% 22%, rgba(74, 144, 226, 0.08), transparent 32%),
    var(--color-bg-soft) !important;
}

.premium-testimonials-heading p {
  color: var(--color-accent) !important;
}

.premium-testimonials-heading h2 {
  color: var(--color-primary) !important;
}

.premium-testimonial-card {
  background: #ffffff !important;
  border: 1px solid var(--color-border) !important;
  box-shadow: 0 24px 70px rgba(27, 58, 95, 0.10) !important;
}

.testimonial-stars {
  color: var(--color-accent) !important;
}

.testimonial-content p {
  color: var(--color-text) !important;
}

.testimonial-content cite {
  color: var(--color-primary) !important;
  border-top: 1px solid var(--color-border) !important;
}

.testimonial-avatar {
  background: linear-gradient(180deg, #F7F9FC 0%, #E6EDF5 100%) !important;
  box-shadow: 0 16px 36px rgba(27, 58, 95, 0.12) !important;
}

.testimonial-avatar::before,
.testimonial-avatar::after {
  background: #B9C4D0 !important;
}

/* Ruta de atención */
.home-route,
.home-route-modern {
  background:
    radial-gradient(circle at 10% 20%, rgba(74, 144, 226, 0.14), transparent 30%),
    radial-gradient(circle at 88% 80%, rgba(214, 75, 138, 0.10), transparent 28%),
    var(--color-bg-soft) !important;
}

.route-heading h2,
.route-modern-content h2 {
  color: var(--color-primary) !important;
}

.route-heading p,
.route-modern-intro {
  color: var(--color-text-soft) !important;
}

.route-step,
.route-modern-step div {
  background: #ffffff !important;
  border: 1px solid var(--color-border) !important;
  box-shadow: 0 18px 46px rgba(27, 58, 95, 0.08) !important;
}

.route-step span,
.route-modern-step span {
  background: rgba(214, 75, 138, 0.10) !important;
  color: var(--color-accent) !important;
  border-color: rgba(214, 75, 138, 0.18) !important;
}

.route-step h3,
.route-modern-step h3 {
  color: var(--color-primary) !important;
}

.route-step p,
.route-modern-step p {
  color: var(--color-text-soft) !important;
}

.route-modern-steps::before {
  background: linear-gradient(180deg, var(--color-accent), rgba(27, 58, 95, 0.16)) !important;
}

.route-modern-image::after {
  background: rgba(255, 255, 255, 0.94) !important;
  color: var(--color-accent) !important;
}

/* Cierre */
.final-note {
  background: #ffffff !important;
}

.final-note p {
  color: var(--color-primary) !important;
}

/* Footer */
.site-footer {
  background: var(--color-primary) !important;
}

.footer-list a:hover,
.footer-bottom a:hover {
  color: #ffffff !important;
}

.social-icons a {
  background: rgba(255, 255, 255, 0.10) !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
}

.social-icons a:hover {
  background: rgba(214, 75, 138, 0.35) !important;
}

/* WhatsApp flotante: lo dejo verde porque es código universal de WhatsApp */
.whatsapp-float {
  background: #25D366 !important;
  box-shadow: 0 20px 44px rgba(37, 211, 102, 0.30) !important;
}
/* =========================================================
   PALETA GLOBAL — AUTORIDAD SERENA
   Aplicación para todas las páginas
   ========================================================= */

   :root {
    --color-primary: #1B3A5F;
    --color-secondary: #4A90E2;
    --color-accent: #D64B8A;
    --color-cta: #D64B8A;
    --color-cta-hover: #B83D72;
  
    --color-bg: #FFFFFF;
    --color-bg-soft: #F7F9FC;
  
    --color-text: #1F2937;
    --color-text-soft: #6B7280;
  
    --color-border: rgba(27, 58, 95, 0.10);
    --color-shadow: rgba(27, 58, 95, 0.12);
  
    --color-stars: #FFB800;
    --color-whatsapp: #25D366;
  }
  
  /* Base */
  body {
    background: var(--color-bg) !important;
    color: var(--color-text) !important;
  }
  
  /* Header */
  .site-header,
  .premium-header {
    background: var(--color-bg) !important;
    border-bottom: 1px solid var(--color-border) !important;
    box-shadow: 0 8px 28px rgba(27, 58, 95, 0.04) !important;
  }
  
  .main-nav a {
    color: var(--color-text) !important;
  }
  
  .main-nav a:hover,
  .main-nav a.active {
    color: var(--color-primary) !important;
  }
  
  /* Botones */
  .btn-primary,
  .header-cta,
  button[type="submit"] {
    background: var(--color-cta) !important;
    color: #ffffff !important;
    border-color: var(--color-cta) !important;
    box-shadow: 0 14px 32px rgba(214, 75, 138, 0.22) !important;
  }
  
  .btn-primary:hover,
  .header-cta:hover,
  button[type="submit"]:hover {
    background: var(--color-cta-hover) !important;
    border-color: var(--color-cta-hover) !important;
    box-shadow: 0 18px 40px rgba(184, 61, 114, 0.28) !important;
  }
  
  .btn-outline,
  .btn-secondary {
    background: #ffffff !important;
    color: var(--color-primary) !important;
    border: 1px solid var(--color-border) !important;
  }
  
  .btn-outline:hover,
  .btn-secondary:hover {
    color: var(--color-accent) !important;
    border-color: var(--color-accent) !important;
  }
  
  /* Títulos */
  h1,
  h2,
  h3,
  .section-title,
  .page-title,
  .hero-title,
  .card h3,
  .image-card h3,
  .resource-card h3,
  .service-card h3,
  .download-card h3,
  .video-card h3 {
    color: var(--color-primary) !important;
  }
  
  /* Texto */
  p,
  li {
    color: var(--color-text-soft);
  }
  
  strong {
    color: var(--color-text);
  }
  
  /* Etiquetas y acentos */
  .kicker,
  .eyebrow,
  .section-kicker,
  .page-kicker,
  .badge,
  .tag,
  .pill,
  .chip {
    color: var(--color-accent) !important;
  }
  
  .badge,
  .tag,
  .pill,
  .chip {
    background: rgba(214, 75, 138, 0.10) !important;
    border: 1px solid rgba(214, 75, 138, 0.18) !important;
  }
  
  /* Fondos alternos */
  .section-alt,
  .page-section-alt,
  .home-white-section,
  .contact-section,
  .contact-panel,
  .faq-section,
  .resources-section-alt {
    background:
      radial-gradient(circle at 10% 12%, rgba(214, 75, 138, 0.06), transparent 28%),
      radial-gradient(circle at 90% 18%, rgba(74, 144, 226, 0.08), transparent 32%),
      var(--color-bg-soft) !important;
  }
  
  /* Cards */
  .card,
  .image-card,
  .service-card,
  .resource-card,
  .download-card,
  .video-card,
  .info-card,
  .location-card,
  .contact-card,
  .faq-card,
  .program-card,
  .path-step,
  details,
  .faq-item {
    background: #ffffff !important;
    border: 1px solid var(--color-border) !important;
    box-shadow: 0 18px 46px rgba(27, 58, 95, 0.08) !important;
  }
  
  .card:hover,
  .image-card:hover,
  .service-card:hover,
  .resource-card:hover,
  .download-card:hover,
  .video-card:hover,
  .info-card:hover,
  .location-card:hover,
  .contact-card:hover,
  .program-card:hover {
    border-color: rgba(214, 75, 138, 0.38) !important;
    box-shadow: 0 24px 70px rgba(27, 58, 95, 0.12) !important;
  }
  
  /* FAQ */
  summary {
    color: var(--color-primary) !important;
    font-weight: 900;
  }
  
  summary::marker {
    color: var(--color-accent);
  }
  
  details[open],
  .faq-item[open] {
    border-color: rgba(214, 75, 138, 0.34) !important;
  }
  
  /* Formularios */
  input,
  textarea,
  select {
    border: 1px solid var(--color-border) !important;
    color: var(--color-text);
    background: #ffffff;
  }
  
  input:focus,
  textarea:focus,
  select:focus {
    outline: none;
    border-color: var(--color-accent) !important;
    box-shadow: 0 0 0 4px rgba(214, 75, 138, 0.10) !important;
  }
  
  /* Footer */
  .site-footer {
    background: var(--color-primary) !important;
    color: #ffffff !important;
  }
  
  .site-footer p,
  .site-footer li,
  .site-footer a {
    color: rgba(255, 255, 255, 0.86) !important;
  }
  
  .site-footer a:hover,
  .footer-list a:hover,
  .footer-bottom a:hover {
    color: #ffffff !important;
  }
  
  .footer-logo {
    filter: brightness(0) invert(1);
  }
  
  /* Redes */
  .social-icons a {
    background: rgba(255, 255, 255, 0.10) !important;
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
  }
  
  .social-icons a:hover {
    background: rgba(214, 75, 138, 0.35) !important;
  }
  
  /* WhatsApp se conserva verde por reconocimiento universal */
  .whatsapp-float {
    background: var(--color-whatsapp) !important;
    box-shadow: 0 20px 44px rgba(37, 211, 102, 0.30) !important;
  }
  /* =========================================================
   WHATSAPP FLOTANTE — FIX GLOBAL MÓVIL
   Servicios, Recursos, Contacto, FAQ
   ========================================================= */

.whatsapp-float {
  position: fixed !important;
  right: 22px !important;
  bottom: 22px !important;
  z-index: 9999 !important;

  width: 64px !important;
  height: 64px !important;
  min-width: 64px !important;
  min-height: 64px !important;

  display: flex !important;
  align-items: center !important;
  justify-content: center !important;

  border-radius: 999px !important;
  background: #25D366 !important;
  box-shadow: 0 18px 44px rgba(37, 211, 102, 0.34) !important;

  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  text-decoration: none !important;
}

.whatsapp-float img {
  width: 34px !important;
  height: 34px !important;
  display: block !important;
  object-fit: contain !important;
}

.whatsapp-float:hover {
  transform: translateY(-3px) !important;
}

/* Ajuste específico para móvil */
@media (max-width: 760px) {
  .whatsapp-float {
    right: 18px !important;
    bottom: 18px !important;
    width: 58px !important;
    height: 58px !important;
    min-width: 58px !important;
    min-height: 58px !important;
  }

  .whatsapp-float img {
    width: 30px !important;
    height: 30px !important;
  }
}

/* En iPhone con barra inferior o safe area */
@supports (bottom: env(safe-area-inset-bottom)) {
  .whatsapp-float {
    bottom: calc(18px + env(safe-area-inset-bottom)) !important;
  }
}
/* =========================================================
   HEADER GLOBAL — FIX PÁGINAS LEGALES
   privacidad.html y terminos.html
   ========================================================= */

   .site-header {
    background: #ffffff !important;
    border-bottom: 1px solid rgba(27, 58, 95, 0.10) !important;
    box-shadow: 0 8px 28px rgba(27, 58, 95, 0.04) !important;
    position: relative;
    z-index: 50;
  }
  
  .header-inner {
    min-height: 104px !important;
    display: grid !important;
    grid-template-columns: auto 1fr auto !important;
    align-items: center !important;
    gap: clamp(24px, 4vw, 56px) !important;
  }
  
  .brand {
    display: inline-flex !important;
    align-items: center !important;
    text-decoration: none !important;
  }
  
  .brand-logo {
    width: clamp(190px, 15vw, 260px) !important;
    max-height: 86px !important;
    object-fit: contain !important;
    display: block !important;
  }
  
  .main-nav {
    display: flex !important;
    justify-content: center !important;
  }
  
  .main-nav ul {
    display: flex !important;
    align-items: center !important;
    gap: clamp(20px, 2.6vw, 38px) !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
  }
  
  .main-nav a {
    color: #1F2937 !important;
    font-size: 0.96rem !important;
    font-weight: 800 !important;
    text-decoration: none !important;
    letter-spacing: -0.01em !important;
  }
  
  .main-nav a:hover,
  .main-nav a.active {
    color: #1B3A5F !important;
  }
  
  .header-cta {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 12px 22px !important;
    border-radius: 999px !important;
    background: #D64B8A !important;
    color: #ffffff !important;
    font-size: 0.92rem !important;
    font-weight: 900 !important;
    text-decoration: none !important;
    border: 1px solid #D64B8A !important;
    box-shadow: 0 14px 32px rgba(214, 75, 138, 0.22) !important;
    white-space: nowrap !important;
  }
  
  .header-cta:hover {
    background: #B83D72 !important;
    border-color: #B83D72 !important;
  }
  
  .nav-toggle {
    display: none;
    border: 0;
    background: transparent;
    color: #1B3A5F;
    font-size: 1.7rem;
    cursor: pointer;
  }
  
  /* Responsive header */
  @media (max-width: 980px) {
    .header-inner {
      min-height: 92px !important;
      grid-template-columns: auto auto auto !important;
    }
  
    .main-nav {
      display: none !important;
    }
  
    .nav-toggle {
      display: inline-flex !important;
      justify-self: center;
    }
  
    .brand-logo {
      width: 190px !important;
    }
  }
  
  @media (max-width: 760px) {
    .header-inner {
      min-height: 82px !important;
      gap: 14px !important;
    }
  
    .brand-logo {
      width: 155px !important;
    }
  
    .header-cta {
      padding: 10px 14px !important;
      font-size: 0.78rem !important;
    }
  }
  /* =========================================================
   LANDINGS CLÍNICAS — DOLOR LUMBAR / CIÁTICA
   ========================================================= */

.condition-hero {
  background:
    radial-gradient(circle at 8% 12%, rgba(214, 75, 138, 0.08), transparent 28%),
    radial-gradient(circle at 92% 20%, rgba(74, 144, 226, 0.10), transparent 32%),
    #F7F9FC;
  padding: clamp(64px, 7vw, 110px) 0;
}

.condition-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.9fr);
  gap: clamp(42px, 6vw, 82px);
  align-items: center;
}

.section-kicker {
  margin: 0 0 14px;
  color: #D64B8A;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.condition-hero h1,
.condition-section h2,
.condition-final-card h2 {
  margin: 0;
  color: #1B3A5F;
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.condition-hero h1 {
  max-width: 760px;
  font-size: clamp(3rem, 5vw, 5.6rem);
  line-height: 1.02;
}

.condition-hero-lead {
  max-width: 700px;
  margin: 24px 0 0;
  color: #5F6B76;
  font-size: clamp(1.08rem, 1.4vw, 1.28rem);
  line-height: 1.75;
}

.condition-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.condition-location {
  margin: 22px 0 0;
  color: #1B3A5F;
  font-weight: 800;
}

.condition-hero-image {
  margin: 0;
  overflow: hidden;
  border-radius: 34px;
  background: #ffffff;
  border: 1px solid rgba(27, 58, 95, 0.10);
  box-shadow: 0 24px 70px rgba(27, 58, 95, 0.12);
}

.condition-hero-image img {
  display: block;
  width: 100%;
  height: clamp(380px, 38vw, 560px);
  object-fit: cover;
}

.condition-section {
  background: #ffffff;
  padding: clamp(72px, 7vw, 112px) 0;
}

.condition-soft {
  background:
    radial-gradient(circle at 10% 18%, rgba(74, 144, 226, 0.08), transparent 28%),
    radial-gradient(circle at 90% 22%, rgba(214, 75, 138, 0.06), transparent 30%),
    #F7F9FC;
}

.condition-narrow {
  max-width: 940px;
}

.condition-narrow h2,
.condition-heading h2,
.condition-alert-grid h2,
.condition-split h2 {
  font-size: clamp(2.3rem, 4vw, 4.25rem);
  line-height: 1.05;
}

.condition-narrow p,
.condition-section p {
  color: #5F6B76;
  font-size: 1.06rem;
  line-height: 1.8;
}

.condition-heading {
  max-width: 820px;
  margin-bottom: clamp(32px, 4vw, 56px);
}

.condition-card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.condition-card {
  background: #ffffff;
  border: 1px solid rgba(27, 58, 95, 0.10);
  border-radius: 28px;
  padding: 28px;
  box-shadow: 0 18px 46px rgba(27, 58, 95, 0.08);
}

.condition-card h3 {
  margin: 0 0 12px;
  color: #1B3A5F;
  font-size: 1.12rem;
}

.condition-card p {
  margin: 0;
  font-size: 0.96rem;
  line-height: 1.65;
}

.condition-alert-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(36px, 5vw, 72px);
  align-items: start;
}

.condition-alert-card {
  background: #ffffff;
  border: 1px solid rgba(214, 75, 138, 0.18);
  border-radius: 30px;
  padding: clamp(30px, 4vw, 48px);
  box-shadow: 0 24px 70px rgba(27, 58, 95, 0.10);
}

.condition-alert-card ul {
  margin: 0;
  padding-left: 20px;
  color: #1F2937;
  font-size: 1.05rem;
  line-height: 1.8;
}

.condition-split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(42px, 6vw, 82px);
  align-items: center;
}

.condition-steps {
  display: grid;
  gap: 16px;
}

.condition-steps article {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 16px;
  align-items: start;
}

.condition-steps span {
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: rgba(214, 75, 138, 0.10);
  color: #D64B8A;
  font-weight: 900;
  border: 1px solid rgba(214, 75, 138, 0.18);
}

.condition-steps article div {
  background: #ffffff;
  border: 1px solid rgba(27, 58, 95, 0.10);
  border-radius: 22px;
  padding: 22px 24px;
  box-shadow: 0 18px 46px rgba(27, 58, 95, 0.08);
}

.condition-steps h3 {
  margin: 0 0 8px;
  color: #1B3A5F;
  font-size: 1.08rem;
}

.condition-steps p {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.6;
}

.condition-faq {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.condition-faq article {
  background: #ffffff;
  border: 1px solid rgba(27, 58, 95, 0.10);
  border-radius: 28px;
  padding: 30px;
  box-shadow: 0 18px 46px rgba(27, 58, 95, 0.08);
}

.condition-faq h3 {
  margin: 0 0 12px;
  color: #1B3A5F;
}

.condition-faq p {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.7;
}

.condition-final-cta {
  background: #ffffff;
  padding: clamp(72px, 7vw, 112px) 0;
}

.condition-final-card {
  max-width: 1080px;
  margin: 0 auto;
  text-align: center;
  border-radius: 38px;
  padding: clamp(46px, 6vw, 78px);
  background:
    radial-gradient(circle at 8% 18%, rgba(214, 75, 138, 0.08), transparent 28%),
    radial-gradient(circle at 92% 20%, rgba(74, 144, 226, 0.10), transparent 30%),
    #F7F9FC;
  border: 1px solid rgba(27, 58, 95, 0.10);
  box-shadow: 0 24px 70px rgba(27, 58, 95, 0.10);
}

.condition-final-card h2 {
  max-width: 880px;
  margin: 0 auto;
  font-size: clamp(2.1rem, 3.4vw, 4rem);
  line-height: 1.1;
}

.condition-final-card .condition-hero-actions {
  justify-content: center;
}

@media (max-width: 980px) {
  .condition-hero-grid,
  .condition-alert-grid,
  .condition-split {
    grid-template-columns: 1fr;
  }

  .condition-card-grid,
  .condition-faq {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .condition-hero-image img {
    height: 420px;
  }
}

@media (max-width: 700px) {
  .condition-hero {
    padding: 50px 0 64px;
  }

  .condition-hero h1 {
    font-size: clamp(2.45rem, 12vw, 3.6rem);
  }

  .condition-card-grid,
  .condition-faq {
    grid-template-columns: 1fr;
  }

  .condition-hero-actions .btn {
    width: 100%;
  }

  .condition-steps article {
    grid-template-columns: 46px 1fr;
  }

  .condition-steps span {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    font-size: 0.85rem;
  }

  .condition-hero-image img {
    height: 320px;
  }
}
/* =========================================================
   VIDEO EDUCATIVO EN LANDING DOLOR LUMBAR
   ========================================================= */

   .condition-video-section {
    background: #ffffff;
  }
  
  .condition-video-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: clamp(34px, 5vw, 72px);
    align-items: center;
  }
  
  .condition-video-content h2 {
    margin: 0;
    color: #1B3A5F;
    font-family: "Playfair Display", Georgia, "Times New Roman", serif;
    font-size: clamp(2.3rem, 4vw, 4.25rem);
    line-height: 1.05;
    letter-spacing: -0.04em;
  }
  
  .condition-video-content p {
    margin: 20px 0 0;
    color: #5F6B76;
    font-size: 1.06rem;
    line-height: 1.75;
  }
  
  .condition-video-note {
    color: #1B3A5F !important;
    font-weight: 800;
  }
  
  .condition-video-frame {
    position: relative;
    overflow: hidden;
    border-radius: 32px;
    background: #F7F9FC;
    border: 1px solid rgba(27, 58, 95, 0.10);
    box-shadow: 0 24px 70px rgba(27, 58, 95, 0.12);
    aspect-ratio: 16 / 9;
  }
  
  .condition-video-frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
  }
  
  @media (max-width: 900px) {
    .condition-video-grid {
      grid-template-columns: 1fr;
    }
  }
  ============================================ */
/* POR QUÉ ELEGIR */
/* ============================================ */

.why-card {
  background: var(--bg-light);
  border-top: 4px solid var(--primary-blue);
}

.why-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary-blue), var(--accent-blue));
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--white);
}

/* ============================================ */
/* Ajuste de botones: azul médico */
/* ============================================ */

.btn-primary,
.btn-cta-primary,
.header-cta,
.resource-body .btn-primary,
.final-cta-buttons .btn-cta-primary,
.faq-cta .btn-primary-new,
.btn-primary-new {
  background: #0B4F8A !important;
  border-color: #0B4F8A !important;
  color: #ffffff !important;
}

.btn-primary:hover,
.btn-cta-primary:hover,
.header-cta:hover,
.resource-body .btn-primary:hover,
.final-cta-buttons .btn-cta-primary:hover,
.faq-cta .btn-primary-new:hover,
.btn-primary-new:hover {
  background: #073B66 !important;
  border-color: #073B66 !important;
  color: #ffffff !important;
}
cat >> styles.css <<'EOF'

/* ============================================ */
/* Ajuste puntual: botón Agendar una valoración */
/* ============================================ */

.final-cta-enhanced .btn-cta-primary,
.final-cta-card .btn-cta-primary,
a.btn-cta-primary {
  background: #0B4F8A !important;
  border-color: #0B4F8A !important;
  color: #ffffff !important;
  box-shadow: 0 10px 22px rgba(11, 79, 138, 0.16) !important;
}

.final-cta-enhanced .btn-cta-primary:hover,
.final-cta-card .btn-cta-primary:hover,
a.btn-cta-primary:hover {
  background: #073B66 !important;
  border-color: #073B66 !important;
  color: #ffffff !important;
  box-shadow: 0 12px 24px rgba(7, 59, 102, 0.18) !important;
}


/* ============================================ */
/* Botón inicio: Agendar una valoración */
/* ============================================ */

.final-note-link {
  background: #0B4F8A !important;
  border: 1px solid #0B4F8A !important;
  color: #ffffff !important;
  box-shadow: 0 10px 22px rgba(11, 79, 138, 0.16) !important;
}

.final-note-link:hover {
  background: #073B66 !important;
  border-color: #073B66 !important;
  color: #ffffff !important;
  box-shadow: 0 12px 24px rgba(7, 59, 102, 0.18) !important;
}


/* ============================================ */
/* Ajuste puntual: sombras azules en botones */
/* ============================================ */

.btn-primary,
.header-cta,
.btn-cta-primary,
.btn-primary-new,
.final-note-link,
.final-cta-card .btn-cta-primary,
.final-cta-enhanced .btn-cta-primary,
.resource-body .btn-primary,
a.btn.btn-primary {
  box-shadow: 0 10px 22px rgba(11, 79, 138, 0.16) !important;
}

.btn-primary:hover,
.header-cta:hover,
.btn-cta-primary:hover,
.btn-primary-new:hover,
.final-note-link:hover,
.final-cta-card .btn-cta-primary:hover,
.final-cta-enhanced .btn-cta-primary:hover,
.resource-body .btn-primary:hover,
a.btn.btn-primary:hover {
  box-shadow: 0 12px 24px rgba(7, 59, 102, 0.20) !important;
}


/* ============================================ */
/* Ajuste puntual: botón flotante de WhatsApp */
/* ============================================ */

.whatsapp-float {
  width: 72px !important;
  height: 72px !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #22c55e !important;
  box-shadow: 0 18px 38px rgba(34, 197, 94, 0.28) !important;
}

.whatsapp-float img {
  width: 42px !important;
  height: 42px !important;
  object-fit: contain !important;
  display: block !important;
}

@media (max-width: 720px) {
  .whatsapp-float {
    width: 64px !important;
    height: 64px !important;
  }

  .whatsapp-float img {
    width: 38px !important;
    height: 38px !important;
  }
}


/* ============================================ */
/* Ajuste fino: tamaño del ícono WhatsApp */
/* ============================================ */

.whatsapp-float img {
  width: 54px !important;
  height: 54px !important;
  max-width: 54px !important;
  max-height: 54px !important;
  object-fit: contain !important;
}

@media (max-width: 720px) {
  .whatsapp-float img {
    width: 48px !important;
    height: 48px !important;
    max-width: 48px !important;
    max-height: 48px !important;
  }
}


/* ============================================ */
/* Ajuste fino: tamaño del ícono WhatsApp */
/* ============================================ */

.whatsapp-float img {
  width: 54px !important;
  height: 54px !important;
  max-width: 54px !important;
  max-height: 54px !important;
  object-fit: contain !important;
}

@media (max-width: 720px) {
  .whatsapp-float img {
    width: 48px !important;
    height: 48px !important;
    max-width: 48px !important;
    max-height: 53px !important;
  }
}


/* ============================================ */
/* Ajuste fino: tamaño del ícono WhatsApp */
/* ============================================ */

.whatsapp-float img {
  width: 54px !important;
  height: 54px !important;
  max-width: 54px !important;
  max-height: 54px !important;
  object-fit: contain !important;
}

@media (max-width: 720px) {
  .whatsapp-float img {
    width: 53px !important;
    height: 53px !important;
    max-width: 53px !important;
    max-height: 53px !important;
  }
}

