:root {
  --red: #e10600;
  --red-dark: #b10500;
  --navy: #0d1b2a;
  --navy-2: #111827;
  --ink: #070b10;
  --gray: #6b6f76;
  --silver: #b5b8bd;
  --white: #ffffff;
  --card: #141c26;
  --line: rgba(181, 184, 189, 0.18);
  --radius: 16px;
  --max: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  font-family: "Montserrat", system-ui, sans-serif;
  background: var(--ink);
  color: var(--white);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 {
  font-family: "Rajdhani", sans-serif;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.05;
  margin: 0;
}

.wrap { width: min(var(--max), calc(100% - 32px)); margin-inline: auto; }
.eyebrow {
  color: var(--red);
  font-family: "Rajdhani", sans-serif;
  font-weight: 700;
  letter-spacing: 0.22em;
  font-size: 0.78rem;
  text-transform: uppercase;
  margin: 0 0 8px;
}
.lede { color: var(--silver); max-width: 62ch; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 999px;
  padding: 14px 22px;
  font-family: "Rajdhani", sans-serif;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform .15s ease, background .15s ease, opacity .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--red); color: var(--white); }
.btn-primary:hover { background: var(--red-dark); }
.btn-ghost { background: transparent; color: var(--white); border: 1px solid var(--line); }
.btn[disabled], .btn.is-disabled {
  opacity: 0.4;
  pointer-events: none;
  transform: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(7, 11, 16, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 84px;
}
.logo-link { display: flex; align-items: center; flex-shrink: 0; }
.logo-mobile { display: none; height: 64px; width: auto; }
.logo-desktop { display: block; height: 52px; width: auto; max-width: min(420px, 40vw); object-fit: contain; }
.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 18px;
  color: var(--silver);
  font-size: 0.78rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  font-family: "Rajdhani", sans-serif;
  font-weight: 600;
}
.nav a:hover { color: var(--white); }
.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  color: var(--white);
  width: 44px;
  height: 44px;
  border-radius: 10px;
}

.hero {
  position: relative;
  min-height: calc(100vh - 84px);
  display: grid;
  align-items: end;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7,11,16,.82) 0%, rgba(7,11,16,.45) 48%, rgba(7,11,16,.2) 100%),
    linear-gradient(180deg, rgba(7,11,16,.25) 0%, rgba(7,11,16,.82) 78%, var(--ink) 100%),
    url("../img/hero1.png") center/cover no-repeat;
}
.hero-content { position: relative; padding: 28px 0 28px; }
.hero-logo {
  display: block;
  width: min(340px, 70vw);
  height: auto;
  margin: 14px 0 10px;
  filter: drop-shadow(0 6px 14px rgba(0,0,0,.4));
}
.hero h1 { font-size: clamp(2.1rem, 5.6vw, 4.2rem); max-width: 14ch; }
.hero h1 span { color: var(--red); }
.hero .sub { margin: 8px 0 16px; font-size: 1.05rem; color: var(--silver); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; }
.pill {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--silver);
  font-family: "Rajdhani", sans-serif;
  font-weight: 600;
}

.stats {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-top: 22px;
}
.stat { background: var(--navy); padding: 18px 14px; }
.stat b {
  display: block;
  font-family: "Rajdhani", sans-serif;
  font-size: 1.15rem;
  letter-spacing: 0.04em;
}
.stat span { color: var(--silver); font-size: 0.78rem; }

section { padding: 84px 0; }
.section-head { margin-bottom: 36px; }
.section-head h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }

.grid-3, .grid-2, .grid-4 { display: grid; gap: 18px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}
.card h3 { font-size: 1.2rem; margin-bottom: 8px; }
.card p, .card li { color: var(--silver); }
.icon-dot {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--red);
  display: grid;
  place-items: center;
  color: var(--red);
  font-family: "Rajdhani", sans-serif;
  font-weight: 700;
  margin-bottom: 14px;
}
.service-sheet {
  margin: 0;
  background: #000;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
}
.service-sheet img { width: 100%; height: auto; display: block; }
.partners { margin-top: 36px; }
.partners-title {
  font-size: clamp(1.3rem, 3vw, 1.85rem);
  margin-bottom: 18px;
  max-width: 22ch;
}

.price-card {
  display: flex;
  flex-direction: column;
  position: relative;
}
.price-card.featured {
  border-color: var(--red);
  background: #1a1012;
}
.price-card .badge {
  position: absolute;
  top: -12px;
  left: 22px;
  background: var(--red);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-family: "Rajdhani", sans-serif;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.price {
  font-family: "Rajdhani", sans-serif;
  font-size: 3rem;
  margin: 10px 0 4px;
}
.price small { font-size: 1rem; color: var(--silver); }
.price-card ul { padding: 0; margin: 16px 0 22px; list-style: none; flex: 1; }
.price-card li {
  padding: 8px 0 8px 22px;
  position: relative;
  border-bottom: 1px solid var(--line);
}
.price-card li::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--red);
  position: absolute;
  left: 0;
  top: 14px;
}
.price-note { font-size: 0.82rem; color: var(--silver); margin-bottom: 16px; }
.price-banner {
  border: 1px solid var(--red);
  color: var(--white);
  background: #1a1012;
  border-radius: 12px;
  padding: 14px 18px;
  margin: 0 0 22px;
  font-family: "Rajdhani", sans-serif;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.95rem;
}
.price-ref {
  font-size: 0.78rem;
  color: var(--red);
  font-family: "Rajdhani", sans-serif;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 14px;
}
.proforma { margin-top: 22px; }

