:root {
  --bg: #efe4d2;
  --surface: rgba(255, 251, 246, 0.9);
  --surface-strong: #fffaf3;
  --surface-dark: #171310;
  --text: #18110d;
  --muted: #55483d;
  --line: rgba(30, 21, 16, 0.12);
  --brand: #e27b3a;
  --brand-deep: #b65117;
  --accent: #234637;
  --shadow: 0 24px 80px rgba(23, 19, 16, 0.16);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --container: 1180px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(226, 123, 58, 0.22), transparent 28%),
    radial-gradient(circle at 85% 24%, rgba(35, 70, 55, 0.08), transparent 22%),
    linear-gradient(180deg, #f3e9dc 0%, #efe3d1 100%);
  line-height: 1.55;
}

body.quiz-open {
  overflow: hidden;
}

.submission-notice {
  position: sticky;
  top: 0;
  z-index: 110;
  padding: 0.95rem 1rem;
  text-align: center;
  font-weight: 800;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

.submission-notice.is-success {
  background: #214636;
  color: #f5f0e8;
}

.submission-notice.is-error {
  background: #9a3412;
  color: #fff4ed;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.page-shell {
  overflow: clip;
}

.quiz-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.quiz-modal.is-hidden {
  display: none;
}

.quiz-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 11, 9, 0.74);
  backdrop-filter: blur(8px);
}

.quiz-dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 980px);
  display: grid;
  gap: 1.2rem;
  padding: 1.2rem;
  border-radius: 28px;
  background: linear-gradient(180deg, #fff9f2 0%, #f3e7d6 100%);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.32);
}

.quiz-close {
  position: absolute;
  top: 0.9rem;
  right: 0.9rem;
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  border-radius: 999px;
  background: rgba(24, 17, 13, 0.08);
  color: var(--text);
  font-weight: 800;
  cursor: pointer;
}

.quiz-side {
  padding: 1.2rem 1.1rem 0.5rem;
}

.quiz-side h2 {
  max-width: 12ch;
}

.quiz-side p {
  color: var(--muted);
  margin-top: 0.9rem;
  max-width: 44ch;
}

.quiz-benefits {
  display: grid;
  gap: 0.7rem;
  margin-top: 1.3rem;
}

.quiz-benefits p {
  margin: 0;
  padding: 0.8rem 0.95rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(20, 16, 13, 0.08);
  color: var(--text);
  font-weight: 700;
}

.quiz-form {
  display: grid;
  gap: 1rem;
  padding: 1.2rem;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(20, 16, 13, 0.08);
}

.quiz-progress {
  display: grid;
  gap: 0.55rem;
}

.quiz-progress-text {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--brand-deep);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.quiz-progress-bar {
  width: 100%;
  height: 0.5rem;
  border-radius: 999px;
  background: rgba(24, 17, 13, 0.08);
  overflow: hidden;
}

.quiz-progress-fill {
  display: block;
  width: 20%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(135deg, var(--brand) 0%, #ee8441 100%);
}

.quiz-step {
  display: none;
}

.quiz-step.is-active {
  display: grid;
  gap: 0.9rem;
}

.quiz-step h3 {
  font-size: clamp(1.4rem, 3vw, 2rem);
}

.quiz-step p {
  color: var(--muted);
}

.quiz-options {
  display: grid;
  gap: 0.9rem;
}

.quiz-option {
  position: relative;
  display: block;
  cursor: pointer;
}

.quiz-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.quiz-option span {
  display: block;
  padding: 1rem 1.1rem;
  border-radius: 16px;
  border: 1px solid rgba(24, 17, 13, 0.1);
  background: #fff;
  font-weight: 800;
  transition:
    border-color 180ms ease,
    background 180ms ease,
    transform 180ms ease,
    box-shadow 180ms ease;
}

.quiz-option input:checked + span {
  border-color: rgba(226, 123, 58, 0.6);
  background: rgba(226, 123, 58, 0.1);
  box-shadow: 0 16px 30px rgba(226, 123, 58, 0.14);
  transform: translateY(-1px);
}

.quiz-field {
  display: grid;
  gap: 0.45rem;
  font-size: 0.95rem;
  font-weight: 800;
}

.quiz-field input,
.quiz-field textarea {
  width: 100%;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(23, 19, 16, 0.14);
  border-radius: 14px;
  background: #fff;
  color: var(--text);
}

.quiz-field textarea {
  resize: vertical;
  min-height: 6.8rem;
}

.quiz-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
}

