/* ============================================================
   SAN MIGUEL S.A. — main.css  (Premium Edition)
   Paleta: Navy #1B2E6B | Teal #00C4A7
   ============================================================ */

/* ── Variables ─────────────────────────────────────────── */
:root {
  --navy:        #1B2E6B;
  --navy-dark:   #0d1f4e;
  --navy-light:  #243d8a;
  --teal:        #00C4A7;
  --teal-dark:   #00a08a;
  --teal-light:  #1fd4ba;
  --teal-glow:   rgba(0,196,167,.18);
  --gold:        #F59E0B;
  --gray:        #8A8A8A;
  --gray-light:  #F4F7FB;
  --gray-mid:    #D8E0ED;
  --dark:        #0F172A;
  --white:       #FFFFFF;
  --text:        #1E293B;
  --text-mid:    #475569;
  --text-light:  #94A3B8;

  --sh-xs: 0 1px 4px rgba(15,23,42,.06);
  --sh-sm: 0 4px 16px rgba(15,23,42,.08);
  --sh-md: 0 8px 32px rgba(15,23,42,.12);
  --sh-lg: 0 20px 60px rgba(15,23,42,.16);
  --sh-xl: 0 32px 80px rgba(15,23,42,.22);
  --sh-teal: 0 8px 30px rgba(0,196,167,.30);
  --sh-navy: 0 8px 30px rgba(27,46,107,.30);

  --r-sm:  8px;
  --r-md:  14px;
  --r-lg:  20px;
  --r-xl:  28px;
  --r-2xl: 40px;

  --ease: cubic-bezier(.4,0,.2,1);
  --ease-spring: cubic-bezier(.34,1.56,.64,1);
  --t-fast:  .18s;
  --t-base:  .28s;
  --t-slow:  .5s;

  --font:   'Inter', sans-serif;
  --fw-reg: 400;
  --fw-med: 500;
  --fw-sem: 600;
  --fw-bld: 700;
  --fw-xbl: 800;

  --header-h: 72px;
}

/* ── Reset ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; text-size-adjust: 100%; }
body { font-family: var(--font); color: var(--text); background: var(--white);
       line-height: 1.65; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-decoration: none; transition: color var(--t-base) var(--ease); }
a:hover { color: var(--teal-dark); }
button { font-family: var(--font); cursor: pointer; border: none; background: none; }

/* ── Spacing ────────────────────────────────────────────── */
.section-pad    { padding: 112px 0; }
.section-pad-sm { padding: 72px 0; }
.section-pad-xs { padding: 48px 0; }

/* ── Typography ─────────────────────────────────────────── */
.display-title {
  font-size: clamp(2.2rem, 5.5vw, 3.8rem);
  font-weight: var(--fw-xbl);
  line-height: 1.1;
  letter-spacing: -.03em;
}
.section-title {
  font-size: clamp(1.7rem, 3.2vw, 2.5rem);
  font-weight: var(--fw-xbl);
  color: var(--navy);
  letter-spacing: -.02em;
  line-height: 1.2;
  margin-bottom: .6rem;
}
.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-mid);
  line-height: 1.7;
  max-width: 580px;
}
.label-tag {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-size: .72rem;
  font-weight: var(--fw-bld);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--teal);
  background: var(--teal-glow);
  border: 1px solid rgba(0,196,167,.25);
  padding: .35rem 1rem;
  border-radius: 50px;
  margin-bottom: 1.1rem;
}
.label-tag::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--teal);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ── Buttons ────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex; align-items: center; gap: .55rem;
  background: var(--teal);
  color: var(--white);
  padding: .8rem 2rem;
  border-radius: var(--r-md);
  font-weight: var(--fw-bld);
  font-size: .95rem;
  letter-spacing: .01em;
  transition: all var(--t-base) var(--ease);
  box-shadow: var(--sh-teal);
  position: relative;
  overflow: hidden;
}
.btn-primary::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,.15), transparent);
  opacity: 0;
  transition: opacity var(--t-fast);
}
.btn-primary:hover { background: var(--teal-dark); color: var(--white);
  transform: translateY(-2px); box-shadow: 0 12px 36px rgba(0,196,167,.4); }
.btn-primary:hover::after { opacity: 1; }
.btn-primary:active { transform: translateY(0); }

.btn-secondary {
  display: inline-flex; align-items: center; gap: .55rem;
  background: var(--navy);
  color: var(--white);
  padding: .8rem 2rem;
  border-radius: var(--r-md);
  font-weight: var(--fw-bld);
  font-size: .95rem;
  transition: all var(--t-base) var(--ease);
  box-shadow: var(--sh-navy);
}
.btn-secondary:hover { background: var(--navy-dark); color: var(--white);
  transform: translateY(-2px); box-shadow: 0 12px 36px rgba(27,46,107,.4); }

.btn-ghost {
  display: inline-flex; align-items: center; gap: .55rem;
  background: rgba(255,255,255,.12);
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,.35);
  padding: .8rem 2rem;
  border-radius: var(--r-md);
  font-weight: var(--fw-sem);
  font-size: .95rem;
  transition: all var(--t-base) var(--ease);
  backdrop-filter: blur(6px);
}
.btn-ghost:hover { background: rgba(255,255,255,.2); border-color: rgba(255,255,255,.7);
  color: var(--white); transform: translateY(-2px); }

.btn-outline {
  display: inline-flex; align-items: center; gap: .55rem;
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
  padding: .75rem 1.8rem;
  border-radius: var(--r-md);
  font-weight: var(--fw-bld);
  font-size: .9rem;
  transition: all var(--t-base) var(--ease);
}
.btn-outline:hover { background: var(--navy); color: var(--white); transform: translateY(-2px); }

.btn-teal   { @extend .btn-primary; }
.btn-navy   { @extend .btn-secondary; }
.btn-outline-white { @extend .btn-ghost; }

