/* ===== TOKENS ===== */
:root {
  --navy:    #0D1B3E;
  --navy-mid:#1A2D5A;
  --blue:    #1D6FE8;
  --cyan:    #2DCBF8;
  --violet:  #7B3FE4;
  --grad:    linear-gradient(135deg, #2DCBF8 0%, #1D6FE8 50%, #7B3FE4 100%);
  --grad-b:  linear-gradient(135deg, #0D1B3E 0%, #1A2D5A 100%);
  --white:   #FFFFFF;
  --off:     #F5F7FA;
  --muted:   #8896B0;
  --border:  #E2E8F0;
  --text:    #1A1F36;
  --r-lg:    16px;
  --r-xl:    24px;
  --shadow:  0 4px 24px rgba(13,27,62,.10);
  --shadow-md:0 8px 40px rgba(13,27,62,.15);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ===== UTILITIES ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section-tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(29,111,232,.08); color: var(--blue);
  font-size: 12px; font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase; padding: 6px 14px; border-radius: 999px;
  margin-bottom: 20px;
}
.section-tag::before { content:''; width:6px; height:6px; border-radius:50%; background:var(--blue); }

/* Password show/hide toggle — injected around every type="password" input by
   assets/password-toggle.js. The wrapped input keeps its own width/classes;
   this just reserves room on the right for the eye button. */
.pw-field { position: relative; }
.pw-field input { padding-right: 42px !important; }
.pw-toggle {
  position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  width: 30px; height: 30px; border: none; background: none; cursor: pointer;
  font-size: 15px; line-height: 1; color: var(--muted);
  display: flex; align-items: center; justify-content: center; border-radius: 6px;
  transition: color .15s, background .15s;
}
.pw-toggle:hover { color: var(--blue); background: rgba(29,111,232,.08); }
h1,h2,h3,h4 { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; }
.section-title { font-size: clamp(28px,4vw,44px); color: var(--navy); line-height: 1.2; margin-bottom: 16px; }
.section-sub { font-size: 18px; color: var(--muted); max-width: 560px; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: 10px; font-weight: 600;
  font-size: 15px; cursor: pointer; border: none; text-decoration: none;
  transition: all .2s ease;
}
.btn-primary {
  background: var(--grad); color: var(--white);
  box-shadow: 0 4px 20px rgba(29,111,232,.4);
}
.btn-primary:hover { opacity:.9; transform:translateY(-2px); box-shadow: 0 8px 32px rgba(29,111,232,.5); }
.btn-outline {
  background: transparent; color: var(--navy);
  border: 1.5px solid var(--border);
}
.btn-outline:hover { background: var(--off); border-color: var(--blue); color: var(--blue); }
.btn-white {
  background: var(--white); color: var(--navy); font-weight: 700;
}
.btn-white:hover { background: var(--off); }
.btn-outline-white {
  background: transparent; color: var(--white);
  border: 1.5px solid rgba(255,255,255,.4);
}
.btn-outline-white:hover { background: rgba(255,255,255,.1); }

/* ===== HEADER ===== */
header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255,255,255,.95); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .3s;
}
header.scrolled { box-shadow: var(--shadow); }
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo img { height: 52px; background: transparent; display: block; }

.logo-header { filter: none; background: transparent; height: 44px; }

/* Footer logo — dark-background ("una tinta") version placed directly on
   the navy footer. Same size, alignment and bottom spacing as before. */
.footer-logo { height: 32px; display: block; margin-bottom: 20px; background: transparent; }

.logo-wordmark { height: 32px; }
nav { display: flex; align-items: center; gap: 32px; }
nav a {
  font-size: 14px; font-weight: 500; color: var(--navy);
  text-decoration: none; transition: color .2s;
}
nav a:hover { color: var(--blue); }
.header-cta { display: flex; align-items: center; gap: 12px; }
.hamburger { display: none; background:none; border:none; cursor:pointer; padding:4px; }
.hamburger span { display:block; width:22px; height:2px; background:var(--navy); margin:5px 0; border-radius:2px; transition:.3s; }

/* Mobile nav */
.mobile-nav {
  display: none; flex-direction: column; background: var(--white);
  padding: 20px 24px; border-bottom: 1px solid var(--border);
}
.mobile-nav.open { display: flex; }
.mobile-nav a { padding: 12px 0; font-weight: 500; color: var(--navy); text-decoration:none; border-bottom:1px solid var(--border); }
.mobile-nav .btn { margin-top: 16px; justify-content: center; }

