/* ============================================================
   Itzel Miranda — Landing
   Paleta: navy profundo + acentos dorados (alineada al mockup)
   ============================================================ */

:root {
  --navy-0: #060d1c;
  --navy-1: #0a1530;
  --navy-2: #0e1c3d;
  --navy-3: #13254d;
  --gold-1: #f4d79c;
  --gold-2: #e8b563;
  --gold-3: #cf9846;
  --ink: #eaf0fb;
  --ink-dim: #aebbd4;
  --ink-faint: #7c8aa8;
  --line: rgba(232, 181, 99, 0.22);
  --maxw: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --gold-grad: linear-gradient(180deg, #f8e6bd 0%, #ecc277 45%, #cf9846 100%);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  background: var(--navy-0);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

/* ===================== NAV ===================== */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px clamp(20px, 5vw, 56px);
  transition: padding 0.4s var(--ease), background 0.4s var(--ease);
}
.nav.scrolled {
  padding: 12px clamp(20px, 5vw, 56px);
  background: rgba(8, 16, 36, 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.brand {
  font-weight: 700;
  letter-spacing: 0.18em;
  font-size: 1.05rem;
  color: var(--gold-1);
  text-decoration: none;
  white-space: nowrap;
}
.nav-pill {
  display: flex;
  gap: 4px;
  padding: 8px;
  border-radius: 999px;
  background: rgba(20, 34, 66, 0.55);
  border: 1px solid rgba(232, 181, 99, 0.18);
  backdrop-filter: blur(10px);
}
.nav-link {
  position: relative;
  text-decoration: none;
  color: var(--ink-dim);
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  padding: 8px 18px;
  border-radius: 999px;
  transition: color 0.25s, background 0.25s;
}
.nav-link:hover { color: var(--ink); }
.nav-link.active {
  color: #1a1206;
  background: var(--gold-grad);
  font-weight: 600;
}
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  width: 26px; height: 2px;
  background: var(--gold-1);
  transition: 0.3s var(--ease);
}

/* ===================== HERO ===================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: -8% 0 0 0;
  background: url("src/fondo.png") center/cover no-repeat;
  transform: scale(1.08);
  will-change: transform;
}
.hero-vignette {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(95deg, var(--navy-0) 8%, rgba(8, 16, 36, 0.82) 40%, rgba(8, 16, 36, 0.28) 62%, rgba(8, 16, 36, 0.12) 100%),
    radial-gradient(120% 80% at 72% 55%, transparent 42%, rgba(6, 13, 28, 0.55) 100%);
}
.hero-grid {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 120px clamp(20px, 5vw, 56px) 80px;
  display: grid;
  grid-template-columns: minmax(0, 540px);
  align-items: center;
  gap: 20px;
}
.hero-title {
  font-size: clamp(3.4rem, 8vw, 6.6rem);
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: 0.01em;
}
.hero-title .line {
  display: block;
  width: max-content;
  max-width: 100%;
  padding-right: 0.08em; /* aire para que el clip no corte la última letra */
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 6px 24px rgba(207, 152, 70, 0.25));
}
.hero-sub {
  margin-top: 18px;
  font-size: clamp(0.9rem, 1.6vw, 1.15rem);
  letter-spacing: 0.28em;
  color: var(--ink);
  font-weight: 600;
}
.hero-rule {
  width: 230px; max-width: 60%;
  height: 1px;
  margin: 26px 0;
  background: linear-gradient(90deg, var(--gold-2), transparent);
}
.hero-tagline {
  font-size: clamp(1.05rem, 2vw, 1.5rem);
  color: var(--ink-dim);
  letter-spacing: 0.06em;
}
.hero-cta { margin-top: 38px; display: flex; gap: 16px; flex-wrap: wrap; }

/* Retrato anclado al hero completo: su base termina donde termina el hero.
   El fondo de la foto es transparente, así que se recorta limpio. */
.hero-woman {
  position: absolute;
  right: clamp(-20px, 2vw, 48px);
  bottom: 0;
  z-index: 1;
  height: min(92vh, 820px);
  width: auto;
  max-width: none;
  filter: drop-shadow(0 18px 40px rgba(0, 0, 0, 0.45));
}

