:root {
  --background: #f7f1e8;
  --foreground: #13212a;
  --muted: #59666f;
  --panel: rgba(255, 253, 248, 0.82);
  --line: rgba(19, 33, 42, 0.12);
  --brand: #c86d42;
  --brand-deep: #8f4525;
  --accent: #205f63;
  --shadow: 0 28px 80px rgba(33, 24, 18, 0.14);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --shell: min(1160px, calc(100vw - 32px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(200, 109, 66, 0.18), transparent 25%),
    radial-gradient(circle at top right, rgba(32, 95, 99, 0.14), transparent 28%),
    linear-gradient(180deg, #fcf8f1 0%, var(--background) 100%);
  color: var(--foreground);
  font-family: "Sora", sans-serif;
}

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

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(19, 33, 42, 0.08);
  backdrop-filter: blur(18px);
  background: rgba(247, 241, 232, 0.84);
}

.utility-bar {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 10px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.utility-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--brand), var(--brand-deep));
  color: #fff8f1;
  font-weight: 700;
  letter-spacing: 0.08em;
  box-shadow: 0 16px 32px rgba(143, 69, 37, 0.25);
}

.brand-copy {
  display: flex;
  flex-direction: column;
  color: var(--muted);
  line-height: 1.2;
  font-size: 0.92rem;
}

.brand-copy strong,
h1,
h2,
h3,
.metric {
  font-family: "Fraunces", serif;
}

.brand-copy strong {
  color: var(--foreground);
  font-size: 1.08rem;
}

.topnav,
.topnav ul {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  list-style: none;
}

.topnav a {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 500;
}

.nav-cta-desktop {
  flex-shrink: 0;
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.nav-cta,
.button-primary {
  background: linear-gradient(135deg, var(--brand), var(--brand-deep));
  color: #fff8f3;
  box-shadow: 0 16px 34px rgba(143, 69, 37, 0.24);
}

.button-secondary {
  border-color: rgba(19, 33, 42, 0.14);
  background: rgba(255, 255, 255, 0.28);
}

.button:hover,
.nav-cta:hover {
  transform: translateY(-1px);
}

.site-page {
  min-height: 100vh;
}

.hero,
.section {
  padding: 88px 0;
}

.hero-grid,
.split,
.cta-card {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 28px;
  align-items: start;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--brand-deep);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.8rem;
  font-weight: 700;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.02;
}

h1 {
  max-width: 11ch;
  font-size: clamp(3rem, 6vw, 5.4rem);
}

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

h3 {
  font-size: 1.5rem;
}

.lede,
.body-copy,
.hero-list,
.service-card p,
.trust-item p,
.faq-item p,
.stat-card p,
.contact-box p,
.aside-panel p,
.site-footer p {
  color: var(--muted);
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 28px 0 22px;
}

.hero-list,
.process-list {
  margin: 0;
  padding-left: 20px;
}

.hero-panel,
.service-card,
.aside-panel,
.cta-card,
.trust-item,
.faq-item,
.stat-card {
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.hero-panel,
.aside-panel,
.cta-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
}

.hero-panel::before,
.aside-panel::before,
.cta-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.2), transparent 35%);
  pointer-events: none;
}

.hero-panel {
  display: grid;
  gap: 16px;
  padding: 18px;
}

.stat-card,
.service-card,
.trust-item,
.faq-item,
.aside-panel,
.cta-card,
.contact-box {
  border-radius: var(--radius-lg);
}

.stat-card,
.service-card,
.aside-panel,
.contact-box {
  padding: 24px;
}

.feature-card {
  background: linear-gradient(160deg, rgba(32, 95, 99, 0.96), rgba(19, 33, 42, 0.98));
  color: #f5fbfb;
}

.feature-card p,
.feature-card .label {
  color: rgba(245, 251, 251, 0.82);
}

.label {
  display: block;
  margin-bottom: 8px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.stat-card strong {
  display: block;
  margin-bottom: 10px;
  font-size: 1.35rem;
}

.trust-strip {
  padding: 0 0 24px;
}

.trust-grid,
.service-grid,
.metrics-grid,
.included-grid,
.fit-grid,
.credentials-grid {
  display: grid;
  gap: 18px;
}

.trust-grid {
  grid-template-columns: repeat(4, 1fr);
}

.trust-item {
  padding: 22px;
}

.trust-dot {
  display: inline-block;
  width: 14px;
  height: 14px;
  margin-bottom: 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand), var(--accent));
}

.section-soft {
  background: rgba(255, 255, 255, 0.28);
}

.section-dark {
  background: #16222b;
  color: #f4f7f7;
}

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

.metrics-grid article {
  padding: 8px 0;
}

.metrics-grid p {
  color: rgba(244, 247, 247, 0.72);
  line-height: 1.75;
}

.metric {
  display: block;
  margin-bottom: 12px;
  font-size: clamp(2.2rem, 4vw, 3rem);
}

.section-head {
  margin-bottom: 28px;
}

.section-head-dark h2,
.section-dark .eyebrow,
.section-dark h3 {
  color: #f4f7f7;
}

.section-head-wide {
  max-width: 920px;
}

.section-copy {
  max-width: 780px;
  color: var(--muted);
  line-height: 1.75;
}

.page-hero {
  padding-bottom: 28px;
}

.page-head h1 {
  max-width: 14ch;
}

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

.service-grid-tight {
  grid-template-columns: repeat(3, 1fr);
}

.section-credentials {
  padding-top: 40px;
}

