/* Silver Star Land Clearing — site styles */

:root {
  --color-bg: #f4f2ef;
  --color-bg-soft: #ebe4d8;
  --color-surface: #ffffff;
  --color-text: #1a1f1c;
  --color-text-muted: #4a554e;
  --color-silver: #8a9590;
  --color-silver-dark: #5c6560;
  --color-orange: #e85d04;
  --color-orange-hover: #c94f00;
  --color-forest: #2d3a32;
  --color-accent-soft: rgba(232, 93, 4, 0.12);
  --font-sans: "DM Sans", system-ui, sans-serif;
  --max-width: 1120px;
  --nav-height: 64px;
  --radius: 10px;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.55;
  color: var(--color-text);
  background: var(--color-bg);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-orange);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* ----- Layout shell (left-anchored) ----- */
.page-wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}

@media (min-width: 768px) {
  .page-wrap {
    padding: 0 2rem;
  }
}

/* ----- Top navigation ----- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-surface);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: var(--shadow-sm);
}

.header-row {
  position: relative;
}

.site-header__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

@media (min-width: 768px) {
  .site-header__inner {
    padding: 0 2rem;
  }
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: inherit;
  flex-shrink: 0;
}

.brand:hover {
  text-decoration: none;
}

.brand__mark {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand__title {
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  color: var(--color-text);
}

.brand__subtitle {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--color-silver-dark);
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(0, 0, 0, 0.15);
  background: var(--color-surface);
  cursor: pointer;
  border-radius: 8px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
  -webkit-appearance: none;
  appearance: none;
  transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.nav-toggle:hover,
.nav-toggle:focus-visible {
  border-color: var(--color-orange);
  background: #fff7f0;
  outline: none;
}

.nav-toggle[aria-expanded="true"] {
  background: var(--color-orange);
  border-color: var(--color-orange);
  box-shadow: 0 2px 4px rgba(201, 79, 0, 0.25);
}

.nav-toggle > span:not(.visually-hidden) {
  display: block;
  width: 22px;
  height: 3px;
  flex: 0 0 3px;
  background-color: var(--color-orange);
  border-radius: 2px;
  transition: background-color 0.15s ease;
}

.nav-toggle[aria-expanded="true"] > span:not(.visually-hidden) {
  background-color: #ffffff;
}

@media (min-width: 900px) {
  .nav-toggle {
    display: none;
  }
}

.nav {
  display: none;
  position: absolute;
  top: var(--nav-height);
  left: 0;
  right: 0;
  background: var(--color-surface);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  padding: 1rem 1.25rem 1.25rem;
  flex-direction: column;
  gap: 0.5rem;
  box-shadow: var(--shadow-md);
}

.nav.is-open {
  display: flex;
}

@media (min-width: 900px) {
  .nav {
    display: flex;
    position: static;
    flex-direction: row;
    align-items: center;
    gap: 0.25rem;
    padding: 0;
    border: none;
    box-shadow: none;
    background: transparent;
  }
}

.nav__link {
  padding: 0.5rem 0.65rem;
  color: var(--color-text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  border-radius: 6px;
}

.nav__link:hover {
  color: var(--color-text);
  background: rgba(0, 0, 0, 0.04);
  text-decoration: none;
}

.nav__cta {
  margin-top: 0.5rem;
  text-align: center;
}

@media (min-width: 900px) {
  .nav__cta {
    margin-top: 0;
    margin-left: 0.35rem;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.1rem;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s, transform 0.1s;
}

.btn:active {
  transform: scale(0.98);
}

.btn--primary {
  background: var(--color-orange);
  color: #fff;
}

.btn--primary:hover {
  background: var(--color-orange-hover);
  text-decoration: none;
  color: #fff;
}

.btn--outline {
  background: transparent;
  color: var(--color-forest);
  border: 2px solid rgba(45, 58, 50, 0.35);
}

.btn--outline:hover {
  border-color: var(--color-forest);
  background: rgba(45, 58, 50, 0.06);
  text-decoration: none;
  color: var(--color-forest);
}

.btn--hero {
  padding: 0.75rem 1.35rem;
  font-size: 0.95rem;
}

/* ----- Hero ----- */
.hero {
  position: relative;
  text-align: left;
  color: #fff;
  margin: 0;
  width: 100%;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  /* Replace heroshot.png with your real hero photo when ready */
  background: var(--color-forest) url("../images/heroshot.png") center / cover no-repeat;
}

