/* ═══════════════════════════════════════════════════════════
   HelmKessler — application.css
   Dark Navy / Gold theme · Full responsive (mobile-first)
   ═══════════════════════════════════════════════════════════ */

/* ─── TOKENS ─── */
:root {
  --navy:        #0d1b2a;
  --navy-2:      #112236;
  --navy-3:      #17304d;
  --navy-4:      #1e3f63;
  --gold:        #c9973a;
  --gold-light:  #e0b05a;
  --gold-border: rgba(201, 151, 58, 0.3);
  --gold-dim:    rgba(201, 151, 58, 0.12);
  --cream:       #f5f0e8;
  --cream-dim:   rgba(245, 240, 232, 0.07);
  --text-main:   #e8e2d8;
  --text-muted:  rgba(232, 226, 216, 0.6);
  --text-faint:  rgba(232, 226, 216, 0.32);
  --serif:       'Cormorant Garamond', Georgia, serif;
  --sans:        'Instrument Sans', system-ui, sans-serif;
  --mono:        'DM Mono', monospace;
  --nav-h:       68px;
  --max:         1200px;
  --col:         1.25rem;
  --radius:      6px;
  --radius-lg:   12px;
  --ease:        0.25s ease;
  --shadow-sm:   0 2px 8px rgba(0,0,0,.25);
  --shadow-md:   0 4px 24px rgba(0,0,0,.4);
  --shadow-lg:   0 8px 40px rgba(0,0,0,.55);
}

@media (min-width: 640px)  { :root { --col: 2.5rem; } }
@media (min-width: 1024px) { :root { --col: 5rem;   } }

/* ─── RESET ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html  { scroll-behavior: smooth; }
body  {
  font-family: var(--sans);
  background: var(--navy);
  color: var(--text-main);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
}
a   { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
button { cursor: pointer; font-family: inherit; }

/* ═══════════════════════════════
   NAVBAR
═══════════════════════════════ */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 300;
  height: var(--nav-h);
  background: rgba(28, 45, 63, 0.493);
  border-bottom: 1px solid var(--gold-border);
  display: flex; align-items: center;
  padding: 0 var(--col);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.nav-inner {
  max-width: var(--max); width: 100%; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -.01em;
  color: var(--cream);
  line-height: 1;
  display: flex; flex-direction: column;
  cursor: pointer; flex-shrink: 0;
  transition: opacity var(--ease);
}
.nav-logo:hover { opacity: .85; }
.nav-logo-sub {
  font-family: var(--mono);
  font-size: .48rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 3px;
}
.nav-links { display: none; list-style: none; }

.nav-logo .logo-img {
  max-height: 250px;
  width: auto;
}


@media (max-width: 768px) {
  .nav-logo .logo-img {
    max-height: 150px;
  }
}



