/* ==========================================================================
   GREM Contadores & Co — Hoja de estilos principal
   Identidad: verde esmeralda profundo + dorado + crema (brochure 2026)
   ========================================================================== */

/* ---------- Tokens de diseño ---------- */
:root {
  /* Colores corporativos */
  --green-950: #051D16;
  --green-900: #0A2E23;
  --green-850: #0C352A;
  --green-800: #114534;
  --green-700: #17553F;
  --gold-200: #F0DFAE;
  --gold-300: #E6CD8D;
  --gold-400: #D9B865;
  --gold-500: #C9A24B;
  --gold-600: #A9843A;
  --gold-700: #8C6C2C;
  --cream: #F3F0E6;
  --paper: #FBFAF7;
  --white: #FFFFFF;
  --ink: #14261F;
  --ink-soft: #4A5A52;
  --line-light: #E7E2D4;

  /* Tipografías */
  --font-display: "Playfair Display", "Didot", Georgia, serif;
  --font-body: "Montserrat", "Helvetica Neue", Arial, sans-serif;

  /* Métricas */
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --container: 1180px;
  --header-h: 84px;

  /* Sombras */
  --shadow-soft: 0 6px 24px rgba(5, 29, 22, 0.08);
  --shadow-lift: 0 18px 44px rgba(5, 29, 22, 0.16);
  --shadow-gold: 0 10px 30px rgba(201, 162, 75, 0.35);

  /* Gradientes de marca */
  --grad-gold: linear-gradient(135deg, #E9D194 0%, #C9A24B 55%, #A9843A 100%);
  --grad-green: linear-gradient(165deg, #10402F 0%, #0A2E23 60%, #07251C 100%);
}

/* ---------- Reset básico ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p, figure, blockquote { margin: 0; }
button { font: inherit; cursor: pointer; }

::selection { background: var(--gold-500); color: var(--green-950); }

:focus-visible {
  outline: 2px solid var(--gold-500);
  outline-offset: 3px;
  border-radius: 4px;
}

.ico { width: 1.2em; height: 1.2em; flex: none; }

/* ---------- Utilidades ---------- */
.container {
  width: min(100% - 48px, var(--container));
  margin-inline: auto;
}
.container--narrow { max-width: 860px; }

.skip-link {
  position: absolute;
  left: -999px;
  top: 10px;
  z-index: 200;
  background: var(--gold-500);
  color: var(--green-950);
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { left: 10px; }

/* Animación de aparición al hacer scroll */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
.reveal.in { opacity: 1; transform: none; }
.delay-1 { transition-delay: 0.12s; }
.delay-2 { transition-delay: 0.24s; }
.delay-3 { transition-delay: 0.36s; }
.delay-4 { transition-delay: 0.48s; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 26px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease,
              background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}
.btn--lg { padding: 15px 30px; font-size: 1rem; }
.btn--full { width: 100%; border: 0; }

.btn--gold {
  background: var(--grad-gold);
  color: var(--green-950);
  box-shadow: 0 6px 18px rgba(201, 162, 75, 0.28);
}
.btn--gold:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-gold);
}

.btn--ghost {
  border-color: rgba(233, 209, 148, 0.55);
  color: var(--gold-200);
  background: rgba(233, 209, 148, 0.05);
}
.btn--ghost:hover {
  background: rgba(233, 209, 148, 0.12);
  border-color: var(--gold-300);
  transform: translateY(-3px);
}

/* ==========================================================================
   HEADER
   ========================================================================== */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background-color 0.35s ease, box-shadow 0.35s ease;
}
.header--scrolled {
  background: rgba(5, 29, 22, 0.92);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--header-h);
}
.header--scrolled .header__inner { height: 70px; }

.header__brand { display: inline-flex; align-items: center; }
.header__logo {
  width: auto;
  height: 46px;
  transition: height 0.35s ease;
}
.header--scrolled .header__logo { height: 38px; }

.nav { display: flex; align-items: center; gap: 28px; }
.nav__list { display: flex; align-items: center; gap: 6px; }

