:root {
  --graphite-navy: #101923;
  --graphite-900: #0b1118;
  --deep-steel: #1f2d38;
  --foam-white: #f5f7f7;
  --panel-white: #ffffff;
  --cold-line: #d7e2e6;
  --safety-orange: #f28a1a;
  --copper-dark: #b75f12;
  --ice-teal: #148ea1;
  --muted-slate: #6d7a82;
  --success-green: #2f8f5b;
  --danger-red: #a33a32;
  --shadow: 0 12px 28px rgba(16, 25, 35, 0.18);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: #eef4f5;
  color: var(--graphite-navy);
  font: 16px/1.5 Inter, Arial, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

img { max-width: 100%; display: block; }

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 72px 0; }
.section-head { max-width: 640px; margin: 0 0 32px; }
.section-head h2 { font-size: 34px; line-height: 1.12; margin: 0 0 10px; }
.section-head p { color: var(--muted-slate); margin: 0; font-size: 17px; }
.section-alt { background: var(--panel-white); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  padding: 14px 24px;
  border-radius: 8px;
  border: none;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease, transform 0.05s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--safety-orange); color: #1a1300; box-shadow: 0 12px 24px rgba(242, 138, 26, 0.22); }
.btn-primary:hover { background: var(--copper-dark); color: #fff; }
.btn-secondary {
  background: transparent;
  color: var(--foam-white);
  border: 1px solid rgba(245, 247, 247, 0.4);
}
.btn-secondary:hover { border-color: var(--foam-white); }
.btn-block { width: 100%; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(11, 17, 24, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  padding-bottom: 10px;
}
.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--foam-white);
  text-decoration: none;
}
.logo-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  background: #fff;
  border-radius: 12px;
  padding: 5px;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.24);
}
.logo-badge-wide {
  width: 168px;
  height: 52px;
  padding: 6px 10px;
}
.logo-badge img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.header-phone {
  color: var(--foam-white);
  font-weight: bold;
  text-decoration: none;
  font-size: 16px;
}
.header-phone:hover { color: var(--safety-orange); }

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--graphite-900);
  color: var(--foam-white);
  padding: 86px 0 82px;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, rgba(11, 17, 24, 0.98) 0%, rgba(16, 25, 35, 0.96) 58%, rgba(31, 45, 56, 0.9) 100%),
    radial-gradient(circle at 84% 32%, rgba(242, 138, 26, 0.22), transparent 34%),
    radial-gradient(circle at 78% 78%, rgba(20, 142, 161, 0.18), transparent 30%);
  opacity: 0.98;
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: rgba(242, 138, 26, 0.5);
}
.hero .container {
  max-width: 1360px;
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(560px, 1fr);
  gap: 28px;
  align-items: center;
}
.hero-content {
  min-width: 0;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(242, 138, 26, 0.12);
  border: 1px solid rgba(242, 138, 26, 0.35);
  color: #ffb55f;
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 18px;
}
.hero h1 {
  font-size: 50px;
  line-height: 1.15;
  margin: 0 0 16px;
  max-width: 700px;
}
.hero-subtitle {
  font-size: 20px;
  color: #c8d2d6;
  max-width: 650px;
  margin: 0 0 32px;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 40px; }