.credentials-head {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 24px;
  align-items: end;
}

.credentials-grid {
  grid-template-columns: repeat(3, 1fr);
  align-items: stretch;
}

.credential-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 24px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(19, 33, 42, 0.08);
  background: rgba(255, 255, 255, 0.76);
  box-shadow: var(--shadow);
}

.credential-badge-wrap {
  display: grid;
  place-items: center;
  min-height: 220px;
  padding: 18px;
  border-radius: 20px;
  background:
    radial-gradient(circle at top, rgba(200, 109, 66, 0.12), transparent 38%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 241, 232, 0.72));
}

.credential-badge {
  max-width: 100%;
  max-height: 180px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.credential-card p {
  color: var(--muted);
  line-height: 1.7;
  margin: 0;
}

.standards-list,
.process-grid,
.included-list {
  display: grid;
  gap: 18px;
}

.standard-card,
.process-card {
  padding: 24px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(19, 33, 42, 0.1);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow);
}

.process-card {
  position: relative;
  overflow: hidden;
}

.process-card-light {
  background: rgba(255, 255, 255, 0.88);
}

.process-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: rgba(200, 109, 66, 0.16);
  color: var(--brand-deep);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.process-step-light {
  background: rgba(32, 95, 99, 0.14);
  color: var(--accent);
}

.service-card {
  padding: 28px;
}

.included-grid,
.fit-grid {
  grid-template-columns: repeat(3, 1fr);
}

.included-card,
.fit-card {
  padding: 26px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(19, 33, 42, 0.1);
  background: rgba(255, 255, 255, 0.58);
  box-shadow: var(--shadow);
}

.included-card p,
.fit-card p,
.utility-copy {
  color: var(--muted);
  line-height: 1.75;
}

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

.included-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-bottom: 16px;
  border-radius: 999px;
  background: rgba(32, 95, 99, 0.12);
  color: var(--accent);
  font-size: 1.15rem;
  font-weight: 700;
}

.process-list li + li {
  margin-top: 12px;
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-item {
  padding: 0;
  overflow: hidden;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 24px;
  font-weight: 600;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item p {
  margin: 0;
  padding: 0 24px 22px;
}

.cta-section {
  padding-top: 24px;
}

.cta-card {
  padding: 30px;
  background: linear-gradient(180deg, rgba(255, 253, 248, 0.95), rgba(245, 235, 222, 0.92));
}

.contact-box {
  background: rgba(255, 255, 255, 0.56);
  border: 1px solid rgba(19, 33, 42, 0.08);
}

.inspection-form {
  display: grid;
  gap: 16px;
  margin-bottom: 22px;
}

.inspection-form label {
  display: grid;
  gap: 8px;
}

.inspection-form label span {
  color: var(--foreground);
  font-size: 0.92rem;
  font-weight: 600;
}

.inspection-form input,
.inspection-form select,
.inspection-form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(19, 33, 42, 0.14);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--foreground);
  font: inherit;
}

.inspection-form textarea {
  resize: vertical;
  min-height: 132px;
}

.inspection-form input:focus,
.inspection-form select:focus,
.inspection-form textarea:focus {
  outline: 2px solid rgba(32, 95, 99, 0.18);
  border-color: rgba(32, 95, 99, 0.42);
}

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

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.form-alert {
  margin-bottom: 18px;
  padding: 14px 16px;
  border-radius: 18px;
  font-weight: 600;
}

.form-alert-success {
  background: rgba(32, 95, 99, 0.12);
  color: #17464a;
  border: 1px solid rgba(32, 95, 99, 0.18);
}

.form-alert-error {
  background: rgba(200, 109, 66, 0.12);
  color: #8f4525;
  border: 1px solid rgba(200, 109, 66, 0.18);
}

.contact-points p {
  margin: 12px 0;
}

.contact-box-strong {
  display: grid;
  gap: 18px;
  align-content: start;
}

.contact-line {
  display: grid;
  gap: 6px;
}

.contact-label {
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-actions,
.section-actions,
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.contact-note {
  margin: 0;
}

.site-footer {
  padding: 36px 0;
  border-top: 1px solid rgba(19, 33, 42, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.footer-card {
  padding: 24px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(19, 33, 42, 0.08);
  background: rgba(255, 255, 255, 0.48);
}

.footer-links {
  flex-direction: column;
  align-items: flex-start;
}

@media (max-width: 980px) {
  .topbar-inner,
  .utility-bar,
  .hero-grid,
  .split,
  .cta-card,
  .trust-grid,
  .service-grid,
  .service-grid-tight,
  .metrics-grid,
  .included-grid,
  .included-list,
  .fit-grid,
  .credentials-grid,
  .footer-grid,
  .process-grid,
  .standards-list {
    grid-template-columns: 1fr;
  }

  .topbar-inner {
    display: grid;
  }

  .topnav,
  .topnav ul {
    gap: 14px;
  }

  .credentials-head {
    grid-template-columns: 1fr;
  }

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

  h1,
  h2 {
    max-width: none;
  }
}

@media (max-width: 640px) {
  .hero,
  .section {
    padding: 72px 0;
  }

  .hero-actions,
  .topnav,
  .topnav ul {
    flex-direction: column;
    align-items: stretch;
  }

  .nav-cta,
  .button {
    width: 100%;
  }

  .nav-cta-desktop {
    display: none;
  }

  .contact-actions,
  .section-actions,
  .footer-links {
    align-items: stretch;
    flex-direction: column;
  }
}
