/* ============================================================
   ALPINE DRY ICE BLASTING — MAIN STYLESHEET
   Brand: #0B4867 (navy) | #8DC63F (green)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@400;600;700;800;900&family=Barlow:wght@400;500;600&display=swap');

:root {
  --navy: #0B4867;
  --navy-dark: #072f42;
  --navy-light: #0d5880;
  --green: #8DC63F;
  --green-dark: #6fa32e;
  --green-light: #a3d955;
  --white: #ffffff;
  --off-white: #f7f8f6;
  --light-gray: #eef0ec;
  --mid-gray: #6b7280;
  --dark: #111827;
  --text: #1f2937;
  --text-light: #4b5563;

  --font-display: 'Barlow Condensed', sans-serif;
  --font-body: 'Barlow', sans-serif;

  --radius: 4px;
  --radius-lg: 8px;
  --shadow: 0 4px 24px rgba(0,0,0,0.10);
  --shadow-lg: 0 12px 48px rgba(0,0,0,0.18);

  --max-width: 1200px;
  --section-pad: 96px 24px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ── UTILITY ── */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
.section { padding: var(--section-pad); }
.section--dark { background: var(--navy-dark); color: var(--white); }
.section--navy { background: var(--navy); color: var(--white); }
.section--gray { background: var(--off-white); }
.section--charcoal { background: #0d1117; color: var(--white); }

.label {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--green);
}

.label--light { color: var(--green-light); }

h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.05; }

.h-display {
  font-size: clamp(52px, 8vw, 96px);
  font-weight: 900;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  line-height: 0.95;
}

.h-section {
  font-size: clamp(36px, 5vw, 58px);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}

.h-card {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 700;
  text-transform: uppercase;
}

.body-lg { font-size: 18px; line-height: 1.7; color: var(--text-light); }
.body-md { font-size: 16px; line-height: 1.7; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 16px 32px;
  border-radius: var(--radius);
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--green);
  color: var(--navy-dark);
  border-color: var(--green);
}
.btn-primary:hover {
  background: var(--green-light);
  border-color: var(--green-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(141,198,63,0.35);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
}

.btn-outline-green {
  background: transparent;
  color: var(--green);
  border-color: var(--green);
}
.btn-outline-green:hover {
  background: var(--green);
  color: var(--navy-dark);
}

/* ── NAVBAR ── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0 24px;
  transition: all 0.3s ease;
}

.navbar.scrolled {
  background: rgba(7, 47, 66, 0.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 24px rgba(0,0,0,0.3);
}

.navbar__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar__logo img { height: 72px; width: auto; display: block; }

.navbar__links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.navbar__links a {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  transition: color 0.2s;
}
.navbar__links a:hover { color: var(--green); }

.navbar__cta { display: flex; align-items: center; gap: 16px; }

.navbar__phone {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--green);
  letter-spacing: 0.04em;
}

.navbar__menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}
.navbar__menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: all 0.3s;
}

/* ── TOP BAR ── */
.topbar {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.75);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 8px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
}
.topbar span { display: flex; align-items: center; gap: 6px; }
.topbar .accent { color: var(--green); }

/* ── HERO ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--navy-dark);
}

.hero__video-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero__video-wrap video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.45;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(7,47,66,0.3) 0%,
    rgba(7,47,66,0.2) 40%,
    rgba(7,47,66,0.85) 80%,
    rgba(7,47,66,0.97) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 120px 24px 80px;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.hero__eyebrow-line {
  width: 40px;
  height: 2px;
  background: var(--green);
}

.hero__title {
  color: var(--white);
  margin-bottom: 24px;
}

.hero__title .accent { color: var(--green); display: block; }

.hero__subtitle {
  font-size: clamp(16px, 2vw, 20px);
  color: rgba(255,255,255,0.8);
  max-width: 600px;
  margin-bottom: 40px;
  line-height: 1.6;
}

.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }

.hero__trust {
  margin-top: 48px;
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

.hero__trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
}

.hero__trust-item .dot {
  width: 6px; height: 6px;
  background: var(--green);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ── STATS BAR ── */
.stats-bar {
  background: var(--green);
  padding: 0;
}

.stats-bar__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stat-item {
  padding: 28px 24px;
  text-align: center;
  border-right: 1px solid rgba(11,72,103,0.2);
}
.stat-item:last-child { border-right: none; }

