:root {
  --bg: #f6f3eb;
  --surface: #fffdf9;
  --surface-strong: #f0e6d5;
  --text: #1f2430;
  --muted: #5e6675;
  --line: rgba(31, 36, 48, 0.12);
  --primary: #d7632b;
  --primary-dark: #ac4618;
  --secondary: #fff2e8;
  --accent: #dde9e4;
  --success: #21603b;
  --shadow: 0 20px 40px rgba(31, 36, 48, 0.08);
  --radius: 24px;
  --radius-sm: 16px;
  --container: 1160px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(215, 99, 43, 0.12), transparent 30%),
    radial-gradient(circle at top right, rgba(33, 96, 59, 0.1), transparent 24%),
    var(--bg);
  line-height: 1.5;
}

body.modal-open {
  overflow: hidden;
}

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

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

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

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

.section {
  padding: 72px 0;
}

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

.section-accent {
  background: linear-gradient(180deg, rgba(221, 233, 228, 0.8), rgba(255, 255, 255, 0.7));
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(12px);
  background: rgba(246, 243, 235, 0.9);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 92px;
  padding-top: 8px;
  padding-bottom: 8px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 1 420px;
  min-width: 0;
}

.brand-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.brand-name,
.brand-tagline {
  overflow-wrap: anywhere;
}

.brand-tagline {
  line-height: 1.35;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  border-radius: 0;
  background: transparent;
  border: 0;
  overflow: hidden;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-mark-placeholder {
  width: 22px;
  height: 22px;
  border-radius: 7px;
  background:
    linear-gradient(135deg, rgba(215, 99, 43, 0.92), rgba(172, 70, 24, 0.88));
  box-shadow:
    12px 0 0 -6px rgba(33, 96, 59, 0.22),
    -8px 8px 0 -10px rgba(31, 36, 48, 0.16);
}

.brand-name,
.footer-brand {
  font-weight: 700;
  letter-spacing: 0.01em;
}

.brand-tagline,
.footer-note,
.section-note,
.form-note,
.hero-subtitle,
.thanks-text,
.thanks-next-step,
.legal-intro,
.contact-link {
  color: var(--muted);
}

.contact-links-prompt {
  flex-basis: 100%;
  margin: 0;
  color: var(--muted);
}

.thanks-contact-links {
  align-items: baseline;
  margin-top: 18px;
}

.thanks-contact-links .contact-links-prompt {
  flex-basis: auto;
  color: var(--text);
}

.thanks-contact-links .js-track-phone {
  color: var(--primary-dark);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.thanks-contact-links .js-track-messenger {
  color: var(--primary-dark);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.thanks-contact-links .js-track-messenger:hover,
.thanks-contact-links .js-track-messenger:focus-visible {
  color: var(--primary);
}

.header-nav {
  display: none;
  gap: 18px;
  color: var(--muted);
}

.header-actions,
.hero-actions,
.thanks-actions,
.contact-links,
.legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.header-actions {
  align-items: center;
  flex: 0 0 auto;
  flex-wrap: nowrap;
  justify-content: flex-end;
}

.header-contact-group {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

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

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

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--primary-dark);
}

.button-secondary {
  background: var(--secondary);
  color: var(--primary-dark);
  border-color: rgba(215, 99, 43, 0.2);
}

.button-ghost {
  background: transparent;
  border-color: var(--line);
}

.button-block {
  width: 100%;
}

.header-actions .contact-link-inline {
  display: inline-flex;
  align-items: center;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--text);
  white-space: nowrap;
  min-height: auto;
  font-weight: 600;
}

.header-actions .contact-link-inline:hover,
.header-actions .contact-link-inline:focus-visible {
  color: var(--primary-dark);
}

.header-messenger-links {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.header-messenger-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 0;
  background: transparent;
  color: #3f6798;
  border: 0;
  transition: transform 0.2s ease, color 0.2s ease;
}

.header-messenger-link:hover,
.header-messenger-link:focus-visible {
  transform: translateY(-1px);
  color: #274d7a;
}

.header-messenger-link-placeholder {
  opacity: 0.62;
}

.header-messenger-link-placeholder:hover,
.header-messenger-link-placeholder:focus-visible {
  transform: none;
  color: #3f6798;
}

.header-messenger-link svg {
  width: 34px;
  height: 34px;
}

.hero {
  padding-top: 40px;
  position: relative;
}

.hero-shell,
.split-grid,
.footer-grid {
  display: grid;
  gap: 24px;
}

.hero-has-image {
  color: #fff;
  background:
    linear-gradient(90deg, rgba(15, 20, 30, 0.6) 0%, rgba(15, 20, 30, 0.48) 38%, rgba(15, 20, 30, 0.18) 62%, rgba(15, 20, 30, 0.28) 100%),
    linear-gradient(180deg, rgba(15, 20, 30, 0.1), rgba(15, 20, 30, 0.24)),
    var(--hero-image) center bottom / cover no-repeat;
}

.hero-has-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 20, 30, 0.03), rgba(15, 20, 30, 0.1));
  pointer-events: none;
}