/* alias para compatibilidad con clases existentes */
.btn-teal          { display:inline-flex;align-items:center;gap:.55rem;background:var(--teal);color:var(--white);padding:.8rem 2rem;border-radius:var(--r-md);font-weight:var(--fw-bld);font-size:.95rem;letter-spacing:.01em;transition:all var(--t-base) var(--ease);box-shadow:var(--sh-teal);border:none; }
.btn-teal:hover    { background:var(--teal-dark);color:var(--white);transform:translateY(-2px);box-shadow:0 12px 36px rgba(0,196,167,.4); }
.btn-navy          { display:inline-flex;align-items:center;gap:.55rem;background:var(--navy);color:var(--white);padding:.8rem 2rem;border-radius:var(--r-md);font-weight:var(--fw-bld);font-size:.95rem;transition:all var(--t-base) var(--ease);box-shadow:var(--sh-navy);border:none; }
.btn-navy:hover    { background:var(--navy-dark);color:var(--white);transform:translateY(-2px); }
.btn-outline-white { display:inline-flex;align-items:center;gap:.55rem;background:rgba(255,255,255,.12);color:var(--white);border:1.5px solid rgba(255,255,255,.35);padding:.8rem 2rem;border-radius:var(--r-md);font-weight:var(--fw-sem);font-size:.95rem;transition:all var(--t-base) var(--ease);backdrop-filter:blur(6px); }
.btn-outline-white:hover { background:rgba(255,255,255,.2);color:var(--white);transform:translateY(-2px); }
.btn-sm { padding:.5rem 1.25rem !important; font-size:.85rem !important; }
.btn-lg { padding:1rem 2.5rem !important; font-size:1.05rem !important; border-radius:var(--r-lg) !important; }
.btn-nav-cta { display:inline-flex;align-items:center;gap:.4rem;background:var(--teal);color:var(--white)!important;border:none;padding:.5rem 1.4rem!important;border-radius:var(--r-md);font-weight:var(--fw-bld);font-size:.88rem;transition:all var(--t-base) var(--ease); }
.btn-nav-cta:hover { background:var(--teal-dark);color:var(--white)!important;transform:translateY(-1px); }

/* ── Navbar ─────────────────────────────────────────────── */
#navbar {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1rem 0;
  transition: all var(--t-slow) var(--ease);
  background: transparent;
}
#navbar.scrolled {
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(20px) saturate(180%);
  box-shadow: 0 1px 0 var(--gray-mid), var(--sh-sm);
  padding: .6rem 0;
}
#navbar.scrolled .nav-link { color: var(--navy) !important; }
#navbar.scrolled .btn-nav-cta { background: var(--teal); }
#navbar.scrolled .navbar-text-logo-main { color: var(--navy) !important; }
#navbar.scrolled .navbar-text-logo-sub  { color: var(--text-light) !important; }

.navbar-brand { display: flex; align-items: center; gap: .85rem; text-decoration: none; }
.navbar-brand .logo-img {
  height: 48px; width: auto;
  background: white;
  padding: 5px 10px;
  border-radius: var(--r-sm);
  box-shadow: 0 2px 8px rgba(0,0,0,.15);
  transition: all var(--t-base) var(--ease);
}
.navbar-brand .logo-img:hover { transform: scale(1.02); }
.navbar-text-logo-main { font-size: .95rem; font-weight: var(--fw-xbl); color: white; line-height: 1.1; letter-spacing: .01em; transition: color var(--t-base); }
.navbar-text-logo-sub  { font-size: .6rem; color: rgba(255,255,255,.5); letter-spacing: .12em; text-transform: uppercase; transition: color var(--t-base); }

.nav-link {
  color: rgba(255,255,255,.88) !important;
  font-weight: var(--fw-med);
  font-size: .875rem;
  padding: .45rem .95rem !important;
  border-radius: var(--r-sm);
  transition: all var(--t-base) var(--ease);
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute; bottom: 4px; left: 50%; right: 50%;
  height: 2px; background: var(--teal);
  border-radius: 2px;
  transition: all var(--t-base) var(--ease);
}
.nav-link:hover { color: var(--teal) !important; }
.nav-link:hover::after, .nav-link.active::after { left: .95rem; right: .95rem; }
.nav-link.active { color: var(--teal) !important; }

/* ── Hero ───────────────────────────────────────────────── */
#hero {
  min-height: 100vh;
  background: linear-gradient(140deg, var(--navy-dark) 0%, var(--navy) 45%, #1a4080 75%, #0d3060 100%);
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-orb-1 {
  position: absolute; top: -15%; right: 5%;
  width: 680px; height: 680px;
  background: radial-gradient(ellipse, rgba(0,196,167,.14) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.hero-orb-2 {
  position: absolute; bottom: -20%; left: -10%;
  width: 500px; height: 500px;
  background: radial-gradient(ellipse, rgba(0,196,167,.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.028) 1px, transparent 1px);
  background-size: 56px 56px;
  pointer-events: none;
}
.hero-noise {
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.03'/%3E%3C/svg%3E");
  pointer-events: none;
}
.hero-content { position: relative; z-index: 2; }

.hero-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(0,196,167,.12);
  border: 1px solid rgba(0,196,167,.28);
  color: var(--teal-light);
  padding: .42rem 1.1rem;
  border-radius: 50px;
  font-size: .78rem;
  font-weight: var(--fw-bld);
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 1.6rem;
}
.hero-badge .pulse-dot {
  width: 7px; height: 7px;
  background: var(--teal);
  border-radius: 50%;
  animation: pulseAnim 2s ease-in-out infinite;
}
@keyframes pulseAnim {
  0%,100% { transform:scale(1); opacity:1; box-shadow:0 0 0 0 rgba(0,196,167,.5); }
  50%      { transform:scale(1.3); opacity:.7; box-shadow:0 0 0 5px rgba(0,196,167,.0); }
}

.hero-title {
  color: var(--white);
  margin-bottom: 1.4rem;
  position: relative;
}
.hero-title .accent { color: var(--teal); position: relative; display: inline-block; }
.hero-title .accent::after {
  content: '';
  position: absolute; bottom: -4px; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--teal-light));
  border-radius: 2px;
}

.hero-subtitle {
  color: rgba(255,255,255,.72);
  font-size: 1.1rem;
  max-width: 500px;
  margin-bottom: 2.2rem;
  line-height: 1.75;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 3.5rem; }

.hero-stats { display: flex; flex-wrap: wrap; gap: 2.5rem; }
.hero-stat .value {
  font-size: 2rem; font-weight: var(--fw-xbl);
  color: var(--white); line-height: 1;
}
.hero-stat .value .accent { color: var(--teal); }
.hero-stat .label {
  font-size: .72rem; color: rgba(255,255,255,.45);
  text-transform: uppercase; letter-spacing: .1em; margin-top: .25rem;
}
.hero-stat-divider {
  width: 1px; background: rgba(255,255,255,.12); align-self: stretch;
}