/* Hamburger */
.nav-hamburger {
  display: flex; flex-direction: column;
  justify-content: center; gap: 5px;
  background: none;
  border: 1px solid var(--gold-border);
  padding: 8px 10px;
  border-radius: var(--radius);
  cursor: pointer; z-index: 400;
  transition: border-color var(--ease), background var(--ease);
}
.nav-hamburger:hover { border-color: var(--gold); background: var(--cream-dim); }
.nav-hamburger span {
  display: block; width: 20px; height: 1.5px;
  background: var(--cream); border-radius: 2px;
  transition: transform var(--ease), opacity var(--ease);
  transform-origin: center;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile drawer */
.nav-drawer {
  position: fixed;
  top: var(--nav-h); left: 0; right: 0; bottom: 0;
  background: rgba(28, 45, 63, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--gold-border);
  z-index: 250;
  overflow-y: auto;
  padding: 2rem var(--col) 3rem;
  flex-direction: column; gap: 0;
  /* Estado cerrado — invisible y desplazado hacia arriba */
  display: flex;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-12px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.nav-drawer.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

/* Links del drawer — aparecen escalonados */
.nav-drawer a {
  font-family: var(--mono);
  font-size: .85rem; letter-spacing: .1em;
  text-transform: uppercase; color: var(--text-muted);
  padding: 1rem 0;
  border-bottom: 1px solid rgba(201,151,58,.1);
  display: block;
  transition: color var(--ease), padding-left var(--ease), opacity 0.3s ease, transform 0.3s ease;
  cursor: pointer;
  opacity: 0;
  transform: translateX(-8px);
}
.nav-drawer.open a {
  opacity: 1;
  transform: translateX(0);
}
/* Efecto escalonado — cada link aparece con un pequeño delay */
.nav-drawer.open a:nth-child(1) { transition-delay: 0.05s; }
.nav-drawer.open a:nth-child(2) { transition-delay: 0.10s; }
.nav-drawer.open a:nth-child(3) { transition-delay: 0.15s; }
.nav-drawer.open a:nth-child(4) { transition-delay: 0.20s; }
.nav-drawer.open a:nth-child(5) { transition-delay: 0.25s; }
.nav-drawer.open a:nth-child(6) { transition-delay: 0.30s; }
.nav-drawer.open a:nth-child(7) { transition-delay: 0.35s; }

.nav-drawer a:hover { color: var(--gold); padding-left: .4rem; }
.nav-drawer a.active { color: var(--gold); }
.nav-drawer .drawer-lang {
  display: flex; gap: .8rem; align-items: center;
  padding-top: 1.5rem;
  opacity: 0;
  transition: opacity 0.3s ease 0.4s;
}
.nav-drawer.open .drawer-lang { opacity: 1; }

@media (min-width: 900px) {
  .nav-hamburger { display: none; }
  /* Ocultar drawer en desktop aunque tenga display:flex */
  .nav-drawer {
    display: none !important;
  }
  .nav-links {
    display: flex; gap: 1.6rem; align-items: center;
  }
  .nav-links a {
    font-family: var(--mono); font-size: .68rem;
    letter-spacing: .08em; text-transform: uppercase;
    color: var(--text-muted);
    padding-bottom: 2px;
    border-bottom: 1px solid transparent;
    transition: color var(--ease), border-color var(--ease);
    cursor: pointer;
  }
  .nav-links a:hover  { color: var(--cream); }
  .nav-links a.active { color: var(--gold); border-bottom-color: var(--gold); }
}

/* Lang toggle */
.lang-toggle {
  display: flex;
  border: 1px solid var(--gold-border);
  border-radius: var(--radius);
  overflow: hidden;
}
.lang-btn {
  font-family: var(--mono); font-size: .6rem;
  letter-spacing: .1em; padding: .3rem .65rem;
  background: transparent; border: none;
  color: var(--text-faint);
  transition: background var(--ease), color var(--ease);
  text-transform: uppercase;
}
.lang-btn.active { background: var(--gold); color: var(--navy); font-weight: 600; }
.lang-btn:not(.active):hover { color: var(--cream); background: var(--cream-dim); }

/* ═══════════════════════════════
   HERO
═══════════════════════════════ */
.hero {
  min-height: 100svh;
  padding-top: var(--nav-h);
  position: relative; overflow: hidden;
  display: flex; align-items: flex-end;
}
.hero--short { min-height: 65svh; }

.hero-bg {
  position: absolute; inset: 0;
  background:
    linear-gradient(160deg, rgba(13,27,42,.98) 50%, rgba(13,27,42,.65) 100%),
    radial-gradient(ellipse at 70% 45%, #1e3f63 0%, transparent 65%);
}
.hero-lighthouse {
  position: absolute; right: 0; bottom: 0;
  width: clamp(160px, 30vw, 380px);
  opacity: .14; pointer-events: none;
}
.hero-compass {
  position: absolute; right: 4%; top: 50%;
  transform: translateY(-50%);
  width: clamp(200px, 35vw, 480px);
  height: clamp(200px, 35vw, 480px);
  opacity: .06; pointer-events: none;
}
@media (max-width: 640px) {
  .hero-compass    { width: 200px; height: 200px; right: -30px; opacity: .04; }
  .hero-lighthouse { width: 140px; opacity: .1; }
}

.hero-content {
  position: relative; z-index: 2;
  max-width: var(--max); margin: 0 auto; width: 100%;
  padding: 4rem var(--col) 4rem;
}
@media (min-width: 768px) { .hero-content { padding: 6rem var(--col) 5rem; } }

.hero-eyebrow {
  display: flex; align-items: center; gap: .7rem;
  font-family: var(--mono); font-size: .65rem;
  letter-spacing: .15em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 1.4rem;
}
.hero-eyebrow::before {
  content: ''; display: block;
  width: 24px; height: 1px; background: var(--gold); flex-shrink: 0;
}
.hero-title {
  font-family: var(--serif);
  font-size: clamp(2rem, 6vw, 4.8rem);
  font-weight: 300; line-height: 1.1;
  letter-spacing: -.02em; color: var(--cream);
  max-width: 680px; margin-bottom: 1.5rem;
}
.hero-title em { font-style: italic; color: var(--gold-light); }
.hero-sub {
  font-size: clamp(.88rem, 1.6vw, 1.05rem);
  color: var(--text-muted); max-width: 480px;
  line-height: 1.75; font-weight: 300; margin-bottom: 2.2rem;
}
.hero-buttons { display: flex; gap: .8rem; flex-wrap: wrap; }
@media (max-width: 420px) {
  .hero-buttons { flex-direction: column; }
  .hero-buttons .btn-gold,
  .hero-buttons .btn-outline-light { text-align: center; }
}

/* ─── HOME COMPASS SVG ─── */
.home-compass-svg {
  width: clamp(220px, 32vw, 420px);
  height: auto;
  opacity: .45;
 
}
@media (max-width: 768px) {
  .home-compass-svg { width: clamp(160px, 60vw, 260px); opacity: .3; }
}


/* ═══════════════════════════════
   BUTTONS
═══════════════════════════════ */
.btn-gold {
  display: inline-block;
  background: var(--gold); color: var(--navy);
  padding: .85rem 2rem;
  font-family: var(--mono); font-size: .7rem;
  letter-spacing: .1em; text-transform: uppercase;
  border: none; font-weight: 600;
  border-radius: var(--radius);
  transition: background var(--ease), transform .15s, box-shadow .15s;
  box-shadow: 0 2px 12px rgba(201,151,58,.25);
}
.btn-gold:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(201,151,58,.4);
}
.btn-outline-light {
  display: inline-block;
  background: transparent; color: var(--cream);
  padding: .85rem 2rem;
  font-family: var(--mono); font-size: .7rem;
  letter-spacing: .1em; text-transform: uppercase;
  border: 1px solid var(--gold-border);
  border-radius: var(--radius);
  transition: border-color var(--ease), color var(--ease),
              background var(--ease), transform .15s;
}
.btn-outline-light:hover {
  border-color: var(--gold); color: var(--gold);
  background: var(--gold-dim); transform: translateY(-2px);
}


/* ═══════════════════════════════
   HELM DECISION SYSTEM CTA
═══════════════════════════════ */
.lib-cta-box {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  background: var(--cream-dim);
  border: 1px solid var(--gold-border);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius-lg);
  padding: 1.8rem 1.4rem;  /* padding más compacto en móvil */
}
@media (min-width: 768px) {
  .lib-cta-box {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    padding: 2.5rem 2.2rem;
  }
}
.lib-cta-left { flex: 1; }
.lib-cta-right {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;   /* ancho completo en móvil */
  gap: .8rem;
}
@media (min-width: 768px) {
  .lib-cta-right { align-items: flex-end; }
}
 
/* Botón — compacto en móvil, normal en desktop */
.lib-hds-btn {
  font-size: .68rem;
  padding: .8rem 1.2rem;
  text-align: center;
  white-space: normal;
  line-height: 1.4;
}
@media (min-width: 768px) {
  .lib-hds-btn {
    font-size: .72rem;
    padding: 1rem 2rem;
    white-space: nowrap;
  }
}
 
.lib-hds-note {
  font-family: var(--mono);
  font-size: .6rem;
  letter-spacing: .08em;
  color: var(--text-faint);
  text-align: center;
}
@media (min-width: 768px) {
  .lib-hds-note { text-align: right; }
}



/* ═══════════════════════════════
   SECTION SKELETON
═══════════════════════════════ */
.section       { padding: 4rem var(--col); }
.section-inner { max-width: var(--max); margin: 0 auto; }
@media (min-width: 768px) { .section { padding: 6rem var(--col); } }

.section--alt  { background: var(--navy-2); }
.section--dark { background: var(--navy); }
.section--mid  { background: #0f2035; }
.section-rule  { border: none; border-top: 1px solid rgba(201,151,58,.15); }

.section-eyebrow {
  display: flex; align-items: center; gap: .7rem;
  font-family: var(--mono); font-size: .65rem;
  letter-spacing: .15em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 1rem;
}
.section-eyebrow::before {
  content: ''; display: block;
  width: 20px; height: 1px; background: var(--gold); flex-shrink: 0;
}
.section-eyebrow--center { justify-content: center; }
.section-eyebrow--center::before,
.section-eyebrow--center::after {
  content: ''; display: block;
  width: 32px; height: 1px; background: var(--gold-border);
}
.section-title {
  font-family: var(--serif);
  font-size: clamp(1.7rem, 3.5vw, 3rem);
  font-weight: 300; line-height: 1.2;
  letter-spacing: -.02em; color: var(--cream); margin-bottom: .8rem;
}
.section-title em { font-style: italic; color: var(--gold-light); }
.section-body {
  font-size: .92rem; color: var(--text-muted);
  line-height: 1.8; font-weight: 300;
}
.section-body p + p { margin-top: .9rem; }
.split-2 { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
@media (min-width: 768px) {
  .split-2 { grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start; }
}

/* ─── CHECK LIST ─── */
.check-list {
  list-style: none; display: flex; flex-direction: column;
  gap: .75rem; margin-top: 1rem;
}
.check-list li {
  display: flex; align-items: flex-start; gap: .75rem;
  font-size: .88rem; color: var(--text-muted);
}
.check-list li::before {
  content: ''; display: block; flex-shrink: 0;
  width: 18px; height: 18px; margin-top: 2px;
  background: var(--gold); border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%230d1b2a'%3E%3Cpath fill-rule='evenodd' d='M16.7 5.3a1 1 0 010 1.4l-8 8a1 1 0 01-1.4 0l-4-4a1 1 0 011.4-1.4L8 12.6l7.3-7.3a1 1 0 011.4 0z' clip-rule='evenodd'/%3E%3C/svg%3E");
  background-size: 11px; background-repeat: no-repeat; background-position: center;
}

/* ─── PURPOSE BOX ─── */
.purpose-box {
  display: flex; gap: 1rem; align-items: flex-start;
  background: var(--cream-dim); border: 1px solid var(--gold-border);
  border-left: 3px solid var(--gold);
  padding: 1.2rem 1.4rem; margin-top: 1.8rem;
  border-radius: var(--radius);
  transition: background var(--ease);
}
.purpose-box:hover { background: rgba(245,240,232,.1); }
.purpose-icon {
  width: 38px; height: 38px; flex-shrink: 0;
  border: 1px solid var(--gold-border); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold); font-size: 1rem;
}
.purpose-box strong {
  display: block; font-family: var(--mono);
  font-size: .63rem; letter-spacing: .1em;
  text-transform: uppercase; color: var(--gold); margin-bottom: .3rem;
}
.purpose-box p { font-size: .86rem; color: var(--text-muted); line-height: 1.65; }

/* ═══════════════════════════════
   ECOSYSTEM CARDS
═══════════════════════════════ */
.eco-grid {
  display: grid; grid-template-columns: 1fr;
  gap: 1px; background: transparent; margin-top: 2.5rem;
}
@media (min-width: 640px) { .eco-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .eco-grid { grid-template-columns: repeat(4, 1fr); } }

.eco-card {
  background: var(--navy-2);
  border: 1px solid var(--gold-border);
  padding: 2rem 1.8rem;
  display: block;
  transition: background var(--ease), transform .2s, box-shadow .2s;
  cursor: pointer;
  border-radius: var(--radius);
}
.eco-card:hover {
  background: var(--navy-3);
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}
.eco-num   { font-family: var(--mono); font-size: .58rem; letter-spacing: .12em; color: var(--gold); margin-bottom: .9rem; }
.eco-title { font-family: var(--serif); font-size: 1.25rem; color: var(--cream); margin-bottom: .5rem; }
.eco-desc  { font-size: .82rem; color: var(--text-muted); line-height: 1.65; }
.eco-arrow { display: block; margin-top: 1.3rem; font-family: var(--mono); font-size: .66rem; letter-spacing: .06em; color: var(--gold); transition: letter-spacing var(--ease); }
.eco-card:hover .eco-arrow { letter-spacing: .1em; }

/* ═══════════════════════════════
   ICON CARDS
═══════════════════════════════ */
.icon-cards {
  display: grid; grid-template-columns: 1fr;
  gap: 1.2rem; margin-top: 2.5rem;
}
@media (min-width: 540px) { .icon-cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .icon-cards { grid-template-columns: repeat(4, 1fr); gap: 1.5rem; } }

.icon-card {
  display: flex; flex-direction: column; align-items: center;
  text-align: center; padding: 1.8rem 1.4rem;
  background: var(--navy-2); border: 1px solid var(--gold-dim);
  border-radius: var(--radius-lg);
  transition: border-color var(--ease), transform .2s, box-shadow .2s;
}
.icon-card:hover {
  border-color: var(--gold-border);
  transform: translateY(-4px);
  box-shadow: var(--shadow-sm);
}
.icon-card-circle {
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--navy-3); border: 2px solid var(--gold-border);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem; font-size: 1.5rem;
  transition: border-color var(--ease), background var(--ease);
}
.icon-card:hover .icon-card-circle { border-color: var(--gold); background: var(--navy-4); }
.icon-card-title {
  font-family: var(--mono); font-size: .65rem;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--cream); margin-bottom: .7rem; font-weight: 500;
}
.icon-card-desc { font-size: .8rem; color: var(--text-muted); line-height: 1.65; margin-bottom: 1rem; }
.icon-card-sub  {
  list-style: none; margin-top: auto;
  border-top: 1px solid var(--gold-dim);
  padding-top: .7rem; width: 100%; text-align: left;
}
.icon-card-sub li {
  font-size: .76rem; color: var(--text-faint);
  padding: .2rem 0 .2rem .8rem; position: relative;
}
.icon-card-sub li::before { content: '·'; position: absolute; left: 0; color: var(--gold); }

