/* ==========================================================================
   AKROS Movilidad — Hoja de estilos principal
   Stack: HTML5 + CSS vanilla + JS vanilla
   Paleta: azul marino #0A2540 · turquesa #1FB6C4 · blanco · mist #F5F7FA
   ========================================================================== */

:root {
  --navy: #0A2540;
  --navy-light: #13355F;
  --navy-dark: #061a33;
  --teal: #1FB6C4;
  --teal-dark: #159aa6;
  --teal-light: #3fcfd9;
  --teal-text: #0B7285;
  --mist: #F5F7FA;
  --white: #ffffff;
  --gray: #6B7280;
  --gray-light: #E5E7EB;
  --radius: 16px;
  --radius-sm: 12px;
  --radius-pill: 999px;
  --shadow-sm: 0 1px 3px rgba(10,37,64,.06), 0 1px 2px rgba(10,37,64,.04);
  --shadow-md: 0 4px 12px rgba(10,37,64,.08);
  --shadow-lg: 0 20px 50px rgba(10,37,64,.15);
  --shadow-teal: 0 10px 30px rgba(31,182,196,.25);
  --maxw: 1200px;
  --font-display: 'Sora', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--navy);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-display); }

/* Layout helpers */
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.section { padding: 96px 0; }
@media (min-width: 1024px) { .section { padding: 128px 0; } }
.section--sm { padding: 64px 0; }
.eyebrow {
  font-size: 12px; letter-spacing: .25em; text-transform: uppercase;
  color: var(--teal-text); font-weight: 600; margin-bottom: 16px;
}
.section-title {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(28px, 4vw, 40px); line-height: 1.15; color: var(--navy);
}
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
.maxw-3xl { max-width: 768px; }
.maxw-2xl { max-width: 640px; }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.lead { color: rgba(10,37,64,.7); font-size: 18px; line-height: 1.7; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 600; font-size: 15px; padding: 14px 28px;
  border-radius: var(--radius-pill); transition: all .2s ease;
  text-align: center; cursor: pointer; border: 1px solid transparent;
}
.btn-primary { background: var(--teal); color: var(--navy); box-shadow: var(--shadow-teal); }
.btn-primary:hover { background: var(--teal-dark); }
.btn-outline { border-color: var(--navy); color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-outline-light { border-color: rgba(255,255,255,.4); color: var(--white); backdrop-filter: blur(4px); }
.btn-outline-light:hover { border-color: var(--white); }
.btn-white { background: var(--white); color: var(--navy); box-shadow: 0 10px 30px rgba(0,0,0,.15); }
.btn-white:hover { background: var(--mist); }
.btn-outline-white { border-color: rgba(255,255,255,.5); color: var(--white); }
.btn-outline-white:hover { background: rgba(255,255,255,.1); }
.btn-block { display: flex; width: 100%; }
.btn-arrow svg { width: 18px; height: 18px; transition: transform .2s; }
.btn-arrow:hover svg { transform: translateX(3px); }
.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--teal-text); font-weight: 600; transition: gap .2s;
}
.link-arrow:hover { gap: 12px; }
.link-arrow-light { color: var(--teal-light); }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ===================== HEADER ===================== */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: var(--white);
  border-bottom: 1px solid rgba(10,37,64,.08);
}
.header__inner { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; height: 80px; display: flex; align-items: center; justify-content: space-between; }
.header__brand { display: flex; align-items: center; gap: 12px; }
.header__logo { height: 44px; width: auto; }
.header__by { font-size: 11px; letter-spacing: .15em; text-transform: uppercase; color: rgba(10,37,64,.5); font-weight: 500; }
@media (min-width: 640px) { .header__by { display: block; } }
.header__nav { display: none; align-items: center; gap: 32px; font-size: 14px; font-weight: 500; color: rgba(10,37,64,.8); }
.header__nav a { transition: color .2s; }
.header__nav a:hover, .header__nav a.active { color: var(--teal-text); }
@media (min-width: 1024px) { .header__nav { display: flex; } }
.header__actions { display: flex; align-items: center; gap: 12px; }
.header__cta { display: none; }
@media (min-width: 640px) { .header__cta { display: inline-flex; } }
.header__burger { display: inline-flex; padding: 8px; color: var(--navy); }
.header__burger svg { width: 26px; height: 26px; }
@media (min-width: 1024px) { .header__burger { display: none; } }

/* Language switcher */
.lang-switch { display: flex; align-items: center; gap: 4px; font-family: var(--font-display); font-size: 13px; font-weight: 600; }
.lang-switch__link { padding: 4px 8px; border-radius: var(--radius-pill); color: var(--navy); text-decoration: none; transition: all .2s; }
.lang-switch__link:hover { color: var(--teal-text); }
.lang-switch__link.is-active { background: var(--navy); color: var(--white); }
.lang-switch__sep { color: rgba(10,37,64,.6); font-weight: 400; }