.nav__link {
  position: relative;
  display: inline-block;
  padding: 10px 14px;
  color: rgba(247, 245, 238, 0.88);
  font-size: 0.92rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.25s ease;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 4px;
  height: 2px;
  border-radius: 2px;
  background: var(--grad-gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.nav__link:hover, .nav__link.active { color: var(--gold-300); }
.nav__link:hover::after, .nav__link.active::after { transform: scaleX(1); }

.nav__cta { white-space: nowrap; }

.header__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 46px;
  height: 46px;
  padding: 11px;
  background: rgba(233, 209, 148, 0.08);
  border: 1px solid rgba(233, 209, 148, 0.35);
  border-radius: 12px;
  position: relative;
  z-index: 110;
}
.header__toggle span {
  display: block;
  height: 2px;
  width: 100%;
  border-radius: 2px;
  background: var(--gold-300);
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.header__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.header__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.header__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative;
  padding: calc(var(--header-h) + 56px) 0 96px;
  background: var(--green-900);
  color: var(--paper);
  overflow: hidden;
  isolation: isolate;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(820px 460px at 88% -10%, rgba(201, 162, 75, 0.16), transparent 65%),
    radial-gradient(700px 520px at -12% 30%, rgba(23, 85, 63, 0.55), transparent 60%),
    radial-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1.5px),
    var(--grad-green);
  background-size: auto, auto, 26px 26px, auto;
}
.hero__bg::after {
  content: "";
  position: absolute;
  right: -140px;
  top: -140px;
  width: 460px;
  height: 460px;
  border: 1.5px solid rgba(201, 162, 75, 0.18);
  border-radius: 50%;
}
.hero__bg::before {
  content: "";
  position: absolute;
  right: -80px;
  top: -180px;
  width: 460px;
  height: 460px;
  border: 1.5px solid rgba(201, 162, 75, 0.1);
  border-radius: 50%;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  align-items: center;
  gap: clamp(36px, 5vw, 72px);
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 18px;
  border: 1px solid rgba(233, 209, 148, 0.4);
  border-radius: 999px;
  background: rgba(233, 209, 148, 0.07);
  color: var(--gold-300);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero__title {
  margin-top: 22px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.35rem, 4.6vw, 3.7rem);
  line-height: 1.14;
  letter-spacing: -0.01em;
  color: var(--white);
}
.hero__title em {
  font-style: italic;
  font-weight: 600;
  background: linear-gradient(110deg, #EFD9A0, #D9B865 45%, #C9A24B);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__text {
  margin-top: 22px;
  max-width: 56ch;
  font-size: 1.04rem;
  color: rgba(236, 242, 238, 0.82);
}
.hero__text strong { color: var(--gold-200); font-weight: 600; }

.hero__actions {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero__motto {
  margin-top: 26px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.08rem;
  color: var(--gold-300);
}
.hero__motto .ico { color: var(--gold-400); }

/* Foto + tarjetas flotantes */
.hero__media { position: relative; }

.hero__photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(201, 162, 75, 0.4);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45);
}
.hero__photo img { aspect-ratio: 1920 / 921; object-fit: cover; min-height: 320px; }

.hero__card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 18px;
  border-radius: 14px;
  background: rgba(9, 39, 30, 0.82);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(201, 162, 75, 0.4);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.4);
  animation: float 5.5s ease-in-out infinite;
}
.hero__card--1 { left: -26px; bottom: 34px; }
.hero__card--2 { right: -18px; top: 26px; animation-delay: 2.2s; }

.hero__card-ico {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: var(--grad-gold);
  color: var(--green-950);
}
.hero__card strong {
  display: block;
  font-size: 0.88rem;
  color: var(--gold-200);
}
.hero__card small {
  display: block;
  font-size: 0.74rem;
  color: rgba(236, 242, 238, 0.72);
  max-width: 200px;
  line-height: 1.35;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}

.hero__badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 58px;
  padding: 13px 20px;
  border: 1px dashed rgba(233, 209, 148, 0.45);
  border-radius: 14px;
  color: var(--gold-200);
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
}
.hero__badge .ico { color: var(--gold-400); }

/* ==========================================================================
   CINTA / MARQUEE
   ========================================================================== */
.marquee {
  background: var(--grad-gold);
  color: var(--green-950);
  overflow: hidden;
  padding: 15px 0;
  border-block: 1px solid rgba(5, 29, 22, 0.18);
}
.marquee__track {
  display: flex;
  align-items: center;
  gap: 28px;
  width: max-content;
  animation: marquee 34s linear infinite;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
}
.marquee__track i { font-style: normal; opacity: 0.55; font-size: 0.7rem; }
.marquee:hover .marquee__track { animation-play-state: paused; }

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ==========================================================================
   SECCIONES BASE
   ========================================================================== */
