/* ============================================================
   Reyes Montero · Agencia de Seguros — Landing
   Builds on assets/colors_and_type.css (GRM design system)
   ============================================================ */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--fg-1);
  background: var(--bg-page);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 28px; }
.lucide { width: 1em; height: 1em; stroke-width: 2; vertical-align: middle; }
section { scroll-margin-top: 84px; }

/* ---- justified body copy (per request) ---- */
.lead-hero,
.intro-copy p,
.section-head p,
.prod p,
.member .bio,
.equipo-intro p,
.contact-info p,
.pillar p,
.footer p {
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
  -webkit-hyphens: auto;
}

/* ---- shared eyebrow centering ---- */
.eyebrow { display: inline-block; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  font-family: var(--font-display); font-weight: 600; font-size: 15px;
  border-radius: var(--radius-pill); padding: 13px 26px; border: 1.5px solid transparent;
  cursor: pointer; display: inline-flex; align-items: center; gap: 9px;
  transition: transform var(--dur-base) var(--ease-standard),
              box-shadow var(--dur-base) var(--ease-standard),
              background var(--dur-base) var(--ease-standard),
              border-color var(--dur-base) var(--ease-standard);
  white-space: nowrap; position: relative; overflow: hidden; isolation: isolate;
}
.btn .lucide { width: 18px; height: 18px; }
/* shine sweep */
.btn::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.45) 50%, transparent 70%);
  transform: translateX(-130%); transition: transform .7s var(--ease-standard);
}
.btn:hover::before { transform: translateX(130%); }
.btn-primary { background: var(--grm-blue); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--blue-600); box-shadow: var(--shadow-brand); transform: translateY(-2px); }
.btn-primary:active { transform: scale(.98); }
.btn-gold { background: var(--gold-400); color: #3a2906; box-shadow: 0 8px 20px rgba(217,159,46,.32); }
.btn-gold:hover { background: var(--gold-300); transform: translateY(-2px); box-shadow: 0 12px 26px rgba(217,159,46,.4); }
.btn-gold:active { transform: scale(.98); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.btn-ghost:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.8); }
.btn-ghost::before { display: none; }
.btn-outline { background: #fff; color: var(--blue-700); border-color: var(--border-strong); }
.btn-outline:hover { border-color: var(--grm-blue); color: var(--grm-blue); transform: translateY(-1px); }
.btn-wa { background: #25D366; color: #053a1b; box-shadow: 0 8px 20px rgba(37,211,102,.28); }
.btn-wa:hover { background: #1fbf5b; transform: translateY(-2px); }

/* ============================================================
   NAV (fixed)
   ============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255,255,255,.72); backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: background var(--dur-base), border-color var(--dur-base), box-shadow var(--dur-base);
}
.nav.scrolled { background: rgba(255,255,255,.9); border-color: var(--border); box-shadow: var(--shadow-sm); }
.nav-inner { display: flex; align-items: center; gap: 28px; height: 74px; }
.nav-logo { display: flex; align-items: center; gap: 12px; }
.nav-logo img { height: 64px; width: 64px; border-radius: 14px; box-shadow: var(--shadow-xs); }
.nav-logo .wordmark { font-family: var(--font-display); font-weight: 800; font-size: 19px; color: var(--blue-700); letter-spacing: .01em; line-height: 1.05; }
.nav-logo .sub { font-size: 9px; letter-spacing: .2em; color: var(--fg-3); text-transform: uppercase; margin-top: 2px; }
.nav-links { display: flex; gap: 28px; margin-left: auto; }
.nav-links a { font-family: var(--font-display); font-size: 14.5px; font-weight: 600; color: var(--fg-2); padding: 6px 2px; position: relative; transition: color var(--dur-fast); }
.nav-links a:hover, .nav-links a.active { color: var(--grm-blue); }
.nav-links a::after { content: ''; position: absolute; left: 0; right: 100%; bottom: -3px; height: 2px; background: var(--gold-400); border-radius: 2px; transition: right var(--dur-base) var(--ease-standard); }
.nav-links a:hover::after, .nav-links a.active::after { right: 0; }
.nav-cta { margin-left: 4px; }
.nav-burger { display: none; margin-left: auto; background: none; border: none; cursor: pointer; color: var(--blue-700); }
.nav-burger .lucide { width: 28px; height: 28px; }

/* mobile menu */
.mobile-menu { display: none; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative; overflow: hidden; color: #fff; isolation: isolate;
  background: linear-gradient(135deg, var(--blue-700) 0%, var(--grm-blue) 48%, var(--grm-indigo) 100%);
  padding-top: 74px;
}
/* moving mesh grid */
.hero-grid-bg {
  position: absolute; inset: -2px; z-index: 0; opacity: .5;
  background-image:
    linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(120% 90% at 70% 10%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(120% 90% at 70% 10%, #000 30%, transparent 80%);
  animation: gridDrift 28s linear infinite;
}
@keyframes gridDrift { to { background-position: 54px 54px, 54px 54px; } }
/* aurora blobs */
.hero-aurora { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.hero-aurora span { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; mix-blend-mode: screen; }
.hero-aurora .a1 { width: 480px; height: 480px; background: #4f7fd6; top: -120px; right: -80px; animation: float1 16s ease-in-out infinite; }
.hero-aurora .a2 { width: 420px; height: 420px; background: var(--gold-400); bottom: -160px; left: -60px; opacity: .28; animation: float2 19s ease-in-out infinite; }
.hero-aurora .a3 { width: 360px; height: 360px; background: #6b5fd0; top: 30%; left: 45%; opacity: .35; animation: float3 22s ease-in-out infinite; }
@keyframes float1 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(-40px,40px) scale(1.1); } }
@keyframes float2 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(50px,-30px) scale(1.12); } }
@keyframes float3 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(-30px,-40px) scale(.9); } }
.hero-canvas { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero-wmark { position: absolute; right: -120px; bottom: -150px; width: 560px; opacity: .07; pointer-events: none; z-index: 0; }

.hero-grid { display: grid; grid-template-columns: 1.12fr .88fr; gap: 52px; align-items: center; padding: 70px 0 96px; position: relative; z-index: 3; }
.hero-grid > div:first-child { padding-left: clamp(10px, 1.6vw, 26px); }
.hero-eyebrow { color: var(--gold-300); display: inline-flex; align-items: center; gap: 9px; }
.hero-eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold-300); box-shadow: 0 0 0 0 rgba(231,182,83,.6); animation: pulseDot 2.4s ease-out infinite; }
@keyframes pulseDot { 0% { box-shadow: 0 0 0 0 rgba(231,182,83,.55); } 70% { box-shadow: 0 0 0 9px rgba(231,182,83,0); } 100% { box-shadow: 0 0 0 0 rgba(231,182,83,0); } }
.hero h1 {
  font-family: var(--font-display); font-weight: 800; font-size: clamp(38px, 5.2vw, 62px);
  line-height: 1.04; letter-spacing: -.02em; margin: 16px 0 20px; max-width: 13ch;
}
.hero h1 .accent { color: var(--gold-300); position: relative; }
.hero p.lead-hero { font-size: 18.5px; line-height: 1.6; color: rgba(255,255,255,.86); max-width: 46ch; margin: 0 0 32px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-trust { display: flex; gap: 30px; margin-top: 44px; flex-wrap: wrap; }
.hero-trust .ti { display: flex; align-items: center; gap: 10px; }
.hero-trust .ti .lucide { width: 22px; height: 22px; color: var(--gold-300); }
.hero-trust .tnum { font-family: var(--font-display); font-weight: 800; font-size: 20px; line-height: 1; }
.hero-trust .tlab { font-size: 12.5px; color: rgba(255,255,255,.7); line-height: 1.2; }

/* word reveal — base VISIBLE; hidden+animated only when JS is active */
.reveal-word { display: inline-block; }
html.js .reveal-word { opacity: 0; transform: translateY(18px); animation: wordUp .6s var(--ease-out) forwards; }
@keyframes wordUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }

/* hero quote card */
.quote-card {
  position: relative; background: #fff; border-radius: var(--radius-lg); padding: 28px;
  box-shadow: var(--shadow-lg); color: var(--fg-1);
  animation: cardIn .8s var(--ease-out) .2s both;
}
@keyframes cardIn { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: translateY(0); } }
/* refined flowing gradient border + soft breathing glow (discreet, on-brand) */
.quote-card::before {
  content: ''; position: absolute; inset: -1.5px; border-radius: calc(var(--radius-lg) + 1.5px); z-index: -1;
  background: linear-gradient(115deg, var(--grm-blue) 0%, var(--gold-400) 25%, var(--grm-indigo) 50%, var(--grm-blue) 75%, var(--gold-400) 100%);
  background-size: 280% 280%;
  animation: borderFlow 9s ease-in-out infinite;
}
html.js .quote-card { animation: cardIn .8s var(--ease-out) .2s both, cardGlow 5.5s ease-in-out 1s infinite; }
@keyframes borderFlow {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
@keyframes cardGlow {
  0%, 100% { box-shadow: var(--shadow-lg); }
  50%      { box-shadow: var(--shadow-lg), 0 0 0 4px rgba(217,159,46,.12), 0 12px 40px rgba(47,88,166,.22); }
}
.quote-card .qc-head { display: flex; align-items: center; gap: 10px; margin-bottom: 4px; }
.quote-card .qc-badge { width: 38px; height: 38px; border-radius: 10px; background: var(--blue-50); color: var(--grm-blue); display: flex; align-items: center; justify-content: center; }
.quote-card .qc-badge .lucide { width: 20px; height: 20px; }
.quote-card h4 { font-family: var(--font-display); font-weight: 800; font-size: 20px; margin: 0; }
.quote-card .qsub { font-size: 13px; color: var(--fg-3); margin: 2px 0 18px 48px; }
.qfield { margin-bottom: 13px; }
.qfield label { display: block; font-size: 12.5px; font-weight: 600; color: var(--fg-2); margin-bottom: 6px; font-family: var(--font-display); }
.qfield select, .qfield input {
  width: 100%; font-family: var(--font-body); font-size: 15px; padding: 12px 13px;
  border: 1px solid var(--border-strong); border-radius: var(--radius-sm); color: var(--fg-1); background: #fff;
  transition: border-color var(--dur-fast), box-shadow var(--dur-fast);
}
.qfield select:focus, .qfield input:focus { outline: none; border-color: var(--grm-blue); box-shadow: 0 0 0 3px var(--focus-ring); }

/* ============================================================
   SECTION SCAFFOLD
   ============================================================ */
.section { padding: 92px 0; position: relative; }
.section-head { text-align: center; max-width: 660px; margin: 0 auto 56px; }
.section-head h2 { font-family: var(--font-display); font-weight: 800; font-size: clamp(28px, 3.6vw, 42px); letter-spacing: -.015em; margin: 14px 0 16px; line-height: 1.1; }
.section-head p strong { color: var(--blue-700); font-weight: 700; }
.section-head p { font-size: 17.5px; color: var(--fg-2); line-height: 1.6; margin: 0; }

/* ============================================================
   INTRO / INICIO
   ============================================================ */
.intro { padding: 92px 0 40px; }
.intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.intro-copy h2 { font-family: var(--font-display); font-weight: 800; font-size: clamp(28px, 3.4vw, 40px); letter-spacing: -.015em; line-height: 1.12; margin: 14px 0 18px; }
.intro-copy p { font-size: 17px; line-height: 1.65; color: var(--fg-2); margin: 0 0 16px; }
.intro-copy .mission { border-left: 3px solid var(--gold-400); padding-left: 18px; font-family: var(--font-display); font-weight: 600; font-size: 18px; color: var(--blue-700); font-style: italic; margin: 24px 0 0; line-height: 1.45; }
.intro-pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pillar { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow-xs); transition: transform var(--dur-base) var(--ease-standard), box-shadow var(--dur-base); }
.pillar:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.pillar .pic { width: 46px; height: 46px; border-radius: var(--radius-md); background: linear-gradient(135deg, var(--blue-50), var(--blue-100)); color: var(--grm-blue); display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.pillar .pic .lucide { width: 24px; height: 24px; }
.pillar h4 { font-family: var(--font-display); font-weight: 700; font-size: 16px; margin: 0 0 6px; }
.pillar p { font-size: 13.5px; color: var(--fg-2); line-height: 1.5; margin: 0; }

/* ============================================================
   PRODUCTOS
   ============================================================ */
.prods { background: var(--bg-surface); }
.prod-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.prod {
  position: relative; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 0; box-shadow: var(--shadow-xs); overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform var(--dur-base) var(--ease-standard), box-shadow var(--dur-base), border-color var(--dur-base);
}
.prod::after { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--grm-blue), var(--gold-400)); transform: scaleX(0); transform-origin: left; transition: transform var(--dur-slow) var(--ease-standard); z-index: 2; }
.prod:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--blue-200); }
.prod:hover::after { transform: scaleX(1); }
/* image area */
.prod-img-wrap { position: relative; aspect-ratio: 4/3; overflow: hidden; flex: 0 0 auto; background: var(--blue-50); }
.prod-img { width: 100%; height: 100%; object-fit: contain; object-position: center; display: block; transition: transform var(--dur-slow) var(--ease-standard); }
.prod:hover .prod-img { transform: scale(1.03); }
/* body area */
.prod-body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.prod-ic { width: 48px; height: 48px; border-radius: var(--radius-md); background: var(--blue-50); color: var(--grm-blue); display: flex; align-items: center; justify-content: center; margin-bottom: 14px; border: 3px solid #fff; box-shadow: var(--shadow-xs); margin-top: -38px; position: relative; z-index: 1; transition: background var(--dur-base), color var(--dur-base), transform var(--dur-base); }
.prod-ic .lucide { width: 24px; height: 24px; }
.prod:hover .prod-ic { background: linear-gradient(135deg, var(--grm-blue), var(--grm-indigo)); color: #fff; transform: scale(1.08) rotate(-3deg); }
.prod h3 { font-family: var(--font-display); font-weight: 700; font-size: 17px; margin: 0 0 8px; line-height: 1.2; }
.prod p { font-size: 13.5px; color: var(--fg-2); line-height: 1.55; margin: 0 0 18px; flex: 1; }
.prod-cta { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-display); font-size: 13px; font-weight: 700; color: #053a1b; background: #eafaf0; border: 1px solid #b8ebcd; padding: 9px 16px; border-radius: var(--radius-pill); cursor: pointer; transition: all var(--dur-base) var(--ease-standard); align-self: flex-start; }
.prod-cta .lucide { width: 15px; height: 15px; }
.prod-cta:hover { background: #25D366; color: #fff; border-color: #25D366; transform: translateX(2px); }

/* ============================================================
   CARRIER RIBBON (compañías)
   ============================================================ */
.carriers { background: var(--bg-page); padding: 56px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.carriers-head { text-align: center; margin-bottom: 30px; }
.carriers-head .eyebrow { margin-bottom: 8px; }
.carriers-head p { font-size: 15px; color: var(--fg-3); margin: 0; }
.marquee { position: relative; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 18px; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.carrier {
  flex: 0 0 auto; display: flex; align-items: center; justify-content: center;
  height: 84px; width: 188px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-md);
  overflow: hidden; transition: transform var(--dur-base), box-shadow var(--dur-base), border-color var(--dur-base);
}
.carrier:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--blue-200); }
.carrier img { width: 100%; height: 100%; object-fit: contain; display: block; }

/* ============================================================
   CÓMO FUNCIONA (proceso)
   ============================================================ */
.proceso { background: linear-gradient(160deg, var(--blue-800), var(--grm-indigo)); color: #fff; position: relative; overflow: hidden; }
.proceso .section-head h2 { color: #fff; }
.proceso .section-head p { color: rgba(255,255,255,.78); }
.proceso .eyebrow { color: var(--gold-300); }
.proceso-wmark { position: absolute; right: -80px; top: -60px; width: 360px; opacity: .06; }
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; position: relative; margin-top: 20px; }
.steps-line { position: absolute; top: 34px; left: 9%; right: 9%; height: 2px; background: rgba(255,255,255,.18); z-index: 0; }
.steps-line .fill { position: absolute; inset: 0; width: 0; background: linear-gradient(90deg, var(--gold-300), var(--gold-400)); transition: width 1.4s var(--ease-standard); box-shadow: 0 0 12px rgba(231,182,83,.6); }
.steps.in .steps-line .fill { width: 100%; }
.step { text-align: center; position: relative; z-index: 1; }
html.js .step { opacity: 0; transform: translateY(18px); }
.steps.in .step { animation: wordUp .55s var(--ease-out) forwards; }
.steps.in .step:nth-child(2) { animation-delay: .15s; }
.steps.in .step:nth-child(3) { animation-delay: .35s; }
.steps.in .step:nth-child(4) { animation-delay: .55s; }
.steps.in .step:nth-child(5) { animation-delay: .75s; }
.steps.in .step:nth-child(6) { animation-delay: .95s; }
.step-node {
  width: 68px; height: 68px; border-radius: 50%; margin: 0 auto 18px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.08); border: 1.5px solid rgba(255,255,255,.25);
  backdrop-filter: blur(6px); position: relative; transition: all var(--dur-slow) var(--ease-standard);
}
.step-node .lucide { width: 28px; height: 28px; color: #fff; }
.step-node .step-no { position: absolute; top: -8px; right: -8px; width: 26px; height: 26px; border-radius: 50%; background: var(--gold-400); color: #3a2906; font-family: var(--font-display); font-weight: 800; font-size: 13px; display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-sm); }
.steps.in .step-no { animation: ringPulse 2.4s var(--ease-out) infinite; }
.steps.in .step:nth-child(2) .step-no { animation-delay: .3s; }
.steps.in .step:nth-child(3) .step-no { animation-delay: .6s; }
.steps.in .step:nth-child(4) .step-no { animation-delay: .9s; }
.steps.in .step:nth-child(5) .step-no { animation-delay: 1.2s; }
.steps.in .step:nth-child(6) .step-no { animation-delay: 1.5s; }
@keyframes ringPulse {
  0%   { box-shadow: var(--shadow-sm), 0 0 0 0 rgba(231,182,83,.55); }
  70%  { box-shadow: var(--shadow-sm), 0 0 0 11px rgba(231,182,83,0); }
  100% { box-shadow: var(--shadow-sm), 0 0 0 0 rgba(231,182,83,0); }
}
.steps.in .step-node { background: linear-gradient(135deg, rgba(255,255,255,.18), rgba(255,255,255,.06)); border-color: var(--gold-300); box-shadow: 0 0 0 6px rgba(231,182,83,.1); }
/* hover highlight on process nodes (like the cards) */
.step { cursor: default; }
.step-no { transition: transform var(--dur-base) var(--ease-standard), box-shadow var(--dur-base); }
.step:hover .step-node { transform: translateY(-5px); border-color: var(--gold-300); box-shadow: 0 0 0 9px rgba(231,182,83,.2), var(--shadow-lg); }
.step:hover .step-no { animation: none; transform: scale(1.16); box-shadow: var(--shadow-sm), 0 0 0 7px rgba(231,182,83,.45); }
.step h4 { font-family: var(--font-display); font-weight: 700; font-size: 16.5px; margin: 0 0 7px; color: #fff; }
.step p { font-size: 13px; color: rgba(255,255,255,.72); line-height: 1.5; margin: 0; padding: 0 6px; }

/* ============================================================
   STATS BAND
   ============================================================ */
.band { background: var(--grm-blue); color: #fff; position: relative; overflow: hidden; }
.band-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; padding: 66px 0; position: relative; z-index: 2; }
.band-wmark { position: absolute; left: -70px; top: -90px; width: 360px; opacity: .07; }
.stat { text-align: center; }
.stat .num { font-family: var(--font-display); font-weight: 800; font-size: clamp(44px, 5vw, 60px); line-height: 1; color: var(--gold-300); letter-spacing: -.02em; }
.stat .lab { font-size: 15px; color: rgba(255,255,255,.84); margin-top: 12px; line-height: 1.45; max-width: 24ch; margin-inline: auto; }

/* ============================================================
   EQUIPO
   ============================================================ */
.equipo { background: var(--bg-page); }
.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.member {
  position: relative; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 32px 28px; box-shadow: var(--shadow-xs); overflow: hidden;
  transition: transform var(--dur-base) var(--ease-standard), box-shadow var(--dur-base);
}
.member:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.member-top { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.avatar {
  width: 72px; height: 72px; border-radius: 18px; flex: 0 0 auto; display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 800; font-size: 26px; color: #fff;
  background: linear-gradient(135deg, var(--grm-blue), var(--grm-indigo)); box-shadow: var(--shadow-sm); position: relative;
}
.avatar::after { content: ''; position: absolute; inset: 0; border-radius: 18px; border: 1.5px solid rgba(255,255,255,.25); }
.member h3 { font-family: var(--font-display); font-weight: 700; font-size: 19px; margin: 0 0 3px; }
.member .role { font-size: 13px; color: var(--gold-500); font-weight: 700; font-family: var(--font-display); }
.member .exp { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 600; color: var(--grm-blue); background: var(--blue-50); padding: 5px 11px; border-radius: var(--radius-pill); margin-bottom: 14px; }
.member .exp .lucide { width: 14px; height: 14px; }
.member .bio { font-size: 14px; color: var(--fg-2); line-height: 1.6; margin: 0 0 16px; }
.member .specs { display: flex; flex-wrap: wrap; gap: 7px; }
.member .spec { font-size: 11.5px; font-weight: 600; color: var(--fg-2); background: var(--neutral-100); padding: 5px 11px; border-radius: var(--radius-pill); }
.member-wa { display: inline-flex; align-items: center; gap: 8px; margin-top: 20px; font-family: var(--font-display); font-size: 13.5px; font-weight: 700; color: #053a1b; background: #eafaf0; border: 1px solid #b8ebcd; padding: 10px 18px; border-radius: var(--radius-pill); transition: all var(--dur-base) var(--ease-standard); }
.member-wa .lucide { width: 16px; height: 16px; }
.member-wa:hover { background: #25D366; color: #fff; border-color: #25D366; transform: translateY(-1px); box-shadow: 0 8px 18px rgba(37,211,102,.28); }

.equipo-intro { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 30px 32px; margin-bottom: 40px; box-shadow: var(--shadow-xs); display: flex; align-items: center; gap: 24px; }
.equipo-intro .ei-mark { width: 64px; height: 64px; border-radius: 16px; flex: 0 0 auto; }
.equipo-intro p { font-size: 16px; line-height: 1.6; color: var(--fg-2); margin: 0; }
.equipo-intro p strong { color: var(--fg-1); font-weight: 700; }

/* ============================================================
   CONTACTO
   ============================================================ */
.contact-sec { padding-bottom: 92px; }
.contact { background: linear-gradient(135deg, var(--blue-700), var(--grm-indigo)); color: #fff; border-radius: var(--radius-xl); overflow: hidden; display: grid; grid-template-columns: 1fr 1fr; position: relative; box-shadow: var(--shadow-lg); }
.contact-bg { position: absolute; inset: 0; opacity: .5; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 46px 46px; mask-image: radial-gradient(100% 100% at 0% 0%, #000, transparent 70%); -webkit-mask-image: radial-gradient(100% 100% at 0% 0%, #000, transparent 70%); }
.contact-info { padding: 54px; position: relative; z-index: 1; }
.contact-info .eyebrow { color: var(--gold-300); }
.contact-info h2 { font-family: var(--font-display); font-weight: 800; font-size: 36px; letter-spacing: -.015em; margin: 12px 0 16px; line-height: 1.1; }
.contact-info p { color: rgba(255,255,255,.84); font-size: 16px; line-height: 1.6; margin: 0 0 30px; max-width: 40ch; }
.contact-row { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; font-size: 15.5px; }
.contact-row a, .contact-row span.val { color: #fff; }
.contact-row .ci { width: 44px; height: 44px; border-radius: 12px; background: rgba(255,255,255,.12); display: flex; align-items: center; justify-content: center; flex: 0 0 auto; transition: background var(--dur-base); }
.contact-row:hover .ci { background: rgba(255,255,255,.2); }
.contact-row .ci .lucide { width: 20px; height: 20px; color: var(--gold-300); }
.contact-row .clab { font-size: 12px; color: rgba(255,255,255,.6); text-transform: uppercase; letter-spacing: .1em; }
.contact-form { background: #fff; padding: 50px; color: var(--fg-1); position: relative; z-index: 1; }
.contact-form h3 { font-family: var(--font-display); font-weight: 800; font-size: 22px; margin: 0 0 4px; }
.contact-form .cf-sub { font-size: 14px; color: var(--fg-3); margin: 0 0 22px; }
.fld { margin-bottom: 17px; }
.fld label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 7px; font-family: var(--font-display); }
.fld input, .fld select, .fld textarea {
  width: 100%; font-family: var(--font-body); font-size: 15px; padding: 12px 13px;
  border: 1px solid var(--border-strong); border-radius: var(--radius-sm); color: var(--fg-1); background: #fff;
  transition: border-color var(--dur-fast), box-shadow var(--dur-fast);
}
.fld input:focus, .fld select:focus, .fld textarea:focus { outline: none; border-color: var(--grm-blue); box-shadow: 0 0 0 3px var(--focus-ring); }
.fld textarea { resize: vertical; min-height: 90px; }
.form-note { font-size: 12px; color: var(--fg-3); margin: 14px 0 0; display: flex; align-items: center; gap: 7px; }
.form-note .lucide { width: 14px; height: 14px; color: #25D366; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--neutral-900); color: rgba(255,255,255,.66); padding: 60px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 38px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.footer-logo img { height: 66px; width: 66px; border-radius: 14px; }
.footer-logo .wordmark { font-family: var(--font-display); font-weight: 800; font-size: 18px; color: #fff; line-height: 1.1; }
.footer-logo .sub { font-size: 9px; letter-spacing: .18em; color: rgba(255,255,255,.5); text-transform: uppercase; margin-top: 2px; }
.footer p { font-size: 14px; line-height: 1.65; margin: 0; max-width: 36ch; }
.footer h5 { font-family: var(--font-display); color: #fff; font-size: 13px; text-transform: uppercase; letter-spacing: .12em; margin: 0 0 16px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 11px; }
.footer ul a { font-size: 14px; transition: color var(--dur-fast); }
.footer ul a:hover { color: var(--gold-300); }
.footer-bot { padding-top: 24px; font-size: 12.5px; color: rgba(255,255,255,.5); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.footer-bot a:hover { color: var(--gold-300); }

/* ============================================================
   FLOATING WHATSAPP
   ============================================================ */
.fab-wa { position: fixed; bottom: 26px; right: 26px; z-index: 90; width: 60px; height: 60px; border-radius: 50%; background: #25D366; color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 28px rgba(37,211,102,.45); transition: transform var(--dur-base) var(--ease-standard); }
.fab-wa::before { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25D366; animation: fabPulse 2.4s ease-out infinite; }
@keyframes fabPulse { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.7); opacity: 0; } }
.fab-wa:hover { transform: scale(1.08); }
.fab-wa svg { width: 30px; height: 30px; }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
/* base VISIBLE so print / no-JS / frozen states always show content */
.reveal { opacity: 1; transform: none; }
html.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
html.js .reveal.in { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: .08s; }
.reveal-d2 { transition-delay: .16s; }
.reveal-d3 { transition-delay: .24s; }
.reveal-d4 { transition-delay: .32s; }
.reveal-d5 { transition-delay: .40s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; padding: 48px 0 72px; }
  .intro-grid { grid-template-columns: 1fr; gap: 36px; }
  .prod-grid { grid-template-columns: 1fr 1fr; }
  .team { grid-template-columns: 1fr 1fr; }
  .contact { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .steps { grid-template-columns: repeat(5, 1fr); gap: 6px; }
  .step p { display: none; }
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: inline-flex; }
  .mobile-menu { display: block; position: fixed; top: 74px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--border); box-shadow: var(--shadow-md); z-index: 99; padding: 12px 0; transform: translateY(-120%); transition: transform var(--dur-base) var(--ease-standard); }
  .mobile-menu.open { transform: translateY(0); }
  .mobile-menu a { display: block; padding: 14px 28px; font-family: var(--font-display); font-weight: 600; color: var(--fg-1); border-bottom: 1px solid var(--neutral-100); }
  .mobile-menu .btn { margin: 12px 28px; }
}
@media (max-width: 600px) {
  .wrap { padding: 0 18px; }
  .prod-grid, .team, .intro-pillars, .footer-grid, .band-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 24px; }
  .steps-line { display: none; }
  .step p { display: block; }
  .equipo-intro { flex-direction: column; text-align: center; }
  .contact-info, .contact-form { padding: 36px 26px; }
  .section { padding: 64px 0; }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  html.js .reveal, html.js .reveal-word { opacity: 1 !important; transform: none !important; animation: none !important; }
  .steps .step { opacity: 1; transform: none; }
  .steps-line .fill { width: 100%; }
}

/* PRINT — force everything visible, kill motion */
@media print {
  html.js .reveal, html.js .reveal-word, .steps .step { opacity: 1 !important; transform: none !important; animation: none !important; }
  .steps-line .fill { width: 100% !important; }
  .hero-canvas, .hero-aurora, .hero-grid-bg, .fab-wa { display: none !important; }
}