.stat-item__num {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 900;
  color: var(--navy-dark);
  line-height: 1;
}

.stat-item__label {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
  margin-top: 4px;
}

/* ── SECTION HEADER ── */
.section-header { margin-bottom: 56px; }
.section-header--center { text-align: center; }
.section-header .label { margin-bottom: 12px; }
.section-header p { margin-top: 16px; max-width: 640px; }
.section-header--center p { margin-left: auto; margin-right: auto; }

/* ── BEFORE/AFTER GRID ── */
.ba-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2px;
  background: var(--navy-dark);
}

.ba-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
}

.ba-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.ba-card:hover img { transform: scale(1.04); }

.ba-card__label {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 20px 16px 16px;
  background: linear-gradient(to top, rgba(7,47,66,0.95) 0%, transparent 100%);
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
}

.ba-card__label span {
  display: block;
  font-size: 12px;
  font-weight: 400;
  color: var(--green);
  letter-spacing: 0.12em;
  margin-bottom: 2px;
}

/* ── WHY CARDS ── */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.why-card {
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}

.why-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.why-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.why-card:hover::before { transform: scaleX(1); }

.why-card__icon {
  width: 48px; height: 48px;
  background: rgba(141,198,63,0.12);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 22px;
}

.why-card__title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 10px;
}

.why-card__body {
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.65;
}

/* ── SERVICES LIST ── */
.services-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}

.service-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.service-item__num {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 900;
  color: var(--green);
  line-height: 1;
  flex-shrink: 0;
  opacity: 0.4;
}

.service-item__content h3 {
  font-size: 22px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 8px;
}

.service-item__content p {
  font-size: 15px;
  color: rgba(255,255,255,0.65);
  line-height: 1.65;
}

/* ── PROOF STRIP ── */
.proof-strip {
  background: var(--off-white);
  border-top: 1px solid var(--light-gray);
  border-bottom: 1px solid var(--light-gray);
  padding: 48px 24px;
}

.proof-strip__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.proof-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy);
}

.proof-item svg { color: var(--green); }

/* ── QUOTE SECTION ── */
.quote-section {
  background: var(--navy);
  padding: 80px 24px;
  text-align: center;
}

.quote-section blockquote {
  font-family: var(--font-display);
  font-size: clamp(24px, 4vw, 42px);
  font-weight: 800;
  text-transform: uppercase;
  color: var(--white);
  max-width: 900px;
  margin: 0 auto 24px;
  line-height: 1.1;
}

.quote-section blockquote .green { color: var(--green); }
.quote-cite { font-size: 14px; color: rgba(255,255,255,0.5); letter-spacing: 0.1em; text-transform: uppercase; }

/* ── LEAD FORM ── */
.form-section {
  background: var(--off-white);
  padding: var(--section-pad);
}

.form-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
  max-width: var(--max-width);
  margin: 0 auto;
}

.form-left h2 { color: var(--navy); margin-bottom: 16px; }
.form-left p { color: var(--text-light); margin-bottom: 32px; }

.form-trust { display: flex; flex-direction: column; gap: 16px; }

.form-trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: var(--text-light);
}

.form-trust-item__dot {
  width: 8px; height: 8px;
  background: var(--green);
  border-radius: 50%;
  flex-shrink: 0;
}

.lead-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow);
}

.form-group { margin-bottom: 20px; }

.form-group label {
  display: block;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid #d1d5db;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text);
  background: var(--white);
  transition: border-color 0.2s;
  outline: none;
  appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--navy);
}

.form-group textarea { resize: vertical; min-height: 100px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.form-submit {
  width: 100%;
  padding: 18px;
  background: var(--green);
  color: var(--navy-dark);
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.2s;
  margin-top: 8px;
}
.form-submit:hover {
  background: var(--green-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(141,198,63,0.4);
}

.form-disclaimer {
  font-size: 12px;
  color: var(--mid-gray);
  text-align: center;
  margin-top: 12px;
}

/* ── VETERAN BADGE ── */
.veteran-bar {
  background: var(--navy-dark);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.veteran-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(141,198,63,0.15);
  border: 1px solid rgba(141,198,63,0.4);
  border-radius: 4px;
  padding: 8px 16px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green);
}

/* ── FOOTER ── */
.footer {
  background: #070f14;
  color: rgba(255,255,255,0.6);
  padding: 64px 24px 32px;
}

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

.footer__top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 32px;
}