/* Hero glass card */
.hero-visual { position: relative; z-index: 2; }
.hero-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  backdrop-filter: blur(24px) saturate(160%);
  border-radius: var(--r-xl);
  padding: 2rem;
  color: var(--white);
  box-shadow: 0 24px 64px rgba(0,0,0,.2), inset 0 1px 0 rgba(255,255,255,.12);
}
.hero-card-header {
  display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.hero-card-label { font-size: .72rem; font-weight: var(--fw-bld); opacity: .45; text-transform: uppercase; letter-spacing: .12em; }
.hero-card-badge {
  background: rgba(0,196,167,.18); color: var(--teal-light);
  font-size: .7rem; font-weight: var(--fw-bld);
  padding: .25rem .75rem; border-radius: 50px;
  border: 1px solid rgba(0,196,167,.3);
}
.hero-product-item {
  display: flex; align-items: center; gap: 1rem;
  padding: .85rem 0;
  border-bottom: 1px solid rgba(255,255,255,.05);
  transition: background var(--t-fast);
}
.hero-product-item:last-of-type { border-bottom: none; }
.hero-product-icon {
  width: 40px; height: 40px;
  background: rgba(0,196,167,.12);
  border: 1px solid rgba(0,196,167,.2);
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.hero-product-icon svg { width: 18px; height: 18px; color: var(--teal); }
.hero-product-name { font-size: .88rem; font-weight: var(--fw-sem); }
.hero-product-rate { font-size: .74rem; opacity: .5; margin-top: .1rem; }
.hero-product-tag {
  margin-left: auto; flex-shrink: 0;
  background: rgba(0,196,167,.12); color: var(--teal-light);
  font-size: .68rem; font-weight: var(--fw-bld);
  padding: .18rem .6rem; border-radius: 50px;
}

/* ── Info Banner ─────────────────────────────────────────── */
.info-banner {
  background: var(--white);
  border-top: 3px solid var(--teal);
  border-bottom: 1px solid var(--gray-mid);
  padding: 1.25rem 0;
}
.info-banner-icon {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
}

/* ── Trust Bar ───────────────────────────────────────────── */
.trust-bar {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
  padding: 3rem 0;
  position: relative;
  overflow: hidden;
}
.trust-bar::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,196,167,.5), transparent);
}
.trust-item { text-align: center; }
.trust-item .number {
  font-size: 2.4rem; font-weight: var(--fw-xbl);
  background: linear-gradient(135deg, var(--teal), var(--teal-light));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text; line-height: 1;
}
.trust-item .text {
  font-size: .75rem; color: rgba(255,255,255,.5);
  text-transform: uppercase; letter-spacing: .1em; margin-top: .3rem;
}
.trust-divider {
  width: 1px; height: 60px;
  background: rgba(255,255,255,.1);
  margin: auto;
}

/* ── Products ────────────────────────────────────────────── */
#productos { background: var(--gray-light); }

.product-card {
  background: var(--white);
  border-radius: var(--r-xl);
  padding: 2rem;
  box-shadow: var(--sh-sm);
  border: 1px solid var(--gray-mid);
  transition: all var(--t-base) var(--ease);
  height: 100%;
  display: flex; flex-direction: column;
  position: relative;
  overflow: hidden;
}
.product-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--navy-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-base) var(--ease);
  border-radius: var(--r-md) var(--r-md) 0 0;
}
.product-card:hover { transform: translateY(-8px); box-shadow: var(--sh-xl); border-color: transparent; }
.product-card:hover::before { transform: scaleX(1); }

.product-card-icon {
  width: 58px; height: 58px;
  background: linear-gradient(135deg, rgba(27,46,107,.07) 0%, rgba(0,196,167,.1) 100%);
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.4rem;
  transition: all var(--t-base) var(--ease);
}
.product-card:hover .product-card-icon {
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
}
.product-card-icon svg { width: 26px; height: 26px; color: var(--navy); transition: color var(--t-base); }
.product-card:hover .product-card-icon svg { color: var(--white); }

.product-card h3 { font-size: 1.1rem; font-weight: var(--fw-bld); color: var(--navy); margin-bottom: .5rem; line-height: 1.3; }
.product-card > p { color: var(--text-mid); font-size: .9rem; line-height: 1.65; flex: 1; margin-bottom: 1.4rem; }

.product-rate { display: flex; align-items: baseline; gap: .3rem; margin-bottom: 1rem; }
.product-rate .rate-value { font-size: 1.65rem; font-weight: var(--fw-xbl); color: var(--navy); letter-spacing: -.02em; }
.product-rate .rate-label { font-size: .78rem; color: var(--text-light); }

.product-card-features { list-style: none; margin-bottom: 1.6rem; }
.product-card-features li {
  display: flex; align-items: center; gap: .6rem;
  font-size: .84rem; color: var(--text-mid);
  padding: .3rem 0;
  border-bottom: 1px solid rgba(0,0,0,.04);
}
.product-card-features li:last-child { border-bottom: none; }
.product-card-features li::before {
  content: '';
  width: 6px; height: 6px;
  background: linear-gradient(135deg, var(--teal), var(--teal-light));
  border-radius: 50%;
  flex-shrink: 0;
}
.product-card .btn-teal { width: 100%; justify-content: center; }

/* Investment rate table inside card */
.inv-rate-table { background: var(--gray-light); border-radius: var(--r-md); padding: .9rem 1rem; margin-bottom: 1.4rem; }
.inv-rate-table-title { font-size: .72rem; font-weight: var(--fw-bld); color: var(--navy); text-transform: uppercase; letter-spacing: .1em; margin-bottom: .6rem; }
.inv-rate-row { display: flex; justify-content: space-between; align-items: center; padding: .28rem 0; border-bottom: 1px solid var(--gray-mid); font-size: .81rem; }
.inv-rate-row:last-child { border-bottom: none; }
.inv-rate-row span { color: var(--text-mid); }
.inv-rate-row strong { color: var(--teal); font-weight: var(--fw-bld); }