.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(26, 31, 28, 0.45) 0%,
    rgba(26, 31, 28, 0.72) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 3rem 1.25rem;
  box-sizing: border-box;
  /* Vertical centering done inside the inner block so the outer .hero
     uses the same plain-block pattern as the trust/CTA strips. */
  min-height: min(72vh, 560px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  /* Left-align hero items; also keeps the CTA button at its natural width */
  align-items: flex-start;
}

@media (min-width: 768px) {
  .hero__content {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

.hero__title,
.hero__lead {
  max-width: 36rem;
}

.hero__title {
  margin: 0 0 1rem;
  font-size: clamp(1.85rem, 5vw, 2.75rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.15;
}

.hero__lead {
  margin: 0 0 1.75rem;
  font-size: 1.05rem;
  opacity: 0.95;
  line-height: 1.6;
}

/* ----- Trust strip ----- */
.trust-strip {
  background: var(--color-forest);
  color: #e8ebe9;
  margin: 0;
  width: 100%;
  border-top: 3px solid var(--color-orange);
}

.trust-strip__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0.85rem 1.25rem;
  font-size: 1rem;
  text-align: center;
  line-height: 1.5;
}

@media (min-width: 768px) {
  .trust-strip__inner {
    padding: 0.85rem 2rem;
    font-size: 1.05rem;
  }
}

.trust-strip strong {
  color: #fff;
  font-weight: 600;
}

.trust-strip .sep {
  opacity: 0.45;
  margin: 0 0.35rem;
}

@media (max-width: 640px) {
  .trust-strip .sep {
    display: block;
    height: 0;
    margin: 0.35rem 0;
  }
}

/* ----- Sections ----- */
.section {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

/* Full-bleed colored band wrapping a .section */
.section-band {
  width: 100%;
  margin: 0;
}

.section-band--soft {
  background: var(--color-bg-soft);
}

.section__title {
  margin: 0 0 0.35rem;
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--color-forest);
}

.section__intro {
  margin: 0 0 1.75rem;
  color: var(--color-text-muted);
}

/* ----- Service tiles (4) ----- */
.service-tiles {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 600px) {
  .service-tiles {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .service-tiles {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1100px) {
  .service-tiles {
    grid-template-columns: repeat(5, 1fr);
  }
}

.tile {
  background: var(--color-surface);
  border-radius: var(--radius);
  padding: 1.35rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.tile h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  color: var(--color-forest);
}

.tile p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

/* ----- Service tiles (highlight on hover) ----- */
.tile--service {
  position: relative;
  padding: 1.5rem 1.1rem 1.35rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
  color: inherit;
  text-decoration: none;
}

a.tile--service:hover {
  text-decoration: none;
  color: inherit;
}

.tile--service::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--color-orange);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.25s ease;
}

.tile--service:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(232, 93, 4, 0.35);
}

.tile--service:hover::before {
  transform: scaleX(1);
}

.tile__icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-accent-soft);
  color: var(--color-orange);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.18s ease, color 0.18s ease;
}

.tile__icon svg {
  width: 24px;
  height: 24px;
  display: block;
}

.tile--service:hover .tile__icon {
  background: var(--color-orange);
  color: #fff;
}

.tile--service h3 {
  margin: 0;
  font-size: 1rem;
  color: var(--color-forest);
}

.tile--service p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

/* ----- Problem / Solution ----- */
.problem-solution {
  display: grid;
  gap: 1rem;
  align-items: stretch;
}

@media (min-width: 900px) {
  .problem-solution {
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
  }
}

.tile--large {
  padding: 1.75rem;
}

.tile--large h3 {
  font-size: 1.2rem;
  margin-bottom: 0.65rem;
}

.ps-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--color-orange);
  padding: 0.5rem 0;
}

@media (min-width: 900px) {
  .ps-arrow {
    padding: 0 0.5rem;
    font-size: 2.25rem;
  }
}

/* ----- Process / Result ----- */
.process-result {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 800px) {
  .process-result {
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
  }
}

.process-list {
  margin: 0;
  padding-left: 1.15rem;
  color: var(--color-text-muted);
}

.process-list li {
  margin-bottom: 0.5rem;
}

.before-after {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(0, 0, 0, 0.08);
  margin: 0;
  display: flex;
  flex-direction: column;
}

.before-after__media {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
}

.before-after__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

/* On wide layouts, let the image fill the media area so the figure
   matches the sibling tile's height instead of being capped by aspect-ratio */
@media (min-width: 800px) {
  .before-after__media img {
    height: 100%;
    aspect-ratio: auto;
  }
}

.before-after__label {
  position: absolute;
  bottom: 0.6rem;
  padding: 0.3rem 0.7rem;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 4px;
  backdrop-filter: blur(2px);
}