/* Mobile menu */
.mobile-menu {
  position: fixed; top: 0; right: 0; bottom: 0; width: 280px; max-width: 85vw;
  background: var(--white); z-index: 60; transform: translateX(100%);
  transition: transform .3s ease; box-shadow: -10px 0 40px rgba(0,0,0,.1);
  padding: 80px 24px 24px; display: flex; flex-direction: column; gap: 8px;
}
.mobile-menu.open { transform: none; }
.mobile-menu a { padding: 14px 0; font-size: 16px; font-weight: 500; color: var(--navy); border-bottom: 1px solid var(--gray-light); }
.mobile-menu a:hover { color: var(--teal-text); }
.mobile-menu .btn { margin-top: 16px; }
.mobile-menu__close { position: absolute; top: 20px; right: 20px; font-size: 28px; color: var(--navy); }
.menu-overlay { position: fixed; inset: 0; background: rgba(10,37,64,.4); z-index: 55; opacity: 0; pointer-events: none; transition: opacity .3s; }
.menu-overlay.open { opacity: 1; pointer-events: auto; }

/* ===================== HERO (home) ===================== */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  padding-top: 80px; color: var(--white); overflow: hidden;
  background:
    linear-gradient(105deg, rgba(10,37,64,.92) 0%, rgba(10,37,64,.55) 45%, rgba(10,37,64,.15) 100%),
    radial-gradient(1200px 600px at 70% 30%, rgba(31,182,196,.25), transparent 60%),
    linear-gradient(135deg, #0A2540 0%, #13355F 50%, #1a4a7a 100%);
}
.hero__bg-img {
  position: absolute; right: 0; top: 0; height: 100%; width: 55%;
  object-fit: cover; opacity: .35; pointer-events: none;
  -webkit-mask-image: linear-gradient(to left, rgba(0,0,0,1) 30%, rgba(0,0,0,0) 100%);
  mask-image: linear-gradient(to left, rgba(0,0,0,1) 30%, rgba(0,0,0,0) 100%);
}
.hero__deco { position: absolute; right: 0; top: 0; height: 100%; width: 50%; opacity: .12; pointer-events: none; }
.hero__content { position: relative; max-width: var(--maxw); margin: 0 auto; padding: 80px 20px; width: 100%; }
.hero__text { max-width: 640px; }
.hero__eyebrow { font-size: 13px; letter-spacing: .25em; text-transform: uppercase; color: var(--teal-light); font-weight: 600; margin-bottom: 20px; }
.hero__title { font-family: var(--font-display); font-weight: 800; font-size: clamp(36px, 6vw, 60px); line-height: 1.08; margin-bottom: 24px; }
.hero__title span { color: var(--teal-light); }
.hero__subtitle { font-size: 18px; color: rgba(255,255,255,.8); margin-bottom: 36px; max-width: 560px; line-height: 1.6; }
.hero__buttons { display: flex; flex-direction: column; gap: 16px; }
@media (min-width: 640px) { .hero__buttons { flex-direction: row; } }
.hero__by { margin-top: 40px; font-size: 13px; letter-spacing: .15em; text-transform: uppercase; color: rgba(255,255,255,.5); }
.hero__scroll { position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,.6); display: flex; flex-direction: column; align-items: center; gap: 8px; }
.hero__scroll span:first-child { font-size: 10px; letter-spacing: .2em; text-transform: uppercase; }
.hero__scroll-line { width: 1px; height: 40px; background: linear-gradient(to bottom, rgba(255,255,255,.6), transparent); }