/* ===== HERO ===== */
#inicio {
  padding-top: 72px;
  background: var(--grad-b);
  min-height: 100vh;
  display: flex; align-items: center;
  position: relative; overflow: hidden;
}
.hero-bg-glow {
  position: absolute; border-radius: 50%;
  filter: blur(80px); opacity: .25; pointer-events: none;
}
.hero-bg-glow.g1 { width:600px; height:600px; background:#2DCBF8; top:-150px; right:-100px; }
.hero-bg-glow.g2 { width:400px; height:400px; background:#7B3FE4; bottom:-100px; left:-80px; }
.hero-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px;
  align-items: center; padding: 80px 0;
  position: relative; z-index: 1;
 
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(45,203,248,.15); color: #7FDFFF;
  font-size: 13px; font-weight: 600; padding: 6px 14px;
  border-radius: 999px; margin-bottom: 28px;
  border: 1px solid rgba(45,203,248,.3);
}
.hero-badge::before { content:'✦'; font-size:10px; }
.hero-title {
  font-size: clamp(36px,5vw,64px);
  line-height: 1.1; color: var(--white);
  margin-bottom: 24px;
}
.hero-title span {
  background: var(--grad); -webkit-background-clip: text;
  -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-sub { font-size: 18px; color: rgba(255,255,255,.7); margin-bottom: 40px; max-width: 480px; line-height: 1.7; }
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-stats {
  display: flex; gap: 32px; margin-top: 56px; flex-wrap: wrap;
}
.hero-stat { }
.hero-stat strong { display:block; font-size: 28px; font-weight:800; color:var(--white); }
.hero-stat span { font-size: 13px; color: rgba(255,255,255,.5); }
.hero-visual {
  display: flex; justify-content: center; align-items: start;height: 100%;
}
/* Hero carousel — up to 3 admin-uploaded promo images (see admin panel's
   "Carrusel principal"), crossfading automatically. Hidden by JS (see
   assets/index-dynamic.js) whenever no slides exist, rather than falling
   back to a static placeholder image. */
.hero-carousel {
  position: relative; width: 100%; max-width: 520px; aspect-ratio: 4 / 3;
  padding-bottom: 20%;

  border-radius: var(--r-xl); overflow: hidden;
  filter: drop-shadow(0 20px 55px rgba(123,63,228,.5));
}
.hero-carousel img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: 0; transition: opacity 1s ease;
}
.hero-carousel img.active { opacity: 1; }
.floating-brands {
  display: flex; gap: 10px; flex-wrap: wrap; margin-top: 24px;
}
.brand-pill {
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2);
  color: var(--white); font-size: 12px; font-weight: 600;
  padding: 6px 14px; border-radius: 999px; backdrop-filter: blur(4px);
}

/* ===== BENEFITS ===== */
#beneficios { padding: 100px 0; background: var(--off); }
.benefits-header { text-align:center; margin-bottom:60px; }
.benefits-header .section-sub { margin: 0 auto; }
.benefits-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.benefit-card {
  background: var(--white); border-radius: var(--r-lg);
  padding: 32px 28px; border: 1px solid var(--border);
  transition: all .3s; position: relative; overflow: hidden;
}
.benefit-card::before {
  content:''; position:absolute; top:0; left:0; right:0; height:3px;
  background: var(--grad); opacity:0; transition:.3s;
}
.benefit-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.benefit-card:hover::before { opacity:1; }
.benefit-icon {
  width: 52px; height: 52px; border-radius: 12px;
  background: linear-gradient(135deg,rgba(29,111,232,.1),rgba(123,63,228,.1));
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; margin-bottom: 20px;
}
.benefit-icon .fi { width: 28px; height: 21px; border-radius: 3px; }
.benefit-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; color: var(--navy); }
.benefit-card p { font-size: 14px; color: var(--muted); line-height: 1.65; }

/* ===== CATALOG ===== */
#catalogo { padding: 100px 0; background: var(--white); }
.catalog-header { margin-bottom: 60px; }
.catalog-tabs {
  display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 40px;
}
.cat-tab {
  padding: 8px 18px; border-radius: 999px; font-size: 13px; font-weight: 600;
  cursor: pointer; border: 1.5px solid var(--border); background: var(--white);
  color: var(--muted); transition: all .2s;
}
.cat-tab.active, .cat-tab:hover {
  background: var(--grad); color: var(--white); border-color: transparent;
}
/* Featured category — the flagship "Bono Multimarca". Slightly elevated
   above the other pills while keeping the exact same shape/size. */