.section { padding-block: clamp(72px, 9vw, 112px); }

.section--light {
  background:
    radial-gradient(rgba(10, 46, 35, 0.028) 1px, transparent 1.4px),
    var(--paper);
  background-size: 24px 24px, auto;
}
.section--cream {
  background:
    radial-gradient(rgba(10, 46, 35, 0.04) 1px, transparent 1.4px),
    var(--cream);
  background-size: 24px 24px, auto;
}
.section--dark {
  background: var(--grad-green);
  color: rgba(236, 242, 238, 0.85);
}
.section--dots {
  background:
    radial-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1.5px),
    var(--grad-green);
  background-size: 26px 26px, auto;
}

.section__head {
  max-width: 780px;
  margin: 0 auto clamp(44px, 6vw, 64px);
  text-align: center;
}
.section__head--left {
  margin-left: 0;
  text-align: left;
}

.section__eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--gold-600);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.section--dark .section__eyebrow { color: var(--gold-400); }

.section__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.85rem, 3.4vw, 2.7rem);
  line-height: 1.18;
  color: var(--ink);
  position: relative;
  padding-bottom: 22px;
}
.section--dark .section__title { color: var(--white); }
.section__title em {
  font-style: italic;
  font-weight: 600;
  color: var(--gold-600);
}
.section--dark .section__title em {
  background: linear-gradient(110deg, #EFD9A0, #D9B865 45%, #C9A24B);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.section__title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 74px;
  height: 3px;
  border-radius: 3px;
  background: var(--grad-gold);
}
.section__head--left .section__title::after { left: 0; transform: none; }

.section__lead {
  margin-top: 18px;
  color: var(--ink-soft);
  font-size: 1.02rem;
}
.section--dark .section__lead { color: rgba(236, 242, 238, 0.75); }

.section__cta {
  margin-top: 46px;
  text-align: center;
  color: var(--ink-soft);
  font-size: 1rem;
}
.section__cta a {
  color: var(--gold-700);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 2px solid rgba(201, 162, 75, 0.45);
  padding-bottom: 2px;
  transition: color 0.25s ease, border-color 0.25s ease;
}
.section__cta a:hover { color: var(--green-800); border-color: var(--green-800); }

/* ---------- Grillas ---------- */
.grid { display: grid; gap: 24px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }

/* ==========================================================================
   TARJETAS (secciones claras)
   ========================================================================== */
.card, .service {
  background: var(--white);
  border: 1px solid var(--line-light);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}
.card:hover, .service:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow-lift);
  border-color: rgba(201, 162, 75, 0.55);
}

.card__ico {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: 20px;
  border-radius: 16px;
  background: var(--grad-green);
  color: var(--gold-400);
  box-shadow: inset 0 0 0 1px rgba(201, 162, 75, 0.35);
}
.card__ico .ico { width: 26px; height: 26px; }
.card__ico--gold {
  background: var(--grad-gold);
  color: var(--green-950);
  box-shadow: none;
}

.card h3, .service h3 {
  font-family: var(--font-display);
  font-size: 1.32rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 12px;
  line-height: 1.3;
}
.card p, .service p { color: var(--ink-soft); font-size: 0.95rem; }

/* Chips de valores */
.chips { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 4px; }
.chips li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--cream);
  border: 1px solid rgba(201, 162, 75, 0.4);
  color: var(--ink);
  font-size: 0.84rem;
  font-weight: 600;
}
.chips li::before {
  content: "◆";
  font-size: 0.55rem;
  color: var(--gold-600);
}

/* Lista con checks */
.ticks { margin-top: 16px; display: grid; gap: 9px; }
.ticks li {
  position: relative;
  padding-left: 26px;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 500;
}
.ticks li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--gold-600);
  font-weight: 700;
}

/* ==========================================================================
   PILARES (sección oscura)
   ========================================================================== */