.scroll-hint {
  position: absolute;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  z-index: 4;
  width: 26px; height: 42px;
  border: 2px solid rgba(240, 200, 120, 0.55);
  border-radius: 14px;
  display: flex;
  justify-content: center;
}
.scroll-hint span {
  width: 4px; height: 8px;
  margin-top: 7px;
  border-radius: 4px;
  background: var(--gold-1);
  animation: scrollDot 1.6s infinite;
}
@keyframes scrollDot {
  0% { opacity: 0; transform: translateY(-4px); }
  40% { opacity: 1; }
  80%, 100% { opacity: 0; transform: translateY(12px); }
}

/* ===================== BUTTONS ===================== */
.btn {
  display: inline-block;
  text-decoration: none;
  font-size: 0.86rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 15px 30px;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s, background 0.25s, color 0.25s;
  border: 1px solid var(--gold-2);
}
.btn-ghost {
  color: var(--gold-1);
  background: rgba(20, 34, 66, 0.35);
  backdrop-filter: blur(4px);
}
.btn-ghost:hover {
  background: var(--gold-grad);
  color: #1a1206;
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(207, 152, 70, 0.3);
}
.btn-solid {
  background: var(--gold-grad);
  color: #1a1206;
  font-weight: 600;
  border-color: transparent;
}
.btn-solid:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 34px rgba(207, 152, 70, 0.35);
}
.btn.full { width: 100%; text-align: center; }

/* ===================== SECTIONS ===================== */
.section { position: relative; padding: clamp(70px, 11vw, 140px) 0; }
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 56px);
}
.container.narrow { max-width: 720px; }
.center { text-align: center; }
.kicker {
  text-transform: uppercase;
  letter-spacing: 0.32em;
  font-size: 0.8rem;
  color: var(--gold-2);
  font-weight: 600;
  margin-bottom: 14px;
}
.kicker.center { display: block; }
.section-title {
  font-size: clamp(1.9rem, 4.4vw, 3.1rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: 0.01em;
  margin-bottom: 22px;
}
.section-title .gold, .sub-title .gold { color: var(--gold-1); }
.sub-title {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 20px;
}
.section-divider {
  height: 1px;
  margin: clamp(48px, 7vw, 80px) 0;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
}
.section-lead {
  font-size: clamp(1rem, 1.6vw, 1.18rem);
  color: var(--ink-dim);
  max-width: 640px;
}
.center .section-lead, .narrow .section-lead { margin: 0 auto; }

/* Leadership */
.leadership { background: linear-gradient(180deg, var(--navy-0), var(--navy-1)); }
.cards {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.card {
  background: linear-gradient(160deg, rgba(20, 34, 66, 0.6), rgba(10, 21, 48, 0.6));
  border: 1px solid rgba(232, 181, 99, 0.14);
  border-radius: 18px;
  padding: 34px 28px;
  transition: transform 0.35s var(--ease), border-color 0.35s, box-shadow 0.35s;
}
.card:hover {
  transform: translateY(-8px);
  border-color: var(--gold-2);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.4);
}
.card-icon {
  font-size: 1.6rem;
  color: var(--gold-1);
  margin-bottom: 16px;
}
.card h3 { font-size: 1.25rem; margin-bottom: 10px; }
.card p { color: var(--ink-dim); font-size: 0.98rem; }

/* Verdades (hook confianza/gobernanza) */
.truth-grid {
  margin-top: 50px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.truth-box {
  background: rgba(255, 255, 255, 0.04);
  border-left: 4px solid var(--gold-2);
  border-radius: 8px;
  padding: 28px 26px;
  transition: transform 0.35s var(--ease), background 0.35s;
}
.truth-box:hover { transform: translateY(-6px); background: rgba(255, 255, 255, 0.06); }
.truth-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-2);
  margin-bottom: 12px;
}
.truth-box h3 { font-size: 1.18rem; margin-bottom: 10px; }
.truth-box p { color: var(--ink-dim); font-size: 0.96rem; }

/* Ciclo de liderazgo consciente */
.cycle-frame {
  padding: clamp(28px, 4vw, 44px);
  border-radius: 18px;
  text-align: center;
  background: radial-gradient(120% 120% at 60% 30%, rgba(240, 200, 120, 0.14), transparent 70%);
  border: 1px solid rgba(232, 181, 99, 0.2);
}
.cycle-title {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-1);
  margin-bottom: 28px;
}
.cycle {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}
.cycle-item { width: 96px; }
.cycle-num {
  width: 60px; height: 60px;
  margin: 0 auto 12px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--gold-1);
  background: rgba(201, 169, 110, 0.14);
  border: 2px solid var(--gold-2);
}
.cycle-item p { font-size: 0.88rem; font-weight: 600; color: var(--ink); }
.cycle-arrow { color: var(--gold-2); font-size: 1.4rem; align-self: center; margin-top: 18px; }