/* ===================== PAGE HERO (interior) ===================== */
.page-hero {
  position: relative; padding: 140px 0 80px; color: var(--white); overflow: hidden;
  background:
    linear-gradient(105deg, rgba(10,37,64,.92) 0%, rgba(10,37,64,.6) 60%, rgba(10,37,64,.3) 100%),
    linear-gradient(135deg, #0A2540 0%, #13355F 100%);
}
.page-hero__deco { position: absolute; right: 0; top: 0; height: 100%; width: 45%; opacity: .15; pointer-events: none; }
.page-hero__inner { position: relative; max-width: 800px; }
.page-hero__eyebrow { font-size: 13px; letter-spacing: .25em; text-transform: uppercase; color: var(--teal-light); font-weight: 600; margin-bottom: 16px; }
.page-hero__title { font-family: var(--font-display); font-weight: 800; font-size: clamp(32px, 5vw, 48px); line-height: 1.1; margin-bottom: 20px; }
.page-hero__subtitle { font-size: 18px; color: rgba(255,255,255,.8); max-width: 600px; line-height: 1.6; }
.breadcrumb { display: flex; gap: 8px; align-items: center; font-size: 13px; color: rgba(255,255,255,.5); margin-bottom: 20px; }
.breadcrumb a:hover { color: var(--teal-light); }
.breadcrumb span { color: rgba(255,255,255,.7); }

/* ===================== PILARES ===================== */
.pillars__head { max-width: 768px; margin: 0 auto 64px; text-align: center; }
.pillars__grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 640px) { .pillars__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .pillars__grid { grid-template-columns: repeat(4, 1fr); } }
.pillar-card { padding: 32px; border-radius: var(--radius); background: var(--mist); border: 1px solid transparent; transition: all .25s ease; }
.pillar-card:hover { background: var(--white); border-color: rgba(10,37,64,.1); box-shadow: var(--shadow-lg); }
.pillar-card__icon { width: 48px; height: 48px; border-radius: var(--radius-sm); background: rgba(31,182,196,.1); color: var(--teal); display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.pillar-card__icon svg { width: 24px; height: 24px; }
.pillar-card h3 { font-family: var(--font-display); font-weight: 600; font-size: 20px; color: var(--navy); margin-bottom: 8px; }
.pillar-card p { color: rgba(10,37,64,.6); font-size: 14px; line-height: 1.6; }

/* ===================== SOLUCIONES ===================== */
.solutions { background: var(--mist); }
.solutions__grid { display: grid; grid-template-columns: 1fr; gap: 56px; align-items: center; }
@media (min-width: 1024px) { .solutions__grid { grid-template-columns: 1fr 1fr; gap: 80px; } }
.solutions__text p.lead { color: rgba(10,37,64,.7); font-size: 18px; line-height: 1.7; margin-bottom: 32px; }
.solutions__media { position: relative; }
.solutions__media-frame { aspect-ratio: 4/5; border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-lg); position: relative; background: linear-gradient(135deg, #d6e4ea 0%, #a9c2d1 100%); }
.solutions__media-frame svg { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .4; }
.solutions__media-caption { position: absolute; bottom: 24px; left: 24px; right: 24px; background: rgba(255,255,255,.9); backdrop-filter: blur(8px); border-radius: var(--radius-sm); padding: 16px; }
.solutions__media-caption .label { font-size: 12px; color: rgba(10,37,64,.7); text-transform: uppercase; letter-spacing: .1em; margin-bottom: 4px; }
.solutions__media-caption .title { font-family: var(--font-display); font-weight: 600; color: var(--navy); }
.solutions__media-glow { position: absolute; top: -24px; right: -24px; width: 96px; height: 96px; background: rgba(31,182,196,.2); border-radius: 50%; filter: blur(40px); }
.solutions__mini { display: grid; grid-template-columns: 1fr; gap: 24px; margin-top: 64px; }
@media (min-width: 640px) { .solutions__mini { grid-template-columns: repeat(3, 1fr); } }
.mini-card { background: var(--white); border-radius: var(--radius); padding: 28px; border: 1px solid rgba(10,37,64,.05); box-shadow: var(--shadow-sm); transition: box-shadow .25s; }
.mini-card:hover { box-shadow: var(--shadow-lg); }
.mini-card__icon { color: var(--teal); margin-bottom: 12px; }
.mini-card__icon svg { width: 28px; height: 28px; }
.mini-card h3 { font-family: var(--font-display); font-weight: 600; font-size: 18px; color: var(--navy); margin-bottom: 4px; }
.mini-card p { font-size: 14px; color: rgba(10,37,64,.6); }

/* ===================== POR QUÉ AKROS ===================== */
.why { background: var(--navy); color: var(--white); position: relative; overflow: hidden; }
.why__glow1 { position: absolute; top: -128px; right: -128px; width: 384px; height: 384px; background: rgba(31,182,196,.1); border-radius: 50%; filter: blur(80px); }
.why__glow2 { position: absolute; bottom: -128px; left: -128px; width: 384px; height: 384px; background: rgba(31,182,196,.05); border-radius: 50%; filter: blur(80px); }
.why__inner { position: relative; }
.why__head { max-width: 768px; margin-bottom: 64px; }
.why__grid { display: grid; grid-template-columns: 1fr; gap: 40px; }
@media (min-width: 640px) { .why__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .why__grid { grid-template-columns: repeat(3, 1fr); } }
.why-item { display: flex; gap: 16px; }
.why-item__icon { flex-shrink: 0; width: 44px; height: 44px; border-radius: var(--radius-sm); background: rgba(31,182,196,.15); color: var(--teal); display: flex; align-items: center; justify-content: center; }
.why-item__icon svg { width: 22px; height: 22px; }
.why-item h3 { font-family: var(--font-display); font-weight: 600; font-size: 18px; margin-bottom: 4px; }
.why-item p { color: rgba(255,255,255,.6); font-size: 14px; line-height: 1.6; }
.why__cta { margin-top: 56px; }

/* ===================== PROYECTOS ===================== */
.projects__head { max-width: 768px; margin-bottom: 56px; }
.projects__head p { color: rgba(10,37,64,.6); margin-top: 16px; font-size: 18px; }
.projects__grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 640px) { .projects__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .projects__grid { grid-template-columns: repeat(3, 1fr); } }
.project-card { position: relative; aspect-ratio: 4/5; border-radius: var(--radius); overflow: hidden; cursor: pointer; }
.project-card--tall { aspect-ratio: 4/10; }
@media (min-width: 640px) { .project-card--tall { grid-row: span 2; } }
.project-card__bg { position: absolute; inset: 0; }
.project-card__bg svg { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .3; }
.project-card__overlay { position: absolute; inset: 0; background: rgba(10,37,64,0); transition: background .3s; display: flex; align-items: flex-end; padding: 24px; }
.project-card:hover .project-card__overlay { background: rgba(10,37,64,.4); }
.project-card__caption { opacity: 0; transition: opacity .3s; color: var(--white); }
.project-card:hover .project-card__caption { opacity: 1; }
.project-card__caption .label { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--teal-light); }
.project-card__caption .title { font-family: var(--font-display); font-weight: 600; }
.projects__more { margin-top: 48px; text-align: center; }