/* ═══════════════════════════════
   PROCESS TIMELINE
═══════════════════════════════ */
.process-section { background: var(--navy); }
.process-title {
  font-family: var(--mono); font-size: .7rem;
  letter-spacing: .18em; text-transform: uppercase; color: var(--gold);
  margin-bottom: 3rem; text-align: center;
  display: flex; align-items: center; justify-content: center; gap: 1rem;
}
.process-title::before, .process-title::after {
  content: ''; display: block; width: 32px; height: 1px; background: var(--gold-border);
}
.process-steps { display: flex; flex-direction: column; gap: 2rem; }
@media (min-width: 640px) {
  .process-steps {
    flex-direction: row; align-items: flex-start; gap: 0; position: relative;
  }
  .process-steps::before {
    content: ''; position: absolute; top: 27px; left: 10%; right: 10%; height: 1px;
    background: repeating-linear-gradient(90deg, var(--gold-border) 0, var(--gold-border) 8px, transparent 8px, transparent 16px);
  }
}
.process-step {
  display: flex; flex-direction: row; align-items: center; gap: 1rem;
  position: relative; z-index: 1;
}
@media (min-width: 640px) {
  .process-step { flex: 1; flex-direction: column; align-items: center; text-align: center; gap: 0; }
}
.process-number {
  width: 54px; height: 54px; flex-shrink: 0;
  border-radius: 50%; border: 1px solid var(--gold);
  background: var(--navy); display: flex;
  align-items: center; justify-content: center;
  font-family: var(--mono); font-size: .82rem; color: var(--gold);
  transition: background var(--ease), border-color var(--ease);
}
.process-step:hover .process-number { background: var(--navy-2); border-color: var(--gold-light); }
@media (min-width: 640px) { .process-number { margin-bottom: 1rem; } }
.process-step-body { flex: 1; }
@media (min-width: 640px) { .process-step-body { text-align: center; } }
.process-icon { font-size: 1.3rem; color: var(--gold); margin-bottom: .6rem; display: block; }
@media (max-width: 639px) { .process-icon { display: none; } }
.process-step-title {
  font-family: var(--mono); font-size: .65rem;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--cream); margin-bottom: .4rem;
}
.process-step-desc { font-size: .77rem; color: var(--text-muted); line-height: 1.55; max-width: 130px; margin: 0 auto; }