.before-after__label--left {
  left: 0.6rem;
}

.before-after__label--right {
  right: 0.6rem;
}

.before-after figcaption {
  padding: 0.65rem 1rem;
  font-size: 0.85rem;
  background: var(--color-surface);
  color: var(--color-text-muted);
  text-align: center;
}

/* ----- CTA strip ----- */
.cta-strip {
  background: linear-gradient(135deg, var(--color-forest) 0%, #1e2822 100%);
  color: #e8ebe9;
  margin: 0;
  width: 100%;
  border-top: 3px solid var(--color-orange);
}

.cta-strip__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1rem 1.25rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  text-align: center;
}

@media (min-width: 768px) {
  .cta-strip__inner {
    padding: 1rem 2rem;
  }
}

.cta-strip p {
  margin: 0;
  font-size: 1rem;
}

@media (min-width: 768px) {
  .cta-strip p {
    font-size: 1.05rem;
  }
}

.cta-strip .btn--primary:hover {
  color: #fff;
}

/* ----- Instant quote calculator ----- */
.calculator {
  background: var(--color-surface);
  border-radius: var(--radius);
  padding: 1.75rem;
  width: 100%;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.calculator__header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.calculator__header h2 {
  margin: 0 0 0.35rem;
  font-size: 1.35rem;
  color: var(--color-forest);
}

.calculator__header p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.calculator__step-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-orange);
  margin-bottom: 0.35rem;
}

.calculator__question {
  margin: 0 0 1rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-text);
}

.calculator__options {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

@media (min-width: 520px) {
  .calculator__options {
    flex-direction: row;
    flex-wrap: wrap;
  }
}

.calculator__option {
  flex: 1;
  min-width: 140px;
  padding: 0.85rem 1rem;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 500;
  border: 2px solid rgba(45, 58, 50, 0.2);
  border-radius: 8px;
  background: var(--color-bg);
  cursor: pointer;
  text-align: center;
  transition: border-color 0.15s, background 0.15s;
}

.calculator__option:hover {
  border-color: var(--color-orange);
  background: var(--color-accent-soft);
}

.calculator__option.is-selected {
  border-color: var(--color-orange);
  background: var(--color-accent-soft);
  color: var(--color-forest);
  font-weight: 600;
}

.calculator__option--info {
  border-style: dashed;
  background: transparent;
  color: var(--color-forest);
  font-style: italic;
  text-decoration: none;
}

.calculator__option--info:hover {
  border-color: var(--color-orange);
  background: var(--color-accent-soft);
  font-style: normal;
}

.calculator__option--card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  min-width: 180px;
  padding: 1.25rem 1rem 1rem;
  text-align: center;
}

.calculator__option-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin-bottom: 0.25rem;
  color: var(--color-orange);
}

.calculator__option-icon svg {
  width: 100%;
  height: 100%;
}

.calculator__option-label {
  font-weight: 600;
  font-size: 1rem;
  color: var(--color-forest);
}

.calculator__option-sublabel {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  font-weight: 400;
  line-height: 1.35;
}

.calculator__option--card.is-selected .calculator__option-sublabel {
  color: var(--color-text);
}

.calculator__nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1.25rem;
  gap: 1rem;
}

.calculator__result {
  text-align: center;
  padding: 1.5rem 0 0.5rem;
}

.calculator__result-price {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  color: var(--color-forest);
  margin: 0 0 0.5rem;
}

.calculator__result-note {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin: 0;
}

.calculator__notes {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  font-size: 0.875rem;
  color: var(--color-text);
}

.calculator__notes-list {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.calculator__notes-list li {
  line-height: 1.5;
}

.calculator__guarantee {
  margin: 0;
  padding: 0.9rem 1rem;
  background: var(--color-accent-soft);
  border-left: 3px solid var(--color-orange);
  border-radius: 6px;
  line-height: 1.5;
}

/* ----- Active nav state ----- */
.nav__link[aria-current="page"] {
  color: var(--color-text);
  background: rgba(0, 0, 0, 0.05);
  font-weight: 600;
}

.nav__cta .btn[aria-current="page"] {
  box-shadow: 0 0 0 3px var(--color-accent-soft);
}

/* ----- Inner page hero ----- */
.page-hero {
  background: #5a7560;
  color: #fff;
  padding: 2.5rem 0 2.25rem;
}

.page-hero__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}

@media (min-width: 768px) {
  .page-hero {
    padding: 3rem 0 2.5rem;
  }
  .page-hero__inner {
    padding: 0 2rem;
  }
}