.cat-tab--featured {
  background: var(--grad); color: var(--white); border-color: transparent;
  font-weight: 700; box-shadow: 0 4px 16px rgba(29,111,232,.35);
}
.cat-tab--featured:hover { box-shadow: 0 6px 20px rgba(29,111,232,.45); }

/* Multimarca showcase panel (replaces the brand grid for this category). */
.cat-section.multimarca-panel.active { display:block; }
.multimarca-card {
  display:grid; grid-template-columns: 1.1fr 1fr; gap:44px; align-items:center;
  background: var(--grad-b); border-radius: var(--r-xl); overflow:hidden;
  padding:48px; position:relative;
  box-shadow: var(--shadow-md); border:1px solid rgba(255,255,255,.08);
}
.multimarca-glow {
  position:absolute; border-radius:50%; filter:blur(80px); opacity:.28; pointer-events:none;
  width:340px; height:340px; background:#2DCBF8; top:-120px; right:-80px;
}
.multimarca-body { position:relative; z-index:1; }
.multimarca-badge {
  display:inline-flex; align-items:center; gap:8px;
  background:rgba(45,203,248,.15); color:#7FDFFF; border:1px solid rgba(45,203,248,.3);
  font-size:12px; font-weight:600; padding:6px 14px; border-radius:999px; margin-bottom:18px;
}
.multimarca-body h3 {
  font-family:'Plus Jakarta Sans',sans-serif; font-size:clamp(24px,3vw,32px);
  font-weight:800; color:var(--white); line-height:1.2; margin-bottom:14px;
}
.multimarca-body h3 span {
  background:var(--grad); -webkit-background-clip:text; background-clip:text;
  -webkit-text-fill-color:transparent;
}
.multimarca-body p { font-size:15px; color:rgba(255,255,255,.7); line-height:1.7; margin-bottom:24px; max-width:440px; }
.multimarca-list { list-style:none; display:flex; flex-direction:column; gap:12px; margin-bottom:28px; }
.multimarca-list li { display:flex; align-items:center; gap:12px; font-size:14px; color:rgba(255,255,255,.85); }
.multimarca-list li svg { width:20px; height:20px; flex-shrink:0; }
.multimarca-visual { position:relative; z-index:1; display:flex; justify-content:center; }
.multimarca-visual img {
  width:100%; max-width:420px; border-radius:16px; display:block;
  filter: drop-shadow(0 18px 45px rgba(123,63,228,.45));
}
.catalog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.cat-section { display: none; }
.cat-section.active { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px,1fr)); gap: 14px; }
/* ===== BRAND CARDS ===== */
.cat-section { display:none; }
.cat-section.active { display:grid; grid-template-columns:repeat(auto-fill,minmax(140px,1fr)); gap:12px; }

.brand-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 14px;
  padding: 20px 12px 16px;
  text-align: center;
  transition: all .2s;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.brand-card:hover {
  border-color: var(--blue);
  box-shadow: 0 4px 16px rgba(29,111,232,.12);
  transform: translateY(-2px);
}

/* Logo container — fixed square, always same size */
.bc-logo {
  width: 64px; height: 64px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 12px;
  overflow: hidden;
  background: transparent;
  flex-shrink: 0;
}
.bc-logo img {
  width: 56px; height: 56px;
  object-fit: contain;
  display: block;
}

/* Fallback: gradient circle with initials */
.bc-fallback {
  width: 56px; height: 56px;
  border-radius: 10px;
  background: var(--grad);
  color: white;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 16px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  letter-spacing: .02em;
}

.brand-card span {
  font-size: 11px; font-weight: 700;
  color: var(--navy); line-height: 1.3;
  text-transform: uppercase; letter-spacing: .03em;
}