.pillar {
  position: relative;
  overflow: hidden;
  background: linear-gradient(165deg, rgba(23, 85, 63, 0.5), rgba(10, 46, 35, 0.4));
  border: 1px solid rgba(201, 162, 75, 0.28);
  border-radius: var(--radius-lg);
  padding: 34px 30px;
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}
.pillar:hover {
  transform: translateY(-7px);
  border-color: rgba(201, 162, 75, 0.65);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.35);
}
.pillar__num {
  position: absolute;
  top: 6px;
  right: 22px;
  font-family: var(--font-display);
  font-size: 5.4rem;
  font-weight: 700;
  color: rgba(201, 162, 75, 0.14);
  line-height: 1;
  pointer-events: none;
}
.pillar h3 {
  font-family: var(--font-display);
  font-size: 1.38rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
  line-height: 1.28;
}
.pillar p { font-size: 0.95rem; color: rgba(236, 242, 238, 0.78); }
.pillar__detail {
  margin-top: 12px;
  font-size: 0.88rem;
}
.pillar__detail strong { color: var(--gold-300); font-weight: 600; }
.pillar__result {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(201, 162, 75, 0.25);
  color: var(--gold-200);
  font-size: 0.9rem;
  font-weight: 600;
}
.pillar__result .ico { color: var(--gold-400); margin-top: 2px; }

/* ==========================================================================
   POR QUÉ GREM
   ========================================================================== */
.features { gap: 28px; max-width: 1020px; margin-inline: auto; }

.feature {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 26px 28px;
  border-radius: var(--radius-lg);
  background: rgba(9, 39, 30, 0.55);
  border: 1px solid rgba(201, 162, 75, 0.22);
  transition: border-color 0.35s ease, transform 0.35s ease;
}
.feature:hover { border-color: rgba(201, 162, 75, 0.55); transform: translateY(-5px); }

.feature__ico {
  display: grid;
  place-items: center;
  flex: none;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: 1.5px solid var(--gold-500);
  color: var(--gold-300);
  background: rgba(201, 162, 75, 0.08);
}
.feature__ico .ico { width: 26px; height: 26px; }

.feature h3 {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-300);
  margin-bottom: 8px;
}
.feature p { font-size: 0.94rem; color: rgba(236, 242, 238, 0.78); }

.quote {
  position: relative;
  max-width: 820px;
  margin: 56px auto 0;
  padding: 40px 46px;
  border-radius: var(--radius-lg);
  background: rgba(9, 39, 30, 0.55);
  border: 1px solid rgba(201, 162, 75, 0.35);
  text-align: center;
}
.quote__mark {
  width: 44px;
  height: 44px;
  color: var(--gold-500);
  margin: 0 auto 10px;
  display: block;
}
.quote p {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  line-height: 1.6;
  color: var(--gold-100, #F5EBD0);
}

/* ==========================================================================
   EQUIPO / LIDERAZGO
   ========================================================================== */
.leader {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: clamp(36px, 5vw, 64px);
  align-items: center;
}

.leader__photo {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line-light);
  box-shadow: var(--shadow-lift);
}
.leader__tag {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  padding: 14px 20px;
  border-radius: 14px;
  background: rgba(251, 250, 247, 0.94);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(201, 162, 75, 0.5);
}
.leader__tag strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.08rem;
  color: var(--ink);
}
.leader__tag span { font-size: 0.84rem; color: var(--gold-700); font-weight: 600; }

.leader__bio p { color: var(--ink-soft); margin-bottom: 16px; font-size: 0.99rem; }
.leader__bio p strong { color: var(--ink); }

.leader__creds { display: grid; gap: 12px; margin-top: 26px; }
.leader__creds li {
  display: flex;
  align-items: center;
  gap: 13px;
  font-weight: 600;
  font-size: 0.94rem;
  color: var(--ink);
}
.leader__creds .ico {
  width: 40px;
  height: 40px;
  padding: 8px;
  border-radius: 11px;
  background: var(--cream);
  border: 1px solid rgba(201, 162, 75, 0.45);
  color: var(--gold-700);
}

/* ==========================================================================
   PROCESO
   ========================================================================== */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  counter-reset: paso;
}
.step {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line-light);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}
.step:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow-lift);
  border-color: rgba(201, 162, 75, 0.55);
}
.step__num {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--grad-gold);
  color: var(--green-950);
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  box-shadow: 0 8px 20px rgba(201, 162, 75, 0.4);
}
.step h3 { font-size: 1.04rem; font-weight: 700; color: var(--ink); margin-bottom: 9px; }
.step p { font-size: 0.9rem; color: var(--ink-soft); }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq { display: grid; gap: 12px; }

.faq__item {
  background: var(--white);
  border: 1px solid var(--line-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.faq__item[open] {
  border-color: rgba(201, 162, 75, 0.55);
  box-shadow: var(--shadow-soft);
}

.faq__item summary {
  position: relative;
  list-style: none;
  padding: 19px 56px 19px 22px;
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--ink);
  cursor: pointer;
  transition: color 0.25s ease;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--gold-700); }