.page-hero h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.65rem, 4vw, 2.25rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  line-height: 1.15;
}

.page-hero p {
  margin: 0;
  font-size: 1.02rem;
  opacity: 0.92;
  max-width: 44rem;
  line-height: 1.55;
}

/* ----- Service detail blocks ----- */
.service-detail {
  scroll-margin-top: calc(var(--nav-height) + 1rem);
}

.service-detail__header {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.service-detail__header .section__title {
  margin-bottom: 0.25rem;
}

.service-detail__header .section__intro {
  margin-bottom: 0;
}

.service-detail__icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--color-accent-soft);
  color: var(--color-orange);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.service-detail__icon svg {
  width: 28px;
  height: 28px;
}

.service-detail__grid {
  display: grid;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

@media (min-width: 800px) {
  .service-detail__grid {
    grid-template-columns: 1fr 1fr;
  }
}

.service-detail__list {
  margin: 0;
  padding-left: 1.15rem;
  color: var(--color-text-muted);
}

.service-detail__list li {
  margin-bottom: 0.4rem;
  line-height: 1.5;
}

.service-detail__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 0;
}

/* ----- About page ----- */
.prose p {
  margin: 0 0 1rem;
  line-height: 1.65;
}

.prose p:last-child {
  margin-bottom: 0;
}

.about-callout {
  border-left: 4px solid var(--color-orange);
}

.about-callout p {
  font-size: 0.98rem;
  line-height: 1.6;
}

.value-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 800px) {
  .value-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* ----- FAQ list ----- */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.faq-item {
  background: var(--color-surface);
  border-radius: var(--radius);
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: var(--shadow-sm);
  padding: 0.95rem 1.15rem;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.faq-item[open] {
  border-color: rgba(232, 93, 4, 0.35);
  box-shadow: var(--shadow-md);
}

.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--color-forest);
  list-style: none;
  position: relative;
  padding-right: 1.5rem;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  color: var(--color-orange);
  font-weight: 400;
  line-height: 1;
}

.faq-item[open] summary::after {
  content: "–";
}

.faq-item p {
  margin: 0.7rem 0 0;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* ----- Phone callout (Quote page) ----- */
.phone-callout {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: var(--color-accent-soft);
  border-left: 4px solid var(--color-orange);
  border-radius: var(--radius);
  margin: 0 0 1.5rem;
  flex-wrap: wrap;
}

.phone-callout__icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-orange);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.phone-callout__icon svg {
  width: 20px;
  height: 20px;
}

.phone-callout__text {
  flex: 1 1 auto;
  min-width: 200px;
  margin: 0;
  line-height: 1.5;
  color: var(--color-text);
}

.phone-callout__text strong {
  color: var(--color-forest);
}

.phone-callout__number {
  display: inline-block;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-forest);
  text-decoration: none;
  margin-left: 0.15rem;
}

.phone-callout__number:hover {
  color: var(--color-orange);
  text-decoration: underline;
}

/* ----- Quote request form ----- */
.quote-form-wrap {
  background: var(--color-surface);
  border-radius: var(--radius);
  padding: 1.75rem;
  width: 100%;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.quote-form__progress {
  list-style: none;
  margin: 0 0 1.75rem;
  padding: 0 0 1rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
}

.quote-form__progress-step {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.quote-form__progress-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 2px solid rgba(45, 58, 50, 0.2);
  font-weight: 700;
  font-size: 0.8rem;
  background: var(--color-bg);
}

.quote-form__progress-step.is-active {
  color: var(--color-text);
  font-weight: 600;
}

.quote-form__progress-step.is-active .quote-form__progress-num {
  border-color: var(--color-orange);
  background: var(--color-accent-soft);
  color: var(--color-orange);
}

.quote-form__progress-step.is-complete .quote-form__progress-num {
  border-color: var(--color-orange);
  background: var(--color-orange);
  color: #fff;
}

.quote-form__step-pane {
  border: none;
  margin: 0;
  padding: 0;
}

.quote-form__step-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-forest);
  margin: 0 0 0.35rem;
  padding: 0;
}

.quote-form__step-help {
  margin: 0 0 1.25rem;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 640px) {
  .form-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.form-field--full {
  grid-column: 1 / -1;
}

.form-field label,
.form-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-forest);
}

.form-field__optional {
  font-weight: 400;
  color: var(--color-text-muted);
  font-size: 0.85rem;
}

