:root {
  --bg: #f6f0e8;
  --paper: #fffaf3;
  --ink: #211914;
  --muted: #6e6258;
  --brand: #8d4b23;
  --brand-dark: #5a2d14;
  --accent: #e6b26d;
  --line: rgba(33, 25, 20, 0.14);
  --shadow: 0 24px 70px rgba(52, 31, 17, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(230, 178, 109, 0.28), transparent 30rem),
    linear-gradient(180deg, #fff8ef 0%, var(--bg) 48%, #eee2d5 100%);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

a {
  color: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem clamp(1rem, 4vw, 4rem);
  border-bottom: 1px solid rgba(255, 255, 255, 0.55);
  background: rgba(255, 250, 243, 0.86);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 2.75rem;
  height: 2.75rem;
  place-items: center;
  border-radius: 1rem;
  background: var(--ink);
  color: #fff;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
}

.top-nav {
  display: flex;
  gap: 1rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.top-nav a {
  text-decoration: none;
}

.header-phone {
  min-height: 2.6rem;
  padding: 0 1rem;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-weight: 950;
  white-space: nowrap;
  text-decoration: none;
}

.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.section {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(3rem, 6vw, 6rem) 0;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(330px, 0.88fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  min-height: calc(100vh - 6rem);
}

.hero-side {
  display: grid;
  gap: 1rem;
}

.hero-media {
  overflow: hidden;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 2rem;
  background: rgba(255, 250, 243, 0.86);
  box-shadow: var(--shadow);
}

.hero-media img {
  width: 100%;
  height: clamp(280px, 38vw, 430px);
  object-fit: cover;
  object-position: 52% 56%;
}

.hero-media figcaption {
  padding: 0.75rem 1rem 0.9rem;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 800;
}

.eyebrow {
  margin: 0 0 0.8rem;
  color: var(--brand);
  font-size: 0.82rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 1.1rem;
  font-size: clamp(2.6rem, 7vw, 5.8rem);
  line-height: 0.92;
  letter-spacing: -0.075em;
}

h2 {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 4.5vw, 3.55rem);
  line-height: 1;
  letter-spacing: -0.06em;
}

h3 {
  margin-bottom: 0.45rem;
  font-size: 1.18rem;
  line-height: 1.15;
}

.lead {
  max-width: 670px;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
}

.hero-actions,
.hero-card h2 + p,
.windows-faq-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.btn,
.type-card a,
.mobile-sticky a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: 0.85rem 1.15rem;
  border-radius: 999px;
  font-weight: 850;
  text-decoration: none;
}

.btn-primary {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 16px 34px rgba(33, 25, 20, 0.2);
}

.btn-secondary {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
  color: var(--brand-dark);
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.6rem;
}

.trust-row span {
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.66);
  color: var(--muted);
  font-weight: 700;
}

.hero-card,
.type-card,
.risk-grid article,
.proof-strip,
.cta-band,
.final-request,
.faq details {
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 2rem;
  background: rgba(255, 250, 243, 0.86);
  box-shadow: var(--shadow);
}

.hero-card {
  padding: clamp(1.25rem, 3vw, 2rem);
}

.form-note {
  display: inline-flex;
  margin-bottom: 1rem;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: rgba(141, 75, 35, 0.12);
  color: var(--brand-dark);
  font-size: 0.78rem;
  font-weight: 850;
}

.preview-form {
  display: grid;
  gap: 0.9rem;
  margin-top: 1.2rem;
}

.preview-form label {
  display: grid;
  gap: 0.38rem;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
}

.preview-form input,
.preview-form select,
.preview-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: #fff;
  color: #87786b;
  font: inherit;
  padding: 0.9rem 1rem;
}

.preview-form textarea {
  min-height: 6.5rem;
  resize: vertical;
}

.preview-form button {
  min-height: 3.2rem;
  border: 0;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-weight: 850;
  cursor: pointer;
}

.preview-form button:disabled {
  opacity: 0.65;
  cursor: progress;
}

.form-status {
  min-height: 1.2rem;
  margin: -0.1rem 0 0;
  color: var(--brand-dark);
  font-weight: 850;
}

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

.phone-copy-notice {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 80;
  transform: translateY(1rem);
  opacity: 0;
  padding: 0.85rem 1rem;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-weight: 950;
  box-shadow: 0 18px 44px rgba(33, 25, 20, 0.24);
  transition: 0.18s ease;
  pointer-events: none;
}

