:root {
  --bg: #0a0a0a;
  --surface: #111111;
  --surface-elevated: #141414;
  --surface-alt: #0d0d0d;
  --line: #222222;
  --text: #ffffff;
  --text-secondary: #999999;
  --text-muted: #888888;
  --accent: #CC0000;
  --accent-hover: #880000;
  --accent-soft: #CC0000;
  --radius: 14px;
  --container: min(1140px, calc(100% - 2rem));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  line-height: 1.6;
}

body.menu-active {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.section {
  padding: 7.5rem 0;
}

/* ── NAV ── */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  border-bottom: 1px solid transparent;
  background: rgba(10, 10, 10, 0.78);
  backdrop-filter: blur(10px);
  transition: background 0.24s ease, border-color 0.24s ease;
}

.site-header.scrolled,
.site-header.menu-open {
  background: rgba(10, 10, 10, 0.97);
  border-color: var(--line);
}

.nav {
  min-height: 4.8rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo {
  font-weight: 700;
  letter-spacing: 0.01em;
}

.nav-links {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 1.4rem;
}

.nav-links a,
.mobile-menu-panel a {
  color: var(--text-secondary);
  transition: color 0.2s ease;
}

.nav-links a:hover,
.mobile-menu-panel a:hover {
  color: var(--text);
}

.nav-cta {
  margin-left: 0.6rem;
}

.mobile-menu-toggle {
  margin-left: auto;
  width: 2.7rem;
  height: 2.7rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.24rem;
  cursor: pointer;
}

.mobile-menu-toggle span {
  width: 1.15rem;
  height: 2px;
  border-radius: 1px;
  background: var(--text);
  transition: transform 0.24s ease, opacity 0.24s ease;
}

.mobile-menu-toggle[aria-expanded='true'] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.mobile-menu-toggle[aria-expanded='true'] span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle[aria-expanded='true'] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  inset: 4.8rem 0 0;
  background: rgba(10, 10, 10, 0.88);
  backdrop-filter: blur(4px);
  border-top: 1px solid var(--line);
}

.mobile-menu-panel {
  width: var(--container);
  margin: 0 auto;
  padding: 1.2rem 0 1.6rem;
  display: grid;
  gap: 0.95rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 0 0 var(--radius) var(--radius);
  border-top: none;
}

.mobile-menu-panel a {
  padding: 0 1rem;
}

.mobile-menu-panel .btn {
  margin: 0.2rem 1rem 0;
  color: #ffffff;
  background: linear-gradient(160deg, #CC0000 0%, #990000 100%);
}

/* ── TYPOGRAPHY ── */

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.15;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  max-width: 17ch;
}

h2 {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 700;
  max-width: 29ch;
}

/* ── HERO ── */

.hero {
  padding-top: 10rem;
  background: radial-gradient(ellipse at 50% 40%, #1a0000 0%, #0a0a0a 65%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
  align-items: center;
}

.hero-copy,
.section-copy {
  color: var(--text-secondary);
  max-width: 63ch;
}

.section-copy-gap {
  margin-top: 1rem;
}

.kicker {
  margin: 0 0 1rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.74rem;
  color: var(--accent-soft);
  font-weight: 600;
}

.hero-actions {
  margin-top: 1.7rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

/* ── BUTTONS ── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  border: 1px solid transparent;
  border-radius: 4px;
  padding: 0.74rem 1.15rem;
  font: inherit;
  font-weight: 600;
  letter-spacing: 0.01em;
  background: linear-gradient(160deg, #CC0000 0%, #990000 100%);
  color: #ffffff;
  cursor: pointer;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.12);
}

.btn-small {
  font-size: 0.92rem;
  padding: 0.54rem 0.9rem;
}

.btn-ghost {
  background: transparent;
  border-color: #333333;
  color: var(--text);
  filter: none;
}

.btn-ghost:hover {
  background: transparent;
  border-color: var(--accent);
  filter: none;
}

/* ── CARDS ── */

.hero-card,
.feature-card,
.contact-card,
.contact-form input,
.contact-form textarea,
.legal,
.thank-you-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.hero-card,
.feature-card,
.contact-card,
.legal,
.thank-you-card {
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
}

.hero-card {
  padding: 1.6rem;
}

.hero-card h2 {
  margin-bottom: 0.65rem;
  font-size: 1.16rem;
}

.hero-card ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--text-secondary);
}

.hero-card li + li {
  margin-top: 0.38rem;
}