/* ═══════════════════════════════
   PULL QUOTE
═══════════════════════════════ */
.pull-section {
  background: var(--navy-2);
  border-top: 1px solid var(--gold-border);
  border-bottom: 1px solid var(--gold-border);
  padding: 4rem var(--col);
}
@media (min-width: 768px) { .pull-section { padding: 5.5rem var(--col); } }
.pull-layout {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: 1fr; gap: 2.5rem;
}
@media (min-width: 700px) {
  .pull-layout { grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
}
.pull-compass {
  width: 80px; height: 80px;
  border: 2px solid var(--gold-border); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem; color: var(--gold); margin-bottom: 1.3rem;
}
.pull-quote-text {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 3.5vw, 2.6rem);
  font-weight: 300; line-height: 1.2; letter-spacing: -.02em;
  color: var(--cream); font-style: italic; margin-bottom: .9rem;
}
.pull-sub { font-size: .87rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 1.4rem; }
.pull-cta-box {
  background: var(--cream-dim); border: 1px solid var(--gold-border);
  padding: 1.6rem 1.8rem; border-radius: var(--radius-lg);
}
.pull-cta-box-title {
  font-family: var(--mono); font-size: .65rem;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--gold); margin-bottom: .5rem;
  display: flex; align-items: center; gap: .5rem;
}
.pull-cta-box p { font-size: .84rem; color: var(--text-muted); margin-bottom: 1.1rem; line-height: 1.6; }