.phone-copy-notice.visible {
  transform: translateY(0);
  opacity: 1;
}

.proof-strip {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem 1.4rem;
  color: var(--muted);
}

.proof-strip strong {
  color: var(--ink);
}

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

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

.type-card {
  overflow: hidden;
}

.type-card-large {
  grid-row: span 2;
}

.type-card picture {
  display: block;
}

.type-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.type-card-large img {
  height: 520px;
}

.type-card-text {
  display: grid;
  align-content: center;
  min-height: 520px;
  background:
    radial-gradient(circle at top right, rgba(230, 178, 109, 0.34), transparent 16rem),
    linear-gradient(135deg, rgba(255, 255, 255, 0.88), rgba(255, 250, 243, 0.72));
}

.type-card-text div {
  padding: clamp(1.4rem, 4vw, 2.2rem);
}

.honest-list {
  display: grid;
  gap: 0.45rem;
  margin: 0.9rem 0 1rem;
  padding-left: 1.1rem;
  color: var(--muted);
}

.type-card div {
  padding: 1.25rem;
}

.type-card p {
  color: var(--muted);
}

.type-card a {
  min-height: auto;
  padding: 0.65rem 0;
  color: var(--brand-dark);
}

.split-grid,
.risk-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.catalog-preview {
  overflow: hidden;
  padding: clamp(1.25rem, 4vw, 2rem);
  border: 1px solid var(--line);
  border-radius: 2rem;
  background:
    radial-gradient(circle at top left, rgba(175, 93, 42, 0.12), transparent 34rem),
    rgba(255, 255, 255, 0.7);
}

.catalog-preview .section-heading {
  margin-inline: auto;
  text-align: center;
}

.catalog-preview .section-heading p:last-child {
  max-width: 760px;
  margin-inline: auto;
  color: var(--muted);
}

.catalog-tab-input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.catalog-tabs {
  display: flex;
  justify-content: center;
  gap: 0.7rem;
  margin: 1.5rem 0;
}

.catalog-tabs label {
  display: inline-flex;
  min-height: 2.8rem;
  align-items: center;
  justify-content: center;
  padding: 0 1.1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--muted);
  font-weight: 900;
  cursor: pointer;
  transition: 0.2s ease;
}

#catalog-tab-interior:checked ~ .catalog-tabs label[for="catalog-tab-interior"],
#catalog-tab-exterior:checked ~ .catalog-tabs label[for="catalog-tab-exterior"] {
  border-color: transparent;
  background: var(--brand);
  color: #fff;
  box-shadow: 0 12px 28px rgba(125, 67, 30, 0.22);
}

.catalog-grid {
  display: none;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

#catalog-tab-interior:checked ~ .catalog-grid-interior,
#catalog-tab-exterior:checked ~ .catalog-grid-exterior {
  display: grid;
}

.door-product-card {
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  border: 1px solid rgba(68, 48, 33, 0.1);
  border-radius: 1.35rem;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 14px 34px rgba(43, 27, 18, 0.08);
}

.door-product-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  padding: 0.9rem;
  background: linear-gradient(180deg, #fff, #f4eee7);
}

.door-product-card div {
  display: grid;
  gap: 0.45rem;
  padding: 1rem;
}

.door-product-card span {
  width: fit-content;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  background: rgba(175, 93, 42, 0.1);
  color: var(--brand-dark);
  font-size: 0.72rem;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.door-product-card h3 {
  margin: 0;
  font-size: 1.05rem;
}

.door-product-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.door-product-card strong {
  margin-top: 0.25rem;
  color: var(--brand-dark);
  font-size: 0.95rem;
}

.catalog-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.4rem;
  color: var(--muted);
  font-weight: 800;
}

.catalog-note a {
  color: var(--brand-dark);
  text-decoration: underline;
  text-underline-offset: 0.25em;
}

.split-grid div,
.risk-grid article {
  padding: 1.2rem;
  border-radius: 1.5rem;
  background: rgba(255, 255, 255, 0.64);
}

.split-grid strong,
.split-grid span {
  display: block;
}

.split-grid span,
.risk-grid p,
.steps p,
.faq p,
.final-copy p,
.hero-card p {
  color: var(--muted);
}