/* ===================== TRAYECTORIA ===================== */
.trayectoria { background: linear-gradient(180deg, var(--navy-1), var(--navy-0)); }
.callout {
  margin: 40px 0;
  padding: 26px 28px;
  border-radius: 10px;
  background: rgba(201, 169, 110, 0.1);
  border-left: 4px solid var(--gold-2);
}
.callout-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-2);
  margin-bottom: 10px;
}
.callout p { color: var(--ink); font-size: 1rem; }
.cred-list {
  margin-top: 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px 44px;
}
.cred-item { padding-left: 20px; border-left: 2px solid var(--line); }
.cred-label {
  display: block;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-1);
  margin-bottom: 10px;
}
.cred-item p { color: var(--ink-dim); font-size: 0.98rem; }
.cred-item strong { color: var(--ink); }
.cred-item em { color: var(--gold-1); font-style: italic; }

/* ===================== GALERÍA ===================== */
.gallery { margin-top: clamp(48px, 7vw, 80px); }
.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0 26px;
}
.gallery-chip {
  font-family: inherit;
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ink-dim);
  padding: 9px 18px;
  border-radius: 999px;
  cursor: pointer;
  background: rgba(20, 34, 66, 0.5);
  border: 1px solid var(--line);
  transition: color 0.25s, background 0.25s, border-color 0.25s;
}
.gallery-chip:hover { color: var(--ink); border-color: var(--gold-2); }
.gallery-chip.active {
  color: #1a1206;
  background: var(--gold-grad);
  border-color: transparent;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 190px;
  grid-auto-flow: dense;
  gap: 14px;
}
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  cursor: pointer;
  margin: 0;
  border: 1px solid var(--line);
  background: rgba(20, 34, 66, 0.4);
  animation: galFade 0.6s var(--ease) both;
}
.gallery-item.tall { grid-row: span 2; }
.gallery-item.wide { grid-column: span 2; }
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--ease);
}
.gallery-item:hover img { transform: scale(1.07); }
.gallery-item .cat-tag {
  position: absolute;
  top: 10px; left: 10px;
  z-index: 2;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: 999px;
  color: #1a1206;
  background: rgba(232, 181, 99, 0.92);
}
.gallery-item figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 30px 14px 12px;
  font-size: 0.84rem;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(transparent, rgba(6, 13, 28, 0.85));
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.gallery-item:hover figcaption { opacity: 1; transform: none; }
/* En vista filtrada (una sola categoría) el tag es redundante */
.gallery-grid.filtered .cat-tag { display: none; }
.gallery-empty {
  color: var(--ink-faint);
  font-style: italic;
  padding: 20px 0;
}
.gallery-more {
  display: block;
  margin: 30px auto 0;
}
@keyframes galFade {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

/* ===================== VISOR / LIGHTBOX ===================== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  place-items: center;
  padding: clamp(16px, 4vw, 48px);
  background: rgba(6, 13, 28, 0.93);
  backdrop-filter: blur(8px);
}
.lightbox.open { display: grid; animation: galFade 0.3s var(--ease) both; }
.lb-figure { margin: 0; text-align: center; }
.lb-img {
  max-width: min(1000px, 92vw);
  max-height: 80vh;
  border-radius: 12px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.6);
}
.lb-caption {
  margin-top: 16px;
  color: var(--ink-dim);
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}
.lb-btn {
  position: absolute;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  background: rgba(20, 34, 66, 0.7);
  color: var(--gold-1);
  cursor: pointer;
  border-radius: 50%;
  transition: background 0.25s, border-color 0.25s, transform 0.25s;
}
.lb-btn:hover { background: rgba(201, 169, 110, 0.2); border-color: var(--gold-2); }
.lb-close {
  top: clamp(16px, 3vw, 28px);
  right: clamp(16px, 3vw, 28px);
  width: 46px; height: 46px;
  font-size: 1.7rem;
  line-height: 1;
}
.lb-prev, .lb-next {
  top: 50%;
  transform: translateY(-50%);
  width: 52px; height: 52px;
  font-size: 1.8rem;
  line-height: 1;
}
.lb-prev { left: clamp(10px, 3vw, 34px); }
.lb-next { right: clamp(10px, 3vw, 34px); }
.lb-prev:hover, .lb-next:hover { transform: translateY(-50%) scale(1.08); }

/* ===================== SERVICIOS ===================== */
.servicios { background: linear-gradient(180deg, var(--navy-0), var(--navy-2)); }
.services-grid {
  margin-top: 50px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px 40px;
}
.service-card {
  border-left: 4px solid var(--gold-2);
  padding: 6px 0 6px 26px;
  transition: transform 0.3s var(--ease);
}
.service-card:hover { transform: translateX(6px); }
.service-card h3 { font-size: 1.22rem; margin-bottom: 10px; color: var(--gold-1); }
.service-card p { color: var(--ink-dim); font-size: 0.98rem; }

.social-proof {
  margin-top: 64px;
  padding: 44px 32px;
  border-radius: 16px;
  text-align: center;
  background: rgba(20, 34, 66, 0.5);
  border: 1px solid var(--line);
}
.social-proof h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink-dim);
  margin-bottom: 26px;
}
.logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}
.logo-cell {
  display: grid;
  place-items: center;
  width: clamp(120px, 15vw, 150px);
  height: 84px;
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  transition: transform 0.25s var(--ease), border-color 0.25s, background 0.25s;
}
.logo-cell:hover {
  transform: translateY(-4px);
  border-color: var(--gold-2);
  background: rgba(255, 255, 255, 0.08);
}
.logo-cell img {
  width: auto;
  height: auto;
  max-width: 118px;
  max-height: 46px;
  object-fit: contain;
  display: block;
}
/* Logos de contenido oscuro: badge blanco ajustado (no tile completo)
   para que contrasten sin romper la consistencia de la franja */