.form-field input[type="text"],
.form-field input[type="email"],
.form-field input[type="tel"],
.form-field input[type="file"],
.form-field select,
.form-field textarea {
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--color-text);
  background: var(--color-bg);
  border: 2px solid rgba(45, 58, 50, 0.18);
  border-radius: 8px;
  padding: 0.65rem 0.85rem;
  width: 100%;
  transition: border-color 0.15s, background 0.15s;
}

.form-field input[type="file"] {
  padding: 0.55rem 0.7rem;
  background: var(--color-surface);
}

.form-field textarea {
  resize: vertical;
  min-height: 6rem;
  line-height: 1.5;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--color-orange);
  background: var(--color-surface);
}

.form-field input.has-error,
.form-field select.has-error,
.form-field textarea.has-error {
  border-color: #b6361a;
  background: rgba(182, 54, 26, 0.04);
}

.form-help {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

.form-error {
  font-size: 0.8rem;
  color: #b6361a;
  font-weight: 500;
  display: none;
}

.form-error.is-visible {
  display: block;
}

.form-checkbox-group,
.form-radio-group {
  display: grid;
  gap: 0.5rem;
  margin-top: 0.35rem;
}

@media (min-width: 640px) {
  .form-checkbox-group,
  .form-radio-group {
    grid-template-columns: 1fr 1fr;
  }
}

.form-check {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 0.85rem;
  border: 2px solid rgba(45, 58, 50, 0.15);
  border-radius: 8px;
  background: var(--color-bg);
  cursor: pointer;
  font-size: 0.92rem;
  transition: border-color 0.15s, background 0.15s;
}

.form-check:hover {
  border-color: var(--color-orange);
  background: var(--color-accent-soft);
}

.form-check input {
  accent-color: var(--color-orange);
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  cursor: pointer;
}

.form-check input:checked + span {
  font-weight: 600;
  color: var(--color-forest);
}

.form-photo-list {
  margin: 0.5rem 0 0;
  padding-left: 1.15rem;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.form-photo-list__item {
  margin-bottom: 0.2rem;
}

/* ----- Form review ----- */
.quote-form__review {
  display: grid;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

@media (min-width: 720px) {
  .quote-form__review {
    grid-template-columns: 1fr 1fr;
  }
}

.quote-form__review-section {
  background: var(--color-bg);
  border-radius: 8px;
  padding: 1rem 1.15rem;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.quote-form__review-section h4 {
  margin: 0 0 0.65rem;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-orange);
}

.quote-form__review-section dl {
  margin: 0;
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 0.4rem 0.85rem;
  font-size: 0.9rem;
}

.quote-form__review-section dt {
  font-weight: 600;
  color: var(--color-forest);
}

.quote-form__review-section dd {
  margin: 0;
  color: var(--color-text);
  line-height: 1.5;
  word-break: break-word;
}

.quote-form__consent {
  margin: 0;
  padding: 0.85rem 1rem;
  background: var(--color-accent-soft);
  border-left: 3px solid var(--color-orange);
  border-radius: 6px;
  font-size: 0.9rem;
  line-height: 1.5;
}

.quote-form__submit-error {
  margin: 1.25rem 0 0;
  padding: 0.85rem 1rem;
  background: rgba(182, 54, 26, 0.08);
  border-left: 3px solid #b6361a;
  border-radius: 6px;
  color: #7a2410;
  font-size: 0.9rem;
  line-height: 1.5;
}

.quote-form__submit-error:empty {
  display: none;
}

.quote-form__nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1.5rem;
  gap: 1rem;
}

.quote-form__nav .btn[hidden] {
  display: none;
}

/* When only one nav button is visible, push it to the right. */
.quote-form__nav [data-form-back][hidden] + [data-form-next],
.quote-form__nav [data-form-back][hidden] + [data-form-submit],
.quote-form__nav [data-form-back][hidden] ~ [data-form-submit] {
  margin-left: auto;
}

/* ----- Form success state ----- */
.quote-form__success {
  text-align: center;
  padding: 1.5rem 0.5rem;
}

.quote-form__success h3 {
  margin: 0 0 0.5rem;
  font-size: 1.5rem;
  color: var(--color-forest);
}

.quote-form__success p {
  margin: 0.35rem auto;
  max-width: 36rem;
  color: var(--color-text-muted);
  line-height: 1.55;
}

.quote-form__success-sub {
  font-size: 0.88rem;
  margin-top: 1rem !important;
}

/* CTA strip variant button used on quote page */
.cta-strip__alt.btn--outline {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
}

.cta-strip__alt.btn--outline:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.7);
  color: #fff;
}

/* ----- Footer ----- */
.site-footer {
  padding: 2rem 0;
  text-align: center;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.site-footer p {
  margin: 0.25rem 0;
}
