/* ===== Tokens ===== */
:root {
  --red: #db361c;
  --red-dark: #b82a13;
  --ink: #14171c;
  --ink-soft: #3a4048;
  --muted: #6b7280;
  --line: #e8eaed;
  --bg: #ffffff;
  --bg-alt: #f7f8fa;
  --green: #1ea54b;
  --amber: #e6a700;
  --maxw: 1140px;
  --radius: 18px;
  --shadow: 0 24px 60px -28px rgba(20, 23, 28, .35);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'Manrope', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -.02em; margin: 0; font-weight: 800; }
p { margin: 0 0 1rem; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ===== Buttons ===== */
.btn {
  --c: var(--red);
  display: inline-flex; align-items: center; justify-content: center;
  gap: .5rem;
  background: var(--c); color: #fff;
  padding: .8rem 1.4rem; border-radius: 999px;
  font-weight: 700; font-size: .98rem;
  border: 2px solid var(--c);
  cursor: pointer; transition: transform .2s var(--ease), background .2s, box-shadow .2s;
  box-shadow: 0 10px 24px -10px rgba(219, 54, 28, .6);
}
.btn:hover { background: var(--red-dark); border-color: var(--red-dark); transform: translateY(-2px); }
.btn-sm { padding: .55rem 1.05rem; font-size: .9rem; box-shadow: none; }
.btn-lg { padding: .95rem 1.8rem; font-size: 1.05rem; }
.btn-ghost {
  background: transparent; color: #fff; border-color: rgba(255, 255, 255, .7);
  box-shadow: none;
}
.btn-ghost:hover { background: rgba(255, 255, 255, .14); border-color: #fff; }

/* ===== Header ===== */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  transition: background .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(255, 255, 255, .88);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom-color: var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand-logo { height: 34px; width: auto; filter: drop-shadow(0 1px 6px rgba(0, 0, 0, .35)); transition: filter .3s; }
.site-header.scrolled .brand-logo { filter: none; }
.nav { display: flex; align-items: center; gap: 1.9rem; }
.nav > a { font-weight: 600; font-size: .98rem; color: #fff; text-shadow: 0 1px 8px rgba(0, 0, 0, .4); transition: color .25s; }
.nav > a:hover { color: #fff; opacity: .85; }
.site-header.scrolled .nav > a { color: var(--ink-soft); text-shadow: none; }
.site-header.scrolled .nav > a:hover { color: var(--red); opacity: 1; }
.site-header.scrolled .nav > a.btn { color: #fff; }
.nav-toggle { display: none; }

/* ===== Hero ===== */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: center;
  overflow: hidden; color: #fff;
}
.hero-video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 0;
}
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, rgba(10, 12, 16, .55) 0%, rgba(10, 12, 16, .35) 38%, rgba(10, 12, 16, .65) 100%),
    radial-gradient(120% 90% at 50% 30%, rgba(10, 12, 16, .15), rgba(10, 12, 16, .7));
}
.hero-content { position: relative; z-index: 2; padding: 120px 24px 100px; max-width: 920px; }
.hero-logo { height: 92px; width: auto; margin-bottom: 1.8rem; filter: drop-shadow(0 6px 26px rgba(0, 0, 0, .5)); }
.hero-title { font-size: clamp(2.1rem, 5.4vw, 4rem); font-weight: 800; max-width: 16ch; }
.hero-sub { font-size: clamp(1.05rem, 1.8vw, 1.3rem); color: rgba(255, 255, 255, .92); max-width: 60ch; margin-top: 1.25rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2rem; }

.scroll-cue {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  z-index: 2; width: 26px; height: 42px; border: 2px solid rgba(255, 255, 255, .7);
  border-radius: 14px;
}
.scroll-cue span {
  position: absolute; top: 8px; left: 50%; width: 4px; height: 8px; margin-left: -2px;
  background: #fff; border-radius: 2px; animation: scroll 1.8s var(--ease) infinite;
}
@keyframes scroll { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ===== Sections ===== */
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 780px; margin: 0 auto clamp(40px, 6vw, 68px); text-align: center; }
.eyebrow {
  display: inline-block; text-transform: uppercase; letter-spacing: .14em;
  font-size: .78rem; font-weight: 700; color: var(--red); margin-bottom: 1rem;
}
.section-head h2, .split-text h2 { font-size: clamp(1.7rem, 3.4vw, 2.7rem); }
.lead { font-size: clamp(1.05rem, 1.5vw, 1.22rem); color: var(--ink-soft); }
.section-head .lead { margin-top: 1rem; }

/* ===== Feature cards ===== */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.feature {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 36px 30px; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.feature:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.feature-icon {
  width: 56px; height: 56px; border-radius: 14px;
  display: grid; place-items: center; margin-bottom: 20px;
  background: rgba(219, 54, 28, .09); color: var(--red);
}
.feature-icon svg { width: 28px; height: 28px; }
.feature h3 { font-size: 1.28rem; margin-bottom: .55rem; }
.feature p { color: var(--ink-soft); margin: 0; font-size: 1rem; }
.c-green { color: var(--green); font-weight: 700; }
.c-amber { color: var(--amber); font-weight: 700; }
.c-red { color: var(--red); font-weight: 700; }

/* ===== Split (benefit) sections ===== */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.split-reverse .split-media { order: 2; }
.split-text h2 { margin-bottom: 1rem; }
.split-text .lead { margin-bottom: 1.6rem; }

.benefits { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.benefits li {
  position: relative; padding-left: 2.1rem; color: var(--ink-soft); font-size: 1.04rem;
}
.benefits li::before {
  content: ""; position: absolute; left: 0; top: .15rem;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--red);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center / 70% no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center / 70% no-repeat;
}
.benefits li strong { color: var(--ink); font-weight: 700; }

/* Feathered photo — edges dissolve into the white page for a clean look */
.feathered {
  width: 100%; border-radius: var(--radius);
  -webkit-mask-image: radial-gradient(125% 125% at 50% 50%, #000 58%, transparent 100%);
          mask-image: radial-gradient(125% 125% at 50% 50%, #000 58%, transparent 100%);
  filter: saturate(1.03) contrast(1.02);
}
.section-alt .feathered { filter: saturate(1.03) contrast(1.02); }
.feathered-flip { transform: scaleX(-1); }

/* ===== Specs ===== */
.specs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.spec {
  background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 28px; transition: transform .3s var(--ease), box-shadow .3s;
}
.spec:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.spec-num { display: block; font-size: 2.2rem; font-weight: 800; color: var(--red); letter-spacing: -.03em; line-height: 1; margin-bottom: .6rem; }
.spec-label { color: var(--ink-soft); font-size: 1rem; }

/* ===== CTA ===== */
.cta { background: var(--ink); color: #fff; text-align: center; }
.cta-inner { max-width: 720px; margin: 0 auto; }
.cta h2 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); }
.cta .lead { color: rgba(255, 255, 255, .8); margin: 1rem auto 2rem; }
.cta .hero-actions { justify-content: center; }

/* ===== Contact form ===== */
.contact-form { max-width: 560px; margin: 2.2rem auto 0; text-align: left; display: grid; gap: 1.1rem; }
.field { display: grid; gap: .45rem; }
.field label { font-weight: 600; font-size: .95rem; color: rgba(255, 255, 255, .85); }
.contact-form input, .contact-form textarea {
  width: 100%; padding: .85rem 1rem; border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, .18); background: rgba(255, 255, 255, .06);
  color: #fff; font: inherit; transition: border-color .2s, background .2s;
}
.contact-form input::placeholder, .contact-form textarea::placeholder { color: rgba(255, 255, 255, .4); }
.contact-form input:focus, .contact-form textarea:focus {
  outline: none; border-color: var(--red); background: rgba(255, 255, 255, .1);
}
.contact-form textarea { resize: vertical; min-height: 130px; }
.contact-form .btn { width: -moz-fit-content; width: fit-content; justify-self: start; margin-top: .2rem; }
.contact-form .btn[disabled] { opacity: .6; cursor: default; transform: none; box-shadow: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: .2rem 0 0; font-weight: 600; min-height: 1.3em; }
.form-status.ok { color: #4ade80; }
.form-status.err { color: #ff8a73; }

/* ===== Footer ===== */
.site-footer { background: #fff; border-top: 1px solid var(--line); padding: 54px 0; }
.footer-inner { display: flex; flex-direction: column; align-items: center; text-align: center; gap: .4rem; }
.footer-logo { height: 38px; width: auto; margin-bottom: .6rem; }
.footer-tag { color: var(--ink-soft); margin: 0; }
.footer-copy { color: var(--muted); font-size: .9rem; margin: .4rem 0 0; }

/* ===== Reveal on scroll ===== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .scroll-cue span { animation: none; }
  html { scroll-behavior: auto; }
}

/* ===== Responsive ===== */
@media (max-width: 880px) {
  .feature-grid, .specs-grid { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .split-reverse .split-media { order: 0; }
  .feathered { max-width: 560px; margin: 0 auto; }

  .nav {
    position: fixed; inset: 76px 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 12px 24px 20px; transform: translateY(-130%);
    transition: transform .35s var(--ease); box-shadow: var(--shadow);
  }
  .nav.open { transform: translateY(0); }
  .nav > a { color: var(--ink); text-shadow: none; padding: 14px 4px; border-bottom: 1px solid var(--line); }
  .nav > a.btn { color: #fff; margin-top: 12px; border-bottom: none; }
  .site-header { background: rgba(255, 255, 255, .92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
  .brand-logo { filter: none; }
  .nav-toggle {
    display: flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 44px; height: 44px; background: none; border: none; cursor: pointer; padding: 0;
  }
  .nav-toggle span { display: block; height: 2.5px; width: 24px; background: var(--ink); border-radius: 2px; transition: transform .3s, opacity .3s; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
}
