/* ============================================================
   CBK Expat — Grupo Coinbroker
   Rediseño estilo AXA · blanco / azul / verde
   ============================================================ */

:root {
  --navy: #26358c;
  --navy-deep: #1b2766;
  --blue: #2f6fb8;
  --blue-bright: #2e7fd4;
  --teal: #17b39c;
  --teal-dark: #0e9583;
  --teal-soft: #e2f6f2;
  --blue-soft: #eaf2fa;
  --ink: #1d2a4d;
  --slate: #55637f;
  --line: #e2e9f2;
  --bg-soft: #f5f8fb;
  --white: #ffffff;
  --shadow-sm: 0 2px 8px rgba(29, 42, 77, .07);
  --shadow-md: 0 10px 30px rgba(29, 42, 77, .10);
  --shadow-lg: 0 24px 60px rgba(29, 42, 77, .16);
  --radius: 14px;
  --radius-lg: 22px;
  --font-head: 'Manrope', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --header-h: 76px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--teal); color: #fff; }

::-webkit-scrollbar { width: 11px; }
::-webkit-scrollbar-track { background: var(--bg-soft); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--blue), var(--teal));
  border-radius: 8px;
  border: 2px solid var(--bg-soft);
}

img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
ul { list-style: none; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 800;
  line-height: 1.18;
  color: var(--navy-deep);
  letter-spacing: -.015em;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

section { padding: 88px 0; position: relative; }
section.tight { padding: 56px 0; }
.bg-soft { background: var(--bg-soft); }

/* ---------- kicker + headings (guiño al corte diagonal AXA) ---------- */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--teal-dark);
  margin-bottom: 14px;
}
.kicker::before {
  content: "";
  width: 26px; height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--blue));
  transform: skewX(-24deg);
  border-radius: 2px;
}
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .kicker { justify-content: center; }
.section-head h2 { font-size: clamp(1.7rem, 3.4vw, 2.45rem); margin-bottom: 14px; }
.section-head p { color: var(--slate); font-size: 1.06rem; }