.faq__item summary::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1.5px solid rgba(201, 162, 75, 0.6);
  color: var(--gold-600);
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1;
  transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease;
}
.faq__item[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
  background: var(--gold-500);
  color: var(--green-950);
}
.faq__item p {
  padding: 0 22px 22px;
  color: var(--ink-soft);
  font-size: 0.94rem;
  animation: faqIn 0.35s ease;
}
.faq__item a { color: var(--gold-700); font-weight: 600; }

@keyframes faqIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: none; }
}

/* ==========================================================================
   CTA BAND
   ========================================================================== */
.cta-band {
  position: relative;
  background: var(--grad-gold);
  padding-block: clamp(48px, 6vw, 68px);
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(rgba(5, 29, 22, 0.06) 1px, transparent 1.4px);
  background-size: 22px 22px;
  pointer-events: none;
}
.cta-band__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}
.cta-band h2 {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 2.8vw, 2.15rem);
  font-weight: 700;
  color: var(--green-950);
  line-height: 1.2;
}
.cta-band p {
  margin-top: 10px;
  color: rgba(5, 29, 22, 0.78);
  font-weight: 500;
  max-width: 52ch;
}
.cta-band .btn--gold {
  background: var(--green-950);
  color: var(--gold-300);
  box-shadow: 0 12px 28px rgba(5, 29, 22, 0.35);
}
.cta-band .btn--gold:hover { background: var(--green-800); }

/* ==========================================================================
   CONTACTO
   ========================================================================== */
.contact {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(30px, 4vw, 52px);
  align-items: start;
}

.contact__info { display: grid; gap: 15px; }

.contact__item {
  display: flex;
  align-items: center;
  gap: 17px;
  padding: 17px 20px;
  border-radius: var(--radius-md);
  background: rgba(9, 39, 30, 0.55);
  border: 1px solid rgba(201, 162, 75, 0.25);
  text-decoration: none;
  transition: border-color 0.3s ease, transform 0.3s ease;
}
.contact__item:hover { border-color: rgba(201, 162, 75, 0.65); transform: translateX(5px); }
.contact__item--static:hover { transform: none; }

.contact__ico {
  display: grid;
  place-items: center;
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--grad-gold);
  color: var(--green-950);
}
.contact__ico .ico { width: 23px; height: 23px; }

.contact__item small {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-400);
  margin-bottom: 3px;
}
.contact__item strong {
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.4;
}

.contact__social {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 6px 4px 0;
}
.contact__social small { font-size: 0.88rem; color: rgba(236, 242, 238, 0.75); }
.contact__social strong { color: var(--gold-300); }
.contact__social-links { display: flex; gap: 10px; }
.contact__social-links a {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(201, 162, 75, 0.45);
  color: var(--gold-300);
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}
.contact__social-links a:hover {
  background: var(--gold-500);
  color: var(--green-950);
  transform: translateY(-3px);
}
.contact__social-links .ico { width: 20px; height: 20px; }

.contact__map {
  margin-top: 4px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(201, 162, 75, 0.3);
}
.contact__map iframe { width: 100%; height: 235px; display: block; }

/* Formulario */
.contact__form {
  background: var(--paper);
  border-radius: var(--radius-lg);
  padding: clamp(26px, 3.4vw, 40px);
  color: var(--ink);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.4);
}
.contact__form h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.contact__form > p { color: var(--ink-soft); font-size: 0.93rem; margin-bottom: 24px; }

.field { margin-bottom: 17px; }
.field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 7px;
  color: var(--ink);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1.5px solid #DCD5C2;
  border-radius: var(--radius-sm);
  background: var(--white);
  font: inherit;
  font-size: 0.94rem;
  color: var(--ink);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold-600);
  box-shadow: 0 0 0 4px rgba(201, 162, 75, 0.18);
}
.field input::placeholder,
.field textarea::placeholder { color: #A9A289; }

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.contact__form-note {
  display: block;
  margin-top: 13px;
  font-size: 0.8rem;
  color: var(--ink-soft);
  text-align: center;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  background: var(--green-950);
  color: rgba(230, 238, 233, 0.72);
  padding-top: clamp(56px, 7vw, 80px);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.35fr;
  gap: clamp(28px, 4vw, 48px);
  padding-bottom: 52px;
}

.footer__brand img { height: 54px; width: auto; }
.footer__brand p {
  margin-top: 18px;
  font-size: 0.92rem;
  max-width: 320px;
  line-height: 1.7;
}

.footer__col h3 {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-400);
  margin-bottom: 18px;
}
.footer__col ul { display: grid; gap: 10px; }
.footer__col li { font-size: 0.92rem; line-height: 1.6; }
.footer__col a {
  text-decoration: none;
  transition: color 0.25s ease;
}
.footer__col a:hover { color: var(--gold-300); }