.hero-has-image .hero-shell {
  position: relative;
  z-index: 1;
  min-height: min(82vh, 860px);
  align-items: center;
}

.hero-copy h1,
.section-head h2,
.thanks-card h1,
.legal-container h1 {
  margin: 0 0 16px;
  line-height: 1.05;
}

.hero-copy h1 {
  font-size: clamp(2.15rem, 5.6vw, 4.1rem);
  max-width: none;
}

.hero-copy {
  display: grid;
  align-content: start;
  gap: 18px;
  max-width: 100%;
}

.hero-has-image .hero-copy {
  max-width: 780px;
  padding: 8px 0 16px;
}

.hero-has-image .hero-subtitle,
.hero-has-image .contact-link {
  color: rgba(255, 255, 255, 0.88);
}

.pricing-note {
  width: fit-content;
  margin: 0;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 242, 232, 0.92);
  border: 1px solid rgba(215, 99, 43, 0.18);
  color: var(--primary-dark);
  font-weight: 600;
}

.hero-showcase {
  display: grid;
}

.hero-copy-wide {
  max-width: 100%;
}

.hero-showcase-inline {
  max-width: 960px;
}

.section-head h2,
.legal-container h1 {
  font-size: clamp(1.55rem, 3.1vw, 2.35rem);
}

.hero-benefits,
.bullet-list,
.legal-section ul,
.process-card ol {
  margin: 0;
  padding-left: 20px;
}

.hero-benefits {
  display: grid;
  gap: 10px;
  padding-left: 18px;
  max-width: 34rem;
}

.hero-benefits-wide {
  max-width: 100%;
}

.icon-card-grid {
  align-items: stretch;
}

.feature-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: center;
}

.feature-copy {
  display: grid;
  gap: 8px;
}

.feature-copy h3,
.feature-copy p {
  margin: 0;
}

.feature-card-audience {
  grid-template-columns: 1fr;
  gap: 10px;
  --feature-heading-gap: 16px;
}

.feature-card-audience .feature-heading {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--feature-heading-gap);
  align-items: center;
}

.feature-card-audience .feature-description {
  padding-left: calc(56px + var(--feature-heading-gap));
}

.feature-heading,
.feature-heading h3,
.feature-description {
  margin: 0;
}

.icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  border: 1px solid transparent;
  flex: 0 0 56px;
}

.icon-badge-warm {
  background: rgba(225, 236, 247, 0.88);
  border-color: rgba(77, 119, 168, 0.16);
}

.icon-badge-cool {
  background: rgba(225, 236, 247, 0.88);
  border-color: rgba(77, 119, 168, 0.16);
}

.icon-badge-neutral {
  background: rgba(255, 255, 255, 0.82);
  border-color: rgba(31, 36, 48, 0.1);
}