/* ── Process Section ─────────────────────────────────────── */
.process-section {
  background: linear-gradient(170deg, var(--navy-dark) 0%, var(--navy) 55%, #0e3060 100%);
  padding: 100px 0;
  position: relative; overflow: hidden;
}
.process-section::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 100%, rgba(0,196,167,.12), transparent);
}
.process-step {
  text-align: center;
  position: relative;
  z-index: 1;
}
.process-number {
  width: 72px; height: 72px;
  background: rgba(0,196,167,.12);
  border: 2px solid rgba(0,196,167,.3);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.25rem;
  font-size: 1.5rem; font-weight: var(--fw-xbl);
  color: var(--teal);
  transition: all var(--t-base) var(--ease);
  position: relative;
}
.process-number::after {
  content: '';
  position: absolute; inset: -6px;
  border-radius: 50%;
  border: 1px solid rgba(0,196,167,.1);
}
.process-step:hover .process-number {
  background: var(--teal);
  color: var(--white);
  border-color: var(--teal);
  box-shadow: var(--sh-teal);
}
.process-connector {
  position: absolute; top: 36px; left: calc(50% + 48px); right: calc(-50% + 48px);
  height: 1px;
  background: linear-gradient(90deg, rgba(0,196,167,.3), rgba(0,196,167,.05));
}

/* ── Why Us ──────────────────────────────────────────────── */
#por-que { background: var(--white); }
.benefit-card {
  background: var(--white);
  border-radius: var(--r-xl);
  padding: 1.75rem;
  box-shadow: var(--sh-sm);
  border: 1px solid var(--gray-mid);
  display: flex; gap: 1.25rem; align-items: flex-start;
  transition: all var(--t-base) var(--ease);
  border-left: 4px solid transparent;
  background-image: linear-gradient(var(--white), var(--white)),
                    linear-gradient(135deg, var(--teal), var(--navy));
  background-origin: border-box;
  background-clip: padding-box, border-box;
  position: relative;
}
.benefit-card::before {
  content: '';
  position: absolute; left: 0; top: 10%; bottom: 10%;
  width: 3px;
  background: linear-gradient(to bottom, var(--teal), var(--navy));
  border-radius: 0 2px 2px 0;
  opacity: 0;
  transition: opacity var(--t-base);
}
.benefit-card:hover { transform: translateX(6px); box-shadow: var(--sh-md); }
.benefit-card:hover::before { opacity: 1; }
.benefit-icon {
  width: 52px; height: 52px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--sh-navy);
  transition: all var(--t-base) var(--ease);
}
.benefit-card:hover .benefit-icon { transform: rotate(-5deg) scale(1.05); }
.benefit-icon svg { width: 22px; height: 22px; color: var(--white); }
.benefit-text h4 { font-size: .98rem; font-weight: var(--fw-bld); color: var(--navy); margin-bottom: .3rem; }
.benefit-text p { font-size: .87rem; color: var(--text-mid); line-height: 1.65; margin: 0; }

/* ── Testimonials ────────────────────────────────────────── */
#testimonios {
  background: linear-gradient(145deg, var(--navy-dark) 0%, #1a3070 50%, var(--navy) 100%);
  position: relative; overflow: hidden;
}
#testimonios::after {
  content: ''; position: absolute; bottom: -1px; left: 0; right: 0; height: 80px;
  background: var(--white);
  clip-path: ellipse(55% 100% at 50% 100%);
}
.testimonial-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  backdrop-filter: blur(12px);
  border-radius: var(--r-xl);
  padding: 2rem;
  transition: all var(--t-base) var(--ease);
  position: relative;
}
.testimonial-card::before {
  content: '\201C';
  position: absolute; top: 1rem; right: 1.5rem;
  font-size: 5rem; line-height: 1;
  color: rgba(0,196,167,.18);
  font-family: Georgia, serif;
  pointer-events: none;
}
.testimonial-card:hover { background: rgba(255,255,255,.1); transform: translateY(-6px); box-shadow: var(--sh-lg); }
.stars { display: flex; gap: 2px; margin-bottom: 1rem; }
.stars svg { width: 16px; height: 16px; fill: #F59E0B; }
.testimonial-text { color: rgba(255,255,255,.82); font-size: .92rem; line-height: 1.75; margin-bottom: 1.6rem; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: .85rem; }
.testimonial-avatar {
  width: 46px; height: 46px;
  background: linear-gradient(135deg, var(--teal-dark), var(--navy));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--white); font-weight: var(--fw-bld); font-size: .95rem;
  border: 2px solid rgba(0,196,167,.4);
  flex-shrink: 0;
}
.testimonial-name { font-weight: var(--fw-bld); color: var(--white); font-size: .9rem; }
.testimonial-role { font-size: .76rem; color: rgba(255,255,255,.4); margin-top: .1rem; }

/* ── Nosotros ────────────────────────────────────────────── */
#nosotros { background: var(--white); }
.mv-card {
  text-align: center; padding: 2.4rem 1.8rem;
  background: var(--white);
  border-radius: var(--r-xl);
  box-shadow: var(--sh-sm);
  border: 1px solid var(--gray-mid);
  border-top: 4px solid var(--teal);
  transition: all var(--t-base) var(--ease);
  position: relative; overflow: hidden;
}
.mv-card::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(27,46,107,.03), rgba(0,196,167,.05));
  opacity: 0;
  transition: opacity var(--t-base);
}
.mv-card:hover { transform: translateY(-6px); box-shadow: var(--sh-lg); }
.mv-card:hover::after { opacity: 1; }
.mv-icon {
  width: 68px; height: 68px;
  background: linear-gradient(135deg, rgba(27,46,107,.08), rgba(0,196,167,.12));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.3rem;
  transition: all var(--t-base) var(--ease);
}
.mv-card:hover .mv-icon { background: linear-gradient(135deg, var(--navy), var(--navy-light)); }
.mv-icon svg { width: 30px; height: 30px; color: var(--navy); transition: color var(--t-base); }
.mv-card:hover .mv-icon svg { color: var(--white); }
.mv-card h3 { font-size: 1.1rem; font-weight: var(--fw-bld); color: var(--navy); margin-bottom: .7rem; }
.mv-card p { font-size: .875rem; color: var(--text-mid); line-height: 1.7; margin: 0; }

.value-badge {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 1.6rem 1rem;
  background: var(--white);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-xs);
  border: 1px solid var(--gray-mid);
  transition: all var(--t-base) var(--ease);
  cursor: default;
}
.value-badge:hover { transform: translateY(-4px); box-shadow: var(--sh-md); border-color: var(--teal); }
.value-badge .vb-icon { font-size: 2rem; margin-bottom: .5rem; }
.value-badge h4 { font-size: .85rem; font-weight: var(--fw-bld); color: var(--navy); margin: 0; }

