/* ═══════════════════════════════════════════════════════════════
   /assets/css/layout.css — Strategic Mates LLC
   Inter (body) · Poppins (títulos/display)
═══════════════════════════════════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Poppins:wght@600;700;800;900&display=swap');

:root {
  --paper:       #ffffff;
  --off-white:   #F5F3EF;
  --ink:         #111827;
  --muted:       #6B7280;
  --gray:        #EAEAEA;

  --navy:        rgba(28,55,85);
  --navy2:       #162E56;
  --navy-soft:   rgba(15,34,64,.06);

  --gold:        rgb(216,184,128);
  --gold-strong: rgb(190,158,96);
  --gold-hi:     rgb(235,212,165);
  --gold-pale:   rgba(216,184,128,.13);
  --gold-muted:  rgba(216,184,128,.3);
  --gold-border: rgba(216,184,128,.4);
  --gold-ink:    #111827;

  --header-h:    72px;
  --offset-total:72px;

  /* Pantallas grandes: container más amplio */
  --max-w:       1340px;

  --r-xs:  4px; --r-sm: 8px; --r-md: 14px; --r-lg: 22px; --r-pill: 999px;
  --s-sm:  0 2px 12px rgba(0,0,0,.07);
  --s-md:  0 8px 36px rgba(15,34,64,.10);
  --s-lg:  0 20px 60px rgba(15,34,64,.13);
  --s-gold:0 8px 28px rgba(216,184,128,.35);
  --drawer-w: min(78vw, 220px);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
img, video, svg { display: block; max-width: 100%; }

body {
  padding-top: var(--offset-total);
  font: 400 16px/1.7 'Inter', sans-serif;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Container con padding generoso en pantallas grandes */
.container {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 80px);
}

/* ══════════════════════════════════════════════════
   HEADER
══════════════════════════════════════════════════ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 9000;
  height: var(--header-h);
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--gray);
  transition: box-shadow .3s, background .3s;
}
.site-header.is-scrolled {
  box-shadow: 0 2px 32px rgba(15,34,64,.08);
  background: rgba(255,255,255,.99);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 2rem;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: clamp(15px, 5vw, 20px);
}

.brand { display: flex; align-items: center; text-decoration: none; flex-shrink: 0; }
.logo  { height: 42px; width: auto; object-fit: contain; }

.nav-toggle {
  display: none;
  align-items: center; justify-content: center;
  width: 40px; height: 40px;
  background: transparent;
  border: 1.5px solid var(--gray);
  border-radius: var(--r-sm);
  cursor: pointer; color: var(--navy); padding: 0;
  transition: background .15s, border-color .15s;
  flex-shrink: 0;
}
.nav-toggle:hover { background: var(--navy-soft); border-color: var(--navy); }

.nav-list { list-style: none; padding: 0; display: flex; align-items: center; gap: .25rem; }
.nav-list a {
  display: block;
  padding: .44rem .9rem;
  color: #374151;
  font-size: .85rem; font-weight: 500;
  text-decoration: none;
  border-radius: var(--r-xs);
  white-space: nowrap;
  position: relative;
  letter-spacing: .01em;
  transition: color .15s, background .15s;
}
.nav-list a:hover { color: var(--navy); background: var(--navy-soft); }
.nav-list a.is-active { color: var(--navy); font-weight: 700; }
.nav-list a.is-active::after {
  content: '';
  position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 18px; height: 2px;
  background: var(--gold); border-radius: 2px;
}

.header-actions { display: flex; align-items: center; gap: .8rem; flex-shrink: 0; }

.lang-switch {
  display: flex; align-items: center;
  background: var(--off-white);
  border: 1.5px solid var(--gray);
  border-radius: var(--r-pill);
  padding: 3px; gap: 2px;
}
.lang {
  border: none; background: transparent;
  padding: .22rem .58rem;
  font-size: .75rem; font-weight: 700; letter-spacing: .04em;
  border-radius: var(--r-pill); cursor: pointer;
  color: var(--muted); font-family: inherit;
  transition: all .18s;
}
.lang:hover { color: var(--navy); }
.lang.is-active { background: var(--navy); color: #fff; box-shadow: 0 1px 6px rgba(15,34,64,.2); }

.btn-header-cta {
  background: var(--navy); color: white;
  padding: .48rem 1.15rem;
  font-size: .82rem; font-weight: 700;
  text-decoration: none; white-space: nowrap;
  border: 2px solid var(--navy); letter-spacing: .02em;
  transition: background .2s, color .2s, border-color .2s, transform .15s;
}
.btn-header-cta:hover {
  background: var(--navy); border-color: var(--navy); color: #fff;
  transform: translateY(-1px);
}

/* Mobile header */
.header-mobile {
  display: none;
  grid-template-columns: 18px 1fr 50px;
  align-items: center;
  padding: 0 1.2rem; height: 100%; gap: .5rem;
}
.m-center  { justify-self: center; }
.m-logo    { height: 36px; width: auto; object-fit: contain; }
.m-lang    { display: flex; justify-self: end; }
.m-lang .lang-switch { padding: 2px; }
.m-lang .lang { font-size: .72rem; padding: .18rem .48rem; }