.hero-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 16px;
  max-width: 720px;
}
.hero-fact {
  background: rgba(31, 45, 56, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 16px;
  text-align: center;
}
.hero-fact strong { display: block; font-size: 22px; color: var(--safety-orange); }
.hero-fact span { font-size: 13px; color: #c8d2d6; }
.hero-mark {
  position: relative;
  justify-self: end;
  width: min(52vw, 720px);
  padding: 0;
  filter: drop-shadow(0 28px 44px rgba(0, 0, 0, 0.42));
  transform: translateX(18px);
}
.hero-mark::before {
  content: none;
}
.hero-mark img {
  width: 100%;
  height: auto;
  max-height: 680px;
  object-fit: contain;
}

/* Calculator */
.calc-box {
  background: var(--graphite-navy);
  color: var(--foam-white);
  border-radius: 8px;
  padding: 34px;
  display: grid;
  grid-template-columns: minmax(0, 320px) 1fr;
  gap: 32px;
  box-shadow: var(--shadow);
}
@media (max-width: 720px) {
  .calc-box { grid-template-columns: 1fr; }
}
.calc-field label { display: block; font-weight: bold; margin-bottom: 8px; }
.calc-field input {
  width: 100%;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
  color: var(--foam-white);
  font-size: 18px;
}
.calc-field input::placeholder { color: #93a2a9; }
.calc-result-value {
  font-size: 32px;
  font-weight: bold;
  color: var(--safety-orange);
  margin: 4px 0 12px;
}
.calc-note { color: #c8d2d6; font-size: 14px; margin: 4px 0; }
.calc-note strong { color: var(--foam-white); }

/* Cards grid */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}
.card {
  background: #fff;
  border: 1px solid var(--cold-line);
  border-radius: 8px;
  padding: 22px;
  box-shadow: 0 10px 24px rgba(16, 25, 35, 0.05);
}
.card h3 { margin: 0 0 8px; font-size: 18px; }
.card p { margin: 0; color: var(--muted-slate); font-size: 14px; }

/* Problems (pain points) */
.problem-list {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px 40px;
}
@media (max-width: 720px) {
  .problem-list { grid-template-columns: 1fr; gap: 20px; }
}
.problem-list li {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 16px;
  align-items: start;
}
.problem-mark {
  font-size: 13px;
  font-weight: 800;
  color: var(--copper-dark);
  padding-top: 3px;
}
.problem-list h3 { margin: 0 0 4px; font-size: 16px; }
.problem-list p { margin: 0; color: var(--muted-slate); font-size: 14px; }
.problems-note {
  margin: 0;
  padding-top: 20px;
  border-top: 1px solid var(--cold-line);
  font-weight: bold;
  font-size: 16px;
}

/* Steps */
.steps-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.step {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  align-items: start;
}
.step-num {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: var(--graphite-navy);
  color: var(--safety-orange);
  font-weight: bold;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.step h3 { margin: 0 0 4px; font-size: 16px; }
.step p { margin: 0; color: var(--muted-slate); font-size: 14px; }

/* Photo placeholder gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}
.gallery-card {
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  position: relative;
  overflow: hidden;
  background: var(--graphite-navy);
  display: flex;
  align-items: flex-end;
  padding: 16px;
  color: #fff;
  font-weight: bold;
}
.gallery-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.16) 0, rgba(255, 255, 255, 0.16) 6px, transparent 7px),
    radial-gradient(circle at 60% 65%, rgba(255, 255, 255, 0.14) 0, rgba(255, 255, 255, 0.14) 9px, transparent 10px),
    radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.12) 0, rgba(255, 255, 255, 0.12) 5px, transparent 6px),
    radial-gradient(circle at 35% 80%, rgba(255, 255, 255, 0.14) 0, rgba(255, 255, 255, 0.14) 7px, transparent 8px),
    radial-gradient(circle at 90% 75%, rgba(242, 138, 26, 0.35) 0, rgba(242, 138, 26, 0.35) 8px, transparent 9px);
  background-size: 140px 140px;
}
.gallery-card span {
  position: relative;
  z-index: 1;
  background: rgba(16, 25, 35, 0.55);
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 14px;
}
.gallery-note {
  margin-top: 16px;
  color: var(--muted-slate);
  font-size: 14px;
}

/* Form */
.form-box {
  background: #fff;
  border: 1px solid var(--cold-line);
  border-radius: 8px;
  padding: 34px;
  max-width: 720px;
  box-shadow: var(--shadow);
}
.form-row { margin-bottom: 18px; }
.form-row label { display: block; font-weight: bold; margin-bottom: 6px; font-size: 14px; }
.form-row input[type="text"],
.form-row input[type="tel"],
.form-row input[type="number"],
.form-row textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid var(--cold-line);
  font-size: 15px;
  font-family: inherit;
}
.form-row textarea { resize: vertical; min-height: 80px; }
.form-row-two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .form-row-two { grid-template-columns: 1fr; } }

.consent-row { display: flex; align-items: flex-start; gap: 10px; }
.consent-row input { margin-top: 4px; }
.consent-row label { font-weight: normal; font-size: 13px; color: var(--muted-slate); }

.photo-input-label {
  display: inline-block;
  border: 1px dashed var(--cold-line);
  border-radius: 8px;
  padding: 14px 18px;
  cursor: pointer;
  font-size: 14px;
  color: var(--ice-teal);
  background: #f8fbfb;
}
.photo-previews {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}
.photo-preview {
  position: relative;
  width: 72px;
  height: 72px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--cold-line);
}
.photo-preview img { width: 100%; height: 100%; object-fit: cover; }
.photo-preview button {
  position: absolute;
  top: 2px;
  right: 2px;
  background: rgba(16, 25, 35, 0.7);
  color: #fff;
  border: none;
  border-radius: 4px;
  width: 18px;
  height: 18px;
  font-size: 12px;
  line-height: 1;
  cursor: pointer;
}

.form-error {
  color: var(--danger-red);
  font-size: 14px;
  margin: 0 0 16px;
}
.form-success {
  color: var(--success-green);
  font-weight: bold;
}
.hidden { display: none !important; }

/* Honeypot: visually hidden but present for bots that ignore display:none */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Contacts / footer */
.footer {
  background: var(--graphite-900);
  color: var(--foam-white);
  padding: 48px 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
}
.footer h3 { margin: 0 0 12px; font-size: 16px; }
.footer a { color: var(--foam-white); text-decoration: none; }
.footer a:hover { color: var(--safety-orange); }
.footer p { margin: 4px 0; color: #c8d2d6; }
.footer-legal { margin-top: 32px; color: #93a2a9; font-size: 13px; }

/*
 * Below 1024px the two-column hero (text + minmax(420px, ...) logo column)
 * has no room left for the text column once the logo's hard 420px minimum
 * is satisfied -- it used to squeeze to ~250px and wrap the H1 into
 * single-word lines (visible tablet-width bug at 768px). Stack instead;
 * there's plenty of width for a full-size stacked hero down to 1024px.
 */
@media (max-width: 1024px) {
  .hero .container {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hero-mark {
    justify-self: stretch;
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
  }
}

@media (max-width: 760px) {
  .container { padding: 0 18px; }
  .section { padding: 52px 0; }
  .section-head h2 { font-size: 28px; }
  .hero { padding: 56px 0 58px; }
  .hero::before {
    background:
      linear-gradient(120deg, rgba(11, 17, 24, 0.98), rgba(16, 25, 35, 0.96)),
      radial-gradient(circle at 90% 10%, rgba(242, 138, 26, 0.18), transparent 40%);
  }
  .hero .container {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .hero h1 { font-size: 38px; }
  .hero-subtitle { font-size: 17px; }
  .hero-mark {
    justify-self: stretch;
    width: 100%;
    max-width: 340px;
    margin: 0 auto;
  }
  .hero-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .form-box, .calc-box { padding: 22px; }
  .logo-badge-wide { width: 128px; height: 44px; padding: 5px 8px; }
}