.quiz-back-button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.is-hidden {
  display: none !important;
}

.container {
  width: min(calc(100% - 2rem), var(--container));
  margin: 0 auto;
}

.section {
  padding: 4.5rem 0;
}

.section-dark {
  background: linear-gradient(180deg, #181410 0%, #211b16 100%);
  color: #f8f2e8;
}

.section-accent {
  padding-top: 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 2rem;
}

.section-heading.compact {
  margin-bottom: 0;
}

.section-kicker,
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.85rem;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--brand-deep);
}

.section-dark .section-kicker {
  color: #ffb37f;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  line-height: 1.05;
}

h1 {
  font-size: clamp(2.2rem, 5.8vw, 4.35rem);
  max-width: 10ch;
  line-height: 1.02;
}

h2 {
  font-size: clamp(1.9rem, 4vw, 3.4rem);
  max-width: 16ch;
}

h3 {
  font-size: 1.2rem;
}

p {
  margin: 0;
}

.hero {
  position: relative;
  min-height: 100svh;
  padding: 0;
  background:
    radial-gradient(circle at top left, rgba(244, 232, 214, 0.98), rgba(232, 216, 194, 0.92) 30%, rgba(194, 167, 135, 0.64) 62%, rgba(112, 88, 65, 0.86) 100%);
}

.hero-shell {
  min-height: 100svh;
  display: grid;
  gap: 1.6rem;
  align-items: center;
  padding-top: 1.5rem;
  padding-bottom: calc(1.5rem + env(safe-area-inset-bottom));
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 38rem;
  padding: 2rem;
  border-radius: 2rem;
  background:
    linear-gradient(180deg, rgba(18, 13, 10, 0.9), rgba(18, 13, 10, 0.96)),
    linear-gradient(135deg, rgba(62, 43, 28, 0.4), rgba(18, 13, 10, 0.92));
  border: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.28);
}

.hero-logo {
  width: clamp(82px, 8vw, 110px);
  height: auto;
  margin-bottom: 1rem;
  filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.16));
}

.hero-visual {
  position: relative;
  min-height: 42rem;
  display: flex;
  align-items: stretch;
}

.hero-image-frame {
  position: relative;
  width: 100%;
  min-height: 100%;
  overflow: hidden;
  border-radius: 2rem;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.22);
  background: #201712;
}

.hero-image-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(232, 216, 194, 0.98) 0%, rgba(232, 216, 194, 0.92) 8%, rgba(232, 216, 194, 0.58) 18%, rgba(232, 216, 194, 0.12) 30%, rgba(232, 216, 194, 0) 40%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(22, 16, 12, 0.14));
  z-index: 1;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 80% 46%;
  transform: scale(1);
  display: block;
}

.hero .eyebrow,
.hero h1,
.hero-subheadline,
.hero-small-line,
.hero-limited,
.hero-trust,
.hero-urgency,
.hero-proof {
  color: #fff7f0;
}

.hero .eyebrow {
  color: #e6a16b;
  text-shadow: none;
}

.hero h1 {
  text-shadow: 0 8px 28px rgba(0, 0, 0, 0.34);
}

.hero-subheadline {
  max-width: 38rem;
  margin-top: 0.95rem;
  font-size: clamp(1rem, 2.4vw, 1.34rem);
  color: rgba(255, 247, 240, 0.92);
  text-wrap: balance;
}