/* ── Timeline ────────────────────────────────────────────── */
.timeline { position: relative; padding-left: 2.6rem; }
.timeline::before {
  content: ''; position: absolute; left: 11px; top: 8px; bottom: 8px;
  width: 2px;
  background: linear-gradient(to bottom, var(--teal) 0%, var(--navy) 100%);
}
.timeline-item { position: relative; margin-bottom: 2.2rem; }
.timeline-dot {
  position: absolute; left: -2.6rem; top: .25rem;
  width: 22px; height: 22px;
  background: var(--teal);
  border: 3px solid var(--white);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(0,196,167,.2);
  transition: all var(--t-base);
}
.timeline-item:hover .timeline-dot { transform: scale(1.15); box-shadow: 0 0 0 6px rgba(0,196,167,.15); }
.timeline-year { font-size: .72rem; font-weight: var(--fw-bld); color: var(--teal); text-transform: uppercase; letter-spacing: .12em; margin-bottom: .2rem; }
.timeline-title { font-size: 1rem; font-weight: var(--fw-bld); color: var(--navy); margin-bottom: .3rem; }
.timeline-text { font-size: .875rem; color: var(--text-mid); line-height: 1.65; margin: 0; }

/* ── FAQ ─────────────────────────────────────────────────── */
#faq { background: var(--gray-light); }
.faq-tabs { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.faq-tab {
  padding: .45rem 1.1rem;
  border-radius: 50px;
  border: 2px solid var(--gray-mid);
  background: var(--white);
  color: var(--text-mid);
  font-size: .84rem; font-weight: var(--fw-sem);
  cursor: pointer;
  transition: all var(--t-base) var(--ease);
  font-family: var(--font);
}
.faq-tab:hover  { border-color: var(--navy); color: var(--navy); }
.faq-tab.active { border-color: var(--navy); background: var(--navy); color: var(--white); box-shadow: var(--sh-navy); }

.faq-item {
  background: var(--white);
  border-radius: var(--r-lg);
  margin-bottom: .7rem;
  overflow: hidden;
  border: 1px solid var(--gray-mid);
  transition: all var(--t-base) var(--ease);
}
.faq-item.open { border-color: var(--teal); box-shadow: var(--sh-sm); }
.faq-question {
  width: 100%; background: none; border: none;
  padding: 1.2rem 1.5rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  cursor: pointer; text-align: left;
  font-size: .94rem; font-weight: var(--fw-sem);
  color: var(--navy);
  font-family: var(--font);
  transition: color var(--t-base);
}
.faq-question:hover { color: var(--teal); }
.faq-icon {
  width: 30px; height: 30px; flex-shrink: 0;
  background: var(--gray-light);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: all var(--t-base) var(--ease);
}
.faq-item.open .faq-icon { background: var(--teal); transform: rotate(45deg); }
.faq-icon svg { width: 14px; height: 14px; color: var(--navy); }
.faq-item.open .faq-icon svg { color: var(--white); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease), padding .3s; padding: 0 1.5rem; }
.faq-answer.open { max-height: 500px; padding: 0 1.5rem 1.3rem; }
.faq-answer p { font-size: .89rem; color: var(--text-mid); line-height: 1.75; margin: 0; }

/* ── Contact ─────────────────────────────────────────────── */
#contacto { background: var(--white); }
.contact-form-wrap {
  background: var(--white);
  border-radius: var(--r-xl);
  padding: 2.5rem;
  box-shadow: var(--sh-lg);
  border: 1px solid var(--gray-mid);
  position: relative; overflow: hidden;
}
.contact-form-wrap::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--teal), var(--navy));
}
.form-label { font-size: .83rem; font-weight: var(--fw-bld); color: var(--navy); margin-bottom: .4rem; display: block; }
.form-control {
  width: 100%;
  border: 1.5px solid var(--gray-mid);
  border-radius: var(--r-sm);
  padding: .72rem 1rem;
  font-size: .9rem; color: var(--text);
  font-family: var(--font);
  transition: all var(--t-base) var(--ease);
  background: var(--white);
  outline: none;
}
.form-control:focus { border-color: var(--teal); box-shadow: 0 0 0 4px rgba(0,196,167,.1); }
.form-control::placeholder { color: var(--text-light); }
.form-select {
  width: 100%;
  border: 1.5px solid var(--gray-mid);
  border-radius: var(--r-sm);
  padding: .72rem 1rem;
  font-size: .9rem; color: var(--text);
  font-family: var(--font);
  transition: all var(--t-base) var(--ease);
  background: var(--white);
  outline: none;
  appearance: auto;
}
.form-select:focus { border-color: var(--teal); box-shadow: 0 0 0 4px rgba(0,196,167,.1); }
.form-success { display: none; text-align: center; padding: 2.5rem 2rem; }
.form-success .success-icon {
  width: 72px; height: 72px;
  background: linear-gradient(135deg, rgba(0,196,167,.12), rgba(0,196,167,.2));
  border: 2px solid rgba(0,196,167,.3);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.25rem;
}
.form-success .success-icon svg { width: 32px; height: 32px; color: var(--teal); }
.form-success h4 { color: var(--navy); font-weight: var(--fw-xbl); margin-bottom: .6rem; font-size: 1.2rem; }
.form-success p { color: var(--text-mid); font-size: .9rem; line-height: 1.65; }

.agency-card {
  background: var(--gray-light); border-radius: var(--r-lg);
  padding: 1.5rem; border-left: 4px solid var(--navy);
  transition: all var(--t-base) var(--ease);
}
.agency-card:hover { background: var(--white); box-shadow: var(--sh-md); }
.agency-card h4 { font-size: .98rem; font-weight: var(--fw-bld); color: var(--navy); margin-bottom: .75rem; }
.agency-info-item { display: flex; align-items: flex-start; gap: .6rem; font-size: .84rem; color: var(--text-mid); margin-bottom: .45rem; }
.agency-info-item svg { width: 15px; height: 15px; color: var(--teal); flex-shrink: 0; margin-top: .15rem; }

