/* =============================================================
   1. Tokens
   ============================================================= */
:root {
  --bg:        #111827;
  --bg-2:      #1f2937;
  --bg-3:      #232f42;
  --card:      #1a2333;
  --cream:     #f3f4f6;
  --cream-2:   #d1d5db;
  --cream-3:   #6b7280;
  --gold:      #f5c400;
  --gold-2:    #d4a800;
  --line:      rgba(243,244,246,.12);

  --display: "Archivo Black", "Arial Black", Impact, sans-serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --mono:  "JetBrains Mono", "IBM Plex Mono", monospace;

  --ease-out:  cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.25, 0.46, 0.45, 0.94);

  --container: 1180px;
}

/* =============================================================
   2. Reset & base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  tab-size: 2;
  overflow-x: clip;
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  background: var(--bg);
  color: var(--cream-2);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  overscroll-behavior-y: none;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
p { text-wrap: pretty; }
h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 400;
  color: var(--cream);
  text-wrap: balance;
  line-height: 1.08;
  letter-spacing: 0;
  text-transform: uppercase;
}
em { font-style: normal; color: var(--gold); }
::selection { background: var(--gold); color: var(--bg); }

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

.skip-link {
  position: fixed; top: -100px; left: 1rem; z-index: 9999;
  padding: .6rem 1rem; background: var(--gold); color: var(--bg);
  border-radius: 8px; font-weight: 600;
}
.skip-link:focus { top: 1rem; }

.container { max-width: var(--container); margin-inline: auto; padding-inline: 1.5rem; }

/* Defensive: split-text elements must stay visible even if JS/reveal mismatch */
.reveal[data-split] { opacity: 1; transform: none; }

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
}
.reveal.is-visible { opacity: 1; transform: none; }
.reveal.light { color: var(--cream-2); }

/* =============================================================
   3. Buttons
   ============================================================= */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .95rem 1.7rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: .95rem;
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out), background .35s var(--ease-out);
}
.btn-primary {
  background: linear-gradient(90deg, var(--gold), var(--gold-2), var(--gold));
  background-size: 200% 100%;
  color: #1a1400;
  box-shadow: 0 8px 30px rgba(245,196,0,.25);
}
.btn-primary:hover { transform: translateY(-2px); background-position: 100% 0; box-shadow: 0 12px 36px rgba(245,196,0,.35); }
.btn-ghost {
  border: 1px solid var(--line);
  color: var(--cream);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }
.btn-primary-sm, .btn-ghost-sm { padding: .6rem 1.1rem; font-size: .85rem; border-radius: 8px; }
.btn-primary-sm { background: var(--gold); color: #1a1400; font-weight: 700; }
.btn-primary-sm:hover { background: var(--gold-2); }
.btn-ghost-sm { border: 1px solid var(--line); color: var(--cream-2); }
.btn-ghost-sm:hover { border-color: var(--gold); color: var(--gold); }

/* =============================================================
   4. Nav
   ============================================================= */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background .4s var(--ease-out), border-color .4s var(--ease-out), backdrop-filter .4s var(--ease-out);
}
.nav.is-solid {
  background: rgba(17,24,39,.86);
  border-color: var(--line);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding-block: 1.1rem; }
