:root {
  --ink: #10202b;
  --muted: #5c6b72;
  --line: #dbe7e7;
  --surface: #ffffff;
  --soft: #eef7f4;
  --teal: #087f8c;
  --teal-dark: #075d66;
  --coral: #e66b4f;
  --gold: #f5b84b;
  --green: #2f7d59;
  --shadow: 0 18px 55px rgba(16, 32, 43, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #fbfdfc;
  font-family: "Inter", Arial, sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 14px clamp(18px, 5vw, 64px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(219, 231, 231, 0.82);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 0.98rem;
  font-weight: 800;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  color: #fff;
  background: var(--teal);
  border-radius: 8px;
  font-size: 0.82rem;
  letter-spacing: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 700;
}

.nav-links a,
.header-phone,
.footer-links a {
  text-decoration: none;
}

.nav-links a:hover,
.footer-links a:hover {
  color: var(--teal);
}

.header-phone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  color: #fff;
  background: var(--coral);
  border-radius: 8px;
  font-weight: 800;
  box-shadow: 0 10px 26px rgba(230, 107, 79, 0.28);
}

.hero {
  position: relative;
  min-height: clamp(560px, 86vh, 760px);
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: clamp(80px, 11vw, 150px) clamp(18px, 5vw, 64px) 58px;
  color: #fff;
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(8, 35, 43, 0.82) 0%, rgba(8, 35, 43, 0.54) 45%, rgba(8, 35, 43, 0.1) 100%),
    linear-gradient(0deg, rgba(8, 35, 43, 0.62) 0%, rgba(8, 35, 43, 0.05) 46%);
}

.hero-content {
  position: relative;
  max-width: 760px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--gold);
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

h1 {
  max-width: 11ch;
  margin: 0;
  font-size: clamp(3.1rem, 8.5vw, 6.9rem);
  line-height: 0.95;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 650px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.05rem, 2.2vw, 1.3rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border: 0;
  border-radius: 8px;
  font: inherit;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button:disabled {
  cursor: wait;
  opacity: 0.7;
  transform: none;
}

.button-primary,
.button-submit {
  color: #fff;
  background: var(--coral);
  box-shadow: 0 14px 30px rgba(230, 107, 79, 0.35);
}

.button-primary:hover,
.button-submit:hover {
  background: #cf5b42;
}

.button-light {
  color: var(--ink);
  background: #fff;
}

.phone-cta,
.quote-section,
.how-it-works,
.advisory-scope,
.areas,
.faq,
.disclaimer,
.site-footer {
  padding-right: clamp(18px, 5vw, 64px);
  padding-left: clamp(18px, 5vw, 64px);
}

.phone-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 30px;
  padding-bottom: 30px;
  background: var(--ink);
  color: #fff;
}

.phone-cta h2 {
  margin: 0;
  font-size: clamp(1.35rem, 3vw, 2.1rem);
  line-height: 1.12;
}

.phone-number {
  flex: 0 0 auto;
  color: var(--gold);
  font-size: clamp(1.45rem, 3vw, 2.25rem);
  font-weight: 800;
  text-decoration: none;
}

.quote-section {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(320px, 1.22fr);
  gap: clamp(28px, 5vw, 76px);
  padding-top: clamp(54px, 8vw, 92px);
  padding-bottom: clamp(54px, 8vw, 92px);
  background: var(--soft);
}

.section-heading {
  max-width: 720px;
}

.section-heading h2,
.disclaimer h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.05;
}

.section-heading p:not(.section-kicker),
.disclaimer p {
  margin: 18px 0 0;
  color: var(--muted);
}

.quote-form {
  display: grid;
  gap: 18px;
  padding: clamp(20px, 4vw, 34px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-size: 0.93rem;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  padding: 11px 12px;
  color: var(--ink);
  background: #fbfdfc;
  border: 1px solid #cbdadb;
  border-radius: 8px;
  font: inherit;
  font-weight: 500;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(8, 127, 140, 0.22);
  border-color: var(--teal);
}

.consent {
  grid-template-columns: 18px 1fr;
  align-items: start;
  gap: 10px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 600;
}

.consent input {
  width: 18px;
  min-height: 18px;
  margin-top: 3px;
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--green);
  font-weight: 800;
}

.form-status.error {
  color: #b33b2b;
}

.how-it-works,
.advisory-scope,
.areas,
.faq,
.disclaimer {
  padding-top: clamp(54px, 8vw, 92px);
  padding-bottom: clamp(54px, 8vw, 92px);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
}

.steps article {
  padding: 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.steps span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: #fff;
  background: var(--teal);
  border-radius: 8px;
  font-weight: 800;
}

.steps h3 {
  margin: 20px 0 8px;
  font-size: 1.2rem;
}

.steps p {
  margin: 0;
  color: var(--muted);
}

.advisory-scope {
  background: #fff;
}

.scope-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 30px;
}

.scope-list span {
  min-height: 56px;
  display: flex;
  align-items: center;
  padding: 12px 16px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-left: 5px solid var(--teal);
  border-radius: 8px;
  font-weight: 800;
}

.areas {
  background: #fff7ed;
}

.area-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 30px;
}

.area-list span {
  min-height: 48px;
  display: flex;
  align-items: center;
  padding: 10px 14px;
  background: #fff;
  border: 1px solid #f2d9b8;
  border-radius: 8px;
  font-weight: 800;
}

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 900px;
  margin-top: 30px;
}

details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

summary {
  padding: 18px 20px;
  font-weight: 800;
  cursor: pointer;
}

details p {
  margin: 0;
  padding: 0 20px 20px;
  color: var(--muted);
}

.disclaimer {
  background: #edf6f7;
}

.disclaimer p {
  max-width: 1040px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 34px;
  padding-bottom: 34px;
  color: #fff;
  background: #10202b;
}

.site-footer p {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.7);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: var(--gold);
  font-weight: 800;
}

@media (max-width: 900px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .nav-links {
    width: 100%;
    flex-wrap: wrap;
    gap: 14px;
  }

  .header-phone {
    position: absolute;
    top: 14px;
    right: 18px;
    min-height: 40px;
    padding: 0 12px;
    font-size: 0.85rem;
  }

  .hero {
    min-height: 680px;
  }

  .quote-section,
  .steps,
  .scope-list {
    grid-template-columns: 1fr;
  }

  .area-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .brand {
    max-width: calc(100% - 150px);
  }

  .nav-links {
    font-size: 0.86rem;
  }

  .hero {
    min-height: 620px;
    padding-top: 88px;
    padding-bottom: 42px;
  }

  .hero-overlay {
    background:
      linear-gradient(0deg, rgba(8, 35, 43, 0.82) 0%, rgba(8, 35, 43, 0.48) 70%, rgba(8, 35, 43, 0.24) 100%);
  }

  h1 {
    font-size: clamp(3rem, 16vw, 4.8rem);
  }

  .hero-actions,
  .phone-cta,
  .site-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .button,
  .phone-number {
    width: 100%;
  }

  .form-grid,
  .area-list {
    grid-template-columns: 1fr;
  }

  .quote-form {
    padding: 18px;
  }
}