/* ===================== PRODUCTOS HOME ===================== */
.products-home__grid { display: grid; grid-template-columns: 1fr; gap: 32px; }
@media (min-width: 768px) { .products-home__grid { grid-template-columns: repeat(2, 1fr); gap: 40px; } }
.product-home-card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); transition: box-shadow .25s ease, transform .25s ease; border: 1px solid rgba(10,37,64,.06); }
.product-home-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.product-home-card__image { aspect-ratio: 4/3; background: var(--mist); overflow: hidden; }
.product-home-card__image img { width: 100%; height: 100%; object-fit: contain; padding: 24px; transition: transform .3s ease; }
.product-home-card:hover .product-home-card__image img { transform: scale(1.03); }
.product-home-card__body { padding: 28px; }
.product-home-card__tag { display: inline-block; background: rgba(31,182,196,.1); color: var(--teal-text); font-size: 12px; font-weight: 600; padding: 5px 14px; border-radius: var(--radius-pill); margin-bottom: 14px; }
.product-home-card__name { font-family: var(--font-display); font-weight: 800; font-size: 28px; color: var(--navy); margin-bottom: 12px; line-height: 1.1; }
.product-home-card__body p { color: rgba(10,37,64,.7); font-size: 15px; line-height: 1.7; margin-bottom: 18px; }
.product-home-card__specs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--navy); margin-bottom: 20px; }
.product-home-card__specs span:nth-child(even) { color: rgba(10,37,64,.3); font-weight: 400; }
.product-home-card__body .link-arrow { font-size: 14px; font-weight: 600; }

