/* ─── RESET ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Geist', 'DM Sans', sans-serif;
  background: #F6F3EF;
  color: #0E0C0A;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; width: 100%; height: 100%; object-fit: cover; }
a { text-decoration: none; color: inherit; }

/* ─── TOKENS ─── */
:root {
  --cream:    #F6F3EF;
  --cream-d:  #EDE9E3;
  --white:    #FFFFFF;
  --ink:      #0E0C0A;
  --ink-70:   rgba(14,12,10,.70);
  --ink-45:   rgba(14,12,10,.45);
  --ink-20:   rgba(14,12,10,.20);
  --ink-08:   rgba(14,12,10,.08);
  --red:      #C93535;
  --red-glow: rgba(201,53,53,.22);
  --green:    #1A7A4A;
  --border:   rgba(14,12,10,.09);
  --r:    14px;
  --r-lg: 22px;
  --r-xl: 32px;
  --ease: cubic-bezier(.16,1,.3,1);
}

/* ─── NAV ─── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  height: 62px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 40px;
  background: rgba(246,243,239,.9);
  backdrop-filter: blur(28px) saturate(1.5);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .4s var(--ease);
}
.nav.stuck { box-shadow: 0 6px 36px rgba(14,12,10,.06); }

.nav-logo {
  font-family: 'Geist', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -.035em;
  color: var(--ink);
  display: flex; align-items: center; gap: 9px;
}
.nav-logo img {
  height: 32px;
  width: auto;
}
.nav-logo-pulse {
  width: 8px; height: 8px;
  background: var(--red);
  border-radius: 50%;
  box-shadow: 0 0 0 0 var(--red-glow);
  animation: pulseRing 2s ease-in-out infinite;
}
@keyframes pulseRing {
  0%   { box-shadow: 0 0 0 0 var(--red-glow); transform: scale(1); }
  60%  { box-shadow: 0 0 0 7px transparent; transform: scale(1.2); }
  100% { box-shadow: 0 0 0 0 transparent; transform: scale(1); }
}

.nav-links { display: flex; align-items: center; gap: 30px; list-style: none; }
.nav-links a { font-size: .82rem; font-weight: 500; color: var(--ink-70); letter-spacing: .005em; transition: color .2s; }
.nav-links a:hover { color: var(--ink); }
.nav-cta {
  background: var(--ink); color: var(--white);
  padding: 9px 20px; border-radius: 100px;
  font-size: .82rem; font-weight: 600; letter-spacing: .01em;
  transition: background .25s, transform .25s var(--ease), box-shadow .25s;
}
.nav-cta:hover { background: #211e1b; transform: translateY(-1px); box-shadow: 0 8px 24px rgba(14,12,10,.18); }

.nav-cta-offer {
  background: var(--red) !important;
  color: var(--white) !important;
  padding: 9px 20px;
  border-radius: 100px;
  font-size: .82rem !important;
  font-weight: 600 !important;
  letter-spacing: .01em;
  transition: background .25s, transform .25s var(--ease), box-shadow .25s;
}
.nav-cta-offer:hover { background: #a82828 !important; transform: translateY(-1px); box-shadow: 0 8px 24px rgba(201,53,53,.35); }

.burger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 4px; }
.burger span { display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: all .3s; }

/* ─── FOOTER ─── */
footer {
  background: var(--white); border-top: 1px solid var(--border);
  padding: 32px 40px;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 18px;
}
.footer-brand { font-family: 'Geist', sans-serif; font-weight: 700; font-size: 1.05rem; letter-spacing: -.02em; color: var(--ink); }
.footer-links { display: flex; gap: 24px; list-style: none; }
.footer-links a { font-size: .8rem; font-weight: 400; color: var(--ink-45); transition: color .2s; }
.footer-links a:hover { color: var(--ink); }
.footer-copy { font-size: .72rem; color: var(--ink-20); }

/* ─── SCROLL REVEAL ─── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: translateY(0); }
.rd1 { transition-delay: .06s; } .rd2 { transition-delay: .14s; } .rd3 { transition-delay: .22s; }

/* ─── ANIMS ─── */
@keyframes fadeUp { from { opacity:0; transform:translateY(20px); } to { opacity:1; transform:translateY(0); } }
@keyframes fadeIn { from { opacity:0; } to { opacity:1; } }

/* ─── RESPONSIVE: NAV & FOOTER ─── */
@media (max-width: 768px) {
  .nav { padding: 0 20px; }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column; gap: 10px; align-items: flex-start;
    position: fixed; top: 62px; left: 0; right: 0;
    background: rgba(246,243,239,.98); backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border); padding: 20px 24px; z-index: 199;
  }
  .burger { display: flex; }
  footer { flex-direction: column; text-align: center; padding: 28px 20px; }
  .footer-links { flex-wrap: wrap; justify-content: center; }
}