.ui-icon-svg {
  width: 28px;
  height: 28px;
  stroke: currentColor;
  stroke-width: 1.8;
  fill: none;
  color: var(--primary-dark);
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-badge-warm .ui-icon-svg,
.icon-badge-cool .ui-icon-svg {
  color: #3f6798;
}

.icon-badge-neutral .ui-icon-svg {
  color: var(--text);
}

.hero-side,
.lead-form,
.info-card,
.process-card,
.gallery-card,
.thanks-card,
.legal-container,
.site-footer {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-side {
  padding: 18px;
}

.hero-visual {
  min-height: 100%;
}

.hero-visual-media {
  overflow: hidden;
}

.hero-visual-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 520px;
}

.lead-form,
.thanks-card,
.legal-container {
  padding: 24px;
}

.hero-form {
  margin-bottom: 18px;
}

.hero-form-compact {
  padding: 18px;
  border-radius: 20px;
}

.hero-form-panel {
  box-shadow: none;
  background: rgba(255, 255, 255, 0.88);
}

.form-row {
  display: grid;
  gap: 12px;
}

.hero-has-image .hero-actions .button-secondary {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(8px);
}

.hero-has-image .hero-actions .button-secondary:hover,
.hero-has-image .hero-actions .button-secondary:focus-visible {
  background: rgba(255, 255, 255, 0.22);
}

.hero-has-image .hero-benefits {
  color: rgba(255, 255, 255, 0.92);
}

.hero-cta-card,
.sash-guide-layout {
  display: grid;
  gap: 24px;
}

.sash-guide-copy {
  margin-bottom: 0;
}

.sash-guide-figure {
  margin: 0;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 12px;
  height: 100%;
}

.sash-guide-media {
  width: 100%;
  min-height: 280px;
  display: grid;
  height: 100%;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(240, 230, 213, 0.7));
  box-shadow: var(--shadow);
}

.sash-guide-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #fff;
  padding: 16px;
}

.sash-guide-placeholder {
  display: grid;
  height: 100%;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 16px;
  align-items: center;
  padding: 24px;
}

.sash-guide-window {
  min-height: 210px;
  border-radius: 20px;
  border: 2px solid rgba(31, 36, 48, 0.18);
  background:
    linear-gradient(90deg, transparent 49%, rgba(31, 36, 48, 0.14) 49%, rgba(31, 36, 48, 0.14) 51%, transparent 51%),
    linear-gradient(180deg, transparent 49%, rgba(31, 36, 48, 0.14) 49%, rgba(31, 36, 48, 0.14) 51%, transparent 51%),
    rgba(221, 233, 228, 0.65);
}

.sash-guide-window-wide {
  min-height: 240px;
}

.sash-guide-window-open {
  position: relative;
}

.sash-guide-window-open::after {
  content: "";
  position: absolute;
  top: 22px;
  right: 18px;
  width: 42%;
  height: calc(100% - 44px);
  border-radius: 14px;
  border: 2px solid rgba(215, 99, 43, 0.55);
  background: rgba(255, 255, 255, 0.4);
  transform: perspective(260px) rotateY(-24deg);
  transform-origin: right center;
}

.compact-list {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.field {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(31, 36, 48, 0.14);
  border-radius: var(--radius-sm);
  background: #fff;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 2px solid rgba(215, 99, 43, 0.2);
  border-color: rgba(215, 99, 43, 0.45);
}

.field-error {
  border-color: rgba(172, 70, 24, 0.7) !important;
  outline: 2px solid rgba(215, 99, 43, 0.18);
  background: rgba(255, 242, 232, 0.9) !important;
}

.checkbox {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 18px 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.checkbox:has(input.field-error) {
  color: var(--primary-dark);
}

.checkbox a {
  color: var(--primary-dark);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 4px;
}

.checkbox a:hover,
.checkbox a:focus-visible {
  color: var(--primary);
}

.form-error-message {
  margin: 0 0 14px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255, 242, 232, 0.9);
  border: 1px solid rgba(215, 99, 43, 0.22);
  color: var(--primary-dark);
}

.hero-form-compact .field {
  margin-bottom: 12px;
}

.hero-form-compact .field span {
  font-size: 0.92rem;
}

.hero-form-compact .field input {
  min-height: 48px;
  padding: 12px 14px;
}

.hero-form-compact .form-note {
  margin: 6px 0 0;
  font-size: 0.93rem;
}

.hero-form-compact .checkbox {
  margin: 14px 0;
  font-size: 0.88rem;
}

.hero-form-compact .button {
  min-height: 48px;
}

.hero-cta-section {
  padding-top: 0;
  scroll-margin-top: 108px;
}

.hero-cta-card {
  display: grid;
  gap: 20px;
  padding: 24px;
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(246, 243, 235, 0.88));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.lead-modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
}