.checks { columns: 2; gap: 18px; margin: 0; padding: 0; list-style: none; }
.checks li {
  break-inside: avoid;
  padding: 10px 0 10px 22px;
  position: relative;
  color: var(--silver);
  border-bottom: 1px solid var(--line);
}
.checks li::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--red);
  position: absolute;
  left: 0;
  top: 16px;
}

.bi-list { display: flex; flex-wrap: wrap; gap: 8px; }
.bi-list span {
  border: 1px solid var(--line);
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.82rem;
  color: var(--silver);
}

.origin-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.origin-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 22px;
  border-top: 3px solid var(--red);
  min-height: 220px;
}
.origin-top {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 16px;
}
.origin-code {
  font-family: "Rajdhani", sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--red);
  line-height: 1;
}
.origin-card small {
  display: block;
  color: var(--silver);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.68rem;
  font-family: "Rajdhani", sans-serif;
  font-weight: 700;
}
.origin-card h3 {
  font-size: 1.55rem;
  margin-top: 2px;
}
.brand-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.brand-chips span {
  border: 1px solid var(--line);
  background: #0b121a;
  padding: 7px 11px;
  border-radius: 999px;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--white);
  font-family: "Rajdhani", sans-serif;
  font-weight: 600;
}
.brand-chips .more {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
}

.work-card { position: relative; overflow: hidden; }
.work-num {
  display: block;
  font-family: "Rajdhani", sans-serif;
  font-size: 2.4rem;
  color: var(--red);
  line-height: 1;
  margin-bottom: 8px;
}

.workshop-intro {
  max-width: 72ch;
  color: var(--silver);
  font-size: 1.05rem;
  line-height: 1.6;
  margin: 0 0 22px;
}
.workshop-sub {
  font-size: clamp(1.3rem, 3vw, 1.85rem);
  margin: 36px 0 18px;
}
.workshop-benefits { margin-bottom: 8px; }
.workshop-terms { margin-top: 28px; }

.marine-brands { margin-top: 8px; }
.marine-price-grid { margin: 4px 0 28px; }
.marine-price-grid .price-card { padding-top: 32px; }
.marine-card { position: relative; padding-top: 32px; }
.marine-card .badge {
  position: absolute;
  top: -12px;
  left: 22px;
  background: var(--red);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-family: "Rajdhani", sans-serif;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.marine-card.is-soon {
  opacity: 0.88;
}
.marine-card.is-soon .badge {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--silver);
}

.notfound-btn {
  width: 100%;
  background: #0b121a;
  border: 1px dashed var(--red);
  color: var(--white);
  border-radius: 12px;
  padding: 14px 12px;
  font-family: "Rajdhani", sans-serif;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}
.notfound-btn.active {
  background: var(--red);
  border-style: solid;
}
#vehicle-selects { display: grid; gap: 12px; }

.hours { display: grid; gap: 10px; }
.hours div {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  padding: 10px 0;
  color: var(--silver);
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 40px 0 120px;
  text-align: center;
  color: var(--silver);
}
.site-footer img { height: 110px; margin: 0 auto 12px; }

.wa-fab {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 50;
  width: 68px;
  height: 68px;
  border: 0;
  padding: 0;
  border-radius: 50%;
  background: var(--navy);
  cursor: pointer;
  overflow: hidden;
}
.wa-fab img { width: 100%; height: 100%; object-fit: cover; }

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.72);
  z-index: 60;
  display: none;
  align-items: flex-end;
  justify-content: center;
}
.modal-overlay.open { display: flex; }
.modal {
  background: var(--navy-2);
  width: min(560px, 100%);
  max-height: 94vh;
  overflow: auto;
  border-radius: 20px 20px 0 0;
  border: 1px solid var(--line);
  padding: 22px 18px 28px;
}
.modal-head { display: flex; gap: 12px; align-items: center; margin-bottom: 8px; }
.modal-head img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.modal-head h3 { font-size: 1.2rem; }
.close {
  margin-left: auto;
  background: none;
  border: 0;
  color: var(--white);
  font-size: 1.6rem;
  cursor: pointer;
  width: 40px;
  height: 40px;
}
.form-grid { display: grid; gap: 12px; margin-top: 14px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
label {
  display: grid;
  gap: 6px;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--silver);
  font-family: "Rajdhani", sans-serif;
  font-weight: 600;
}
input, select, textarea {
  background: #0b121a;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px;
  width: 100%;
}
textarea { min-height: 90px; resize: vertical; }
.hint { font-size: 0.8rem; color: var(--silver); margin: 8px 0 14px; }
.wa-submit { width: 100%; }
.hidden { display: none !important; }

.skip { position: absolute; left: -999px; }
.skip:focus { left: 8px; top: 8px; background: var(--red); padding: 8px; z-index: 80; }

@media (max-width: 1200px) {
  .stats { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 720px) {
  .modal {
    border-radius: 20px;
    margin-bottom: 40px;
    align-self: center;
  }
  .modal-overlay { align-items: center; }
}

@media (max-width: 900px) {
  .nav, .header-cta { display: none; }
  .nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 84px;
    left: 0;
    right: 0;
    background: var(--ink);
    padding: 16px 20px 24px;
    border-bottom: 1px solid var(--line);
  }
  .menu-toggle { display: grid; place-items: center; }
  .logo-mobile { display: block; height: 72px; }
  .logo-desktop { display: none; }
  .stats, .grid-3, .grid-2, .grid-4, .origin-grid { grid-template-columns: 1fr 1fr; }
  .marine-brands, .marine-price-grid { grid-template-columns: 1fr; }
  .checks { columns: 1; }
}

@media (max-width: 640px) {
  .grid-3, .grid-2, .grid-4, .origin-grid, .form-row { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .hero-content { padding-top: 24px; }
  .header-inner { min-height: 80px; }
  .logo-mobile { height: 64px; }
}