/* ---------- botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .98rem;
  padding: 14px 28px;
  border-radius: 50px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .25s; }
.btn:hover svg { transform: translateX(4px); }
.btn-primary { background: var(--teal); color: #fff; box-shadow: 0 8px 22px rgba(23, 179, 156, .35); }
.btn-primary:hover { background: var(--teal-dark); transform: translateY(-2px); }
.btn-navy { background: var(--navy); color: #fff; box-shadow: 0 8px 22px rgba(38, 53, 140, .3); }
.btn-navy:hover { background: var(--navy-deep); transform: translateY(-2px); }
.btn-outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--navy); color: #fff; transform: translateY(-2px); }
.btn-white { background: #fff; color: var(--navy); box-shadow: var(--shadow-md); }
.btn-white:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--font-head); font-weight: 700; font-size: .95rem;
  color: var(--blue);
}
.link-arrow svg { width: 16px; height: 16px; transition: transform .25s; }
.link-arrow:hover svg { transform: translateX(5px); }
.link-arrow:hover { color: var(--teal-dark); }

/* ---------- barra superior ---------- */
.topbar {
  background: var(--navy-deep);
  color: #cdd6f5;
  font-size: .82rem;
  position: relative;
  z-index: 60;
}
.topbar .container {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 38px; gap: 16px;
}
.topbar-contact { display: flex; gap: 22px; align-items: center; }
.topbar-contact a { color: #cdd6f5; display: inline-flex; gap: 7px; align-items: center; }
.topbar-contact a:hover { color: #fff; }
.topbar-contact svg { width: 13px; height: 13px; }
.lang-switch { display: flex; gap: 4px; }
.lang-btn {
  background: transparent; border: 1px solid transparent; color: #9fb0e6;
  font-family: var(--font-head); font-weight: 700; font-size: .78rem;
  padding: 3px 10px; border-radius: 20px; cursor: pointer; transition: all .2s;
}
.lang-btn:hover { color: #fff; }
.lang-btn.active { background: var(--teal); color: #fff; }

/* ---------- header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s, border-color .3s;
}
.header.scrolled { box-shadow: var(--shadow-sm); border-color: var(--line); }
.header .container {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--header-h); gap: 20px;
}
.brand { display: flex; align-items: center; gap: 10px; flex: none; }
.brand img { height: 44px; width: auto; }
.brand small {
  display: block; font-size: .62rem; letter-spacing: .08em; color: var(--slate);
  font-weight: 600; margin-top: -2px;
}

.nav { display: flex; align-items: center; gap: 4px; }
.nav > a, .nav-drop > button {
  font-family: var(--font-head); font-weight: 700; font-size: .95rem;
  color: var(--ink); padding: 10px 14px; border-radius: 10px;
  background: none; border: none; cursor: pointer;
  display: inline-flex; align-items: center; gap: 6px;
  transition: color .2s, background .2s;
}
.nav > a:hover, .nav-drop > button:hover { color: var(--blue); background: var(--blue-soft); }
.nav > a.active { color: var(--teal-dark); }
.nav > a.active::after { content: ""; display: block; }

.nav-drop { position: relative; }
.nav-drop > button svg { width: 12px; height: 12px; transition: transform .25s; }
.nav-drop.open > button svg, .nav-drop:hover > button svg { transform: rotate(180deg); }
.drop-menu {
  position: absolute; top: calc(100% + 8px); left: 0;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: 10px; min-width: 300px;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: all .25s ease;
}
.nav-drop:hover .drop-menu, .nav-drop.open .drop-menu {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.drop-menu a {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 12px; border-radius: 10px; color: var(--ink);
  font-weight: 600; font-size: .93rem; transition: background .2s;
}
.drop-menu a:hover { background: var(--teal-soft); color: var(--teal-dark); }
.drop-menu a .di {
  width: 38px; height: 38px; border-radius: 10px; flex: none;
  background: var(--blue-soft); color: var(--blue);
  display: grid; place-items: center;
}
.drop-menu a:hover .di { background: var(--teal); color: #fff; }
.drop-menu a .di svg { width: 20px; height: 20px; }

.header-cta { display: flex; align-items: center; gap: 12px; }
.header-cta .btn { padding: 11px 22px; font-size: .9rem; }

.hamburger {
  display: none; background: none; border: none; cursor: pointer;
  width: 44px; height: 44px; border-radius: 10px; color: var(--navy);
}
.hamburger svg { width: 26px; height: 26px; }

/* menú móvil */
.mobile-menu {
  display: none; background: #fff; border-top: 1px solid var(--line);
  padding: 12px 24px 26px; box-shadow: var(--shadow-md);
}
.mobile-menu.open { display: block; }
.mobile-menu a {
  display: block; padding: 13px 6px; font-family: var(--font-head);
  font-weight: 700; color: var(--ink); border-bottom: 1px solid var(--line);
}
.mobile-menu a.sub { padding-left: 22px; font-weight: 600; color: var(--slate); font-size: .95rem; }
.mobile-menu .btn { margin-top: 18px; width: 100%; justify-content: center; }

/* ---------- hero home ---------- */
.hero {
  position: relative;
  min-height: calc(96vh - var(--header-h));
  display: flex; align-items: center;
  overflow: hidden;
  padding: 90px 0 190px;
}
.hero-bg {
  position: absolute; inset: -60px 0;
  background-size: cover; background-position: center 30%;
  will-change: transform;
  z-index: -2;
}
.hero-overlay {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, rgba(20, 30, 80, .88) 0%, rgba(27, 39, 102, .72) 42%, rgba(46, 127, 212, .30) 78%, rgba(23, 179, 156, .22) 100%);
}
.hero-content { max-width: 640px; color: #fff; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .28);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  padding: 7px 16px; border-radius: 40px;
  font-size: .84rem; font-weight: 600; margin-bottom: 22px;
}
.hero-badge svg { width: 15px; height: 15px; color: #5ee6cf; }
.hero h1 {
  color: #fff; font-size: clamp(2.1rem, 4.6vw, 3.4rem); margin-bottom: 20px;
}
.hero h1 em { font-style: normal; color: #5ee6cf; }
.hero p { font-size: 1.13rem; color: #dfe7fb; margin-bottom: 34px; max-width: 540px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* tarjetas de acceso rápido flotantes */
.quick-cards {
  position: relative; z-index: 5;
  margin-top: -130px; padding-bottom: 20px;
}
.quick-grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px;
}
.quick-card {
  background: #fff; border-radius: var(--radius); padding: 26px 20px 22px;
  box-shadow: var(--shadow-md); border: 1px solid var(--line);
  text-align: center; color: var(--ink);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s;
  position: relative; overflow: hidden;
}
.quick-card::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px;
  background: linear-gradient(90deg, var(--blue), var(--teal));
  transform: scaleX(0); transform-origin: left; transition: transform .35s ease;
}
.quick-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: transparent; }
.quick-card:hover::after { transform: scaleX(1); }
.quick-card .qi {
  width: 58px; height: 58px; margin: 0 auto 14px; border-radius: 16px;
  background: linear-gradient(135deg, var(--blue-soft), var(--teal-soft));
  color: var(--navy); display: grid; place-items: center;
  transition: all .3s;
}
.quick-card:hover .qi { background: linear-gradient(135deg, var(--blue), var(--teal)); color: #fff; }
.quick-card .qi svg { width: 28px; height: 28px; }
.quick-card h3 { font-size: 1.02rem; margin-bottom: 4px; }
.quick-card span { font-size: .82rem; color: var(--slate); }

/* ---------- stats ---------- */
.stats { padding: 40px 0 80px; }
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.stat {
  text-align: center; padding: 30px 16px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, #fff, var(--bg-soft));
  border: 1px solid var(--line);
}
.stat b {
  font-family: var(--font-head); font-weight: 800;
  font-size: clamp(2rem, 4vw, 2.8rem); color: var(--navy);
  display: block; line-height: 1;
}
.stat b i { font-style: normal; color: var(--teal); }
.stat span { display: block; margin-top: 8px; color: var(--slate); font-size: .92rem; font-weight: 500; }

/* ---------- feature cards (USP) ---------- */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 34px 28px; transition: transform .3s, box-shadow .3s;
}
.feature:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.feature .fi {
  width: 54px; height: 54px; border-radius: 14px; margin-bottom: 18px;
  display: grid; place-items: center; color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--teal));
}
.feature .fi svg { width: 26px; height: 26px; }
.feature h3 { font-size: 1.18rem; margin-bottom: 8px; }
.feature p { color: var(--slate); font-size: .97rem; }

/* ---------- split (imagen + texto) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split-media { position: relative; }
.split-media .main-img {
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  width: 100%; object-fit: cover; aspect-ratio: 4/3;
}
.split-media .float-card {
  position: absolute; bottom: -24px; right: -18px;
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg);
  padding: 18px 22px; display: flex; align-items: center; gap: 14px;
  border: 1px solid var(--line); max-width: 270px;
}
.split-media .float-card .fc-icon {
  width: 46px; height: 46px; border-radius: 12px; flex: none;
  background: var(--teal-soft); color: var(--teal-dark);
  display: grid; place-items: center;
}
.split-media .float-card .fc-icon svg { width: 24px; height: 24px; }
.split-media .float-card b { font-family: var(--font-head); color: var(--navy-deep); display: block; font-size: .97rem; line-height: 1.3; }
.split-media .float-card span { font-size: .8rem; color: var(--slate); }
.split-body h2 { font-size: clamp(1.7rem, 3.2vw, 2.35rem); margin-bottom: 16px; }
.split-body > p { color: var(--slate); margin-bottom: 22px; }

.checklist { display: grid; gap: 13px; margin-bottom: 30px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; }
.checklist li svg {
  width: 22px; height: 22px; flex: none; margin-top: 2px;
  color: var(--teal); background: var(--teal-soft); border-radius: 50%; padding: 4px;
}

/* ---------- tarjetas seguros ---------- */
.ins-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.ins-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 34px 30px; display: flex; flex-direction: column; gap: 14px;
  transition: transform .3s, box-shadow .3s, border-color .3s;
  position: relative; overflow: hidden;
}
.ins-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 5px;
  background: linear-gradient(90deg, var(--blue), var(--teal));
  opacity: 0; transition: opacity .3s;
}
.ins-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: transparent; }
.ins-card:hover::before { opacity: 1; }
.ins-card .ii {
  width: 60px; height: 60px; border-radius: 16px;
  background: var(--blue-soft); color: var(--navy);
  display: grid; place-items: center; transition: all .3s;
}
.ins-card:hover .ii { background: linear-gradient(135deg, var(--blue), var(--teal)); color: #fff; }
.ins-card .ii svg { width: 30px; height: 30px; }
.ins-card h3 { font-size: 1.25rem; }
.ins-card p { color: var(--slate); font-size: .96rem; flex: 1; }

/* ---------- banner productos ---------- */
.productos-banner {
  background: linear-gradient(115deg, var(--navy-deep) 0%, var(--navy) 45%, var(--blue) 100%);
  border-radius: var(--radius-lg); color: #fff;
  padding: 56px 60px; display: grid; grid-template-columns: 1.15fr 1fr;
  gap: 40px; align-items: center; overflow: hidden; position: relative;
}
.productos-banner::after {
  content: ""; position: absolute; right: -80px; top: -80px;
  width: 340px; height: 340px; border-radius: 50%;
  background: radial-gradient(circle, rgba(23,179,156,.35), transparent 70%);
}
.productos-banner h2 { color: #fff; font-size: clamp(1.5rem, 3vw, 2.1rem); margin-bottom: 14px; }
.productos-banner p { color: #ccd8f5; margin-bottom: 26px; }
.productos-banner img { position: relative; z-index: 2; filter: drop-shadow(0 20px 40px rgba(0,0,0,.35)); }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 28px; }
.tag {
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22);
  padding: 6px 14px; border-radius: 30px; font-size: .84rem; font-weight: 600;
}

/* ---------- testimonios ---------- */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.testi {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 34px 30px; position: relative;
  transition: transform .3s, box-shadow .3s;
}
.testi:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.testi .quote-mark {
  font-family: Georgia, serif; font-size: 4.2rem; line-height: 1;
  color: var(--teal-soft); position: absolute; top: 18px; right: 26px;
  -webkit-user-select: none;
  user-select: none;
}
.testi .stars { display: flex; gap: 3px; color: #f5b52e; margin-bottom: 16px; }
.testi .stars svg { width: 17px; height: 17px; }
.testi p { color: var(--slate); font-size: .97rem; margin-bottom: 20px; position: relative; z-index: 1; }
.testi footer { display: flex; align-items: center; gap: 12px; }
.testi footer .avatar {
  width: 44px; height: 44px; border-radius: 50%; flex: none;
  background: linear-gradient(135deg, var(--blue), var(--teal));
  color: #fff; display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 800; font-size: .95rem;
}
.testi footer b { font-family: var(--font-head); color: var(--navy-deep); display: block; font-size: .95rem; }
.testi footer span { font-size: .8rem; color: var(--slate); }

/* ---------- aseguradoras ---------- */
.partners-grid {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 14px;
}
.partner {
  font-family: var(--font-head); font-weight: 800; font-size: 1.05rem;
  letter-spacing: .02em; padding: 16px 30px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  color: var(--navy); display: inline-flex; align-items: center; gap: 10px;
  transition: transform .3s, box-shadow .3s, border-color .3s;
  filter: grayscale(35%); opacity: .85;
}
.partner:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); filter: none; opacity: 1; border-color: transparent; }
.partner .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--teal); }