.process {
  width: min(960px, calc(100% - 2rem));
}

.steps {
  display: grid;
  gap: 1rem;
  padding: 0;
  list-style: none;
}

.steps li {
  display: grid;
  grid-template-columns: 3.5rem 1fr;
  gap: 1rem;
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: 1.5rem;
  background: rgba(255, 255, 255, 0.72);
}

.steps span {
  display: grid;
  width: 3.2rem;
  height: 3.2rem;
  place-items: center;
  border-radius: 1rem;
  background: var(--brand);
  color: #fff;
  font-weight: 950;
}

.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: clamp(1.3rem, 3vw, 2rem);
  background: linear-gradient(135deg, #2b1b12, #7d431e);
  color: #fff;
}

.cta-band .eyebrow,
.cta-band p {
  color: rgba(255, 255, 255, 0.72);
}

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

.faq {
  width: min(900px, calc(100% - 2rem));
}

.faq details {
  padding: 1.2rem 1.3rem;
  margin-bottom: 0.8rem;
}

.faq summary {
  cursor: pointer;
  font-weight: 900;
}

.faq p {
  margin: 0.8rem 0 0;
}

.final-request {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  gap: 2rem;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  background: #25160f;
  color: #fff;
}

.final-request .eyebrow,
.final-copy p {
  color: rgba(255, 255, 255, 0.72);
}

.preview-form-dark input,
.preview-form-dark select,
.preview-form-dark textarea {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.82);
}

.preview-form-dark button {
  background: #fff5e8;
  color: var(--brand-dark);
}

.preview-form-dark .form-status {
  color: #fff5e8;
}

.preview-form-dark .form-status.error {
  color: #ffd2cc;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 2rem clamp(1rem, 4vw, 4rem) 6rem;
  color: var(--muted);
}

.mobile-sticky {
  display: none;
}

@media (max-width: 860px) {
  .top-nav {
    display: none;
  }

  .header-phone {
    display: none;
  }

  .hero,
  .final-request,
  .type-grid,
  .split-grid,
  .risk-grid {
    grid-template-columns: 1fr;
  }

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

  .catalog-preview {
    border-radius: 1.5rem;
    padding: 1rem;
  }

  .door-product-card {
    border-radius: 1rem;
  }

  .door-product-card div {
    padding: 0.8rem;
  }

  .door-product-card p {
    font-size: 0.84rem;
  }

  .hero {
    min-height: auto;
  }

  .type-card-large {
    grid-row: auto;
  }

  .type-card img,
  .type-card-large img {
    height: 260px;
  }

  .type-card-text {
    min-height: auto;
  }

  .proof-strip,
  .cta-band,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .mobile-sticky {
    position: fixed;
    right: 0.75rem;
    bottom: 0.75rem;
    left: 0.75rem;
    z-index: 20;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.65rem;
    padding: 0.55rem;
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 1.3rem;
    background: rgba(255, 250, 243, 0.94);
    box-shadow: 0 18px 44px rgba(33, 25, 20, 0.22);
    backdrop-filter: blur(16px);
  }

  .mobile-sticky a {
    min-height: 2.8rem;
    background: var(--ink);
    color: #fff;
    font-size: 0.9rem;
  }

  .mobile-sticky a + a {
    background: #fff;
    color: var(--brand-dark);
  }
}

@media (max-width: 460px) {
  .site-header {
    padding-inline: 0.8rem;
  }

  .section {
    width: min(100% - 1rem, 1180px);
  }

  h1 {
    font-size: clamp(2.25rem, 12vw, 3.25rem);
  }

  .hero-card,
  .hero-media,
  .type-card,
  .catalog-preview,
  .proof-strip,
  .cta-band,
  .final-request,
  .faq details {
    border-radius: 1.4rem;
  }

  .catalog-tabs {
    position: sticky;
    top: 0.75rem;
    z-index: 5;
    padding: 0.35rem;
    border-radius: 999px;
    background: rgba(255, 250, 243, 0.88);
    backdrop-filter: blur(12px);
  }

  .catalog-tabs label {
    flex: 1;
    min-height: 2.55rem;
    padding-inline: 0.7rem;
    font-size: 0.9rem;
  }

  .catalog-note {
    align-items: flex-start;
    flex-direction: column;
  }
}