.nav-brand { display: flex; align-items: center; gap: .6rem; }
.nav-brand-mark {
  display: grid; place-items: center;
  width: 34px; height: 34px; border-radius: 6px;
  background: var(--gold); color: #1a1400;
  font-family: var(--display); font-size: 1.15rem;
}
.nav-brand-text { font-family: var(--display); color: var(--cream); letter-spacing: .01em; font-size: 1rem; text-transform: uppercase; }
.nav-brand-text em { display: block; font-style: normal; font-family: var(--sans); font-size: .58rem; letter-spacing: .16em; color: var(--cream-3); font-weight: 600; margin-top: .1rem; }
.nav-links { display: none; gap: 2rem; font-size: .92rem; color: var(--cream-2); }
.nav-links a { transition: color .3s var(--ease-out); position: relative; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -4px; width: 0; height: 1px;
  background: var(--gold); transition: width .3s var(--ease-out);
}
.nav-links a:hover { color: var(--cream); }
.nav-links a:hover::after { width: 100%; }
.nav-ctas { display: none; gap: .6rem; }
.nav-burger { display: flex; flex-direction: column; gap: 5px; padding: .4rem; }
.nav-burger span { width: 22px; height: 2px; background: var(--cream); transition: transform .3s var(--ease-out), opacity .3s var(--ease-out); }
.nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile {
  display: flex; flex-direction: column; gap: 1.1rem;
  padding: 0 1.5rem; max-height: 0; overflow: hidden;
  background: rgba(17,24,39,.98);
  transition: max-height .4s var(--ease-out), padding .4s var(--ease-out);
}
.nav-mobile.is-open { max-height: 420px; padding: 1.5rem; border-bottom: 1px solid var(--line); }
.nav-mobile a { font-size: 1rem; color: var(--cream-2); }
.nav-mobile .btn { justify-content: center; width: 100%; }

@media (min-width: 960px) {
  .nav-links { display: flex; }
  .nav-ctas { display: flex; }
  .nav-burger, .nav-mobile { display: none; }
}

/* =============================================================
   5. Hero
   ============================================================= */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: flex-end;
  padding-block: 7rem 5.5rem;
  background: var(--bg);
  overflow: hidden;
}
.hero-bg-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  filter: saturate(1.05) contrast(1.05);
  animation: heroKenBurns 26s ease-in-out infinite alternate;
  transform-origin: center;
}
@keyframes heroKenBurns {
  from { transform: scale(1); }
  to   { transform: scale(1.12); }
}
.hero-scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(0deg, rgba(17,24,39,.97) 0%, rgba(17,24,39,.72) 32%, rgba(17,24,39,.4) 60%, rgba(17,24,39,.25) 100%),
    linear-gradient(100deg, rgba(17,24,39,.6) 0%, rgba(17,24,39,.15) 45%);
}
.hero-inner { position: relative; z-index: 1; max-width: 720px; }
.kicker {
  display: inline-block;
  font-family: var(--mono);
  font-size: .78rem;
  letter-spacing: .08em;
  color: var(--gold);
  margin-bottom: 1.3rem;
}
.hero-title {
  font-size: clamp(2.3rem, 6vw, 4.2rem);
  max-width: 16ch;
  color: var(--cream);
  text-shadow: 0 4px 30px rgba(0,0,0,.5);
}
.hero-sub {
  max-width: 46ch;
  margin-top: 1.4rem;
  font-size: 1.05rem;
  color: var(--cream-2);
}
.hero-inner .btn-outline { margin-top: 2rem; }

.hero-scroll-hint {
  position: absolute; z-index: 1; right: 2rem; bottom: 2rem;
  width: 34px; height: 54px;
  border: 1px solid rgba(243,244,246,.4);
  border-radius: 20px;
  display: none;
}
.hero-scroll-hint span {
  position: absolute; top: 8px; left: 50%; width: 4px; height: 8px;
  border-radius: 2px; background: var(--gold);
  transform: translateX(-50%);
  animation: scrollHint 1.8s ease-in-out infinite;
}
@keyframes scrollHint {
  0% { top: 8px; opacity: 1; }
  70% { top: 30px; opacity: 0; }
  100% { top: 30px; opacity: 0; }
}
@media (min-width: 640px) { .hero-scroll-hint { display: block; } }

.btn-outline {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .9rem 1.6rem;
  border: 1px solid rgba(243,244,246,.55);
  border-radius: 999px;
  color: var(--cream);
  font-weight: 600; font-size: .92rem;
  backdrop-filter: blur(6px);
  transition: border-color .35s var(--ease-out), background .35s var(--ease-out), transform .35s var(--ease-out);
}
.btn-outline:hover { border-color: var(--gold); background: rgba(245,196,0,.1); transform: translateY(-2px); }

/* =============================================================
   5b. Quick access + services
   ============================================================= */
