/* ============================================================
   CORPORACIÓN EURO AMÉRICA — Sistema de diseño
   Blanco dominante · Oro · Marrón suave con dorado tenue
   Tipografía normal (Calibri/Arial) · Glassmorphism en acentos
   ============================================================ */

:root {
  --ink:        #241C14;   /* texto principal (marrón muy oscuro, no negro puro) */
  --ink-soft:   #5A4E40;
  --ink-faint:  #8A7E6E;
  --gold:       #C9A227;
  --gold-deep:  #A07C15;
  --gold-light: #E3D2A0;
  --gold-wash:  #F6EFDD;
  --brown:      #4A3B28;   /* marrón suave para slides/bandas (no tan fuerte) */
  --brown-deep: #2A2117;   /* footer */
  --taupe:      #EFE7D6;   /* card marrón muy claro con dorado tenue */
  --cream:      #FAF7F0;
  --paper:      #FFFFFF;   /* fondo dominante */
  --line:       #EAE3D5;

  --sans: Calibri, "Segoe UI", "Helvetica Neue", Arial, sans-serif;

  --wrap: 1180px;
  --gutter: clamp(20px, 5vw, 48px);
  --radius: 10px;
  --radius-sm: 7px;

  --shadow-sm: 0 2px 10px -4px rgba(36,28,20,.10);
  --shadow-md: 0 18px 40px -20px rgba(36,28,20,.30);
  --shadow-gold: 0 10px 26px -10px rgba(160,124,21,.45);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

h1, h2, h3 { font-family: var(--sans); font-weight: 800; line-height: 1.12; color: var(--ink); letter-spacing: -.4px; }
.h-display { font-size: clamp(1.8rem, 3.1vw, 2.5rem); }
.h-section { font-size: clamp(1.8rem, 3.2vw, 2.5rem); }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.24rem); color: var(--ink-soft); line-height: 1.6; font-weight: 400; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(58px, 8vw, 106px); }
.section--tight { padding-block: clamp(44px, 6vw, 74px); }
.bg-paper { background: var(--paper); }
.bg-cream { background: var(--cream); }
.bg-taupe { background: var(--taupe); }