/* ---------- noticias ---------- */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.news-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .3s, box-shadow .3s;
}
.news-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.news-card .news-img { height: 210px; overflow: hidden; position: relative; }
.news-card .news-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.news-card:hover .news-img img { transform: scale(1.07); }
.news-card .news-date {
  position: absolute; top: 14px; left: 14px;
  background: rgba(255,255,255,.94); color: var(--navy);
  font-family: var(--font-head); font-weight: 700; font-size: .78rem;
  padding: 5px 12px; border-radius: 30px;
}
.news-card .news-body { padding: 24px 26px 28px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.news-card h3 { font-size: 1.12rem; }
.news-card p { color: var(--slate); font-size: .93rem; flex: 1; }

/* ---------- CTA final ---------- */
.cta-band {
  background: linear-gradient(110deg, var(--navy-deep) 0%, var(--blue) 55%, var(--teal) 120%);
  border-radius: var(--radius-lg);
  padding: 60px 64px; color: #fff; position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: space-between; gap: 40px;
}
.cta-band::before {
  content: ""; position: absolute; left: -60px; bottom: -110px;
  width: 300px; height: 300px; border-radius: 50%;
  background: rgba(255,255,255,.07);
}
.cta-band h2 { color: #fff; font-size: clamp(1.5rem, 3vw, 2.15rem); margin-bottom: 10px; }
.cta-band p { color: #d6e4f8; max-width: 480px; }
.cta-band .cta-actions { display: flex; gap: 14px; flex-wrap: wrap; flex: none; }

/* ---------- página interior: hero ---------- */
.page-hero {
  background:
    radial-gradient(900px 420px at 85% -60%, rgba(23,179,156,.28), transparent 60%),
    linear-gradient(115deg, var(--navy-deep) 0%, var(--navy) 55%, var(--blue) 110%);
  color: #fff; padding: 74px 0 84px; position: relative; overflow: hidden;
}
.page-hero .breadcrumb {
  display: flex; gap: 8px; align-items: center; font-size: .84rem;
  color: #a9bbee; margin-bottom: 22px; flex-wrap: wrap;
}
.page-hero .breadcrumb a { color: #cdd9f8; }
.page-hero .breadcrumb a:hover { color: #fff; }
.page-hero .ph-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; }
.page-hero h1 { color: #fff; font-size: clamp(1.9rem, 4vw, 2.9rem); margin-bottom: 16px; }
.page-hero p.lead { color: #d5e0f9; font-size: 1.1rem; max-width: 620px; margin-bottom: 30px; }
.page-hero .ph-icon {
  width: 190px; height: 190px; margin-left: auto; border-radius: 44px;
  background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.2);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  display: grid; place-items: center; color: #5ee6cf;
  transform: rotate(-4deg);
}
.page-hero .ph-icon svg { width: 96px; height: 96px; }
.page-hero .ph-img {
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  transform: rotate(-2deg);
}

/* ---------- proceso ---------- */
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: step; }
.step {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 34px 30px; position: relative;
  transition: transform .3s, box-shadow .3s;
}
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.step .num {
  font-family: var(--font-head); font-weight: 800; font-size: 2.6rem;
  background: linear-gradient(120deg, var(--blue), var(--teal));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  line-height: 1; display: block; margin-bottom: 14px;
}
.step h3 { font-size: 1.12rem; margin-bottom: 8px; }
.step p { color: var(--slate); font-size: .94rem; }

/* ---------- tabla comparativa (salud) ---------- */
.compare-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.compare-card {
  background: #fff; border: 2px solid var(--line); border-radius: var(--radius-lg);
  padding: 38px 34px; transition: transform .3s, box-shadow .3s, border-color .3s;
  position: relative;
}
.compare-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.compare-card.highlight { border-color: var(--teal); }
.compare-card .pill {
  position: absolute; top: -14px; left: 30px;
  background: var(--teal); color: #fff;
  font-family: var(--font-head); font-weight: 700; font-size: .76rem;
  letter-spacing: .06em; text-transform: uppercase;
  padding: 5px 14px; border-radius: 30px;
}
.compare-card h3 { font-size: 1.3rem; margin-bottom: 6px; }
.compare-card .sub { color: var(--slate); font-size: .93rem; margin-bottom: 20px; }
.compare-card .checklist { margin-bottom: 0; }

/* ---------- info numérica / roadside ---------- */
.road-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.road-item {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px 20px; transition: box-shadow .25s, transform .25s;
}
.road-item:hover { box-shadow: var(--shadow-sm); transform: translateY(-3px); }
.road-item b { font-family: var(--font-head); color: var(--navy-deep); display: block; font-size: .92rem; margin-bottom: 4px; }
.road-item a { display: block; font-size: .88rem; color: var(--blue); font-weight: 600; }

/* ---------- formulario contacto ---------- */
.contact-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 40px; align-items: start; }
.form-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 40px; box-shadow: var(--shadow-md);
}
.form-card h3 { font-size: 1.35rem; margin-bottom: 6px; }
.form-card > p { color: var(--slate); font-size: .94rem; margin-bottom: 26px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label {
  display: block; font-family: var(--font-head); font-weight: 700;
  font-size: .85rem; margin-bottom: 6px; color: var(--navy-deep);
}
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 16px; border: 1.5px solid var(--line);
  border-radius: 11px; font-family: var(--font-body); font-size: .95rem;
  color: var(--ink); background: var(--bg-soft);
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--teal); background: #fff;
  box-shadow: 0 0 0 4px rgba(23,179,156,.12);
}
.field textarea { min-height: 130px; resize: vertical; }

/* trampa anti-spam: oculta para personas, visible para bots */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px; overflow: hidden;
}