.hero-subheadline strong {
  font-weight: 800;
}

.hero-small-line {
  margin-top: 0.45rem;
  font-size: 1rem;
  color: rgba(255, 247, 240, 0.82);
}

.hero-limited,
.hero-trust {
  margin-top: 0.45rem;
  font-size: 0.98rem;
  font-weight: 800;
  color: #ffcd9f;
}

.hero-trust {
  margin-top: 0.85rem;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-top: 1rem;
  max-width: 28rem;
}

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 3.5rem;
  padding: 0.95rem 1.4rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 800;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease,
    color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(217, 111, 50, 0.28);
  outline-offset: 3px;
}

.button-primary {
  background: linear-gradient(135deg, var(--brand) 0%, #ee8441 100%);
  color: #fff9f3;
  box-shadow: 0 18px 36px rgba(226, 123, 58, 0.34);
}

.button-secondary {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.12);
  color: #fff8ef;
  backdrop-filter: blur(8px);
}

.lead-dark-button {
  color: var(--text);
  border-color: rgba(24, 17, 13, 0.12);
  background: rgba(255, 255, 255, 0.72);
}

.button-full {
  width: 100%;
}

.hero-urgency {
  margin-top: 0.75rem;
  font-weight: 700;
}

.hero-proof {
  display: grid;
  gap: 0.6rem;
  padding: 0;
  margin: 0.8rem 0 0;
  list-style: none;
  max-width: 32rem;
}

.hero-proof li {
  position: relative;
  padding-left: 1.4rem;
  font-weight: 600;
}

.hero-proof li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6rem;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999px;
  background: #ffb37f;
}

.value-grid,
.product-grid,
.location-grid {
  display: grid;
  gap: 1rem;
}