.lead-modal.is-open {
  display: block;
}

.lead-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 20, 30, 0.6);
  backdrop-filter: blur(8px);
}

.lead-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100vw - 24px));
  max-height: calc(100vh - 24px);
  margin: 12px auto;
  padding: 20px;
  border-radius: 32px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 243, 235, 0.96));
  border: 1px solid rgba(31, 36, 48, 0.08);
  box-shadow: 0 32px 80px rgba(15, 20, 30, 0.28);
  overflow: auto;
}

.lead-modal-close {
  position: sticky;
  top: 0;
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--text);
  cursor: pointer;
  font-size: 1.5rem;
  line-height: 1;
  z-index: 2;
}

.lead-modal-content {
  margin-top: -16px;
}

.lead-modal-panel {
  display: grid;
  gap: 28px;
}

.lead-modal-intro {
  display: grid;
  align-content: center;
  gap: 14px;
}

.lead-modal-intro h2 {
  margin: 0 0 12px;
  font-size: clamp(1.35rem, 2.2vw, 1.95rem);
  line-height: 1.1;
}

.lead-modal-intro p {
  margin: 0;
  color: var(--muted);
}

.lead-modal-row {
  display: grid;
  gap: 20px;
}

.lead-modal-row-primary {
  align-items: stretch;
}

.lead-modal-row-guide {
  align-items: stretch;
}

.lead-modal-form {
  margin-bottom: 0;
}

.lead-modal-guide {
  display: grid;
  align-content: center;
}

.sash-guide-figure-modal {
  min-height: 100%;
}

.lead-modal-row-guide .sash-guide-copy {
  max-width: 100%;
  margin-right: 0;
  margin-left: 0;
  text-align: left;
}

.lead-modal-row-guide .sash-guide-copy h3 {
  margin-top: 0;
}

.thanks-card-embedded {
  box-shadow: none;
  border-radius: 24px;
}

.hero-cta-copy {
  margin-bottom: 0;
}

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

.hero-visual,
.image-placeholder {
  min-height: 260px;
  border-radius: calc(var(--radius) - 8px);
}

.image-placeholder {
  display: grid;
  place-items: center;
  text-align: center;
  padding: 24px;
  color: var(--muted);
  background:
    linear-gradient(135deg, rgba(221, 233, 228, 0.85), rgba(255, 242, 232, 0.95)),
    var(--surface-strong);
  border: 1px dashed rgba(31, 36, 48, 0.18);
}

.image-placeholder-small {
  min-height: 220px;
}

.section-head {
  max-width: 720px;
  margin-right: auto;
  margin-left: auto;
  margin-bottom: 24px;
  text-align: center;
}

.section-inline-link {
  color: var(--primary-dark);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.16em;
}

.section-inline-link:hover,
.section-inline-link:focus-visible {
  color: var(--primary);
}

.window-comparison-section {
  background: rgba(255, 255, 255, 0.34);
}

.window-comparison-head {
  max-width: 760px;
}

.window-comparison-grid {
  display: grid;
  gap: 18px;
  max-width: 720px;
  margin: 0 auto;
}

.window-comparison-item {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 12px;
  margin: 0;
}

.window-comparison-media {
  overflow: hidden;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(31, 36, 48, 0.1);
  background: #fff;
  box-shadow: var(--shadow);
  aspect-ratio: 290 / 459;
}

.window-comparison-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.window-comparison-item figcaption {
  margin: 0;
  padding: 0 4px;
  color: var(--text);
  font-weight: 800;
  line-height: 1.35;
}

.card-grid,
.gallery-grid {
  display: grid;
  gap: 18px;
}

.info-card,
.process-card,
.gallery-card {
  padding: 20px;
}

.gallery-card h3,
.info-card h3,
.process-card h3 {
  margin-top: 0;
}