@media (max-width: 1100px) { .btn-header-cta { display: none; } }
@media (min-width: 980px)  { .nav-toggle { display: none !important; } .header-mobile { display: none !important; } }

@media (max-width: 979px) {
  .header-inner  { display: none; }
  .header-mobile { display: grid; }
  .nav-toggle    { display: inline-flex; }

  .nav-overlay {
    position: fixed; inset: 0; z-index: 9010;
    opacity: 0; pointer-events: none; transition: opacity .22s;
  }
  .nav-overlay.is-on { opacity: 1; pointer-events: auto; }

  #site-nav {
    position: fixed; top: 0; left: 0;
    height: 100dvh; 
    width: var(--drawer-w); 
    z-index: 9020;
    background: rgba(234, 234, 234, 0.95);
    display: flex; flex-direction: column;
    align-items: baseline;
    padding: 0; margin: 0; border: 0; list-style: none;
    transform: translateX(-105%);
    transition: transform .28s cubic-bezier(.4,0,.2,1);
    overflow-y: auto;
  }
  #site-nav.open { transform: translateX(0); }

  #site-nav::before {
    content: '';
    display: flex; align-items: center;
    height: 90px; padding: 0 1.6rem;
    border-bottom: 1px solid rgba(255,255,255,.07);
    flex-shrink: 0; color: rgba(255,255,255,.5);
    font-size: .72rem; font-weight: 800; letter-spacing: 2px; text-transform: uppercase;
  }

  #site-nav a {
    display: flex; align-items: center;
    padding: .92rem 2.6rem;
    color: black !important;
    font-size: .9rem; font-weight: 600; text-decoration: none;
    border-left: 3px solid transparent; gap: .6rem;
    transition: background .15s, border-color .15s, color .15s;
    margin: 0px 20px;
  }
  #site-nav > li + li a { border-top: 1px solid rgba(255,255,255,.05); }
  #site-nav a:hover { background: rgba(255,255,255,.06); color: #fff !important; }
  #site-nav a.is-active {
    border-left-color: var(--navy);
    color: var(--navy) !important; font-weight: 800;
    background: rgba(255, 255, 255, 0.753);
  }
  #site-nav a.is-active::after { display: none; }
}

/* ══════════════════════════════════════════════════
   FOOTER — #4C4C4C + barra gold
══════════════════════════════════════════════════ */
.site-footer {
  background: #4C4C4C; color: #fff;
  border-top: 3px solid var(--gold);
}
.footer-inner { padding: clamp(48px,6vw,72px) 0 32px; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.5fr 1fr;
  gap: clamp(24px,4vw,52px);
  align-items: start;
}
@media (max-width: 920px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; gap: 24px; text-align: center; } }

.f-col { display: flex; flex-direction: column; gap: .65rem; }
.f-brand { align-items: flex-start; }
@media (max-width: 560px) { .f-brand { align-items: center; } }

.f-invert { filter: brightness(0) invert(1) opacity(.88); }
.f-logo   { height: 38px; width: auto; }

.f-tagline {
  font-size: .8rem; 
  color: rgba(255,255,255,.55);
  line-height: 1.6; max-width: 240px; margin-top: 4px;
}
@media (max-width: 560px) { .f-tagline { max-width: 100%; } }

.f-social { display: flex; gap: .45rem; flex-wrap: wrap; margin-top: 4px; }
@media (max-width: 560px) { .f-social { justify-content: center; } }

.sbtn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--r-sm); color: rgba(255,255,255,.6);
  text-decoration: none;
  transition: background .2s, color .2s, border-color .2s, transform .15s;
}
.sbtn:hover { background: var(--gold-pale); border-color: var(--gold-border); color: var(--gold); transform: translateY(-2px); }

.f-col h5 {
  font-size: .7rem; font-weight: 800; text-transform: uppercase;
  letter-spacing: 1.4px; color: var(--gold); margin-bottom: 6px;
}
.f-links ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: .28rem; }
.f-links a {
  color: rgba(255,255,255,.58); text-decoration: none; font-size: .84rem;
  display: inline-flex; align-items: center; gap: 6px;
  transition: color .15s, gap .15s;
}
.f-links a:hover { color: var(--gold); gap: 10px; }
.f-links a::before { content: '›'; opacity: .4; font-size: .9rem; transition: opacity .15s; }
.f-links a:hover::before { opacity: 1; }