.logo-cell--light img {
  background: #fff;
  border-radius: 8px;
  padding: 6px 9px;
  max-height: 54px;
}

/* ===================== CANALES DE CONTACTO ===================== */
.channels {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}
.channel {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 12px 22px;
  border-radius: 999px;
  text-decoration: none;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 600;
  background: rgba(20, 34, 66, 0.5);
  border: 1px solid var(--line);
  transition: background 0.25s, border-color 0.25s, transform 0.25s;
}
.channel:hover {
  background: rgba(201, 169, 110, 0.12);
  border-color: var(--gold-2);
  transform: translateY(-3px);
}
.channel-ic {
  display: grid;
  place-items: center;
  width: 22px; height: 22px;
  border-radius: 50%;
  font-size: 0.72rem;
  color: #1a1206;
  background: var(--gold-grad);
}

/* Layout split (reutilizado en Liderazgo) */
.split {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(30px, 6vw, 72px);
  align-items: center;
}
.split.align-center { align-items: center; }

/* Books */
.books { background: linear-gradient(180deg, var(--navy-0), var(--navy-2)); }
.book-grid {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
}
.book-grid.two {
  grid-template-columns: repeat(2, minmax(0, 320px));
  justify-content: center;
  gap: clamp(36px, 6vw, 72px);
}
.book { text-align: center; }
.book-cover {
  position: relative;
  aspect-ratio: 3 / 4.4;
  border-radius: 10px;
  margin: 0 auto 26px;
  max-width: 260px;
  box-shadow: 0 26px 50px rgba(0, 0, 0, 0.5);
  transition: transform 0.4s var(--ease), box-shadow 0.4s;
  overflow: hidden;
}
.book-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.book-cover::after {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 8px;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.35), transparent);
}
.book:hover .book-cover {
  transform: translateY(-10px) rotate(-1deg);
  box-shadow: 0 34px 64px rgba(0, 0, 0, 0.6);
}
.book h3 { font-size: 1.3rem; margin-bottom: 10px; }
.book p { color: var(--ink-dim); font-size: 0.96rem; margin-bottom: 22px; }