/* Gallery backgrounds */
.bg-1 { background: linear-gradient(135deg, #e8eef3 0%, #c9d6e3 100%); }
.bg-2 { background: linear-gradient(135deg, #d6e4ea 0%, #a9c2d1 100%); }
.bg-3 { background: linear-gradient(135deg, #eef2f6 0%, #d8e2ec 100%); }
.bg-4 { background: linear-gradient(135deg, #dde7ee 0%, #b8ccd9 100%); }
.bg-5 { background: linear-gradient(135deg, #e3ecf2 0%, #c2d2de 100%); }
.bg-6 { background: linear-gradient(135deg, #eaf0f5 0%, #cfdae4 100%); }

/* ===================== FAQ TEASER ===================== */
.faq-item { scroll-margin-top: 100px; }
.faq-teaser { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 22px; background: var(--white); border: 1px solid rgba(10,37,64,.08); border-left: 3px solid var(--teal); border-radius: 10px; margin-bottom: 10px; text-decoration: none; color: var(--navy); transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.faq-teaser:hover { border-color: var(--teal); border-left-color: var(--teal); box-shadow: 0 4px 14px rgba(10,37,64,.08); transform: translateY(-1px); }
.faq-teaser__q { display: flex; align-items: center; gap: 14px; font-family: var(--font-display); font-weight: 500; font-size: 15px; line-height: 1.45; }
.faq-teaser__icon { display: none; }
.faq-teaser__arrow { flex-shrink: 0; width: 16px; height: 16px; color: var(--teal); opacity: .6; transition: transform .2s ease, opacity .2s ease; }
.faq-teaser:hover .faq-teaser__arrow { transform: translateX(3px); opacity: 1; }

/* ===================== GEO ===================== */
.geo { background: var(--mist); border-top: 1px solid rgba(10,37,64,.05); border-bottom: 1px solid rgba(10,37,64,.05); padding: 64px 0; }
.geo__inner { max-width: 900px; margin: 0 auto; padding: 0 20px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 24px; text-align: center; }
@media (min-width: 640px) { .geo__inner { flex-direction: row; text-align: left; } }
.geo__icon { flex-shrink: 0; }
.geo__icon svg { width: 56px; height: 56px; }
.geo__text { font-size: 18px; line-height: 1.6; color: var(--navy); }
.geo__text strong { font-weight: 600; }
.geo__text a { color: var(--teal-text); font-weight: 600; }
.geo__text a:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ===================== BLOG ===================== */
.blog-hero { background: var(--navy); color: #fff; padding: 80px 0 56px; padding-top: 160px; }
.blog-hero__inner { max-width: 800px; margin: 0 auto; padding: 0 20px; text-align: center; }
.blog-hero h1 { font-size: clamp(28px, 5vw, 42px); font-weight: 800; line-height: 1.15; margin-bottom: 16px; }
.blog-hero p { font-size: 18px; line-height: 1.6; color: rgba(255,255,255,.8); }

.blog-list { padding: 64px 0; }
.blog-grid { display: grid; grid-template-columns: 1fr; gap: 32px; max-width: 1100px; margin: 0 auto; padding: 0 20px; }
@media (min-width: 640px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .blog-grid { grid-template-columns: repeat(3, 1fr); } }

.blog-card { display: flex; flex-direction: column; background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 1px 3px rgba(10,37,64,.08); transition: box-shadow .25s ease, transform .25s ease; text-decoration: none; color: inherit; }
.blog-card:hover { box-shadow: 0 8px 24px rgba(10,37,64,.12); transform: translateY(-2px); }
.blog-card__media { aspect-ratio: 16/10; overflow: hidden; background: var(--mist); }
.blog-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.blog-card:hover .blog-card__media img { transform: scale(1.03); }
.blog-card__body { padding: 20px; display: flex; flex-direction: column; flex-grow: 1; }
.blog-card__category { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--teal-text); margin-bottom: 8px; }
.blog-card__title { font-family: 'Sora', sans-serif; font-size: 18px; font-weight: 700; line-height: 1.3; color: var(--navy); margin-bottom: 8px; }
.blog-card__excerpt { font-size: 14px; line-height: 1.55; color: var(--slate); margin-bottom: 16px; flex-grow: 1; }
.blog-card__meta { font-size: 13px; color: var(--slate); opacity: .7; display: flex; align-items: center; gap: 8px; }
.blog-card__meta svg { width: 14px; height: 14px; }

/* ===================== ARTICLE ===================== */
.article-hero { background: var(--navy); color: #fff; padding: 80px 0 48px; padding-top: 160px; }
.article-hero__inner { max-width: 760px; margin: 0 auto; padding: 0 20px; }
.article-hero__back { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: rgba(255,255,255,.7); text-decoration: none; margin-bottom: 24px; transition: color .2s ease; }
.article-hero__back:hover { color: #fff; }
.article-hero__back svg { width: 16px; height: 16px; }
.article-hero__category { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--teal); margin-bottom: 12px; }
.article-hero h1 { font-size: clamp(26px, 4.5vw, 38px); font-weight: 800; line-height: 1.2; margin-bottom: 16px; }
.article-hero__meta { font-size: 14px; color: rgba(255,255,255,.6); display: flex; align-items: center; gap: 8px; }

.article-body { padding: 56px 0; }
.article-body__inner { max-width: 760px; margin: 0 auto; padding: 0 20px; }
.article-body__cover { width: 100%; border-radius: 12px; overflow: hidden; margin-bottom: 40px; aspect-ratio: 16/9; }
.article-body__cover img { width: 100%; height: 100%; object-fit: cover; }
.article-body .prose { font-family: 'Inter', sans-serif; font-size: 17px; line-height: 1.75; color: var(--slate); }
.article-body .prose > * + * { margin-top: 1.25em; }
.article-body .prose h2 { font-family: 'Sora', sans-serif; font-size: 24px; font-weight: 700; color: var(--navy); margin-top: 2em; margin-bottom: .5em; line-height: 1.3; }
.article-body .prose h3 { font-family: 'Sora', sans-serif; font-size: 20px; font-weight: 600; color: var(--navy); margin-top: 1.5em; margin-bottom: .5em; }
.article-body .prose p { margin-bottom: 1.25em; }
.article-body .prose ul, .article-body .prose ol { padding-left: 1.5em; }
.article-body .prose li { margin-bottom: .5em; }
.article-body .prose strong { color: var(--navy); font-weight: 600; }
.article-body .prose blockquote { border-left: 3px solid var(--teal); padding-left: 20px; margin: 1.5em 0; font-style: italic; color: var(--navy); }
.article-body .prose a { color: var(--teal-text); font-weight: 500; text-decoration: none; }
.article-body .prose a:hover { text-decoration: underline; text-underline-offset: 3px; }

.article-cta { background: var(--mist); border-radius: 12px; padding: 40px; text-align: center; margin-top: 48px; }
.article-cta h3 { font-family: 'Sora', sans-serif; font-size: 22px; font-weight: 700; color: var(--navy); margin-bottom: 12px; }
.article-cta p { font-size: 16px; color: var(--slate); margin-bottom: 24px; }

.article-nav { display: flex; justify-content: space-between; gap: 20px; margin-top: 48px; padding-top: 32px; border-top: 1px solid rgba(10,37,64,.08); }
.article-nav a { font-size: 14px; color: var(--slate); text-decoration: none; display: flex; flex-direction: column; gap: 4px; }
.article-nav a:hover { color: var(--teal-text); }
.article-nav a span { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; opacity: .6; }
.article-nav__next { text-align: right; margin-left: auto; }

/* ===================== CTA FINAL ===================== */
.cta-final { padding: 96px 0; position: relative; overflow: hidden; background: linear-gradient(135deg, var(--teal) 0%, var(--navy) 100%); color: var(--white); }
@media (min-width: 1024px) { .cta-final { padding: 128px 0; } }
.cta-final__deco { position: absolute; inset: 0; opacity: .1; pointer-events: none; }
.cta-final__deco svg { width: 100%; height: 100%; }
.cta-final__inner { position: relative; max-width: 768px; margin: 0 auto; padding: 0 20px; text-align: center; }
.cta-final h2 { font-family: var(--font-display); font-weight: 700; font-size: clamp(28px, 4vw, 40px); line-height: 1.15; margin-bottom: 20px; }
.cta-final p { color: rgba(255,255,255,.85); font-size: 18px; margin-bottom: 36px; max-width: 560px; margin-left: auto; margin-right: auto; }
.cta-final__buttons { display: flex; flex-direction: column; gap: 16px; justify-content: center; }
@media (min-width: 640px) { .cta-final__buttons { flex-direction: row; } }

/* ===================== FOOTER ===================== */
.footer { background: var(--navy-dark); color: rgba(255,255,255,.7); padding-top: 80px; padding-bottom: 32px; }
.footer__grid { display: grid; grid-template-columns: 1fr; gap: 40px; margin-bottom: 56px; }
@media (min-width: 640px) { .footer__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer__grid { grid-template-columns: repeat(4, 1fr); } }
.footer__logo { height: 48px; width: auto; margin-bottom: 16px; }
.footer__by { font-size: 11px; letter-spacing: .15em; text-transform: uppercase; color: rgba(255,255,255,.6); margin-bottom: 12px; }
.footer__tagline { font-size: 14px; line-height: 1.6; }
.footer h2 { color: var(--white); font-family: var(--font-display); font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 16px; }
.footer ul li { margin-bottom: 8px; font-size: 14px; }
.footer ul li a { transition: color .2s; }
.footer ul li a:hover { color: var(--teal); }
.footer__wa { color: var(--teal-light); font-weight: 600; display: inline-flex; align-items: center; gap: 8px; transition: gap .2s; }
.footer__wa:hover { gap: 12px; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 24px; display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 12px; font-size: 12px; color: rgba(255,255,255,.6); }
@media (min-width: 640px) { .footer__bottom { flex-direction: row; } }

/* ===================== WHATSAPP FLOAT ===================== */
.wa-float { position: fixed; bottom: 24px; right: 24px; z-index: 40; width: 56px; height: 56px; border-radius: 50%; background: #25D366; color: var(--white); display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 30px rgba(0,0,0,.2); transition: transform .2s; }
.wa-float:hover { transform: scale(1.05); }
.wa-float svg { width: 28px; height: 28px; }

/* ===================== CONTENT (páginas interiores) ===================== */
.content-section { padding: 80px 0; }
.content-section--alt { background: var(--mist); }
.prose { max-width: 768px; }
.prose h2 { font-family: var(--font-display); font-weight: 700; font-size: 28px; color: var(--navy); margin: 40px 0 16px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-family: var(--font-display); font-weight: 600; font-size: 20px; color: var(--navy); margin: 28px 0 12px; }
.prose p { color: rgba(10,37,64,.75); margin-bottom: 16px; line-height: 1.8; }
.prose ul { margin-bottom: 16px; padding-left: 0; }
.prose ul li { position: relative; padding-left: 28px; margin-bottom: 10px; color: rgba(10,37,64,.75); line-height: 1.7; }
.prose ul li::before { content: ''; position: absolute; left: 0; top: 10px; width: 16px; height: 2px; background: var(--teal); border-radius: 2px; }
.prose strong { color: var(--navy); font-weight: 600; }

/* Split layout (texto + imagen) */
.split { display: grid; grid-template-columns: 1fr; gap: 48px; align-items: center; }
@media (min-width: 1024px) { .split { grid-template-columns: 1fr 1fr; gap: 80px; } }
.split--reverse .split__text { order: 2; }
@media (min-width: 1024px) { .split--reverse .split__text { order: 0; } }
.split__media { aspect-ratio: 4/3; border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-lg); position: relative; }
.split__media svg { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .35; }

/* Cards grid genéricas */
.cards-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 640px) { .cards-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .cards-grid { grid-template-columns: repeat(3, 1fr); } }
.feature-card { background: var(--white); border-radius: var(--radius); padding: 32px; border: 1px solid rgba(10,37,64,.06); box-shadow: var(--shadow-sm); transition: all .25s; }
.feature-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.feature-card__icon { width: 52px; height: 52px; border-radius: var(--radius-sm); background: rgba(31,182,196,.1); color: var(--teal); display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.feature-card__icon svg { width: 26px; height: 26px; }
.feature-card h3 { font-family: var(--font-display); font-weight: 600; font-size: 20px; color: var(--navy); margin-bottom: 10px; }
.feature-card p { color: rgba(10,37,64,.65); font-size: 15px; line-height: 1.7; }

/* ===================== FORMULARIO ===================== */
.form-section { background: var(--mist); }
.form-wrap { display: grid; grid-template-columns: 1fr; gap: 48px; }
@media (min-width: 1024px) { .form-wrap { grid-template-columns: 1fr 1.4fr; gap: 64px; align-items: start; } }
.contact-info { background: var(--navy); color: var(--white); border-radius: var(--radius); padding: 40px; }
.contact-info h3 { font-family: var(--font-display); font-weight: 600; font-size: 22px; margin-bottom: 24px; }
.contact-info__item { display: flex; gap: 14px; margin-bottom: 20px; align-items: flex-start; }
.contact-info__item svg { width: 22px; height: 22px; color: var(--teal); flex-shrink: 0; margin-top: 2px; }
.contact-info__item .label { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: rgba(255,255,255,.5); margin-bottom: 2px; }
.contact-info__item .value { font-size: 15px; color: var(--white); }
.contact-info__item a.value:hover { color: var(--teal-light); }
.contact-info__wa { margin-top: 24px; }

.form-card { background: var(--white); border-radius: var(--radius); padding: 40px; box-shadow: var(--shadow-md); }
.form-card h3 { font-family: var(--font-display); font-weight: 600; font-size: 22px; color: var(--navy); margin-bottom: 8px; }
.form-card .form-intro { color: rgba(10,37,64,.6); font-size: 15px; margin-bottom: 28px; }
.form-row { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 640px) { .form-row--2 { grid-template-columns: 1fr 1fr; } }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 14px; font-weight: 500; color: var(--navy); margin-bottom: 6px; }
.form-group label .req { color: var(--teal-text); }
.form-control {
  width: 100%; padding: 12px 16px; font: inherit; font-size: 15px;
  color: var(--navy); background: var(--white);
  border: 1px solid var(--gray-light); border-radius: var(--radius-sm);
  transition: border-color .2s, box-shadow .2s;
}
.form-control:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(31,182,196,.15); }
textarea.form-control { min-height: 120px; resize: vertical; }
select.form-control { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%230A2540' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
.form-help { font-size: 13px; color: rgba(10,37,64,.5); margin-top: 4px; }
.form-check { display: flex; gap: 10px; align-items: flex-start; }
.form-check input { margin-top: 4px; flex-shrink: 0; width: 18px; height: 18px; accent-color: var(--teal); }
.form-check label { font-size: 14px; color: rgba(10,37,64,.7); line-height: 1.5; margin-bottom: 0; }
.form-check label a { color: var(--teal-text); text-decoration: underline; text-underline-offset: 2px; }
/* Honeypot antispam */
.hp { position: absolute; left: -9999px; top: -9999px; }
.form-success { background: rgba(31,182,196,.1); border: 1px solid var(--teal); border-radius: var(--radius-sm); padding: 20px; color: var(--navy); margin-bottom: 24px; display: none; }
.form-success.show { display: block; }
.form-success strong { color: var(--teal-text); }

/* ===================== MODAL (formulario) ===================== */
.modal-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(10,37,64,.55); backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  padding: 20px; opacity: 0; pointer-events: none;
  transition: opacity .25s ease;
}
.modal-overlay.open { opacity: 1; pointer-events: auto; }
.modal {
  background: var(--white); border-radius: 16px; max-width: 460px; width: 100%;
  box-shadow: 0 24px 60px rgba(10,37,64,.3); overflow: hidden;
  transform: translateY(16px) scale(.97); transition: transform .25s ease;
}
.modal-overlay.open .modal { transform: translateY(0) scale(1); }
.modal__icon {
  width: 64px; height: 64px; margin: 36px auto 0; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.modal__icon--success { background: rgba(31,182,196,.12); color: var(--teal); }
.modal__icon--error { background: rgba(229,62,62,.1); color: #e53e3e; }
.modal__icon svg { width: 32px; height: 32px; }
.modal__body { padding: 24px 36px 36px; text-align: center; }
.modal__title { font-family: var(--font-display); font-size: 20px; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.modal__text { font-size: 15px; color: rgba(10,37,64,.65); line-height: 1.6; margin-bottom: 24px; }
.modal__btn {
  display: inline-block; padding: 12px 32px; border: none; border-radius: var(--radius-sm);
  font-family: var(--font-body); font-size: 15px; font-weight: 600; cursor: pointer;
  transition: background .2s, transform .1s;
}
.modal__btn--primary { background: var(--teal); color: var(--navy); }
.modal__btn--primary:hover { background: var(--teal-dark); }
.modal__btn:active { transform: scale(.97); }
.file-upload { border: 2px dashed var(--gray-light); border-radius: var(--radius-sm); padding: 24px; text-align: center; cursor: pointer; transition: border-color .2s; }
.file-upload:hover { border-color: var(--teal); }
.file-upload p { font-size: 14px; color: rgba(10,37,64,.6); }
.file-upload input { display: none; }
.file-list { margin-top: 12px; font-size: 13px; color: rgba(10,37,64,.6); }

/* ===================== LEGAL ===================== */
.legal { padding: 60px 0 80px; }
.legal h1 { font-family: var(--font-display); font-weight: 700; font-size: 32px; color: var(--navy); margin-bottom: 8px; }
.legal .updated { font-size: 13px; color: rgba(10,37,64,.5); margin-bottom: 32px; }
.legal h2 { font-family: var(--font-display); font-weight: 600; font-size: 22px; color: var(--navy); margin: 36px 0 14px; }
.legal h3 { font-family: var(--font-display); font-weight: 600; font-size: 18px; color: var(--navy); margin: 24px 0 10px; }
.legal p { color: rgba(10,37,64,.75); margin-bottom: 14px; line-height: 1.8; }
.legal ul { margin-bottom: 16px; }
.legal ul li { position: relative; padding-left: 24px; margin-bottom: 8px; color: rgba(10,37,64,.75); line-height: 1.7; }
.legal ul li::before { content: '•'; position: absolute; left: 6px; color: var(--teal); font-weight: 700; }
.legal a { color: var(--teal-text); text-decoration: underline; text-underline-offset: 2px; }

/* ===================== COOKIE BANNER ===================== */
.cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 70;
  background: var(--navy-dark); color: var(--white);
  padding: 20px; transform: translateY(100%); transition: transform .4s ease;
  box-shadow: 0 -10px 40px rgba(0,0,0,.2);
}
.cookie-banner.show { transform: none; }
.cookie-banner__inner { max-width: var(--maxw); margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 16px; }
@media (min-width: 768px) { .cookie-banner__inner { flex-direction: row; align-items: center; justify-content: space-between; } }
.cookie-banner__text { font-size: 14px; line-height: 1.6; color: rgba(255,255,255,.8); }
.cookie-banner__text a { color: var(--teal-light); text-decoration: underline; text-underline-offset: 2px; }
.cookie-banner__buttons { display: flex; gap: 12px; flex-shrink: 0; }
.cookie-banner .btn { padding: 10px 22px; font-size: 14px; }
.btn-cookie-accept { background: var(--teal); color: var(--navy); }
.btn-cookie-accept:hover { background: var(--teal-dark); }
.btn-cookie-reject { border-color: rgba(255,255,255,.3); color: var(--white); }
.btn-cookie-reject:hover { background: rgba(255,255,255,.1); }

/* Lista sobre fondo navy */
.why ul li::before { content: ''; position: absolute; left: 0; top: 10px; width: 16px; height: 2px; background: var(--teal); border-radius: 2px; }

/* ===================== UTILIDADES ===================== */
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.text-white { color: var(--white); }
.bg-mist { background: var(--mist); }
.bg-navy { background: var(--navy); color: var(--white); }
.mt-40 { margin-top: 40px; }
.mb-40 { margin-bottom: 40px; }
.mb-24 { margin-bottom: 24px; }
.gap-24 { gap: 24px; }