.f-info-list { 
  list-style: none; 
  padding: 0; 
  display: flex; 
  flex-direction: column; 
  gap: .65rem; 
  align-items: baseline;
}
.fi-item { display: flex; align-items: flex-start; gap: .55rem; }
@media (max-width: 560px) { .fi-item { justify-content: center; } }

.fi-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 24px; height: 24px; border-radius: 6px;
  background: var(--gold-pale); flex-shrink: 0; margin-top: 1px;
}
.svg-gold { fill: var(--gold); }
.fi-value { color: rgba(255,255,255,.6); font-size: .82rem; line-height: 1.5; text-decoration: none; transition: color .15s; }
.fi-value:hover { color: var(--gold); }

.f-schedule { display: flex; flex-direction: column; gap: 5px; }
.f-schedule-row { display: flex; gap: 8px; font-size: .82rem; color: rgba(255,255,255,.56); align-items: center; }
.f-schedule-row strong { color: var(--gold-hi); margin-left: auto; font-weight: 700; }
@media (max-width: 560px) { .f-schedule-row { justify-content: center; } }

.btn-footer {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  background: var(--gold); color: var(--gold-ink);
  border: 2px solid var(--gold); padding: .52rem 1.2rem;
  border-radius: var(--r-sm); font-weight: 800; font-size: .82rem;
  text-decoration: none;
  transition: background .2s, color .2s, border-color .2s, transform .15s;
  align-self: flex-start; margin-top: 4px;
}
.btn-footer:hover { background: #fff; border-color: #fff; color: #111; transform: translateY(-2px); }
@media (max-width: 560px) { .btn-footer { align-self: center; } }

.f-trust { display: flex; align-items: center; gap: 6px; font-size: .72rem; color: rgba(255,255,255,.28); margin-top: 4px; }
.footer-divider { border: none; border-top: 1px solid rgba(255,255,255,.08); margin: 28px 0 0; }
.footer-bottom {
  padding: 16px 0; display: flex; flex-wrap: wrap; align-items: center;
  justify-content: center; gap: 4px 10px;
  font-size: .75rem; color: rgba(255,255,255,.3);
}
.footer-bottom a { color: rgba(255,255,255,.4); text-decoration: none; transition: color .15s; }
.footer-bottom a:hover { color: var(--gold); }
.copy-sep { opacity: .3; }

/* WhatsApp */
.whatsapp-float {
  position: fixed; right: 22px; bottom: 24px;
  width: 54px; height: 54px; display: grid; place-items: center;
  border-radius: 50%; background: #fff;
  box-shadow: 0 4px 22px rgba(0,0,0,.14);
  z-index: 9900; text-decoration: none;
  transition: transform .2s, box-shadow .2s;
}
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 8px 32px rgba(37,211,102,.32); }

/* ── Btn base ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  padding: .6rem 1.5rem; border-radius: var(--r-sm);
  font: 700 .88rem/1 'Inter', sans-serif;
  text-decoration: none; cursor: pointer; border: 2px solid transparent;
  transition: transform .15s, background .18s, color .18s, border-color .18s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }

/* ── Reveal ── */
.will-reveal { opacity: 0; transform: translateY(24px); transition: opacity .75s ease-out, transform .75s ease-out; }
.will-reveal.is-visible { opacity: 1; transform: none; }
.will-reveal.delay-1 { transition-delay: .1s; }
.will-reveal.delay-2 { transition-delay: .2s; }
.will-reveal.delay-3 { transition-delay: .32s; }
.will-reveal.delay-4 { transition-delay: .44s; }
.reveal-title { opacity: 0; transform: translateY(16px); transition: opacity .65s ease-out, transform .65s ease-out; }
.reveal-title.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .will-reveal, .reveal-title { transition: none; opacity: 1; transform: none; }
}

@media (max-width: 979px) {
  #site-nav {
    position: fixed; top: 0; left: 0;
    height: 100dvh; width: var(--drawer-w); z-index: 9020;
    display: flex; flex-direction: column;
    padding: 0; margin: 0; border: 0;
    transform: translateX(-105%);
    transition: transform .28s cubic-bezier(.4,0,.2,1);
    overflow-y: auto;
  }
  #site-nav.open { transform: translateX(0); }
}
@media (min-width: 980px)  { .nav { display: none !important; } }
@media (max-width: 979px)  { .nav-list { display: flex !important; } }