.quick-access { padding-block: 5.5rem 4.5rem; background: var(--bg); }
.quick-access-head { margin-bottom: 2.4rem; }
.quick-access-head h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }

.access-grid {
  display: grid; gap: 1.1rem;
}
@media (min-width: 720px) { .access-grid { grid-template-columns: 1fr 1fr; } }

.access-card {
  position: relative;
  display: flex; flex-direction: column; align-items: flex-start; gap: .6rem;
  padding: 2rem 1.8rem;
  text-align: left;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  transition: transform .45s var(--ease-out), border-color .45s var(--ease-out), box-shadow .45s var(--ease-out);
  transform-style: preserve-3d;
  will-change: transform;
}
.access-card-glow {
  position: absolute; inset: -40% -40% auto auto; width: 220px; height: 220px;
  background: radial-gradient(circle, rgba(245,196,0,.25), transparent 70%);
  opacity: 0; transition: opacity .45s var(--ease-out);
  pointer-events: none;
}
.access-card:hover, .access-card.is-tilting {
  border-color: rgba(245,196,0,.5);
  box-shadow: 0 24px 60px rgba(0,0,0,.35);
}
.access-card:hover .access-card-glow { opacity: 1; }
.access-icon { font-size: 1.9rem; }
.access-card h3 { font-size: 1.15rem; color: var(--cream); }
.access-card p { color: var(--cream-3); font-size: .92rem; }
.access-cta { margin-top: .4rem; font-weight: 600; color: var(--gold); font-size: .92rem; display: inline-flex; align-items: center; gap: .3rem; }
.arrow { transition: transform .35s var(--ease-out); display: inline-block; }
.access-card:hover .arrow { transform: translateX(5px); }

.services { padding-block: 3rem; background: var(--bg-2); border-block: 1px solid var(--line); }
.services-grid {
  display: grid; gap: 1.6rem;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .services-grid { grid-template-columns: repeat(4, 1fr); } }
.service { display: flex; align-items: center; gap: .9rem; }
.service-icon { font-size: 1.5rem; flex-shrink: 0; }
.service p { font-size: .92rem; color: var(--cream-2); }

/* =============================================================
   6. About
   ============================================================= */
.about { padding-block: 6rem; background: var(--bg); }
.about-grid { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 960px) { .about-grid { grid-template-columns: .9fr 1.1fr; gap: 4.5rem; } }
.about-figure { border-radius: 20px; overflow: hidden; box-shadow: 0 30px 70px rgba(0,0,0,.4); }
.about-figure img { transition: transform .8s var(--ease-out); }
.about-figure:hover img { transform: scale(1.04); }
.about-copy h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); margin-bottom: 1.3rem; }
.about-copy p { margin-bottom: 1rem; max-width: 58ch; }

.stats { display: flex; flex-wrap: wrap; gap: 2.2rem; margin-top: 2.2rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.stat { display: flex; flex-direction: column; }
.stat-num, .stat-suffix { font-family: var(--display); font-size: 2.1rem; color: var(--gold); line-height: 1; display: inline; }
.stat-label { font-size: .8rem; color: var(--cream-3); margin-top: .4rem; }

/* =============================================================
   7. Brands
   ============================================================= */
.brands { position: relative; padding-block: 6.5rem 4rem; overflow: hidden; }
.brands-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.brands-tint { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(17,24,39,.94) 0%, rgba(17,24,39,.9) 60%, var(--bg) 100%); }
.brands-inner { position: relative; z-index: 1; text-align: center; }
.brands-inner h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); max-width: 18ch; margin-inline: auto; }
.brands-sub { max-width: 50ch; margin: 1.2rem auto 0; color: var(--cream-2); }

.brand-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: .8rem;
  max-width: 760px; margin: 2.8rem auto 2.6rem;
}
@media (min-width: 640px) { .brand-grid { grid-template-columns: repeat(3, 1fr); } }
.brand-badge {
  padding: 1.3rem 1rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(26,35,51,.6);
  font-family: var(--display);
  font-size: .95rem;
  letter-spacing: .01em;
  text-transform: uppercase;
  color: var(--cream);
  transition: border-color .35s var(--ease-out), transform .35s var(--ease-out), color .35s var(--ease-out);
}
.brand-badge:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-3px); }