/* ===== LATAM ===== */
#latam { padding: 100px 0; background: var(--grad-b); position:relative; overflow:hidden; }
.latam-glow { position:absolute; border-radius:50%; filter:blur(80px); opacity:.2; pointer-events:none; }
.latam-glow.g1 { width:500px; height:500px; background:#2DCBF8; top:-100px; right:-100px; }
.latam-glow.g2 { width:400px; height:400px; background:#7B3FE4; bottom:-100px; left:-80px; }
.latam-inner { position:relative; z-index:1; }
.latam-header { margin-bottom: 60px; }
.latam-header .section-title { color: var(--white); }
.latam-header .section-sub { color: rgba(255,255,255,.65); }
.latam-header .section-tag { background:rgba(255,255,255,.1); color:#7FDFFF; }
.latam-header .section-tag::before { background:#2DCBF8; }
.countries-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px,1fr)); gap: 16px; margin-bottom: 52px; }
.country-card {
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.15);
  border-radius: 14px; padding: 24px 16px; text-align:center;
  transition: all .2s; backdrop-filter: blur(4px);
}
.country-card:hover { background:rgba(255,255,255,.13); transform:translateY(-3px); }
.country-flag { font-size: 36px; margin-bottom: 10px; }
.country-flag .fi { width: 48px; height: 36px; border-radius: 4px; box-shadow: 0 1px 3px rgba(0,0,0,.2); }
.country-name { font-size: 14px; font-weight: 600; color: var(--white); }
.latam-cta { display:flex; gap:16px; flex-wrap:wrap; }

/* ===== SOLUTIONS ===== */
#soluciones { padding: 100px 0; background: var(--off); }
.solutions-header { margin-bottom: 60px; }
.solutions-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 24px; }
.solution-card {
  background: var(--white); border-radius: var(--r-xl); padding: 40px 36px;
  border: 1px solid var(--border); display: flex; gap: 24px;
  transition: all .3s; position:relative; overflow:hidden;
}
.solution-card::after {
  content:''; position:absolute; inset:0; background:var(--grad);
  opacity:0; transition:.3s; border-radius: var(--r-xl);
}
.solution-card:hover { transform:translateY(-4px); box-shadow:var(--shadow-md); }
.solution-card:hover::after { opacity:.04; }
.solution-icon {
  flex-shrink:0; width:64px; height:64px; border-radius: 16px;
  background:var(--grad); display:flex; align-items:center; justify-content:center;
  font-size:28px; position:relative; z-index:1;
}
.solution-body { position:relative; z-index:1; }
.solution-body h3 { font-size:22px; font-weight:800; color:var(--navy); margin-bottom:10px; }
.solution-body p { font-size:15px; color:var(--muted); line-height:1.7; margin-bottom:16px; }
.solution-tags { display:flex; gap:8px; flex-wrap:wrap; }
.s-tag {
  font-size:12px; font-weight:600; color:var(--blue);
  background:rgba(29,111,232,.08); padding:4px 12px; border-radius:999px;
}

/* ===== HOW IT WORKS ===== */
#como-funciona { padding: 100px 0; background: var(--white); }
.how-header { text-align:center; margin-bottom:70px; }
.how-header .section-sub { margin:0 auto; }
.steps-track {
  display: grid; grid-template-columns: repeat(4,1fr); gap: 0;
  position: relative;
}
.steps-track::before {
  content:''; position:absolute; top:32px; left:calc(12.5%); right:calc(12.5%);
  height:2px; background:var(--grad); z-index:0;
}
.step {
  text-align:center; padding: 0 16px; position:relative; z-index:1;
}
.step-num {
  width:64px; height:64px; border-radius:50%; background:var(--grad);
  display:flex; align-items:center; justify-content:center; margin:0 auto 24px;
  font-family:'Plus Jakarta Sans',sans-serif; font-size:22px; font-weight:800;
  color:var(--white); box-shadow: 0 8px 24px rgba(29,111,232,.4);
}
.step-icon { font-size: 28px; margin-bottom: 16px; }
.step h3 { font-size:17px; font-weight:700; color:var(--navy); margin-bottom:8px; }
.step p { font-size:14px; color:var(--muted); line-height:1.65; }