.footer__bottom { border-top: 1px solid rgba(201, 162, 75, 0.16); padding-block: 20px; }
.footer__bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 0.84rem;
  color: rgba(230, 238, 233, 0.5);
}
.footer__bottom-inner span { color: var(--gold-500); }

/* ==========================================================================
   FLOTANTES
   ========================================================================== */
.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #22B858;
  color: var(--white);
  box-shadow: 0 12px 30px rgba(5, 29, 22, 0.4);
  transition: transform 0.3s ease;
}
.whatsapp-float:hover { transform: scale(1.1); }
.whatsapp-float svg { width: 30px; height: 30px; }
.whatsapp-float::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(34, 184, 88, 0.7);
  animation: pulse 2.2s ease-out infinite;
}

@keyframes pulse {
  from { transform: scale(1); opacity: 0.9; }
  to { transform: scale(1.65); opacity: 0; }
}

.to-top {
  position: fixed;
  right: 29px;
  bottom: 96px;
  z-index: 90;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(201, 162, 75, 0.55);
  background: rgba(5, 29, 22, 0.85);
  color: var(--gold-300);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease, background-color 0.3s ease, color 0.3s ease;
}
.to-top.show { opacity: 1; pointer-events: auto; transform: none; }
.to-top:hover { background: var(--gold-500); color: var(--green-950); }
.to-top svg { width: 20px; height: 20px; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1080px) {
  .nav__cta { display: none; }
}

@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__media { max-width: 640px; margin-inline: auto; width: 100%; }
  .hero__card--1 { left: 8px; }
  .hero__card--2 { right: 8px; }

  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .leader { grid-template-columns: 1fr; }
  .leader__photo { max-width: 520px; }
  .contact { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .header__toggle { display: flex; }

  .nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(84vw, 360px);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 8px;
    padding: 110px 34px 40px;
    background: linear-gradient(170deg, #0C352A, #051D16 70%);
    border-left: 1px solid rgba(201, 162, 75, 0.3);
    box-shadow: -20px 0 60px rgba(0, 0, 0, 0.45);
    transform: translateX(105%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 99;
  }
  .nav.open { transform: none; }
  .nav__list { flex-direction: column; align-items: flex-start; gap: 4px; width: 100%; }
  .nav__link { font-size: 1.1rem; padding: 12px 0; }
  .nav__link::after { left: 0; right: auto; width: 34px; }
  .nav__cta { display: inline-flex; margin-top: 18px; }
}

@media (max-width: 640px) {
  :root { --header-h: 72px; }

  .header__logo { height: 38px; }
  .header--scrolled .header__logo { height: 34px; }

  .hero { padding-top: calc(var(--header-h) + 40px); padding-bottom: 72px; }
  .hero__text { font-size: 0.98rem; }
  .hero__actions .btn { width: 100%; }
  .hero__card small { max-width: 150px; }
  .hero__card--2 { top: auto; bottom: -18px; right: 4px; }
  .hero__card--1 { bottom: 64px; left: 4px; }
  .hero__badge { font-size: 0.76rem; letter-spacing: 0.04em; }

  .grid--3, .grid--2, .steps, .field-row { grid-template-columns: 1fr; }
  .features { gap: 16px; }
  .feature { padding: 22px; }
  .quote { padding: 30px 24px; }

  .cta-band__inner { justify-content: center; text-align: center; }
  .cta-band .btn { width: 100%; max-width: 420px; }

  .footer__grid { grid-template-columns: 1fr; gap: 34px; }
  .footer__bottom-inner { justify-content: center; text-align: center; }

  .whatsapp-float { width: 54px; height: 54px; right: 16px; bottom: 16px; }
  .to-top { right: 21px; bottom: 84px; }
}

/* ---------- Accesibilidad: reducir movimiento ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .marquee__track { animation: none; }
}