.footer__logo img { height: 48px; width: auto; display: block; margin-bottom: 16px; }
.footer__desc { font-size: 14px; line-height: 1.7; max-width: 280px; }

.footer__col h4 {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 20px;
}

.footer__col ul { list-style: none; }
.footer__col li { margin-bottom: 10px; }
.footer__col a { font-size: 14px; color: rgba(255,255,255,0.55); transition: color 0.2s; }
.footer__col a:hover { color: var(--green); }

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
}

.footer__bottom-links { display: flex; gap: 24px; }
.footer__bottom-links a { color: rgba(255,255,255,0.4); }
.footer__bottom-links a:hover { color: var(--white); }

/* ── MOBILE NAV ── */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--navy-dark);
  z-index: 999;
  padding: 100px 32px 48px;
  flex-direction: column;
  gap: 8px;
}

.mobile-nav.open { display: flex; }

.mobile-nav a {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--white);
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  letter-spacing: 0.04em;
}

.mobile-nav a:hover { color: var(--green); }
.mobile-nav .btn { margin-top: 24px; width: 100%; justify-content: center; }

/* ── SUCCESS STATE ── */
.form-success {
  display: none;
  text-align: center;
  padding: 40px 24px;
}
.form-success.show { display: block; }
.form-success__icon {
  width: 64px; height: 64px;
  background: rgba(141,198,63,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 28px;
}
.form-success h3 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 8px;
}
.form-success p { color: var(--text-light); font-size: 16px; }

/* ── SCROLL ANIMATIONS ── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ── RESPONSIVE ── */
@media (max-width: 968px) {
  :root { --section-pad: 64px 24px; }

  .navbar__links { display: none; }
  .navbar__cta .btn { display: none; }
  .navbar__menu-btn { display: flex; }

  .stats-bar__inner { grid-template-columns: repeat(2, 1fr); }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(11,72,103,0.2); }
  .stat-item:nth-child(odd) { border-right: 1px solid rgba(11,72,103,0.2); }
  .stat-item:nth-last-child(-n+2) { border-bottom: none; }

  .form-wrap { grid-template-columns: 1fr; gap: 40px; }
  .form-row { grid-template-columns: 1fr; }

  .footer__top { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer__bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 640px) {
  .h-display { font-size: 42px; }
  .ba-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .services-list { grid-template-columns: 1fr; }
  .proof-strip__inner { flex-direction: column; gap: 24px; }
  .hero__trust { gap: 16px; }
  .topbar { display: none; }
  .footer__top { grid-template-columns: 1fr; }
  .stats-bar__inner { grid-template-columns: repeat(2, 1fr); }
}

/* ── SMS OPT-IN ── */
.form-opt-in {
  margin: 16px 0 20px;
  padding: 14px 16px;
  background: #f0f7fb;
  border-radius: 6px;
  border: 1px solid #cce3ee;
}
.opt-in-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-size: 12px;
  line-height: 1.6;
  color: #4a6070;
  user-select: none;
}

/* Hide native checkbox */
.opt-in-label input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

/* Custom checkbox box */
.opt-in-label .opt-in-box {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  border: 2px solid #a0bfcc;
  border-radius: 4px;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.18s ease, border-color 0.18s ease;
  position: relative;
  overflow: hidden;
}

/* Checked state — fill with green */
.opt-in-label input[type="checkbox"]:checked + .opt-in-box {
  background: var(--green);
  border-color: var(--green);
}

/* Animated checkmark using SVG path trick */
.opt-in-label .opt-in-box::after {
  content: '';
  display: block;
  width: 10px;
  height: 6px;
  border-left: 2px solid white;
  border-bottom: 2px solid white;
  transform: rotate(-45deg) scale(0) translateY(-1px);
  transform-origin: center;
  transition: transform 0.15s ease;
  margin-top: -2px;
}

.opt-in-label input[type="checkbox"]:checked + .opt-in-box::after {
  transform: rotate(-45deg) scale(1) translateY(-1px);
}

.opt-in-label a { color: var(--green); text-decoration: underline; }