/* ===== FORM ===== */
#cotizacion { padding: 100px 0; background: var(--off); }
.form-section { display:grid; grid-template-columns:1fr 1fr; gap:80px; align-items:start; }
.form-left { }
.form-left .section-title { margin-bottom:16px; }
.form-left .section-sub { margin-bottom:40px; }
.trust-items { display:flex; flex-direction:column; gap:16px; }
.trust-item { display:flex; gap:14px; align-items:flex-start; }
.trust-dot {
  width:36px; height:36px; border-radius:10px; flex-shrink:0;
  background:var(--grad); display:flex; align-items:center; justify-content:center;
  font-size:16px; margin-top:2px;
}
.trust-item p { font-size:14px; color:var(--muted); }
.trust-item strong { display:block; font-size:15px; font-weight:600; color:var(--navy); margin-bottom:2px; }
.form-box {
  background:var(--white); border-radius:var(--r-xl); padding:48px 40px;
  box-shadow: var(--shadow-md); border:1px solid var(--border);
}
.form-box h3 { font-size:22px; font-weight:800; color:var(--navy); margin-bottom:32px; }
.form-row { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.form-group { margin-bottom:18px; }
.form-group label { display:block; font-size:13px; font-weight:600; color:var(--navy); margin-bottom:8px; }
.form-group input, .form-group select, .form-group textarea {
  width:100%; padding:12px 16px; border-radius:10px;
  border:1.5px solid var(--border); font-size:14px; font-family:inherit;
  color:var(--text); background:var(--off); transition:border-color .2s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline:none; border-color:var(--blue); background:var(--white);
}
.form-group textarea { height:100px; resize:vertical; }
.form-captcha { margin-bottom:18px; min-height:65px; }
.form-submit { width:100%; padding:16px; font-size:16px; border-radius:10px; margin-top:8px; }

/* ===== FAQ ===== */
#faq { padding: 100px 0; background: var(--white); }
.faq-inner { display:grid; grid-template-columns:1fr 2fr; gap:80px; align-items:start; }
.faq-left .section-sub { margin-top:16px; }
.faq-list { display:flex; flex-direction:column; gap:12px; }
.faq-item {
  border:1.5px solid var(--border); border-radius:12px; overflow:hidden;
}
.faq-q {
  display:flex; justify-content:space-between; align-items:center;
  padding:20px 24px; cursor:pointer; background:var(--white);
  font-weight:600; font-size:15px; color:var(--navy);
  transition:background .2s;
}
.faq-q:hover { background:var(--off); }
.faq-q .faq-icon { font-size:20px; transition:transform .3s; color:var(--blue); }
.faq-item.open .faq-q .faq-icon { transform:rotate(45deg); }
.faq-a {
  display:none; padding:0 24px 20px; font-size:14px; color:var(--muted); line-height:1.7;
}
.faq-item.open .faq-a { display:block; }

/* ===== FOOTER ===== */
footer { background:var(--navy); color:var(--white); padding:60px 0 32px; }
.footer-inner {
  display:grid; grid-template-columns:2fr 1fr 1fr; gap:60px;
  padding-bottom:48px; border-bottom:1px solid rgba(255,255,255,.1);
  margin-bottom:32px;
}
.footer-brand p { font-size:14px; color:rgba(255,255,255,.55); line-height:1.7; max-width:280px; }
.footer-tagline { font-size:16px; font-style:italic; color:#7FDFFF; margin-top:20px; }
.footer-social { display:flex; gap:12px; margin-top:24px; }
.footer-social a {
  width:38px; height:38px; border-radius:50%; display:flex; align-items:center; justify-content:center;
  background:rgba(255,255,255,.08); color:rgba(255,255,255,.75); transition:background .2s, color .2s, transform .2s;
}
.footer-social a:hover { background:var(--grad); color:var(--white); transform:translateY(-2px); }
.footer-social svg { width:18px; height:18px; }
.footer-col h4 { font-size:13px; font-weight:700; text-transform:uppercase; letter-spacing:.08em; color:rgba(255,255,255,.4); margin-bottom:20px; }
.footer-col a { display:block; font-size:14px; color:rgba(255,255,255,.65); text-decoration:none; margin-bottom:12px; transition:color .2s; }
.footer-col a:hover { color:var(--white); }
.footer-bottom { display:flex; justify-content:space-between; align-items:center; font-size:13px; color:rgba(255,255,255,.35); flex-wrap:wrap; gap:12px; }

/* ===== WHATSAPP FLOAT ===== */
.wa-float {
  position:fixed; bottom:28px; right:28px; z-index:999;
  width:60px; height:60px; border-radius:50%;
  background:#25D366; display:flex; align-items:center; justify-content:center;
  box-shadow: 0 4px 20px rgba(37,211,102,.5); text-decoration:none;
  transition:all .3s; animation:waPulse 2s infinite;
}
.wa-float:hover { transform:scale(1.1); box-shadow:0 8px 32px rgba(37,211,102,.6); }
.wa-float svg { width:32px; height:32px; fill:white; }
@keyframes waPulse {
  0%,100% { box-shadow:0 4px 20px rgba(37,211,102,.5), 0 0 0 0 rgba(37,211,102,.4); }
  50% { box-shadow:0 4px 20px rgba(37,211,102,.5), 0 0 0 12px rgba(37,211,102,0); }
}



/* ===== WHY / CONFIANZA ===== */
#confianza { padding: 100px 0; background: var(--white); }
.why-header { text-align:center; margin-bottom:56px; }
.why-header .section-sub { margin:0 auto; }
.why-header .section-sub b { color: var(--blue); font-weight:700; }
.why-grid { display:flex; grid-template-columns:repeat(3,1fr); gap:24px; margin-bottom:40px; justify-content: center;flex-wrap: wrap;}
.why-card {
  background: var(--white); border:1px solid var(--border); border-radius: var(--r-lg);
  padding:32px 28px; transition: all .3s; position:relative; overflow:hidden;
  display:flex; flex-direction:column; gap:14px;
}
.why-card::before {
  content:''; position:absolute; top:0; left:0; right:0; height:3px;
  background:var(--grad); opacity:0; transition:.3s;
}
.why-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color:transparent; }
.why-card:hover::before { opacity:1; }
.why-icon {
  width:56px; height:56px; border-radius:14px; flex-shrink:0;
  background: linear-gradient(135deg,rgba(45,203,248,.12),rgba(123,63,228,.12));
  display:flex; align-items:center; justify-content:center; transition: transform .3s;
}
.why-card:hover .why-icon { transform: scale(1.08); }
.why-icon svg { width:28px; height:28px; stroke: var(--blue); fill:none; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
.why-card h3 { font-size:17px; font-weight:700; color:var(--navy); }
.why-card p { font-size:14px; color:var(--muted); line-height:1.65; }
.why-banner {
  display:flex; align-items:center; gap:22px;
  background: var(--grad-b); border-radius: var(--r-xl); padding:32px 40px;
  position:relative; overflow:hidden;
}
.why-banner-glow { position:absolute; width:320px; height:320px; border-radius:50%; filter:blur(80px); opacity:.25; background:#2DCBF8; top:-150px; right:-60px; pointer-events:none; }
.why-shield {
  width:56px; height:56px; flex-shrink:0; border-radius:16px; position:relative; z-index:1;
  background:var(--grad); display:flex; align-items:center; justify-content:center;
  box-shadow:0 8px 24px rgba(29,111,232,.4);
}
.why-shield svg { width:30px; height:30px; stroke:#fff; fill:none; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
.why-banner p { position:relative; z-index:1; font-size:16px; color:rgba(255,255,255,.85); line-height:1.6; }
.why-banner p b { color:#fff; font-weight:700; }
.why-banner p .g { background:var(--grad); -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent; font-weight:700; }

/* ===== ANIMATIONS ===== */
.fade-up { opacity:0; transform:translateY(24px); transition:opacity .6s ease, transform .6s ease; }
.fade-up.visible { opacity:1; transform:none; }

/* ===== RESPONSIVE ===== */
@media (max-width:1024px) {
  .hero-inner { grid-template-columns:1fr; gap:48px; }
  .hero-visual { display:none; }
  .benefits-grid { grid-template-columns:repeat(2,1fr); }
  .solutions-grid { grid-template-columns:1fr; }
  .form-section { grid-template-columns:minmax(0,1fr); gap:48px; }
  .faq-inner { grid-template-columns:1fr; gap:40px; }
  .footer-inner { grid-template-columns:1fr 1fr; }
  .steps-track { grid-template-columns:repeat(2,1fr); gap:40px; }
  .steps-track::before { display:none; }
  .why-grid { grid-template-columns:repeat(2,1fr); }
  .multimarca-card { grid-template-columns:1fr; gap:32px; }
}
@media (max-width:480px) {
  /* The quote form holds a fixed 300px Turnstile widget. With the desktop 40px side
     padding the box needed 382px of column inside a 327px container, widening the
     whole page on a 375px phone. Trim the padding so the widget fits. */
  .form-box { padding:32px 12px; }
}
@media (max-width:768px) {
  nav { display:none; }
  /* Both header buttons are already duplicated inside #mobile-nav (the
     hamburger dropdown) — keeping .btn-primary exempt here made
     "Solicitar Cotización" overflow off-screen at narrow widths instead of
     collapsing into the menu like its sibling button does. */
  .header-cta .btn { display:none; }
  .hamburger { display:block; }
  .benefits-grid { grid-template-columns:1fr; }
  .form-row { grid-template-columns:1fr; }
  .footer-inner { grid-template-columns:1fr; gap:40px; }
  .steps-track { grid-template-columns:1fr; }
  .countries-grid { grid-template-columns:repeat(2,1fr); }
  .why-grid { grid-template-columns:1fr; }
  .why-banner { flex-direction:column; text-align:center; gap:16px; padding:28px 24px; }
  .multimarca-card { padding:32px 22px; }
}