.process-card-wide ol {
  display: grid;
  gap: 14px;
}

.trust-section {
  display: grid;
  gap: 18px;
}

.trust-highlights-grid {
  display: grid;
  gap: 18px;
}

.trust-intro {
  margin-bottom: 0;
  max-width: 760px;
}

.trust-highlight-card {
  display: grid;
  gap: 10px;
  min-height: 100%;
}

.trust-highlight-card h3,
.trust-highlight-card p {
  margin: 0;
}

.testimonial-card {
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 18px;
  min-height: 100%;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: var(--shadow);
}

.testimonials-grid {
  align-items: stretch;
}

.testimonials-carousel {
  --testimonial-gap: 18px;
  position: relative;
  padding: 0 28px;
}

.testimonials-nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--text);
  cursor: pointer;
  transform: translateY(-50%);
  transition: transform 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.testimonials-nav:hover,
.testimonials-nav:focus-visible {
  transform: translateY(calc(-50% - 1px));
  border-color: rgba(215, 99, 43, 0.32);
  color: var(--primary-dark);
}

.testimonials-nav-prev {
  left: 0;
}

.testimonials-nav-next {
  right: 0;
}

.testimonials-viewport {
  overflow: hidden;
}

.testimonials-track {
  display: flex;
  align-items: stretch;
  transition: transform 0.28s ease;
  will-change: transform;
}

.testimonials-page {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--testimonial-gap);
  width: 100%;
  flex: 0 0 100%;
}

.testimonial-rating {
  display: inline-flex;
  gap: 2px;
  color: #f3c642;
  font-size: 1.1rem;
  line-height: 1;
}

.testimonial-text {
  margin: 0;
  color: #344054;
  line-height: 1.62;
}

.testimonial-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  color: var(--muted);
  font-size: 0.95rem;
}

.testimonial-person,
.testimonial-date-icon {
  position: relative;
  display: inline-block;
  width: 18px;
  height: 18px;
  color: var(--muted);
}

.testimonial-person::before,
.testimonial-person::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  border: 1.7px solid currentColor;
}

.testimonial-person::before {
  top: 2px;
  width: 6px;
  height: 6px;
  border-radius: 999px;
}

.testimonial-person::after {
  bottom: 2px;
  width: 12px;
  height: 7px;
  border-radius: 8px 8px 2px 2px;
  border-bottom: 0;
}

.testimonial-date-icon {
  border: 1.7px solid currentColor;
  border-radius: 4px;
}

.testimonial-date-icon::before {
  content: "";
  position: absolute;
  top: 4px;
  left: 2px;
  right: 2px;
  border-top: 1.7px solid currentColor;
}

.reviews-widget-shell {
  display: grid;
  gap: 18px;
  max-width: 820px;
}

.reviews-widget-head h3,
.reviews-widget-head p {
  margin: 0;
}

.reviews-widget-head p {
  margin-top: 8px;
  color: var(--muted);
}

.reviews-widget-frame {
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.reviews-widget-frame iframe {
  display: block;
  width: 100%;
  background: #fff;
}

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

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.8);
}

.faq-question {
  width: 100%;
  border: 0;
  background: transparent;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  text-align: left;
  cursor: pointer;
}

.faq-answer {
  padding: 0 20px 20px;
  color: var(--muted);
}

.faq-icon {
  font-weight: 700;
  font-size: 1.2rem;
}

.thanks-page {
  min-height: calc(100vh - 76px);
}

.thanks-steps-box {
  margin-top: 20px;
  padding: 20px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
}

.thanks-steps-box h2 {
  margin: 0 0 12px;
  font-size: 1.2rem;
}

.thanks-quote-box {
  margin: 12px 0 4px;
  padding: 20px;
  border-radius: var(--radius-sm);
  background: rgba(255, 242, 232, 0.7);
  border: 1px solid rgba(215, 99, 43, 0.18);
}

.thanks-quote-label,
.thanks-quote-amount {
  margin: 0;
}

.thanks-quote-label {
  color: var(--muted);
}

.thanks-quote-amount {
  margin-top: 6px;
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1;
  font-weight: 700;
}

