/* ══════════════════════════════════════════
   BASE — Design System & Shared Components
   ══════════════════════════════════════════ */

/* ── RESET & VARIABLES ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --black:   #0c0c0c;
  --dark:    #131313;
  --panel:   #1a1108;
  --orange:  #f56e0f;
  --orange2: #d95d08;
  --white:   #f5f0eb;
  --muted:   #888070;
  --border:  rgba(245,110,15,.18);
  --radius:  16px;
}

html {
  scroll-behavior: smooth;
  background: #0c0c0c;
}

body {
  background: var(--black);
  color: var(--white);
  font-family: 'DM Sans', sans-serif;
  overflow-x: hidden;
}

/* ── NOISE OVERLAY ── */
body::before {
  content: '';
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none; z-index: 9999; opacity: .55;
}

/* ── NAVBAR ── */
nav {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 48px;
  padding-top: env(safe-area-inset-top, 0px);
  min-height: calc(68px + env(safe-area-inset-top, 0px));
  background: #0c0c0c;
  border-bottom: 1px solid var(--border);
  transition: background .3s;
}
nav.scrolled {
  background: rgba(12,12,12,.96);
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-img {
  height: 36px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex; gap: 36px;
  list-style: none;
}
.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-family: 'DM Sans', sans-serif;
  font-size: .875rem;
  font-weight: 500;
  letter-spacing: .01em;
  transition: color .2s;
}
.nav-links a:hover { color: var(--white); }

/* ── BUTTONS ── */
.btn-cta {
  background: var(--orange);
  color: #fff;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: .875rem;
  padding: 10px 22px;
  border-radius: 50px;
  text-decoration: none;
  letter-spacing: .01em;
  transition: background .2s, transform .15s;
  white-space: nowrap;
}
.btn-cta:hover { background: var(--orange2); transform: translateY(-1px); }

.btn-outline {
  border: 1px solid rgba(255,255,255,.22);
  color: var(--white);
  font-family: 'Syne', sans-serif;
  font-weight: 600;
  font-size: .875rem;
  padding: 11px 28px;
  border-radius: 50px;
  text-decoration: none;
  transition: border-color .2s, background .2s;
}
.btn-outline:hover {
  border-color: var(--orange);
  background: rgba(245,110,15,.08);
}

/* ── SHARED SECTION ── */
.section {
  padding: 100px 48px;
  max-width: 1280px;
  margin: 0 auto;
}

.section-tag {
  font-family: 'DM Sans', sans-serif;
  font-size: .75rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--orange); margin-bottom: 16px;
}

.section-title {
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 800;
  font-size: clamp(2rem, 3.5vw, 3rem);
  line-height: 1.1;
  letter-spacing: -.025em;
  max-width: 520px;
  margin-bottom: 60px;
}
.section-title em { font-style: normal; color: var(--orange); }

.section-sub {
  color: var(--muted);
  font-family: 'DM Sans', sans-serif;
  font-size: .95rem;
  line-height: 1.65;
  max-width: 520px;
  margin: -36px auto 52px;
  text-align: center;
}

/* ── FOOTER ── */
footer {
  border-top: 1px solid var(--border);
  padding: 56px 48px 32px;
}

.footer-top {
  display: flex;
  align-items: flex-start;
  gap: 60px;
  margin-bottom: 56px;
}

.footer-col--brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.footer-logo {
  display: inline-block;
}
.footer-logo .logo-img {
  height: 32px;
  width: auto;
}
.footer-email a {
  color: var(--muted);
  font-family: 'DM Sans', sans-serif;
  font-size: .88rem;
  text-decoration: none;
  transition: color .2s;
}
.footer-email a:hover {
  color: var(--orange);
}

.footer-col-title {
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: .88rem;
  color: var(--white);
  margin-bottom: 22px;
  letter-spacing: .02em;
}

.footer-col--pages .footer-col-links {
  display: flex;
  gap: 40px;
}

.footer-col a {
  display: block;
  color: var(--muted);
  text-decoration: none;
  font-family: 'DM Sans', sans-serif;
  font-size: .88rem;
  line-height: 2.2;
  transition: color .2s;
}
.footer-col a:hover { color: var(--white); }

.footer-col--cta {
  margin-left: auto;
  display: flex;
  align-items: flex-start;
}

.footer-book-btn {
  display: inline-block;
  border: 1px solid rgba(255,255,255,.3);
  color: var(--white);
  font-family: 'Syne', sans-serif;
  font-weight: 600;
  font-size: .875rem;
  padding: 11px 28px;
  border-radius: 50px;
  text-decoration: none;
  transition: border-color .2s, background .2s;
  white-space: nowrap;
}
.footer-book-btn:hover {
  border-color: var(--orange);
  background: rgba(245,110,15,.08);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border);
  padding-top: 24px;
}
.footer-copy {
  color: var(--muted);
  font-family: 'DM Sans', sans-serif;
  font-size: .8rem;
}
.footer-legal {
  display: flex;
  gap: 48px;
}
.footer-legal a,
.footer-bottom a {
  color: var(--muted);
  font-family: 'DM Sans', sans-serif;
  font-size: .8rem;
  text-decoration: none;
  transition: color .2s;
}
.footer-legal a:hover,
.footer-bottom a:hover { color: var(--white); }

/* ── HAMBURGER ── */
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; background: none; border: none; padding: 4px;
  z-index: 101;
}
.hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--white); border-radius: 2px; transition: .3s;
}
.hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ══════════════════════════════════════════
   RESPONSIVE — Shared Components
   ══════════════════════════════════════════ */

@media (max-width: 1440px) {
  .section { max-width: 1200px; }
}

@media (max-width: 1279px) {
  nav { padding: 0 32px; }
  .section { padding: 80px 32px; }
  footer { padding: 40px 32px 28px; }
}

@media (max-width: 768px) {
  nav { padding: 0 24px; }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: fixed; top: 68px; left: 0; right: 0;
    background: rgba(12,12,12,.97);
    padding: 28px 24px 32px;
    border-bottom: 1px solid var(--border);
    gap: 22px; z-index: 99;
  }
  .nav-links.open a { font-size: 1.1rem; }
  .hamburger { display: flex; }
  nav .btn-cta { display: none; }

  .section { padding: 60px 20px; }

  footer { padding: 40px 20px 28px; }
  .footer-top {
    flex-wrap: wrap;
    gap: 36px;
  }
  .footer-col--cta { margin-left: 0; width: 100%; }
  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    align-items: center;
  }
  .footer-legal { gap: 24px; }
}

@media (max-width: 320px) {
  .section-title { font-size: 1.7rem; }
}