/* ═══════════════════════════════
   PRINCIPLES GRID
═══════════════════════════════ */
.principles-grid {
  display: grid; grid-template-columns: 1fr;
  gap: 1px; background: transparent; margin-top: 2.5rem;
}
@media (min-width: 480px) { .principles-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .principles-grid { grid-template-columns: repeat(5, 1fr); } }
.principle {
  background: var(--navy); padding: 1.6rem 1.5rem;
  border: 1px solid var(--gold-border);
  border-radius: var(--radius);
  transition: background var(--ease), transform .2s;
}
.principle:hover { background: var(--navy-2); transform: translateY(-2px); }
.principle-n { font-family: var(--mono); font-size: .58rem; letter-spacing: .1em; color: var(--gold); margin-bottom: .6rem; }
.principle-text { font-family: var(--serif); font-size: .98rem; color: var(--text-main); line-height: 1.4; }

/* ═══════════════════════════════
   LIBRARY VIDEO
═══════════════════════════════ */
.lib-video-wrapper {
  position: relative; width: 100%; overflow: hidden;
  max-width: 860px; margin: 0 auto;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  border: 1px solid var(--gold-border);
  box-shadow: var(--shadow-sm);
}
.lib-video-wrapper iframe {
  position: absolute; top: 0; left: 0;
  width: 100%; height: 100%;
  border-radius: var(--radius);
}
@media (min-width: 768px) {
  .lib-video-wrapper {
    max-width: 640px;
  }
}