.marquee { position: relative; z-index: 1; margin-top: 3.5rem; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; }
.marquee-track {
  display: flex; gap: 3.5rem; white-space: nowrap;
  padding-block: 1.1rem;
  font-family: var(--mono); font-size: .85rem; letter-spacing: .06em; color: var(--cream-3);
  animation: marqueeScroll 32s linear infinite;
  width: max-content;
}
@keyframes marqueeScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* =============================================================
   8. CTA band
   ============================================================= */
.cta-band { padding-block: 6rem; background: var(--bg); }
.cta-band-grid { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 960px) { .cta-band-grid { grid-template-columns: 1fr .9fr; gap: 4.5rem; } }
.cta-band-figure { border-radius: 20px; overflow: hidden; box-shadow: 0 30px 70px rgba(0,0,0,.4); order: 2; }
@media (min-width: 960px) { .cta-band-figure { order: 1; } .cta-band-copy { order: 2; } }
.cta-band-copy h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); margin-bottom: 1.1rem; }
.cta-band-copy p { max-width: 52ch; margin-bottom: 1.6rem; }
.cta-band-buttons { display: flex; flex-wrap: wrap; gap: 1rem; }
.cta-band-note { margin-top: 1.4rem; font-size: .88rem; color: var(--cream-3); }
.cta-band-note a { color: var(--gold); font-weight: 600; }
.cta-band-note a:hover { text-decoration: underline; }

/* =============================================================
   9. Contact
   ============================================================= */
.contact { padding-block: 6rem 7rem; background: var(--bg-2); }
.contact-grid { display: grid; gap: 2.5rem; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: .8fr 1.2fr; gap: 4rem; } }
.contact h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); margin-top: .6rem; }
.contact-lead { max-width: 40ch; margin-top: 1rem; }
.contact-cards { display: grid; grid-template-columns: 1fr; gap: .9rem; }
@media (min-width: 640px) { .contact-cards { grid-template-columns: 1fr 1fr; } }
.contact-card {
  display: flex; flex-direction: column; gap: .35rem;
  padding: 1.3rem 1.4rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  transition: border-color .35s var(--ease-out), transform .35s var(--ease-out);
}
a.contact-card:hover { border-color: var(--gold); transform: translateY(-3px); }
.contact-label { font-family: var(--mono); font-size: .72rem; letter-spacing: .08em; color: var(--cream-3); text-transform: uppercase; }
.contact-value { font-size: 1rem; color: var(--cream); font-weight: 500; }

/* =============================================================
   10. Footer
   ============================================================= */
.footer { padding-block: 2.6rem; background: var(--bg); border-top: 1px solid var(--line); }
.footer-inner { display: flex; flex-direction: column; gap: 1.4rem; align-items: center; text-align: center; }
.footer-brand { display: flex; align-items: center; gap: .6rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 1.4rem; justify-content: center; font-size: .88rem; color: var(--cream-3); }
.footer-links a:hover { color: var(--gold); }
.footer-copy { font-size: .8rem; color: var(--cream-3); }
@media (min-width: 720px) {
  .footer-inner { flex-direction: row; justify-content: space-between; text-align: left; }
}

/* =============================================================
   11. WhatsApp floating button
   ============================================================= */
.whatsapp-float {
  position: fixed; z-index: 90; right: 1.4rem; bottom: 1.4rem;
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center;
  background: #22be4a; color: #fff;
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
  transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out);
}
.whatsapp-float:hover { transform: scale(1.08); box-shadow: 0 14px 36px rgba(0,0,0,.45); }

/* =============================================================
   12. Reduced motion — only intrusive effects
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  .hero-bg-img { animation: none; }
  .hero-scroll-hint { display: none; }
  .marquee-track { animation-duration: 60s; }
}