.card-grid {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.feature-card {
  padding: 1.35rem;
  background: var(--surface-elevated);
  border-left: 2px solid rgba(204, 0, 0, 0.22);
  transition: border-left-color 0.2s ease, transform 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-2px);
  border-left-color: #CC0000;
}

.feature-card h3 {
  margin-bottom: 0.5rem;
  font-size: 1.07rem;
}

.feature-card p {
  margin: 0;
  color: var(--text-secondary);
}

/* ── FAQ ── */

.faq-list {
  margin-top: 2rem;
}

.faq-item {
  border-bottom: 1px solid #1a1a1a;
}

.faq-item:first-child {
  border-top: 1px solid #1a1a1a;
}

.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem 0;
  background: none;
  border: none;
  color: var(--text);
  font: inherit;
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: color 0.2s ease;
}

.faq-trigger:hover {
  color: var(--text-secondary);
}

.faq-icon {
  flex-shrink: 0;
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--accent);
  transition: transform 0.3s ease;
  line-height: 1;
}

.faq-trigger[aria-expanded='true'] .faq-icon {
  transform: rotate(45deg);
}

.faq-body {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 0.35s ease, opacity 0.35s ease;
}

.faq-item.is-open .faq-body {
  max-height: 500px;
  opacity: 1;
}

.faq-body p {
  margin: 0 0 1.2rem;
  color: var(--text-secondary);
}

.faq-body a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ── CONTACT ── */

.contact-card {
  padding: 2.1rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.8rem;
  background: var(--surface-elevated);
}

.contact-form {
  display: grid;
  gap: 1rem;
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.contact-form label {
  display: block;
  margin-bottom: 0.42rem;
  color: var(--text-secondary);
  font-size: 0.93rem;
  font-weight: 500;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.8rem 0.9rem;
  color: var(--text);
  font: inherit;
  resize: vertical;
  background: var(--bg);
  border-color: var(--line);
  min-height: 2.8rem;
}

.contact-form textarea {
  min-height: 8.5rem;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--text-muted);
}

.contact-form input:hover,
.contact-form textarea:hover {
  border-color: #333333;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(204, 0, 0, 0.18);
}

.hidden-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ── FOOTER ── */

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--surface-alt);
  padding: 2.25rem 0;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-brand {
  margin: 0;
  font-weight: 700;
  font-size: 1.04rem;
  color: var(--accent);
}

.footer-note {
  margin: 0.35rem 0 0.5rem;
  color: var(--text-muted);
  max-width: 42ch;
}

.footer-address {
  margin: 0.35rem 0 0;
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.6;
}

.footer-nip {
  margin: 0.35rem 0 0.35rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-links {
  display: grid;
  gap: 0.65rem;
  text-align: right;
  align-content: start;
}

.footer-links a,
.copyright,
.footer-contact {
  color: var(--text-secondary);
}

.footer-links a {
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--text);
}

.footer-contact {
  display: inline-block;
  transition: color 0.2s ease;
}

.footer-contact:hover {
  color: var(--text);
}

.copyright {
  margin: 0.6rem 0 0;
  font-size: 0.9rem;
}

/* ── LEGAL / THANK YOU PAGES ── */

.legal,
.thank-you-card {
  max-width: 820px;
  padding: 2rem;
}

.legal h2 {
  margin-top: 1.6rem;
  font-size: 1.2rem;
}

.legal p,
.legal li {
  color: var(--text-secondary);
}

.legal ul {
  margin: 0.8rem 0;
  padding-left: 1.25rem;
}

/* ── SCROLL ANIMATIONS ── */

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* Card stagger via JS-set style */
.reveal-card {
  transition-delay: var(--stagger-delay, 0s);
}

/* ── RESPONSIVE ── */

@media (max-width: 960px) {
  .hero-grid,
  .contact-card {
    grid-template-columns: 1fr;
  }

  .nav-links,
  .nav-cta {
    display: none;
  }

  .mobile-menu-toggle {
    display: inline-flex;
  }

  .hero {
    padding-top: 6rem;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 5rem 0;
  }

  .hero {
    padding-top: 5rem;
  }

  .field-grid,
  .card-grid {
    grid-template-columns: 1fr;
  }

  .contact-card,
  .hero-card,
  .feature-card,
  .legal,
  .thank-you-card {
    padding: 1.25rem;
  }

  .footer-links {
    text-align: left;
  }

  .mobile-menu {
    inset: 4.8rem 0 0;
  }
}