.rule-gold { width: 56px; height: 4px; background: var(--gold); border: 0; border-radius: 4px; margin: 18px 0 0; }
.rule-gold.center { margin-inline: auto; }
.section-head { max-width: 780px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p { margin-top: 16px; }

.price-tag { font-weight: 800; color: var(--gold-deep); }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  font-family: var(--sans); font-weight: 700; font-size: 15px;
  padding: 15px 30px; border-radius: 8px;
  border: 1.5px solid transparent; cursor: pointer; text-decoration: none;
  transition: transform .18s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.btn:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.btn .wa-ic { width: 20px; height: 20px; color: #25D366; }

/* Dorado principal */
.btn--gold { background: linear-gradient(180deg, #D8B23C 0%, var(--gold) 55%, var(--gold-deep) 100%); color: #2A2117; box-shadow: var(--shadow-gold); }
.btn--gold:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -10px rgba(160,124,21,.6); color: #1c1710; }

/* Oscuro (marrón) */
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: #000; transform: translateY(-2px); }

/* Contorno */
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold-deep); box-shadow: var(--shadow-sm); }

/* Glass (sobre imágenes / bandas oscuras) */
.btn--glass { background: rgba(255,255,255,.14); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-color: rgba(255,255,255,.55); color: #fff; }
.btn--glass:hover { background: rgba(255,255,255,.26); transform: translateY(-2px); }

/* WhatsApp: BLANCO con ícono verde */
.btn--wa { background: #fff; color: #0E7C43; border-color: #E1E7E2; box-shadow: var(--shadow-sm); }
.btn--wa:hover { border-color: #25D366; color: #0B6B39; transform: translateY(-2px); box-shadow: 0 10px 24px -10px rgba(18,140,75,.4); }

.btn--block { width: 100%; }

/* ============================================================ HEADER ============================================================ */
.topbar { background: var(--brown-deep); color: var(--gold-light); font-size: 13px; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-block: 8px; }
.topbar a { color: var(--gold-light); text-decoration: none; opacity: .92; }
.topbar a:hover { opacity: 1; color: #fff; }
.topbar__meta { display: flex; gap: 22px; align-items: center; }
@media (max-width: 720px){ .topbar__meta { display: none; } }

.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.82); backdrop-filter: saturate(1.2) blur(12px); -webkit-backdrop-filter: saturate(1.2) blur(12px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 12px; }
.brand { display: flex; align-items: center; text-decoration: none; }
.brand img { height: 66px; width: auto; }               /* LOGO MÁS GRANDE */
@media (max-width:520px){ .brand img { height: 50px; } }

.nav { display: flex; align-items: center; gap: 2px; }
.nav a { font-size: 15px; font-weight: 600; color: var(--ink); text-decoration: none; padding: 9px 15px; border-radius: 8px; position: relative; transition: color .2s, background .2s; }
.nav a:hover { color: var(--gold-deep); }
.nav a[aria-current="page"] { color: var(--gold-deep); }
.nav a[aria-current="page"]::after { content:""; position:absolute; left:15px; right:15px; bottom:5px; height:2px; background:var(--gold); border-radius:2px; }
.nav .btn { margin-left: 10px; padding: 11px 22px; }

.burger { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.burger span { width: 26px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s, opacity .3s; }
.burger.open span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2){ opacity: 0; }
.burger.open span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 900px){
  .burger { display: flex; }
  .nav { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md); padding: 8px var(--gutter) 18px; display: none; }
  .nav.open { display: flex; }
  .nav a { padding: 14px 6px; border-bottom: 1px solid var(--line); }
  .nav .btn { margin: 12px 0 0; }
}

/* Franja de precio (glass dorada) */
.price-strip { background: linear-gradient(90deg, var(--gold) 0%, #D8B23C 100%); color: #2A2117; text-align: center; font-weight: 700; font-size: clamp(13.5px,2.2vw,16px); padding: 11px 16px; }
.price-strip strong { font-weight: 800; }
.price-strip a { color: inherit; text-decoration: underline; }

/* ============================================================ SLIDER ============================================================ */
.slider { position: relative; overflow: hidden; }
.slides { display: flex; transition: transform .6s ease; }
.slide { min-width: 100%; }
.slide__inner { min-height: clamp(280px, 38vh, 380px); display: grid; align-items: center; padding: clamp(18px, 2.6vw, 36px) 0; }
.slide--paper { background: #fff; color: var(--ink); }
.slide--brown { background: var(--cream); color: var(--ink); }
.slide--cream { background: var(--cream); color: var(--ink); }
.slide--wash  { background: var(--gold-wash); color: var(--ink); }
.slide--brown .h-display, .slide--brown .h-section { color: var(--ink); }
.slide--brown .lead { color: var(--ink-soft); }

.slide__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.slide__grid.center { grid-template-columns: 1fr; text-align: center; max-width: 820px; margin-inline: auto; }
.slide__img { max-height: 440px; width: auto; margin: 0 auto; border-radius: 16px; border: 1px solid var(--line); box-shadow: var(--shadow-md); }
.slide__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.slide__grid.center .slide__cta { justify-content: center; }
.slide__eyebrow { display:inline-block; font-size: 12.5px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 16px; }
.slide--brown .slide__eyebrow { color: var(--gold-deep); }
.slide h1, .slide h2 { margin-bottom: 14px; }
.slide .lead { max-width: 50ch; font-size: clamp(1rem,1.4vw,1.12rem); }
.slide__grid.center .lead { margin-inline: auto; }
.slide__pill { display:inline-block; margin-top:6px; background: var(--gold); color:#2A2117; font-weight:800; padding:9px 20px; border-radius:8px; font-size: clamp(14px,2vw,18px); }

/* Precios dentro de slide 2 */
.slide__stats { display:flex; flex-wrap:wrap; gap: 10px 28px; justify-content:center; margin-top: 18px; }
.slide__stat b { display:block; font-size: clamp(1.5rem,2.6vw,2.05rem); color: var(--gold-deep); line-height:1; font-weight:800; }
.slide__stat span { font-size: 13px; letter-spacing:.08em; text-transform:uppercase; color:var(--ink-faint); }

.slide__img { max-height: 336px; }

@media (max-width: 820px){
  .slide__grid { grid-template-columns: 1fr; text-align: center; }
  .slide__img { max-height: 280px; order: -1; }
  .slide .lead { margin-inline: auto; }
  .slide__cta { justify-content: center; }
}

.slider__dots { position: absolute; bottom: 16px; left: 0; right: 0; display: flex; gap: 10px; justify-content: center; z-index: 3; }
.slider__dots button { width: 11px; height: 11px; border-radius: 50%; border: 2px solid var(--gold); background: transparent; cursor: pointer; padding: 0; }
.slider__dots button[aria-selected="true"] { background: var(--gold); }
.slider__arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(255,255,255,.6); backdrop-filter: blur(6px); color: var(--brown); font-size: 22px; cursor: pointer; display: grid; place-items: center; box-shadow: var(--shadow-sm); }
.slider__arrow:hover { background: var(--gold); color: #fff; }
.slider__arrow--prev { left: 14px; }
.slider__arrow--next { right: 14px; }
@media (max-width: 640px){ .slider__arrow { display: none; } }

/* ============================================================ STAT CARDS (reemplaza barra) ============================================================ */
.stat-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: -46px; position: relative; z-index: 5; }
.stat-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 20px; text-align: center; box-shadow: var(--shadow-md); }
.stat-card b { display: block; font-size: clamp(1.9rem, 3vw, 2.5rem); color: var(--gold-deep); font-weight: 800; line-height: 1; }
.stat-card span { display:block; font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-faint); margin-top: 10px; font-weight: 600; }
@media (max-width: 700px){ .stat-cards { grid-template-columns: repeat(2, 1fr); margin-top: 24px; } }

/* ============================================================ PAS (dolor -> solución) ============================================================ */
.pas__media { position: relative; }
.pas__media img { position: relative; z-index: 2; margin: 0 auto; max-height: 520px; width: auto; filter: drop-shadow(0 24px 44px rgba(36,28,20,.22)); }
.pas__media::before { content:""; position:absolute; inset: 8% 6% 0 6%; background: radial-gradient(120% 100% at 50% 30%, var(--taupe) 0, transparent 70%); border-radius: 50% 50% 40% 40%; z-index:1; }
.pas__list { list-style: none; margin: 22px 0 26px; }
.pas__list li { position: relative; padding: 14px 0 14px 42px; border-bottom: 1px solid var(--line); font-size: 1.05rem; color: var(--ink); font-weight: 600; }
.pas__list li::before { content:""; position:absolute; left:6px; top:16px; width:22px; height:22px; border-radius:50%; background: var(--gold-wash); border:2px solid var(--gold); }
.pas__list li::after { content:"?"; position:absolute; left:13px; top:14px; color: var(--gold-deep); font-weight:800; }

/* ============================================================ ECOSISTEMA VIRTUAL ============================================================ */
.eco { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.eco__item { background:#fff; border:1px solid var(--line); border-radius: var(--radius); padding: 30px 24px; text-align:center; transition: transform .2s, box-shadow .2s; }
.eco__item:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.eco__ic { width: 58px; height: 58px; margin: 0 auto 16px; display:grid; place-items:center; border-radius: 14px; background: var(--gold-wash); }
.eco__ic svg { width: 30px; height: 30px; }
.eco__item h4 { font-size: 1.1rem; margin-bottom: 6px; }
.eco__item p { font-size: 14.5px; color: var(--ink-soft); }
@media (max-width: 700px){ .eco { grid-template-columns: 1fr; } }

/* ============================================================ CARDS DIPLOMADOS ============================================================ */
.grid-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(268px, 1fr)); gap: 24px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); display: flex; flex-direction: column; overflow: hidden; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; position: relative; }
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--gold-light); }
.card__media { height: 160px; overflow: hidden; background: var(--cream); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card:hover .card__media img { transform: scale(1.06); }
.card__body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.card__kicker { font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-deep); font-weight: 700; }
.card h3 { font-size: 1.28rem; margin: 8px 0 10px; line-height: 1.2; }
.card p { font-size: 15px; color: var(--ink-soft); flex: 1; }
.card__price { display: flex; align-items: baseline; gap: 8px; margin: 16px 0 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.card__price b { font-size: 1.4rem; color: var(--gold-deep); font-weight: 800; }
.card__price small { font-size: 12px; letter-spacing: .06em; color: var(--ink-faint); text-transform: uppercase; }
.card__actions { display: flex; flex-direction: column; gap: 9px; }
.card--soon { align-items: center; justify-content: center; text-align: center; border-style: dashed; background: var(--cream); min-height: 300px; padding: 30px; }
.card--soon .plus { width: 46px; height: 46px; border-radius: 50%; border: 2px solid var(--gold); color: var(--gold-deep); display: grid; place-items: center; font-size: 26px; margin: 0 auto 14px; }
.card--soon h3 { font-size: 1.15rem; } .card--soon p { font-size: 14px; margin: 6px 0 16px; color: var(--ink-soft); flex: none; }
.ribbon { position: absolute; top: 12px; right: 12px; background: var(--gold); color: #2A2117; font-size: 11.5px; font-weight: 800; letter-spacing: .04em; padding: 5px 12px; border-radius: 7px; z-index: 2; box-shadow: var(--shadow-sm); }

/* ============================================================ BLOQUES ============================================================ */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 60px); align-items: center; }
@media (max-width: 820px){ .split { grid-template-columns: 1fr; } }

.feature-list { list-style: none; margin-top: 24px; }
.feature-list li { position: relative; padding: 15px 0 15px 38px; border-top: 1px solid var(--line); }
.feature-list li:last-child { border-bottom: 1px solid var(--line); }
.feature-list li::before { content:""; position:absolute; left:6px; top:21px; width:16px; height:16px; border-radius:50%; border:2px solid var(--gold); background: radial-gradient(circle at 50% 50%, var(--gold) 0 4px, transparent 5px); }
.feature-list strong { display:block; font-size:16px; color:var(--ink); }
.feature-list span { font-size:15px; color:var(--ink-soft); }

.pillars { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px,1fr)); gap: 20px; }
.pillar { background:#fff; padding:30px 26px; border:1px solid var(--line); border-radius: var(--radius); transition: transform .2s, box-shadow .2s; }
.pillar:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.pillar__no { font-size:1.2rem; font-weight:800; color:var(--gold-deep); }
.pillar h3 { font-size:1.2rem; margin:8px 0 8px; } .pillar p { font-size:15px; color:var(--ink-soft); }

.allies { display:flex; flex-wrap:wrap; gap:16px 30px; align-items:center; justify-content:center; }
.ally { font-size:1.02rem; color:var(--ink-soft); padding:14px 24px; border:1px solid var(--line); border-radius: var(--radius); background:#fff; }
.ally strong { color:var(--gold-deep); font-weight:700; }

.quotes { display:grid; grid-template-columns: repeat(auto-fit, minmax(270px,1fr)); gap:22px; }
.quote { background:#fff; border:1px solid var(--line); border-left:4px solid var(--gold); border-radius: var(--radius); padding:28px 26px; box-shadow: var(--shadow-sm); }
.quote p { font-size:1.08rem; line-height:1.5; color:var(--ink); }
.quote footer { margin-top:16px; font-size:14px; }
.quote footer strong { display:block; color:var(--ink); } .quote footer span { color:var(--ink-faint); }

.cta-band { background: var(--cream); color: var(--ink); text-align:center; border-top: 3px solid var(--gold); border-bottom: 3px solid var(--gold); }
.cta-band .h-section { color:var(--ink); }
.cta-band p { color:var(--ink-soft); max-width:56ch; margin:16px auto 0; }
.cta-band .slide__cta { justify-content:center; margin-top:28px; }

/* ============================================================ FICHA / TABLA ============================================================ */
.table-wrap { overflow-x:auto; -webkit-overflow-scrolling:touch; border:1px solid var(--line); border-radius: var(--radius); }
table.tech { width:100%; min-width:540px; border-collapse:collapse; background:#fff; }
table.tech th, table.tech td { padding:17px 22px; text-align:left; border-bottom:1px solid var(--line); font-size:15.5px; }
table.tech th { background: var(--ink); color: var(--gold-light); font-size:13px; letter-spacing:.1em; text-transform:uppercase; }
table.tech td:first-child { font-weight:700; width:34%; color:var(--ink); }
table.tech tr:last-child td { border-bottom:0; }
table.tech tbody tr:nth-child(even) { background: var(--cream); }

/* ============================================================ ACORDEÓN / DETALLE ============================================================ */
.dip-detail { scroll-margin-top:120px; border:1px solid var(--line); border-radius: var(--radius); background:#fff; margin-bottom:18px; overflow:hidden; }
.dip-detail > summary { list-style:none; cursor:pointer; padding:24px 26px; display:flex; align-items:center; justify-content:space-between; gap:18px; }
.dip-detail > summary::-webkit-details-marker { display:none; }
.dip-detail summary h3 { font-size:1.3rem; }
.dip-detail summary .plus { flex:none; width:34px; height:34px; border:2px solid var(--gold); border-radius:50%; position:relative; transition:background .2s; }
.dip-detail summary .plus::before, .dip-detail summary .plus::after { content:""; position:absolute; background:var(--gold-deep); left:50%; top:50%; transform:translate(-50%,-50%); }
.dip-detail summary .plus::before { width:14px; height:2px; }
.dip-detail summary .plus::after { width:2px; height:14px; transition:transform .25s; }
.dip-detail[open] summary .plus::after { transform:translate(-50%,-50%) scaleY(0); }
.dip-detail[open] summary .plus { background:var(--gold-wash); }
.dip-detail__inner { padding:0 26px 28px; }
.dip-detail h4 { font-size:12.5px; letter-spacing:.12em; text-transform:uppercase; color:var(--gold-deep); margin:20px 0 10px; }
.dip-detail ul { list-style:none; }
.dip-detail ul li { padding:9px 0 9px 22px; border-bottom:1px dashed var(--line); font-size:15px; color:var(--ink-soft); position:relative; }
.dip-detail ul li::before { content:""; position:absolute; left:2px; top:16px; width:7px; height:7px; background:var(--gold); border-radius:50%; }
.dip-detail ul li strong { color:var(--ink); }
.dip-detail .actions { margin-top:22px; display:flex; flex-wrap:wrap; gap:12px; }
.alliance { background:var(--gold-wash); border-left:4px solid var(--gold); padding:15px 18px; border-radius:8px; font-size:14.5px; color:#7a5b12; margin:4px 0 8px; }
.alliance strong { color:var(--gold-deep); }

/* ============================================================ PAGEHEAD ============================================================ */
.pagehead { background: var(--cream); color: var(--ink); overflow:hidden; border-bottom: 3px solid var(--gold); }
.pagehead .wrap { padding-block: clamp(40px, 5vw, 68px); }
.pagehead h1 { color:var(--ink); font-size: clamp(2rem, 4.2vw, 3rem); }
.pagehead p { color:var(--ink-soft); margin-top:16px; max-width:60ch; }
.crumbs { font-size:13px; color:var(--ink-faint); margin-bottom:14px; }
.crumbs a { color:var(--gold-deep); text-decoration:none; font-weight:600; }
.pagehead__person { max-height: 360px; width:auto; margin: 0 auto; filter: drop-shadow(0 18px 34px rgba(36,28,20,.18)); align-self: end; }
@media (max-width: 820px){ .pagehead__person { max-height: 280px; } }

/* ============================================================ FOOTER ============================================================ */
.site-footer { background: var(--brown-deep); color:#cdc2ab; font-size:15px; }
.site-footer .wrap { padding-block: clamp(48px, 7vw, 76px) 0; }
.footer-grid { display:grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap:40px; }
@media (max-width: 820px){ .footer-grid { grid-template-columns: 1fr 1fr; gap:32px; } }
@media (max-width: 480px){ .footer-grid { grid-template-columns: 1fr; } }
.footer-brand__mark { display:flex; align-items:center; gap:14px; margin-bottom:16px; }
.footer-brand__mark .globe { width:42px; height:42px; }
.footer-brand__mark .name { font-size:1.4rem; font-weight:800; color:#fff; line-height:1; }
.footer-brand__mark .name small { display:block; font-size:10.5px; letter-spacing:.22em; color:var(--gold-light); text-transform:uppercase; margin-bottom:3px; font-weight:700; }
.site-footer p { color:#b8ac93; line-height:1.6; }
.footer-col h4 { font-size:12.5px; letter-spacing:.12em; text-transform:uppercase; color:var(--gold-light); margin-bottom:14px; }
.footer-col a { display:block; color:#cdc2ab; text-decoration:none; padding:5px 0; }
.footer-col a:hover { color:#fff; }
.footer-bottom { margin-top: clamp(36px,5vw,56px); border-top:1px solid rgba(227,210,160,.16); padding-block:22px; display:flex; justify-content:space-between; gap:14px; flex-wrap:wrap; font-size:13px; color:#9d9179; }

/* WhatsApp flotante (verde, se mantiene como acción rápida universal) */
.wa-float { position:fixed; right:20px; bottom:20px; z-index:90; width:58px; height:58px; border-radius:50%; background:#25D366; color:#fff; display:grid; place-items:center; box-shadow:0 10px 24px -6px rgba(0,0,0,.35); text-decoration:none; transition:transform .2s; }
.wa-float:hover { transform:scale(1.08); }
.wa-float svg { width:30px; height:30px; }

/* Reveal */
.reveal { opacity:0; transform:translateY(20px); transition:opacity .7s ease, transform .7s ease; }
.reveal.in { opacity:1; transform:none; }
@media (prefers-reduced-motion: reduce){ .reveal { opacity:1; transform:none; } }

.skip { position:absolute; left:-9999px; top:0; background:var(--gold); color:#2A2117; padding:10px 16px; z-index:200; font-weight:700; }
.skip:focus { left:8px; top:8px; }
:focus-visible { outline:3px solid var(--gold); outline-offset:2px; }

/* ============================================================
   MEJORAS MÓVIL
   ============================================================ */
@media (max-width: 820px){
  .slide__img { order: 0; }              /* texto primero, imagen después */
}
@media (max-width: 600px){
  body { font-size: 16px; }
  .section { padding-block: clamp(40px, 9vw, 60px); }
  .section--tight { padding-block: 34px; }
  .h-section { font-size: clamp(1.5rem, 6vw, 1.9rem); }
  .h-display { font-size: clamp(1.7rem, 7vw, 2.1rem); }
  .lead { font-size: 1rem; }

  /* Slider más compacto */
  .slide__inner { min-height: auto; padding: 26px 0 20px; }
  .slide__grid { gap: 20px; }
  .slide__img { max-height: 210px; }
  .slide__eyebrow { margin-bottom: 12px; }
  .slide__cta { flex-direction: column; align-items: stretch; gap: 10px; margin-top: 20px; }
  .slide__cta .btn { width: 100%; }
  .slider__dots { position: static; margin-top: 18px; }
  .slide__stats { gap: 10px 20px; }

  /* Botones generales a lo ancho donde conviene */
  .card__actions .btn { width: 100%; }

  /* Tarjetas de estadística */
  .stat-cards { margin-top: 22px; gap: 12px; }
  .stat-card { padding: 20px 12px; }
  .stat-card b { font-size: 1.7rem; }
  .stat-card span { font-size: 11.5px; }

  /* Sección dolor -> solución */
  .pas__media { margin-bottom: 6px; }
  .pas__media img { max-height: 300px; }
  .pas__media::before { display: none; }
  .pas__list li { font-size: 1rem; padding: 12px 0 12px 38px; }

  /* Cabeceras de subpágina */
  .pagehead .wrap { padding-block: 34px; }
  .pagehead__person { max-height: 240px; margin-top: 20px; }
  .pagehead .split { gap: 18px; }

  /* Franja de precio y top */
  .price-strip { font-size: 13px; padding: 10px 14px; line-height: 1.4; }

  /* CTA band y ecosistema */
  .cta-band .slide__cta { flex-direction: column; align-items: stretch; }
  .cta-band .slide__cta .btn { width: 100%; }
  .eco__item { padding: 24px 18px; }

  /* Reducir margen del logo grande para que quepa el menú */
  .brand img { height: 46px; }
}

/* ============================================================
   TARJETA BLANCA PARA EL JOVEN (cuadrado redondeado)
   ============================================================ */
.person-card {
  display: inline-block;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: 14px 18px 0;
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.person-card .pagehead__person { filter: none; max-height: 330px; margin: 0 auto; display: block; }

@media (max-width: 600px){
  .person-card { border-radius: 20px; padding: 10px 12px 0; margin-top: 18px; }
  .person-card .pagehead__person { max-height: 230px; }
  /* Compactar aún más el hero en móvil */
  .slide__img { max-height: 190px; }
  .slide__pill { font-size: 14px; padding: 8px 16px; }
  .h-display { font-size: clamp(1.6rem, 6.6vw, 1.95rem); line-height: 1.18; }
  .price-strip { font-size: 12.5px; }
  /* Aliados a una columna con buen aire */
  .allies { gap: 12px; }
  .ally { width: 100%; text-align: center; }
  /* Ecosistema y pilares con menos padding */
  .pillar { padding: 24px 20px; }
  /* Reducir altura de secciones oscuras/CTA */
  .cta-band .wrap { padding-block: 0; }
}

/* Fix desborde: permitir que columnas encojan y la tabla scrollee dentro */
.split > *, .slide__grid > * { min-width: 0; }
.table-wrap { max-width: 100%; }

/* ============================================================
   PÁGINAS LEGALES
   ============================================================ */
.legal { max-width: 820px; }
.legal h2 { font-size: 1.28rem; margin: 30px 0 10px; }
.legal h2:first-child { margin-top: 0; }
.legal p { color: var(--ink-soft); margin-bottom: 12px; }
.legal ul { margin: 0 0 14px; padding-left: 22px; color: var(--ink-soft); }
.legal li { margin-bottom: 8px; }
.legal a { color: var(--gold-deep); }
.legal strong { color: var(--ink); }
.legal__note { margin-top: 30px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 14px; color: var(--ink-faint); }

.footer-legal a { color:#cdc2ab; text-decoration:none; }
.footer-legal a:hover { color:#fff; text-decoration:underline; }

/* ============================================================
   BANNER DE COOKIES
   ============================================================ */
.cookie-banner { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 120; max-width: 660px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-md); padding: 18px 20px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.cookie-banner[hidden] { display: none; }
.cookie-banner p { flex: 1 1 260px; font-size: 14px; color: var(--ink-soft); margin: 0; line-height: 1.5; }
.cookie-banner a { color: var(--gold-deep); }
.cookie-banner__actions { display: flex; gap: 10px; flex: 0 0 auto; }
.cookie-banner .btn { padding: 10px 18px; font-size: 14px; }
@media (max-width: 520px){
  .cookie-banner { left: 10px; right: 10px; bottom: 10px; padding: 14px; }
  .cookie-banner__actions { width: 100%; }
  .cookie-banner__actions .btn { flex: 1; }
}

/* ============================================================
   LA RUTA — presencia nacional (línea dorada + paradas)
   ============================================================ */
.ruta { position: relative; }
.ruta__stops { display: flex; justify-content: space-between; gap: 18px; position: relative; }
/* línea dorada punteada a la altura de los puntos */
.ruta__stops::before {
  content: ""; position: absolute; top: 8px; left: 9%; right: 9%;
  border-top: 3px dotted var(--gold); z-index: 1;
}
.ruta__stop {
  flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; align-items: center;
  text-align: center; position: relative; margin: 0;
}
.ruta__dot {
  width: 17px; height: 17px; border-radius: 50%; background: var(--gold);
  border: 3px solid var(--cream); box-shadow: 0 0 0 3px var(--gold-light);
  z-index: 2; margin-bottom: 18px;
}
.ruta__img {
  width: 100%; aspect-ratio: 4/5; border-radius: 16px; overflow: hidden;
  border: 3px solid #fff; box-shadow: var(--shadow-md); background: var(--cream-deep);
  transition: transform .25s ease, box-shadow .25s ease;
}
.ruta__stop:hover .ruta__img { transform: translateY(-5px); box-shadow: 0 20px 40px -18px rgba(36,28,20,.4); }
.ruta__img img { width: 100%; height: 100%; object-fit: cover; }
.ruta figcaption { margin-top: 13px; font-weight: 700; color: var(--ink); font-size: 1.05rem; }

/* Móvil: scroll horizontal conservando la ruta */
@media (max-width: 760px){
  .ruta { margin: 0 calc(var(--gutter) * -1); }
  .ruta__stops { overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px var(--gutter) 12px; gap: 22px; -webkit-overflow-scrolling: touch; }
  .ruta__stops::before { left: calc(var(--gutter) + 75px); right: auto; width: 76%; }
  .ruta__stop { flex: 0 0 150px; scroll-snap-align: center; }
  .ruta figcaption { font-size: .98rem; }
}

/* ============================================================
   MAPA DE COLOMBIA — presencia nacional (pines)
   ============================================================ */
.mapa-grid { display: grid; grid-template-columns: 0.92fr 1.08fr; gap: clamp(26px, 5vw, 56px); align-items: center; }
.mapa__svg { width: 100%; max-width: 420px; height: auto; display: block; margin: 0 auto; filter: drop-shadow(0 22px 40px rgba(36,28,20,.18)); }
.mapa__land { fill: var(--gold-wash); stroke: var(--gold); stroke-width: 1.5; stroke-linejoin: round; }
.mapa__dot { fill: var(--gold-deep); }
.mapa__pulse { fill: var(--gold); transform-box: fill-box; transform-origin: center; animation: mapaPulse 2.6s ease-out infinite; }
.mapa__pin:nth-child(2) .mapa__pulse { animation-delay: .4s; }
.mapa__pin:nth-child(3) .mapa__pulse { animation-delay: .8s; }
.mapa__pin:nth-child(4) .mapa__pulse { animation-delay: 1.2s; }
.mapa__pin:nth-child(5) .mapa__pulse { animation-delay: 1.6s; }
@keyframes mapaPulse { 0% { transform: scale(.5); opacity: .55; } 100% { transform: scale(2.6); opacity: 0; } }
.mapa__label { font-family: var(--sans); font-size: 15px; font-weight: 700; fill: var(--ink); paint-order: stroke; stroke: #FAF7F0; stroke-width: 3.5px; stroke-linejoin: round; }
@media (prefers-reduced-motion: reduce){ .mapa__pulse { animation: none; opacity: .35; } }

.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.chip { display: inline-flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 5px 16px 5px 5px; box-shadow: var(--shadow-sm); }
.chip img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; }
.chip span { font-weight: 600; font-size: 14px; color: var(--ink); }

@media (max-width: 820px){
  .mapa-grid { grid-template-columns: 1fr; }
  .mapa__svg { max-width: 300px; }
}

/* Slideshow de fotos de ciudades (2s c/u) */
.foto-slider { position: relative; width: 100%; aspect-ratio: 16/10; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-md); margin-top: 4px; background: var(--cream-deep); }
.foto-slider figure { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity .6s ease; }
.foto-slider figure.active { opacity: 1; }
.foto-slider img { width: 100%; height: 100%; object-fit: cover; display: block; }
.foto-slider figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 13px 18px; background: linear-gradient(transparent, rgba(23,19,12,.72)); color: #fff; font-weight: 700; font-size: 1.05rem; letter-spacing: .01em; }

/* ============================================================
   GLASS HERO — imágenes de fondo + panel esmerilado (glassmorphism)
   ============================================================ */
.glass-hero {
  position: relative; border-radius: 22px; overflow: hidden;
  min-height: clamp(420px, 54vh, 520px);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md); isolation: isolate; background: var(--brown-deep);
}
.glass-hero .foto-slider {
  position: absolute; inset: 0; z-index: 0;
  aspect-ratio: auto; border: 0; border-radius: 0; box-shadow: none; margin: 0;
}
.glass-hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(0,0,0,.18), rgba(0,0,0,.5));
}
.glass-panel {
  position: relative; z-index: 2; width: min(90%, 500px); margin: 26px;
  padding: clamp(24px, 3vw, 38px);
  background: rgba(255,255,255,.13);
  backdrop-filter: blur(16px) saturate(1.3);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
  border: 1px solid rgba(255,255,255,.4);
  border-radius: 18px; box-shadow: 0 10px 34px rgba(0,0,0,.28);
  color: #fff; text-align: center;
}
.glass-panel h2 { color: #fff; text-shadow: 0 2px 16px rgba(0,0,0,.4); }
.glass-panel p { color: #f4efe4; margin-top: 14px; text-shadow: 0 1px 12px rgba(0,0,0,.4); }
.glass-panel strong { color: #fff; }
.glass-cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 24px; }
.glass-cta .btn--glass { color: #fff; }

@media (max-width: 820px){
  .glass-hero { min-height: 400px; }
  .glass-panel { width: min(92%, 460px); margin: 18px; }
}