/* ── CTA Banner ──────────────────────────────────────────── */
.cta-banner {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 50%, #0e3060 100%);
  padding: 6rem 0;
  text-align: center; position: relative; overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 80% at 50% 110%, rgba(0,196,167,.2), transparent);
}
.cta-banner .cta-orb {
  position: absolute; border-radius: 50%;
  background: rgba(0,196,167,.06);
  animation: floatOrb 8s ease-in-out infinite;
}
.cta-orb-1 { width: 300px; height: 300px; top: -100px; right: 10%; }
.cta-orb-2 { width: 200px; height: 200px; bottom: -80px; left: 15%; animation-delay: -4s; }
@keyframes floatOrb {
  0%,100% { transform: translateY(0) scale(1); }
  50%      { transform: translateY(-20px) scale(1.05); }
}

/* ── Footer ──────────────────────────────────────────────── */
footer {
  background: var(--dark);
  color: rgba(255,255,255,.65);
  padding: 5rem 0 2rem;
  position: relative;
}
footer::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,196,167,.4), transparent);
}
.footer-logo-text { font-size: 1.2rem; font-weight: var(--fw-xbl); color: var(--white); margin-bottom: .2rem; letter-spacing: .01em; }
.footer-tagline { font-size: .72rem; color: rgba(255,255,255,.3); letter-spacing: .12em; text-transform: uppercase; }
footer h5 { color: var(--white); font-size: .78rem; font-weight: var(--fw-bld); text-transform: uppercase; letter-spacing: .14em; margin-bottom: 1.4rem; }
.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: .55rem; }
.footer-links a { color: rgba(255,255,255,.5); font-size: .87rem; transition: color var(--t-base); display: inline-flex; align-items: center; gap: .4rem; }
.footer-links a::before { content: ''; width: 0; height: 1px; background: var(--teal); transition: width var(--t-base); }
.footer-links a:hover { color: var(--teal); }
.footer-links a:hover::before { width: 8px; }
.footer-contact-item { display: flex; align-items: flex-start; gap: .65rem; font-size: .87rem; color: rgba(255,255,255,.5); margin-bottom: .65rem; }
.footer-contact-item svg { width: 15px; height: 15px; color: var(--teal); flex-shrink: 0; margin-top: .15rem; }
.footer-social a {
  width: 36px; height: 36px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  transition: all var(--t-base) var(--ease);
}
.footer-social a:hover { background: var(--teal); border-color: var(--teal); transform: translateY(-3px); }
.footer-divider { border-color: rgba(255,255,255,.07); margin: 2.5rem 0 1.5rem; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; font-size: .79rem; color: rgba(255,255,255,.28); }
.footer-badge {
  display: inline-flex; align-items: center; gap: .4rem;
  background: rgba(0,196,167,.08);
  border: 1px solid rgba(0,196,167,.18);
  color: var(--teal);
  padding: .3rem .85rem; border-radius: 50px;
  font-size: .72rem; font-weight: var(--fw-bld);
}