/* mensaje de estado del formulario */
.form-status {
  margin-top: 16px; padding: 0; border-radius: 12px;
  font-size: .92rem; font-weight: 500; line-height: 1.5;
  max-height: 0; overflow: hidden; opacity: 0;
  transition: max-height .35s ease, opacity .35s ease, padding .35s ease;
}
.form-status.ok, .form-status.err, .form-status.sending {
  padding: 14px 18px; max-height: 200px; opacity: 1;
}
.form-status.ok { background: var(--teal-soft); color: var(--teal-dark); }
.form-status.err { background: #fdeaec; color: #c23a45; }
.form-status.sending { background: var(--blue-soft); color: var(--blue); }

.btn:disabled { opacity: .65; cursor: wait; }

.info-card {
  background: linear-gradient(150deg, var(--navy-deep), var(--navy) 60%, var(--blue));
  color: #fff; border-radius: var(--radius-lg); padding: 40px;
  position: relative; overflow: hidden;
}
.info-card::after {
  content: ""; position: absolute; right: -70px; bottom: -70px;
  width: 240px; height: 240px; border-radius: 50%;
  background: rgba(23,179,156,.25);
}
.info-card h3 { color: #fff; font-size: 1.3rem; margin-bottom: 22px; }
.info-item { display: flex; gap: 14px; margin-bottom: 20px; position: relative; z-index: 1; }
.info-item .ico {
  width: 42px; height: 42px; flex: none; border-radius: 11px;
  background: rgba(255,255,255,.13); display: grid; place-items: center; color: #5ee6cf;
}
.info-item .ico svg { width: 20px; height: 20px; }
.info-item b { display: block; font-family: var(--font-head); font-size: .93rem; }
.info-item a, .info-item span { color: #ccdaf7; font-size: .9rem; }
.info-item a:hover { color: #fff; }

.map-wrap {
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md);
  border: 1px solid var(--line); margin-top: 24px;
}
.map-wrap iframe { display: block; width: 100%; height: 330px; border: 0; }

/* ---------- timeline (nosotros) ---------- */
.timeline { position: relative; max-width: 760px; margin: 0 auto; padding-left: 36px; }
.timeline::before {
  content: ""; position: absolute; left: 10px; top: 6px; bottom: 6px; width: 3px;
  background: linear-gradient(180deg, var(--blue), var(--teal)); border-radius: 4px;
}
.tl-item { position: relative; padding: 0 0 38px 26px; }
.tl-item::before {
  content: ""; position: absolute; left: -34px; top: 4px;
  width: 19px; height: 19px; border-radius: 50%;
  background: #fff; border: 4px solid var(--teal);
  box-shadow: 0 0 0 5px rgba(23,179,156,.15);
}
.tl-item .year {
  font-family: var(--font-head); font-weight: 800; font-size: 1.25rem;
  color: var(--teal-dark); display: block; margin-bottom: 4px;
}
.tl-item h3 { font-size: 1.15rem; margin-bottom: 6px; }
.tl-item p { color: var(--slate); font-size: .96rem; }

/* ---------- chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  background: var(--blue-soft); color: var(--navy);
  font-family: var(--font-head); font-weight: 700; font-size: .88rem;
  padding: 9px 18px; border-radius: 30px; border: 1px solid transparent;
  transition: all .25s;
}
.chip:hover { background: var(--teal-soft); color: var(--teal-dark); transform: translateY(-2px); }
.chip.green { background: var(--teal-soft); color: var(--teal-dark); }

/* ---------- galería ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.gallery-grid img {
  border-radius: var(--radius-lg); width: 100%; height: 260px; object-fit: cover;
  box-shadow: var(--shadow-sm); transition: transform .4s, box-shadow .4s;
}
.gallery-grid img:hover { transform: scale(1.03); box-shadow: var(--shadow-lg); }

/* ---------- páginas legales ---------- */
.legal-body { max-width: 860px; }
.legal-body .legal-sec { margin-bottom: 36px; }
.legal-body h2 {
  font-size: 1.28rem; margin-bottom: 10px; padding-left: 16px; position: relative;
}
.legal-body h2::before {
  content: ""; position: absolute; left: 0; top: 6px; bottom: 6px; width: 4px;
  background: linear-gradient(180deg, var(--blue), var(--teal)); border-radius: 3px;
}
.legal-body p, .legal-body li { color: var(--slate); font-size: .98rem; }
.legal-body strong { color: var(--ink); }
.legal-body ul { padding-left: 22px; list-style: disc; display: grid; gap: 7px; margin-top: 6px; }

/* ---------- footer ---------- */
.footer { background: var(--navy-deep); color: #b9c6ec; margin-top: 40px; }
.footer-top {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px;
  padding: 64px 0 46px;
}
.footer .f-brand img { height: 46px; margin-bottom: 16px; background: #fff; padding: 6px 12px; border-radius: 10px; }
.footer .f-brand p { font-size: .92rem; margin-bottom: 18px; }
.footer h4 { color: #fff; font-size: .95rem; margin-bottom: 18px; letter-spacing: .04em; text-transform: uppercase; }
.footer ul li { margin-bottom: 10px; }
.footer a { color: #b9c6ec; font-size: .93rem; transition: color .2s; }
.footer a:hover { color: #5ee6cf; }
.footer .f-contact li { display: flex; gap: 10px; align-items: flex-start; font-size: .93rem; }
.footer .f-contact svg { width: 16px; height: 16px; flex: none; margin-top: 4px; color: var(--teal); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 22px 0; display: flex; justify-content: space-between; gap: 16px;
  font-size: .82rem; flex-wrap: wrap;
}
.footer-bottom .legal { display: flex; gap: 20px; flex-wrap: wrap; }

/* ---------- animaciones de scroll ---------- */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .8s cubic-bezier(.2,.7,.3,1), transform .8s cubic-bezier(.2,.7,.3,1); }
.reveal.left { transform: translateX(-44px); }
.reveal.right { transform: translateX(44px); }
.reveal.zoom { transform: scale(.92); }
.reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal.left, .reveal.right, .reveal.zoom { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .quick-grid { grid-template-columns: repeat(3, 1fr); }
  .ins-grid, .features-grid, .testi-grid, .news-grid, .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .road-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .productos-banner { grid-template-columns: 1fr; padding: 44px 36px; }
  .page-hero .ph-grid { grid-template-columns: 1fr; }
  .page-hero .ph-icon { display: none; }
}

@media (max-width: 900px) {
  .nav, .header-cta .btn { display: none; }
  .hamburger { display: grid; place-items: center; }
  .split, .contact-grid, .compare-grid { grid-template-columns: 1fr; }
  .split-media { order: -1; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-band { flex-direction: column; text-align: center; padding: 44px 30px; }
  .topbar-contact .hide-m { display: none; }
}

@media (max-width: 640px) {
  section { padding: 64px 0; }
  .quick-grid { grid-template-columns: repeat(2, 1fr); }
  .quick-cards { margin-top: -90px; }
  .hero { padding: 70px 0 150px; }
  .ins-grid, .features-grid, .testi-grid, .news-grid, .steps-grid, .road-grid, .gallery-grid, .form-row { grid-template-columns: 1fr; }
  .split-media .float-card { position: static; margin-top: 16px; max-width: none; }
  .footer-top { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom { flex-direction: column; }
}