.value-card,
.product-card,
.location-card,
.service-item,
.lead-form,
.trust-panel,
.call-banner {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.value-card {
  padding: 1.25rem;
  background: rgba(255, 250, 244, 0.92);
  backdrop-filter: blur(8px);
}

.card-index {
  display: inline-block;
  margin-bottom: 0.7rem;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  color: var(--brand-deep);
}

.value-card p,
.product-card p,
.service-item p,
.location-card p,
.trust-copy,
.call-banner p,
.lead-copy p {
  color: var(--muted);
}

.product-card {
  padding: 1.4rem;
  background: rgba(255, 248, 239, 0.1);
  border-color: rgba(255, 255, 255, 0.12);
}

.product-card p {
  margin-top: 0.55rem;
  color: rgba(248, 242, 232, 0.74);
}

.highlight-card {
  background: linear-gradient(160deg, rgba(255, 179, 127, 0.16), rgba(217, 111, 50, 0.14));
  border-color: rgba(255, 179, 127, 0.26);
}

.split-layout {
  display: grid;
  gap: 1.6rem;
}

.service-list {
  display: grid;
  gap: 1rem;
}

.service-item {
  padding: 1.25rem;
  background: rgba(255, 251, 246, 0.94);
}

.trust-panel {
  padding: 2rem;
  background:
    linear-gradient(135deg, rgba(38, 70, 58, 0.94), rgba(21, 33, 28, 0.94)),
    radial-gradient(circle at top right, rgba(255, 179, 127, 0.22), transparent 28%);
  color: #f8f2e8;
}

.trust-panel .section-kicker,
.trust-panel .trust-copy {
  color: #f6d5ba;
}

.lead-section {
  padding-top: 0;
}

.lead-layout {
  display: grid;
  gap: 1.4rem;
}

.lead-copy {
  padding: 1.2rem 0;
}

.lead-inline-actions {
  margin-top: 1.3rem;
}

.lead-points {
  display: grid;
  gap: 1rem;
  margin-top: 1.3rem;
}

.lead-points div {
  padding: 1rem 1.1rem;
  border-left: 4px solid var(--brand);
  background: rgba(255, 250, 244, 0.88);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.lead-points strong,
.location-card h3,
.service-item h3,
.product-card h3 {
  display: block;
  margin-bottom: 0.35rem;
}

.lead-form {
  padding: 1.1rem;
  background: var(--surface-strong);
}

.lead-form label {
  display: grid;
  gap: 0.45rem;
  margin-bottom: 0.95rem;
  font-size: 0.95rem;
  font-weight: 700;
}

.honeypot-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.lead-form input,
.lead-form select,
.lead-form textarea {
  width: 100%;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(23, 19, 16, 0.14);
  border-radius: 14px;
  background: #fff;
  color: var(--text);
}

.lead-form textarea {
  resize: vertical;
  min-height: 7.5rem;
}

.form-note,
.form-message {
  margin-top: 0.9rem;
  font-size: 0.92rem;
}

.form-message {
  min-height: 1.4rem;
  font-weight: 700;
}

.form-message.is-error {
  color: #a13618;
}

.form-message.is-success {
  color: var(--accent);
}

.call-banner,
.final-cta-inner {
  display: grid;
  gap: 1rem;
  align-items: center;
}

.call-banner {
  padding: 1.4rem;
  background: linear-gradient(180deg, #fffaf3 0%, #f2e3d0 100%);
}

.location-card {
  padding: 1.3rem;
  background: rgba(255, 250, 244, 0.92);
}

.final-cta {
  padding-top: 0;
  padding-bottom: 7rem;
}

.final-cta-inner {
  padding: 1.7rem;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, #171310 0%, #2b211a 100%);
  color: #fff7ee;
  box-shadow: var(--shadow);
}

.final-cta-inner p {
  font-size: clamp(1.25rem, 2.4vw, 2rem);
  font-family: "Space Grotesk", sans-serif;
  max-width: 20ch;
}

.mobile-sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 0.65rem;
  padding: 0.8rem 1rem calc(0.8rem + env(safe-area-inset-bottom));
  background: rgba(18, 15, 13, 0.94);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-sticky-cta .button {
  min-height: 3.25rem;
  font-size: 0.93rem;
}

@media (min-width: 720px) {
  .hero-shell {
    grid-template-columns: minmax(0, 0.84fr) minmax(0, 1.16fr);
    gap: 1.8rem;
  }

  .quiz-dialog {
    grid-template-columns: 0.88fr 1.12fr;
    align-items: start;
    padding: 1.5rem;
  }

  .section {
    padding: 6rem 0;
  }

  .hero-actions {
    flex-direction: row;
    flex-wrap: wrap;
  }

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

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

  .split-layout {
    grid-template-columns: 0.9fr 1.1fr;
    align-items: start;
  }

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

  .lead-layout {
    grid-template-columns: 0.9fr 1.1fr;
    align-items: start;
  }

  .location-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .call-banner,
  .final-cta-inner {
    grid-template-columns: 1fr auto;
  }
}

@media (max-width: 719px) {
  h1 {
    max-width: 9ch;
  }

  .hero-shell {
    padding-top: 1.2rem;
    gap: 1rem;
  }

  .hero-copy {
    order: 2;
  }

  .hero-visual {
    order: 1;
    min-height: 18rem;
  }

  .hero-image-frame {
    border-radius: 1.4rem;
  }

  .hero-content {
    max-width: none;
    padding: 1.35rem;
    border-radius: 1.4rem;
  }

  .quiz-dialog {
    max-height: calc(100svh - 2rem);
    overflow: auto;
    padding: 1rem;
  }

  .quiz-form,
  .quiz-side {
    padding: 0.8rem;
  }

  .quiz-actions {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 960px) {
  .value-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .product-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .lead-form {
    padding: 1.5rem;
  }
}

@media (min-width: 1080px) {
  .mobile-sticky-cta {
    display: none;
  }

  .final-cta {
    padding-bottom: 5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