/* ── Chatbot ─────────────────────────────────────────────── */
.chatbot-trigger {
  position: fixed; bottom: 2rem; right: 2rem;
  z-index: 900;
  display: flex; flex-direction: column; align-items: flex-end; gap: .75rem;
}
.chatbot-bubble-hint {
  background: var(--white);
  border: 1px solid var(--gray-mid);
  border-radius: var(--r-lg) var(--r-lg) 0 var(--r-lg);
  padding: .75rem 1.1rem;
  font-size: .83rem; color: var(--text);
  box-shadow: var(--sh-md);
  max-width: 210px; text-align: right;
  animation: popIn .4s var(--ease-spring);
}
@keyframes popIn { from { opacity:0; transform:scale(.8) translateY(8px); } to { opacity:1; transform:scale(1) translateY(0); } }
.chatbot-btn {
  width: 62px; height: 62px;
  background: linear-gradient(135deg, var(--teal), var(--navy));
  border-radius: 50%; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--sh-md), 0 0 0 0 rgba(0,196,167,.3);
  transition: all var(--t-base) var(--ease);
  position: relative;
  animation: chatPulse 3s ease-in-out infinite;
}
@keyframes chatPulse {
  0%,100% { box-shadow: var(--sh-md), 0 0 0 0 rgba(0,196,167,.3); }
  50%      { box-shadow: var(--sh-md), 0 0 0 10px rgba(0,196,167,.0); }
}
.chatbot-btn:hover { transform: scale(1.1); animation: none; box-shadow: var(--sh-lg); }
.chatbot-btn svg { width: 28px; height: 28px; color: var(--white); }
.notif-dot { position: absolute; top: 3px; right: 3px; width: 14px; height: 14px; background: #EF4444; border-radius: 50%; border: 2px solid var(--white); animation: pulseAnim 2s infinite; }

.chatbot-window {
  position: fixed; bottom: 7rem; right: 2rem; z-index: 950;
  width: 365px; max-height: 530px;
  background: var(--white);
  border-radius: var(--r-xl);
  box-shadow: var(--sh-xl);
  border: 1px solid var(--gray-mid);
  display: flex; flex-direction: column; overflow: hidden;
  transform: scale(0) translateY(20px);
  transform-origin: bottom right;
  opacity: 0;
  transition: all .35s var(--ease-spring);
}
.chatbot-window.open { transform: scale(1) translateY(0); opacity: 1; }

.chat-header {
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  padding: 1.1rem 1.3rem;
  display: flex; align-items: center; gap: .8rem;
  position: relative; overflow: hidden;
}
.chat-header::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,196,167,.5), transparent);
}
.chat-avatar {
  width: 42px; height: 42px;
  background: rgba(0,196,167,.18);
  border: 2px solid rgba(0,196,167,.35);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.chat-avatar svg { width: 22px; height: 22px; color: var(--teal); }
.chat-name { font-weight: var(--fw-bld); color: var(--white); font-size: .9rem; }
.chat-status { font-size: .72rem; color: rgba(255,255,255,.5); display: flex; align-items: center; gap: .3rem; }
.chat-status::before { content: ''; width: 6px; height: 6px; background: #22C55E; border-radius: 50%; flex-shrink: 0; }
.chat-header-actions {
  margin-left: auto;
  display: flex; align-items: center; gap: .5rem;
}
.chat-btn-cerrar {
  display: flex; align-items: center; gap: .35rem;
  background: rgba(239,68,68,.15);
  border: 1px solid rgba(239,68,68,.3);
  border-radius: var(--r-sm);
  padding: .3rem .65rem;
  font-size: .7rem; font-weight: 600;
  color: rgba(255,180,180,.9);
  cursor: pointer; transition: all var(--t-fast);
  white-space: nowrap;
}
.chat-btn-cerrar:hover {
  background: rgba(239,68,68,.3);
  border-color: rgba(239,68,68,.5);
  color: #fff;
}
.chat-btn-cerrar svg { width: 13px; height: 13px; flex-shrink: 0; }
.chat-close {
  background: rgba(255,255,255,.1);
  border: none; border-radius: var(--r-sm);
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: background var(--t-fast); color: rgba(255,255,255,.7);
}
.chat-close:hover { background: rgba(255,255,255,.2); color: var(--white); }
.chat-close svg { width: 15px; height: 15px; }

.chat-messages {
  flex: 1; overflow-y: auto; padding: 1.25rem;
  display: flex; flex-direction: column; gap: .7rem;
  scroll-behavior: smooth;
  background: #FAFBFC;
}
.chat-messages::-webkit-scrollbar { width: 3px; }
.chat-messages::-webkit-scrollbar-thumb { background: var(--gray-mid); border-radius: 3px; }

.msg { max-width: 82%; }
.msg-bot  { align-self: flex-start; }
.msg-user { align-self: flex-end; }
.msg-bubble { padding: .7rem 1rem; border-radius: var(--r-lg); font-size: .86rem; line-height: 1.6; }
.msg-bot .msg-bubble { background: var(--white); color: var(--text); border-radius: 4px var(--r-lg) var(--r-lg) var(--r-lg); box-shadow: var(--sh-xs); border: 1px solid var(--gray-mid); }
.msg-user .msg-bubble { background: linear-gradient(135deg, var(--navy), var(--navy-light)); color: var(--white); border-radius: var(--r-lg) var(--r-lg) 4px var(--r-lg); }
.msg-time { font-size: .68rem; color: var(--text-light); margin-top: .2rem; padding: 0 .3rem; }

.chat-options { padding: .6rem 1rem; display: flex; flex-wrap: wrap; gap: .4rem; background: #FAFBFC; }
.chat-option-btn {
  padding: .38rem .9rem; border-radius: 50px;
  border: 1.5px solid var(--navy); background: var(--white);
  color: var(--navy); font-size: .79rem; font-weight: var(--fw-sem);
  cursor: pointer; transition: all var(--t-fast) var(--ease);
  font-family: var(--font);
}
.chat-option-btn:hover { background: var(--navy); color: var(--white); transform: translateY(-1px); }

.chat-input-row {
  padding: .7rem 1rem;
  border-top: 1px solid var(--gray-mid);
  display: flex; gap: .5rem; background: var(--white);
}
.chat-input {
  flex: 1; border: 1.5px solid var(--gray-mid); border-radius: var(--r-sm);
  padding: .55rem .9rem; font-size: .87rem; outline: none;
  transition: border var(--t-fast); font-family: var(--font); color: var(--text);
}
.chat-input:focus { border-color: var(--teal); }
.chat-send {
  width: 38px; height: 38px; background: var(--teal); border: none;
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all var(--t-fast); flex-shrink: 0;
}
.chat-send:hover { background: var(--teal-dark); transform: scale(1.05); }
.chat-send svg { width: 16px; height: 16px; color: var(--white); }

.typing-indicator { display: flex; gap: 4px; padding: .65rem .9rem; background: var(--white); border-radius: 4px var(--r-lg) var(--r-lg) var(--r-lg); width: fit-content; align-self: flex-start; box-shadow: var(--sh-xs); border: 1px solid var(--gray-mid); }
.typing-indicator span { width: 7px; height: 7px; background: var(--gray); border-radius: 50%; animation: typingBounce .9s infinite; }
.typing-indicator span:nth-child(2) { animation-delay: .15s; }
.typing-indicator span:nth-child(3) { animation-delay: .3s; }
@keyframes typingBounce { 0%,60%,100%{transform:translateY(0)} 30%{transform:translateY(-7px)} }

/* ── WhatsApp Float ──────────────────────────────────────── */
.wa-float {
  position: fixed; bottom: 8rem; right: 2rem; z-index: 850;
  width: 48px; height: 48px;
  background: #25D366; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,.4);
  transition: all var(--t-base) var(--ease);
}
.wa-float:hover { transform: scale(1.12); box-shadow: 0 8px 30px rgba(37,211,102,.5); }
.wa-float svg { width: 26px; height: 26px; color: var(--white); }

/* ── Scroll top ──────────────────────────────────────────── */
.scroll-top {
  position: fixed; bottom: 2rem; left: 2rem; z-index: 800;
  width: 46px; height: 46px;
  background: var(--navy);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; opacity: 0; transform: translateY(12px);
  transition: all var(--t-base) var(--ease);
  box-shadow: var(--sh-sm);
}
.scroll-top.visible { opacity: 1; transform: translateY(0); }
.scroll-top:hover { background: var(--teal); transform: translateY(-3px); }
.scroll-top svg { width: 18px; height: 18px; color: var(--white); }

/* ── Page loader ─────────────────────────────────────────── */
.page-loader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--navy);
  display: flex; align-items: center; justify-content: center;
  transition: opacity .6s var(--ease), visibility .6s;
}
.page-loader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-ring {
  width: 64px; height: 64px; position: relative;
}
.loader-ring svg { animation: spinRing 1.2s linear infinite; width: 64px; height: 64px; }
@keyframes spinRing { to { transform: rotate(360deg); } }

/* ── Section divider ─────────────────────────────────────── */
.section-divider { height: 3px; background: linear-gradient(90deg, var(--teal), var(--navy), var(--teal)); border: none; margin: 0; opacity: .4; }

/* ── Utility ─────────────────────────────────────────────── */
.text-teal  { color: var(--teal) !important; }
.text-navy  { color: var(--navy) !important; }
.text-mid   { color: var(--text-mid) !important; }
.bg-navy    { background: var(--navy) !important; }
.bg-teal    { background: var(--teal) !important; }
.bg-light   { background: var(--gray-light) !important; }
.fw-800     { font-weight: 800 !important; }
.rounded-xl { border-radius: var(--r-xl) !important; }


/* ════════════════════════════════════════════════════════
   NAVBAR FIX — control de colores por estado
   ════════════════════════════════════════════════════════ */
.nav-brand-title {
  font-size: .95rem; font-weight: 800; line-height: 1.1;
  letter-spacing: .01em;
  color: white;
  transition: color .35s var(--ease);
}
.nav-brand-sub {
  font-size: .6rem; letter-spacing: .12em; text-transform: uppercase;
  color: rgba(255,255,255,.45);
  transition: color .35s var(--ease);
}
#navToggler { color: white; transition: color .35s var(--ease); }
#navToggler svg { stroke: white; transition: stroke .35s var(--ease); }

#navbar.scrolled .nav-brand-title    { color: var(--navy) !important; }
#navbar.scrolled .nav-brand-sub      { color: var(--text-light) !important; }
#navbar.scrolled #navToggler         { color: var(--navy) !important; }
#navbar.scrolled #navToggler svg     { stroke: var(--navy) !important; }
#navbar.scrolled .nav-link           { color: var(--navy) !important; }
#navbar.scrolled .nav-link:hover     { color: var(--teal) !important; }
#navbar.scrolled .nav-link.active    { color: var(--teal) !important; }

/* ════════════════════════════════════════════════════════
   HERO — imagen de fondo Guatemala
   ════════════════════════════════════════════════════════ */
#hero {
  background:
    linear-gradient(140deg,
      rgba(9,22,52,.92) 0%,
      rgba(14,32,72,.82) 40%,
      rgba(10,24,55,.75) 75%,
      rgba(8,18,48,.88) 100%),
    url('../img/hero-lago.jpg') center 40%/cover no-repeat;
  background-attachment: fixed;
}
@media (max-width:768px){ #hero { background-attachment: scroll; } }

/* ════════════════════════════════════════════════════════
   SECCIÓN IDENTIDAD GUATEMALTECA
   ════════════════════════════════════════════════════════ */
.gt-section { background: var(--white); position: relative; overflow: hidden; }
.gt-section::before {
  content: '';
  position: absolute; top: -80px; right: -80px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, var(--teal-glow) 0%, transparent 70%);
  pointer-events: none;
}