.site-footer {
  margin: 0 16px 96px;
  padding: 24px 0;
}

.footer-grid {
  padding: 28px 24px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.legal-links {
  margin-top: 16px;
}

.footer-brand-block,
.footer-contact-block,
.footer-meta-block,
.footer-meta-group {
  display: grid;
  gap: 12px;
}

.footer-brand-block {
  align-content: start;
}

.footer-brand {
  margin: 0;
  font-size: 1.05rem;
}

.footer-note-stack {
  display: grid;
  gap: 4px;
}

.footer-note {
  margin: 0;
}

.footer-note-strong {
  color: var(--text);
  font-weight: 600;
}

.footer-heading {
  margin: 0;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.footer-contact-list {
  display: grid;
  gap: 8px;
}

.footer-contact-block,
.footer-meta-block {
  align-content: start;
}

.footer-contact-link {
  color: var(--text);
}

.footer-contact-link:hover,
.footer-contact-link:focus-visible {
  color: var(--primary-dark);
}

.footer-messenger-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-messenger-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 0;
  background: transparent;
  color: #305c8d;
  border: 0;
  transition: transform 0.2s ease, color 0.2s ease;
}

.footer-messenger-link:hover,
.footer-messenger-link:focus-visible {
  transform: translateY(-1px);
  color: #244c79;
}

.footer-messenger-link-placeholder {
  opacity: 0.62;
}

.footer-messenger-link-placeholder:hover,
.footer-messenger-link-placeholder:focus-visible {
  transform: none;
  color: #305c8d;
}

.footer-messenger-link svg {
  width: 34px;
  height: 34px;
}

.footer-meta-text {
  margin: 0;
  color: var(--text);
  font-size: 0.98rem;
  line-height: 1.45;
}

.footer-legal-list {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.5;
}

.footer-legal-list li + li {
  margin-top: 4px;
}

.footer-legal-links {
  margin-top: 0;
  padding-top: 8px;
  border-top: 1px solid var(--line);
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.footer-legal-links a {
  color: var(--muted);
}

.footer-legal-links a:hover,
.footer-legal-links a:focus-visible {
  color: var(--primary-dark);
}

.closing-cta-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 28px;
  border-radius: var(--radius);
  background:
    radial-gradient(circle at top right, rgba(215, 99, 43, 0.12), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(240, 230, 213, 0.7));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.cookie-notice {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 88px;
  z-index: 30;
}

.cookie-notice-inner {
  display: grid;
  gap: 14px;
  padding: 18px 20px;
  background: rgba(31, 36, 48, 0.96);
  color: #fff;
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.cookie-notice-inner p {
  margin: 0;
}

.sticky-mobile-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 25;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(246, 243, 235, 0.96);
  border-top: 1px solid var(--line);
  opacity: 0;
  visibility: hidden;
  transform: translateY(110%);
  transition: transform 0.22s ease, opacity 0.22s ease, visibility 0.22s ease;
}

.sticky-mobile-cta .button {
  min-height: 48px;
  padding: 0 12px;
  text-align: center;
}

body.show-mobile-cta .sticky-mobile-cta {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.legal-page {
  padding: 40px 0 80px;
}

.legal-container {
  max-width: 860px;
}

.legal-section + .legal-section {
  margin-top: 28px;
}

.payment-page {
  padding: 40px 0 80px;
}

.payment-container {
  max-width: 760px;
}

.payment-panel {
  display: grid;
  gap: 22px;
  padding: 28px;
  border: 1px solid rgba(31, 36, 48, 0.1);
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.payment-panel h1 {
  margin: 0;
}

.payment-message {
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.payment-summary {
  display: grid;
  gap: 12px;
  margin: 0;
}

.payment-summary div {
  display: grid;
  grid-template-columns: minmax(120px, 0.35fr) minmax(0, 0.65fr);
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(31, 36, 48, 0.08);
}

.payment-summary dt {
  color: var(--muted);
  font-weight: 700;
}

.payment-summary dd {
  margin: 0;
  font-weight: 800;
}

.payment-form {
  display: grid;
  gap: 2px;
}

.payment-errors p {
  margin: 0;
}

.payment-errors p + p {
  margin-top: 6px;
}

@media (min-width: 760px) {
  .testimonials-carousel {
    padding: 0 56px;
  }

  .hero-shell {
    grid-template-columns: 1fr;
    align-items: center;
  }

  .hero-copy {
    align-content: center;
  }

  .split-grid {
    align-items: start;
  }

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

  .hero-cta-card {
    grid-template-columns: 0.9fr 1.1fr;
    align-items: center;
  }

  .lead-modal-row-primary {
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    align-items: center;
  }

  .lead-modal-row-guide {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    align-items: stretch;
  }

  .sash-guide-layout,
  .window-comparison-grid,
  .trust-highlights-grid,
  .trust-highlights-grid-tight {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .window-comparison-grid {
    gap: 48px;
  }

  .sash-guide-layout {
    align-items: stretch;
  }

  .sash-guide-copy {
    display: grid;
    align-content: center;
  }

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

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

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

  .footer-grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(240px, 0.65fr) minmax(280px, 0.9fr);
    align-items: start;
  }

  .footer-legal-links {
    grid-column: 1 / -1;
  }

  .closing-cta-card {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

@media (min-width: 520px) and (max-width: 759px) {
  .testimonials-carousel {
    padding: 0 42px;
  }

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

@media (max-width: 639px) {
  .feature-card {
    grid-template-columns: auto 1fr;
    align-items: start;
  }

  .feature-copy {
    gap: 6px;
  }

  .feature-card-audience {
    grid-template-columns: 1fr;
    --feature-heading-gap: 14px;
  }

  .feature-card-audience .feature-heading {
    gap: var(--feature-heading-gap);
  }

  .feature-card-audience .feature-description {
    padding-left: 0;
  }
}

@media (min-width: 980px) {
  .testimonials-page {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .header-nav {
    display: flex;
  }

  .hero {
    padding-top: 64px;
  }

  .sticky-mobile-cta {
    display: none;
  }

  .cookie-notice {
    left: auto;
    right: 24px;
    bottom: 24px;
    width: min(420px, calc(100vw - 48px));
  }

  .site-footer {
    margin-bottom: 24px;
  }
}

@media (max-width: 979px) {
  .header-inner {
    align-items: center;
    gap: 12px;
  }

  .brand {
    flex: 1 1 auto;
    min-width: 0;
  }

  .brand-copy {
    gap: 2px;
  }

  .brand-name {
    font-size: 0.98rem;
    line-height: 1.15;
  }

  .header-actions .button {
    display: none;
  }

  .header-actions {
    flex: 0 0 auto;
    align-items: center;
  }

  .header-contact-group {
    display: grid;
    justify-items: end;
    gap: 6px;
  }

  .header-messenger-link {
    width: 36px;
    height: 36px;
  }

  .header-messenger-links {
    justify-content: flex-end;
  }

  .header-actions .contact-link-inline {
    font-size: 0.95rem;
    line-height: 1.15;
    text-align: right;
  }

  .brand-mark {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
  }

  .hero-shell {
    grid-template-columns: 1fr;
  }

  .hero-has-image {
    background:
      linear-gradient(180deg, rgba(15, 20, 30, 0.56) 0%, rgba(15, 20, 30, 0.34) 38%, rgba(15, 20, 30, 0.5) 100%),
      var(--hero-image) 64% bottom / cover no-repeat;
  }

  .hero-has-image .hero-shell {
    min-height: 72vh;
    align-items: center;
  }

  .lead-modal-dialog {
    width: min(calc(100vw - 16px), 1120px);
    max-height: calc(100vh - 16px);
    margin: 8px auto;
    padding: 16px;
    border-radius: 24px;
  }

  .lead-modal-panel {
    gap: 20px;
  }

  .lead-modal-row-primary,
  .lead-modal-row-guide {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .lead-form {
    padding: 20px;
  }

  .lead-modal-row-guide .lead-modal-guide {
    order: 1;
  }

  .lead-modal-row-guide .sash-guide-figure {
    order: 2;
  }

  .sash-guide-placeholder {
    grid-template-columns: 1fr;
  }
}