/* Contact */
.contact { background: linear-gradient(180deg, var(--navy-2), var(--navy-0)); }
.contact-form {
  margin-top: 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  text-align: left;
}
.field { position: relative; }
.field.full, .btn.full { grid-column: 1 / -1; }
.field input, .field textarea {
  width: 100%;
  background: rgba(20, 34, 66, 0.45);
  border: 1px solid rgba(232, 181, 99, 0.2);
  border-radius: 12px;
  padding: 18px 16px 8px;
  color: var(--ink);
  font-size: 1rem;
  font-family: inherit;
  resize: vertical;
  transition: border-color 0.25s, background 0.25s;
}
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--gold-2);
  background: rgba(20, 34, 66, 0.7);
}
.field label {
  position: absolute;
  left: 16px; top: 15px;
  color: var(--ink-faint);
  font-size: 1rem;
  pointer-events: none;
  transition: 0.2s var(--ease);
}
.field input:focus + label,
.field input:not(:placeholder-shown) + label,
.field textarea:focus + label,
.field textarea:not(:placeholder-shown) + label {
  top: 6px;
  font-size: 0.72rem;
  color: var(--gold-2);
}
.form-status {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--gold-1);
  min-height: 1.2em;
}

/* ===================== VOLVER ARRIBA ===================== */
.to-top {
  position: fixed;
  right: clamp(16px, 4vw, 36px);
  bottom: clamp(16px, 4vw, 36px);
  z-index: 90;
  width: clamp(46px, 12vw, 56px);
  height: clamp(46px, 12vw, 56px);
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--gold-grad);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px) scale(0.85);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease),
    visibility 0.35s, box-shadow 0.25s;
}
.to-top.show {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.to-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 36px rgba(207, 152, 70, 0.45);
}
.to-top svg {
  width: 46%;
  height: 46%;
  fill: #1a1206;
}

/* Footer */
.footer {
  text-align: center;
  padding: 56px 20px 44px;
  background: var(--navy-0);
  border-top: 1px solid var(--line);
}
.footer .brand { display: inline-block; margin-bottom: 10px; letter-spacing: 0.14em; }
.footer p { color: var(--ink-dim); margin-bottom: 12px; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; }
.footer-links a {
  color: var(--gold-1);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  transition: color 0.25s;
}
.footer-links a:hover { color: var(--gold-2); }
.footer small { display: block; color: var(--ink-faint); margin-top: 8px; }

/* ===================== REVEAL ANIMATIONS ===================== */
.reveal, .reveal-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.in, .reveal-up.in { opacity: 1; transform: none; }
.d1 { transition-delay: 0.12s; }
.d2 { transition-delay: 0.24s; }
.d3 { transition-delay: 0.36s; }
.d4 { transition-delay: 0.48s; }
.d5 { transition-delay: 0.6s; }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 920px) {
  .nav-pill {
    position: fixed;
    top: 76px; right: clamp(20px, 5vw, 56px);
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding: 14px;
    border-radius: 18px;
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: 0.3s var(--ease);
    background: rgba(8, 16, 36, 0.96);
  }
  .nav-pill.open { transform: none; opacity: 1; pointer-events: auto; }
  .nav-toggle { display: flex; }

  .hero { flex-direction: column; justify-content: flex-start; }
  .hero-grid {
    grid-template-columns: 1fr;
    padding-top: 24px;
  }
  .hero-woman {
    position: relative;
    right: auto; bottom: auto;
    z-index: 3;
    margin: 96px auto 0;
    height: min(56vh, 460px);
  }
  .hero-copy { text-align: center; }
  .hero-title .line { margin-inline: auto; }
  .hero-rule { margin-left: auto; margin-right: auto; }
  .hero-cta { justify-content: center; }

  .cards, .book-grid, .truth-grid, .services-grid, .cred-list {
    grid-template-columns: 1fr;
  }
  .book-grid.two { grid-template-columns: minmax(0, 300px); }
  .split { grid-template-columns: 1fr; }
  .contact-form { grid-template-columns: 1fr; }
  .cred-item { border-left: 0; padding-left: 0; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; }
}

@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr; grid-auto-rows: 220px; }
  .gallery-item.wide { grid-column: span 1; }
}

@media (max-width: 560px) {
  .cycle { flex-direction: column; gap: 4px; }
  .cycle-arrow { transform: rotate(90deg); margin: 2px 0; }
  .cycle-item { width: auto; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto; }
  .reveal, .reveal-up { opacity: 1; transform: none; }
}