/* Mosaico de fotos */
.gt-photo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 260px 200px;
  gap: 12px;
  border-radius: var(--r-xl);
  overflow: hidden;
}
.gt-photo-item {
  position: relative; overflow: hidden;
  border-radius: var(--r-lg);
  cursor: default;
}
.gt-photo-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .7s var(--ease);
  display: block;
}
.gt-photo-item:hover img { transform: scale(1.06); }
.gt-photo-item::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(9,22,52,.65) 0%, transparent 55%);
}
.gt-photo-tall { grid-row: span 2; }
.gt-photo-label {
  position: absolute; bottom: .85rem; left: 1rem; z-index: 1;
  background: rgba(255,255,255,.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.2);
  color: white;
  font-size: .72rem; font-weight: 700; letter-spacing: .08em;
  padding: .28rem .75rem; border-radius: 50px;
}

/* Estadísticas de impacto */
.gt-impact-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 2.5rem;
}
.gt-impact-card {
  background: var(--gray-light);
  border-radius: var(--r-lg);
  padding: 1.25rem 1.4rem;
  border-left: 4px solid var(--teal);
  transition: all var(--t-base) var(--ease);
}
.gt-impact-card:hover { background: var(--white); box-shadow: var(--sh-md); transform: translateY(-3px); }
.gt-impact-number {
  font-size: 1.7rem; font-weight: 800; color: var(--navy);
  line-height: 1; letter-spacing: -.02em;
}
.gt-impact-number span { color: var(--teal); }
.gt-impact-label { font-size: .8rem; color: var(--text-mid); margin-top: .2rem; line-height: 1.4; }

/* Patrón huipil (decorativo sutil) */
.gt-pattern-strip {
  height: 6px;
  background: repeating-linear-gradient(
    90deg,
    #1B2E6B 0px,  #1B2E6B 12px,
    #00C4A7 12px, #00C4A7 24px,
    #F59E0B 24px, #F59E0B 36px,
    #EF4444 36px, #EF4444 48px,
    #ffffff 48px, #ffffff 60px
  );
  opacity: .75;
}

/* ════════════════════════════════════════════════════════
   SECCIÓN HISTORIAS — story cards con imagen
   ════════════════════════════════════════════════════════ */
.stories-section {
  background: var(--gray-light);
  position: relative; overflow: hidden;
}
.story-card {
  border-radius: var(--r-xl);
  overflow: hidden;
  height: 420px;
  position: relative;
  cursor: default;
  transition: transform var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease);
  box-shadow: var(--sh-md);
}
.story-card:hover { transform: translateY(-8px); box-shadow: var(--sh-xl); }
.story-card-img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .8s var(--ease);
}
.story-card:hover .story-card-img { transform: scale(1.06); }
.story-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    to top,
    rgba(9,22,52,.95) 0%,
    rgba(9,22,52,.55) 50%,
    rgba(9,22,52,.1) 100%
  );
}
.story-card-content {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 1.75rem;
  z-index: 1;
}
.story-card-tag {
  display: inline-block;
  background: var(--teal);
  color: white;
  font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  padding: .2rem .7rem; border-radius: 50px;
  margin-bottom: .65rem;
}
.story-card-title {
  color: white; font-size: 1.15rem; font-weight: 800;
  line-height: 1.3; margin-bottom: .5rem;
}
.story-card-text {
  color: rgba(255,255,255,.72); font-size: .84rem; line-height: 1.65;
  margin-bottom: 1rem;
}
.story-card-product {
  display: inline-flex; align-items: center; gap: .4rem;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  color: var(--teal-light);
  font-size: .76rem; font-weight: 600;
  padding: .3rem .85rem; border-radius: 50px;
}

/* ════════════════════════════════════════════════════════
   SECCIÓN MAPA / COBERTURA (banner country)
   ════════════════════════════════════════════════════════ */
.country-banner {
  background:
    linear-gradient(135deg, rgba(9,22,52,.9) 0%, rgba(0,100,90,.85) 100%),
    url('../img/hero-lago.jpg') center/cover no-repeat;
  padding: 80px 0;
  position: relative; overflow: hidden;
}
.country-banner::before {
  content: '';
  position: absolute; inset: 0;
  background: repeating-linear-gradient(
    0deg, transparent, transparent 39px,
    rgba(255,255,255,.025) 40px
  ),
  repeating-linear-gradient(
    90deg, transparent, transparent 39px,
    rgba(255,255,255,.025) 40px
  );
}

/* ════════════════════════════════════════════════════════
   HERO BADGE visual fix
   ════════════════════════════════════════════════════════ */
.hero-badge-text { font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