/* ═══════════════════════════════
   LIBRARY CARDS
═══════════════════════════════ */
.lib-grid {
  display: grid; grid-template-columns: 1fr;
  gap: 1px; background: transparent; margin-top: 2.5rem;
}
@media (min-width: 540px)  { .lib-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .lib-grid { grid-template-columns: repeat(3, 1fr); } }
.lib-card {
  background: var(--navy-2); padding: 1.8rem 1.6rem;
  border: 1px solid var(--gold-border);
  border-radius: var(--radius);
  transition: background var(--ease), transform .2s, box-shadow .2s;
  cursor: pointer;
}
.lib-card:hover {
  background: var(--navy-3);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.lib-code {
  font-family: var(--mono); font-size: .62rem; letter-spacing: .12em;
  color: var(--navy); background: var(--gold);
  display: inline-block; padding: .2rem .55rem;
  margin-bottom: .7rem; font-weight: 600;
  border-radius: 3px;
}
.lib-title { font-family: var(--serif); font-size: 1.08rem; color: var(--cream); margin-bottom: .25rem; }
.lib-desc  { font-size: .8rem; color: var(--text-muted); }
.lib-card-cta { font-family: var(--mono); font-size: .58rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-top: .85rem; }
@media (min-width: 1024px) { .lib-grid--2 { grid-template-columns: repeat(2, 1fr); } }
.lib-card--link { display: block; text-decoration: none; color: inherit; }

/* ═══════════════════════════════
   LIBRARY MODALS
═══════════════════════════════ */
.lib-modal-overlay { position: fixed; inset: 0; background: rgba(5,10,20,.82); z-index: 900; display: flex; align-items: center; justify-content: center; padding: 1rem; opacity: 0; visibility: hidden; transition: opacity .25s ease, visibility .25s ease; }
.lib-modal-overlay.open { opacity: 1; visibility: visible; }
.lib-modal { background: var(--navy); border: 1px solid var(--gold-border); max-width: 640px; width: 100%; max-height: 88vh; overflow-y: auto; padding: 2rem 2rem 1.75rem; position: relative; }
.lib-modal-close { position: absolute; top: 1rem; right: 1.1rem; background: none; border: none; color: var(--text-faint); font-size: 1.6rem; line-height: 1; cursor: pointer; padding: 0 .25rem; transition: color var(--ease); }
.lib-modal-close:hover { color: var(--gold); }
.lib-modal-code { font-family: var(--mono); font-size: .62rem; letter-spacing: .18em; color: var(--navy); background: var(--gold); display: inline-block; padding: .2rem .55rem; margin-bottom: .6rem; font-weight: 600; border-radius: 3px; }
.lib-modal-title { font-family: var(--serif); font-size: 1.35rem; color: var(--cream); margin: 0 0 .2rem; }
.lib-modal-subtitle { font-family: var(--mono); font-size: .58rem; letter-spacing: .12em; text-transform: uppercase; color: var(--text-faint); margin-bottom: 1.3rem; }
.lib-modal-list { list-style: none; margin: 0 0 1.25rem; padding: 0; display: flex; flex-direction: column; gap: .45rem; }
.lib-modal-item { display: grid; grid-template-columns: 2.6rem 1fr auto; align-items: center; gap: .65rem; padding: .6rem .75rem; border: 1px solid var(--gold-border); transition: background var(--ease); }
.lib-modal-item:hover { background: rgba(212,175,55,.06); }
.lib-modal-item-code { font-family: var(--mono); font-size: .58rem; color: var(--gold); }
.lib-modal-item-title { font-family: var(--mono); font-size: .64rem; color: var(--text-faint); line-height: 1.45; }
.lib-modal-item-link { font-family: var(--mono); font-size: .6rem; color: var(--gold); text-decoration: none; white-space: nowrap; transition: color var(--ease); }
.lib-modal-item-link:hover { color: var(--cream); }
.lib-modal-divider { border: none; border-top: 1px solid var(--gold-border); margin: 1rem 0; }
.lib-modal-collection { text-align: center; }

/* ═══════════════════════════════
   CONTACT FORM
═══════════════════════════════ */
.contact-layout { display: grid; grid-template-columns: 1fr; gap: 3rem; }
@media (min-width: 768px) {
  .contact-layout { grid-template-columns: 1fr 1.4fr; gap: 5rem; align-items: start; }
}
.contact-info-item { padding: 1.2rem 0; border-bottom: 1px solid rgba(201,151,58,.15); }
.contact-info-label {
  font-family: var(--mono); font-size: .6rem; letter-spacing: .1em;
  text-transform: uppercase; color: var(--gold); margin-bottom: .3rem;
}
.contact-info-value { font-family: var(--serif); font-size: 1rem; color: var(--cream); }
.contact-info-value a {
  border-bottom: 1px solid var(--gold-border); padding-bottom: 1px;
  transition: color var(--ease), border-color var(--ease);
}
.contact-info-value a:hover { color: var(--gold); border-bottom-color: var(--gold); }
.form-box {
  background: var(--navy-2); border: 1px solid var(--gold-border);
  padding: 2rem 1.8rem; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
@media (min-width: 480px) { .form-box { padding: 2.4rem 2.2rem; } }
.form-grid { display: grid; grid-template-columns: 1fr; gap: 0; }
@media (min-width: 480px) { .form-grid { grid-template-columns: 1fr 1fr; gap: 0 1.6rem; } }
.form-group { margin-bottom: 1.4rem; }
.form-label {
  display: block; font-family: var(--mono); font-size: .6rem;
  letter-spacing: .1em; text-transform: uppercase; color: var(--gold); margin-bottom: .4rem;
}
.form-input {
  display: block; width: 100%; background: transparent;
  border: none; border-bottom: 1px solid rgba(201,151,58,.22);
  padding: .6rem 0; font-family: var(--sans); font-size: .9rem;
  color: var(--cream); outline: none; transition: border-color var(--ease);
}
.form-input:focus { border-bottom-color: var(--gold); }
.form-input::placeholder { color: var(--text-faint); }
textarea.form-input { resize: none; height: 88px; }

/* ─── SELECT ─── */
.form-select {
  appearance: none; -webkit-appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23c9973a' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 4px center;
  padding-right: 1.5rem;
}
.form-select option { background: #112236; color: #e8e2d8; }
.form-select option:disabled { color: rgba(232,226,216,0.35); }

/* ═══════════════════════════════
   ABOUT PAGE
═══════════════════════════════ */
.about-hero-text {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 4vw, 3rem);
  font-weight: 300; line-height: 1.2; letter-spacing: -.02em;
  color: var(--cream); margin-bottom: 3rem;
}
.about-columns {
  display: grid; grid-template-columns: 1fr; gap: 2rem;
  padding-top: 2.5rem; border-top: 1px solid rgba(201,151,58,.15);
}
@media (min-width: 640px) { .about-columns { grid-template-columns: 1fr 1fr; gap: 4rem; } }

/* ═══════════════════════════════
   FOOTER
═══════════════════════════════ */
.site-footer {
  background: var(--navy);
  border-top: 1px solid var(--gold-border);
  padding: 2.5rem var(--col);
}
.footer-inner {
  max-width: var(--max); margin: 0 auto;
  display: flex; flex-direction: column; gap: 1rem;
  align-items: center; text-align: center;
}
@media (min-width: 768px) {
  .footer-inner { flex-direction: row; justify-content: space-between; text-align: left; }
}
.footer-logo { font-family: var(--serif); font-size: 1.15rem; color: var(--cream); line-height: 1; }
.footer-logo-sub { font-family: var(--mono); font-size: .5rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); margin-top: 3px; }
.footer-center { font-family: var(--mono); font-size: .65rem; letter-spacing: .05em; color: var(--text-faint); font-style: italic; }
.footer-right  { font-family: var(--mono); font-size: .65rem; color: var(--text-faint); }
.footer-right a { transition: color var(--ease); }
.footer-right a:hover { color: var(--gold); }
.footer-social { display: flex; gap: .75rem; align-items: center; margin-bottom: .6rem; justify-content: center; }
@media (min-width: 768px) { .footer-social { justify-content: flex-end; } }
.footer-social-link { color: var(--text-faint); transition: color var(--ease), transform var(--ease); display: flex; }
.footer-social-link:hover { color: var(--gold); transform: translateY(-2px); }

/* ═══════════════════════════════
   UTILITIES & ANIMATIONS
═══════════════════════════════ */
.fade-in { animation: fadeUp .5s ease both; }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}
.text-gold   { color: var(--gold); }
.text-italic { font-style: italic; }
.text-center { text-align: center; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-2 { margin-bottom: 2rem; }

/* ═══════════════════════════════
   HELM ACADEMY
═══════════════════════════════ */
.academy-programs {
  display: grid; grid-template-columns: 1fr;
  gap: 1px; background: transparent; margin-top: 0;
}
@media (min-width: 640px)  { .academy-programs { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .academy-programs { grid-template-columns: repeat(3, 1fr); } }
.academy-card {
  background: var(--navy-2); border: 1px solid var(--gold-border);
  padding: 2rem 1.8rem; display: flex; flex-direction: column; gap: .8rem;
  border-radius: var(--radius);
  transition: background var(--ease), transform .2s, box-shadow .2s;
  cursor: pointer;
}
.academy-card:hover {
  background: var(--navy-3);
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}
@media (min-width: 1024px) {
  .academy-card:last-child:nth-child(3n - 2) { grid-column: 2; }
}
.academy-card-header { display: flex; align-items: flex-start; gap: 1rem; }
.academy-num {
  font-family: var(--mono); font-size: .62rem; letter-spacing: .14em;
  color: var(--navy); background: var(--gold);
  padding: .25rem .6rem; font-weight: 600;
  flex-shrink: 0; margin-top: 3px; border-radius: 3px;
}
.academy-card-title { font-family: var(--serif); font-size: 1.2rem; font-weight: 400; color: var(--cream); line-height: 1.3; }
.academy-card-desc  { font-size: .88rem; color: var(--text-muted); line-height: 1.7; }
.academy-card-tag   {
  font-family: var(--mono); font-size: .6rem; letter-spacing: .1em;
  color: var(--gold); opacity: .75; margin-top: auto;
  padding-top: .8rem; border-top: 1px solid var(--gold-dim);
}
.academy-connection-grid {
  display: flex; flex-direction: column; gap: 1rem;
  margin-top: 3rem; align-items: stretch;
}
@media (min-width: 768px) {
  .academy-connection-grid { flex-direction: row; align-items: center; gap: 1.5rem; }
}
.academy-conn-card {
  flex: 1; background: var(--navy-2); border: 1px solid var(--gold-border);
  border-radius: var(--radius-lg); padding: 1.8rem 1.6rem;
  display: flex; flex-direction: column; gap: .6rem;
  transition: background var(--ease), transform .2s;
}
.academy-conn-card:hover { background: var(--navy-3); transform: translateY(-2px); }
.academy-conn-card--active {
  background: var(--navy-3); border-color: var(--gold); position: relative;
}
.academy-conn-card--active::before {
  content: 'Academy'; position: absolute; top: -10px; left: 50%;
  transform: translateX(-50%);
  font-family: var(--mono); font-size: .55rem; letter-spacing: .12em;
  text-transform: uppercase; background: var(--gold); color: var(--navy);
  padding: .2rem .6rem; font-weight: 600; border-radius: 3px;
}
.academy-conn-icon  { font-size: 1.6rem; margin-bottom: .3rem; }
.academy-conn-title { font-family: var(--serif); font-size: 1.1rem; color: var(--cream); }
.academy-conn-desc  { font-size: .82rem; color: var(--text-muted); line-height: 1.65; }
.academy-conn-arrow { font-size: 1.5rem; color: var(--gold); opacity: .5; text-align: center; flex-shrink: 0; }
@media (max-width: 767px) { .academy-conn-arrow { transform: rotate(90deg); } }

/* ═══════════════════════════════
   HERO LOGOS — Split layout
   (Advisory, Library, Academy, Method, Home)
═══════════════════════════════ */
.adv-hero-layout {
  display: flex; flex-direction: row;
  align-items: center; gap: 4rem; width: 100%;
}
.adv-hero-text { flex: 1; min-width: 0; }
.adv-hero-logo {
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}

/* Tamaño unificado — igual que Helm Method */
.adv-logo-img {
  width: clamp(220px, 32vw, 440px);
  height: auto; object-fit: contain; display: block;
}

/* Móvil */
@media (max-width: 768px) {
  .adv-hero-layout { flex-direction: column; gap: 2rem; }
  .adv-hero-logo   { width: 100%; justify-content: center; }
  .adv-logo-img    { width: clamp(180px, 65vw, 300px); }
}

/* Home logo matriz */
.home-hero-layout { align-items: center; }
.home-hero-logo   { flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.home-logo-img {
  width: clamp(220px, 32vw, 440px);
  height: auto; object-fit: contain; display: block;
  mix-blend-mode: lighten; opacity: .92;
}
@media (max-width: 768px) {
  .home-hero-layout { flex-direction: column; gap: 2rem; }
  .home-hero-logo   { width: 100%; justify-content: center; }
  .home-logo-img    { width: clamp(180px, 65vw, 300px); }
}

/* Method logo — fondo blanco */
.method-logo-img { mix-blend-mode: screen; opacity: .95; }

/* ═══════════════════════════════
   PRIVACY POLICY & TERMS
═══════════════════════════════ */
.priv-updated { font-family: var(--mono); font-size: .65rem; letter-spacing: .1em; color: var(--gold); margin-bottom: 1.5rem; }
.priv-intro   { font-size: .95rem; color: var(--text-muted); line-height: 1.8; padding-bottom: 2rem; }
.priv-rule    { border: none; border-top: 1px solid rgba(201,151,58,.2); margin: 0; }
.priv-sections { display: flex; flex-direction: column; margin-top: 0; }
.priv-section  { padding: 2rem 0; border-bottom: 1px solid rgba(201,151,58,.1); }
.priv-section--last { border-bottom: none; }
.priv-section-header { display: flex; align-items: flex-start; gap: 1.2rem; margin-bottom: 1.2rem; }
.priv-num {
  font-family: var(--mono); font-size: .62rem; letter-spacing: .12em;
  color: var(--navy); background: var(--gold);
  padding: .22rem .6rem; font-weight: 600; flex-shrink: 0; margin-top: 4px;
  border-radius: 3px;
}
.priv-section-title { font-family: var(--serif); font-size: clamp(1.1rem, 2vw, 1.4rem); font-weight: 400; color: var(--cream); line-height: 1.3; }
.priv-body { font-size: .92rem; color: var(--text-muted); line-height: 1.8; padding-left: calc(.62rem * 2 + .6rem * 2 + 1.2rem); }
@media (max-width: 480px) { .priv-body { padding-left: 0; } }
.priv-body p { margin-bottom: .3rem; }
.priv-list { list-style: none; margin-top: .8rem; display: flex; flex-direction: column; gap: .4rem; }
.priv-list li { font-size: .88rem; color: var(--text-muted); padding-left: 1.2rem; position: relative; }
.priv-list li::before { content: '→'; position: absolute; left: 0; color: var(--gold); font-size: .75rem; }
.priv-highlight {
  background: rgba(201,151,58,.08); border-left: 3px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1rem 1.2rem; font-size: .88rem; color: var(--text-main); line-height: 1.7;
}
.priv-contact-link {
  display: inline-block; margin-top: .8rem;
  font-family: var(--serif); font-size: 1rem; color: var(--cream);
  border-bottom: 1px solid var(--gold-border); padding-bottom: 2px;
  transition: color var(--ease), border-color var(--ease);
}
.priv-contact-link:hover { color: var(--gold); border-bottom-color: var(--gold); }
.priv-back { padding-bottom: 4rem; }

/* ═══════════════════════════════
   DESKTOP CARD GAPS (>= 640px)
   Adds spacing between cards on
   tablet and desktop layouts
═══════════════════════════════ */
@media (min-width: 640px) {
  .eco-grid,
  .principles-grid,
  .lib-grid,
  .academy-programs {
    gap: 1rem;
  }
}

/* ═══════════════════════════════
   MOBILE CARD GAPS (< 640px)
   Adds spacing between stacked cards
   in responsive single-column layout
═══════════════════════════════ */
@media (max-width: 639px) {
  .eco-grid,
  .principles-grid,
  .lib-grid,
  .academy-programs {
    gap: 1rem;
  }

  /* Advisory — Our Approach: center steps, show emoji and add spacing */
  .process-steps {
    gap: 1.5rem;
  }
  .process-step {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: .75rem;
  }
  .process-step-body {
    text-align: center;
  }
  .process-step-desc {
    margin: 0 auto;
  }
  .process-icon {
    display: block;
  }

  /* Advisory — Pull quote: center the compass icon */
  .pull-compass {
    margin-left: auto;
    margin-right: auto;
  }

  /* Advisory — CTA box: center content inside the yellow rectangle */
  .pull-cta-box {
    text-align: center;
  }
  .pull-cta-box-title {
    justify-content: center;
  }
  .pull-cta-box .btn-gold {
    display: block;
    margin: 0 auto;
    text-align: center;
  }
}