@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Josefin+Sans:wght@300;400;600&family=Raleway:wght@600;700&display=swap");

:root {
  --ink: #2d2d2d;
  --ink-soft: #3c3c3c;
  --paper: #ffffff;
  --panel: #ffffff;
  --warm: #ededed;
  --line: #d8d8d8;
  --muted: #5e5e5e;
  --gold: #2d2d2d;
  --gold-dark: #000000;
  --burgundy: #000000;
  --green: #535050;
  --error: #9b1c2b;
  --success: #256047;
  --shadow: 0 22px 54px rgba(0, 0, 0, 0.16);
}

@keyframes quoteAttention {
  0% {
    box-shadow: var(--shadow);
  }

  35% {
    box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.82), 0 0 0 10px rgba(45, 45, 45, 0.34), var(--shadow);
  }

  100% {
    box-shadow: var(--shadow);
  }
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

html {
  scroll-behavior: smooth;
}

#quote,
#gallery {
  scroll-margin-top: 108px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Inter", Arial, sans-serif;
  font-weight: 400;
  letter-spacing: 0;
  overflow-x: hidden;
}

html.modal-open,
body.modal-open {
  overflow: hidden;
}

body.modal-open {
  position: fixed;
  right: 0;
  left: 0;
  width: 100%;
}

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

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
  letter-spacing: 0;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 50;
  padding: 12px 16px;
  background: var(--ink);
  color: #fff;
  border-radius: 4px;
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 92px;
  padding: 18px 42px;
  background: rgba(45, 45, 45, 0.98);
  border-bottom: 1px solid #535050;
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.1;
  text-transform: uppercase;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
}

.brand-mark img {
  width: 50px;
  height: auto;
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  font-size: 15px;
  font-weight: 400;
  text-transform: uppercase;
}

.language-link,
.phone-link {
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
}

.language-link:hover,
.phone-link:hover {
  color: #ededed;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 14px 20px;
  border: 1px solid var(--gold);
  border-radius: 2px;
  background: var(--gold);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.15;
  text-transform: uppercase;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
  background: var(--gold-dark);
  border-color: var(--gold-dark);
}

.button:disabled {
  cursor: not-allowed;
  opacity: 0.7;
  transform: none;
}

.button-secondary {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.42);
  color: #fff;
}

.button-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
}

.button-small {
  min-height: 40px;
  padding: 10px 14px;
  font-size: 14px;
}

.site-header .button-secondary,
.quote-panel .button-secondary,
.thank-you-card .button-secondary {
  border-color: var(--ink);
  color: var(--ink);
}

.site-header .button {
  background: #fff;
  border-color: #fff;
  color: var(--ink);
}

.site-header .button:hover {
  background: #ededed;
  border-color: #ededed;
}

.site-header .button-secondary:hover,
.quote-panel .button-secondary:hover,
.thank-you-card .button-secondary:hover {
  background: var(--ink);
  color: #fff;
}

.hero-section {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(420px, 0.92fr);
  gap: 44px;
  min-height: 720px;
  padding: 58px 48px 68px;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.78), rgba(45, 45, 45, 0.46)),
    url("https://encoredraperiesinc.com/static/images/header-carousel_hilton-downtown-toronto.jpg");
  background-position: center;
  background-size: cover;
  overflow: hidden;
}

.hero-copy {
  align-self: center;
  max-width: 760px;
}

.eyebrow,
.panel-kicker {
  margin: 0 0 14px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
  text-transform: uppercase;
}

.hero-copy .eyebrow {
  color: #ededed;
}

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

h1,
h2 {
  font-family: "Josefin Sans", Arial, sans-serif;
  font-weight: 400;
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: 64px;
  line-height: 1.04;
  overflow-wrap: break-word;
}

h2 {
  margin-bottom: 18px;
  font-size: 46px;
  line-height: 1.08;
}

h2 strong {
  font-weight: 600;
}

h3 {
  font-family: "Raleway", Arial, sans-serif;
  margin-bottom: 8px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
}

.hero-lede {
  max-width: 700px;
  margin-bottom: 18px;
  color: #eff3f0;
  font-size: 24px;
  line-height: 1.38;
}

.scope-note {
  max-width: 680px;
  color: #ededed;
  font-size: 18px;
  line-height: 1.5;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.quote-panel {
  align-self: center;
  width: 100%;
  min-width: 0;
  max-width: 560px;
  margin-left: auto;
  padding: 24px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid rgba(255, 255, 255, 0.64);
  border-radius: 2px;
  box-shadow: var(--shadow);
}

.quote-panel.is-attention {
  animation: quoteAttention 1200ms ease;
}

.form-heading h2 {
  margin-bottom: 8px;
  font-size: 29px;
}

.form-heading p:last-child {
  margin-bottom: 14px;
  color: var(--muted);
  line-height: 1.45;
}

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

.step-indicator {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.step-indicator span {
  display: grid;
  place-items: center;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 2px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.step-indicator span.active {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.form-step {
  display: grid;
  gap: 11px;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.form-step[hidden] {
  display: none;
}

legend {
  margin-bottom: 8px;
  padding: 0;
  color: var(--ink);
  font-weight: 600;
}

.form-section-title {
  margin: 6px 0 0;
  color: var(--ink);
  font-weight: 600;
}

label,
.field-label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.25;
}

.optional-label {
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
}

input,
select,
textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid #bcc4cc;
  border-radius: 2px;
  background: #fff;
  color: var(--ink);
  font-size: 16px;
}

input,
select {
  min-height: 42px;
  padding: 8px 11px;
}

textarea {
  min-height: 112px;
  padding: 12px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus,
button:focus,
a:focus {
  outline: 3px solid rgba(185, 130, 47, 0.36);
  outline-offset: 2px;
}

[aria-invalid="true"] {
  border-color: var(--error);
  box-shadow: 0 0 0 2px rgba(139, 30, 45, 0.1);
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.contact-field-row {
  align-items: end;
}

.choice-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
}

.choice-group .field-label {
  grid-column: 1 / -1;
}

.check-option,
.consent {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 9px 11px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: #fbfbf8;
  font-weight: 400;
}

.check-option input,
.consent input {
  width: 18px;
  min-width: 18px;
  height: 18px;
  min-height: 18px;
  margin-top: 1px;
}

.consent {
  grid-column: 1 / -1;
  background: #ededed;
}

.form-status {
  display: none;
  margin: 0;
  padding: 12px;
  border-radius: 2px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
}

.form-status.visible {
  display: block;
}

.form-status.error {
  background: #f8e9eb;
  color: var(--error);
}

.form-status.success {
  background: #e7f4ed;
  color: var(--success);
}

.form-actions {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.form-actions .button {
  flex: 1;
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.proof-strip div {
  min-height: 116px;
  padding: 24px;
  background: var(--panel);
}

.proof-strip strong {
  display: block;
  margin-bottom: 6px;
  color: var(--burgundy);
  font-family: "Josefin Sans", Arial, sans-serif;
  font-size: 31px;
  font-weight: 400;
  line-height: 1;
}

.proof-strip span {
  color: var(--muted);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.35;
}

.section.reference-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.58fr) minmax(0, 1.42fr);
  gap: 24px;
  align-items: center;
  padding-top: 42px;
  padding-bottom: 34px;
}

.reference-copy {
  max-width: 380px;
}

.reference-copy h2 {
  margin-bottom: 10px;
  font-size: 31px;
}

.reference-copy p {
  font-size: 16px;
  line-height: 1.45;
}

.logo-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: center;
  justify-items: center;
  gap: 14px 22px;
  padding: 6px 0;
}

.reference-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 56px;
  color: var(--ink);
  text-align: center;
  line-height: 1.1;
  opacity: 0.86;
}

.reference-logo img {
  display: block;
  width: auto;
  max-width: min(122px, 100%);
  max-height: 52px;
  object-fit: contain;
}

.reference-logo.logo-wide img {
  max-width: min(152px, 100%);
}

.reference-logo.logo-extra-wide img {
  max-width: min(170px, 100%);
  max-height: 62px;
}

.reference-logo.logo-hilton img {
  max-width: min(120px, 100%);
}

.reference-logo.logo-holiday-inn img,
.reference-logo.logo-delta-hotels img {
  max-height: 58px;
}

.reference-logo.logo-marriott img,
.reference-logo.logo-sheraton img,
.reference-logo.logo-w-hotels img {
  max-height: 58px;
}

.reference-section + .section {
  padding-top: 46px;
}

.section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 76px 32px;
}

.section-split {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.18fr);
  gap: 42px;
  align-items: start;
}

.section p,
.faq-grid p,
.process-list p,
.feature-grid p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.55;
}

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

.feature-grid article,
.process-list article,
.faq-grid details {
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--panel);
}

.feature-grid article {
  min-height: 156px;
  padding: 24px;
}

.gallery-section {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr 0.85fr;
  gap: 1px;
  background: var(--ink);
}

.gallery-section figure {
  position: relative;
  min-height: 360px;
  margin: 0;
  overflow: hidden;
}

.gallery-section img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-section figcaption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  padding: 12px 14px;
  border-radius: 2px;
  background: rgba(45, 45, 45, 0.86);
  color: #fff;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.3;
}

.process-section {
  display: grid;
  gap: 32px;
}

.process-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.process-list article {
  position: relative;
  min-height: 210px;
  padding: 26px;
}

.process-list span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 18px;
  border-radius: 2px;
  background: var(--green);
  color: #fff;
  font-weight: 600;
}

.muted-section {
  max-width: none;
  padding-left: max(32px, calc((100vw - 1180px) / 2 + 32px));
  padding-right: max(32px, calc((100vw - 1180px) / 2 + 32px));
  background: var(--warm);
}

.insight-section {
  display: grid;
  gap: 24px;
}

.insight-heading {
  max-width: 780px;
}

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

.issue-card {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  min-height: 260px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.86);
  overflow: hidden;
}

.issue-card img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
}

.issue-card div {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 24px;
}

.issue-card h3 {
  margin: 0;
  font-size: 21px;
  line-height: 1.18;
}

.issue-card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.48;
}

.comparison-list {
  display: grid;
  gap: 18px;
}

.comparison-card {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  min-height: 320px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
  overflow: hidden;
}

.comparison-media {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  min-width: 0;
  background: var(--paper);
}

.comparison-frame {
  position: relative;
  min-width: 0;
  min-height: 320px;
  margin: 0;
  overflow: hidden;
}

.comparison-frame img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
}

.comparison-image-hardware-good {
  object-position: left center;
}

.comparison-frame-bad img {
  filter: saturate(0.86) contrast(0.96);
}

.comparison-badge,
.comparison-brand {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 30px;
  padding: 7px 10px;
  border-radius: 2px;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0;
}

.comparison-badge {
  top: 12px;
  left: 12px;
}

.comparison-badge.bad {
  background: #7d2730;
}

.comparison-badge.good {
  background: #256047;
}

.comparison-brand {
  right: 12px;
  bottom: 12px;
  width: 42px;
  height: 39px;
  min-height: 0;
  padding: 0;
  background: transparent;
}

.comparison-brand img {
  width: 42px;
  height: 39px;
  min-height: 0;
  object-fit: contain;
}

.comparison-copy {
  display: grid;
  align-content: center;
  gap: 14px;
  padding: 28px;
}

.comparison-copy h3 {
  margin: 0;
  font-size: 25px;
  line-height: 1.15;
}

.comparison-points {
  display: grid;
  gap: 12px;
}

.comparison-points p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.48;
}

.comparison-points strong {
  color: var(--ink);
}

.faq-section {
  display: grid;
  gap: 28px;
}

.faq-heading {
  max-width: 760px;
}

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

.faq-grid details {
  padding: 20px 22px;
}

.faq-grid summary {
  cursor: pointer;
  color: var(--ink);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
}

.faq-grid p {
  margin: 14px 0 0;
}

.centered-cta {
  display: flex;
  justify-content: center;
}

.mobile-cta {
  display: none;
}

.quote-modal[hidden] {
  display: none;
}

.quote-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 24px;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.quote-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.62);
}

.quote-modal-panel {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 1.1fr);
  width: min(980px, 100%);
  max-height: calc(100vh - 48px);
  overflow: auto;
  overscroll-behavior: contain;
  border: 1px solid rgba(255, 255, 255, 0.56);
  border-radius: 4px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 28px 82px rgba(0, 0, 0, 0.32);
  -webkit-overflow-scrolling: touch;
}

.quote-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  min-height: 36px;
  padding: 8px 11px;
  border: 1px solid rgba(45, 45, 45, 0.18);
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
}

.quote-modal-media {
  min-height: 470px;
  background: var(--ink);
}

.quote-modal-media img {
  width: 100%;
  height: 100%;
  min-height: 470px;
  object-fit: cover;
}

.quote-modal-content {
  display: grid;
  align-content: center;
  gap: 16px;
  padding: 46px 38px 38px;
}

.quote-modal-content h2 {
  margin: 0;
  font-size: 34px;
}

.quote-modal-content > p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.5;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 42px;
  border-top: 1px solid var(--line);
  background: var(--ink);
  color: #d7e0db;
  font-size: 14px;
  line-height: 1.35;
}

.thank-you-page {
  min-height: 100vh;
  background:
    linear-gradient(90deg, rgba(20, 32, 51, 0.9), rgba(20, 32, 51, 0.68)),
    url("https://encoredraperiesinc.com/static/images/showroom-pan-pacific.jpg");
  background-position: center;
  background-size: cover;
}

.thank-you {
  display: grid;
  align-content: center;
  min-height: 100vh;
  padding: 42px;
}

.thank-you-brand {
  position: absolute;
  top: 28px;
  left: 42px;
  padding: 12px 14px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.95);
  color: #142033;
}

.thank-you-card {
  max-width: 720px;
  padding: 42px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
}

.thank-you-card h1 {
  color: var(--ink);
  font-size: 46px;
}

.thank-you-card p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}

.thank-you-card .button-secondary {
  background: transparent;
}

@media (max-width: 1100px) {
  .hero-section {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .quote-panel {
    max-width: 760px;
    margin-left: 0;
  }

  .proof-strip,
  .process-list,
  .issue-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section.reference-section {
    grid-template-columns: 1fr;
    padding-top: 38px;
    padding-bottom: 32px;
  }

  .reference-copy {
    max-width: 760px;
  }

  .logo-grid {
    gap: 14px 22px;
  }

  .gallery-section {
    grid-template-columns: 1fr 1fr;
  }

  .gallery-section figure:first-child {
    grid-column: 1 / -1;
  }

  .comparison-card,
  .quote-modal-panel {
    grid-template-columns: 1fr;
  }

  .quote-modal-media,
  .quote-modal-media img {
    min-height: 320px;
  }
}

@media (max-width: 820px) {
  body {
    padding-bottom: calc(70px + env(safe-area-inset-bottom));
  }

  .site-header {
    min-height: 0;
    padding: 8px 18px;
  }

  .brand {
    font-size: 16px;
  }

  .brand-mark {
    width: 36px;
    height: 36px;
  }

  .brand-mark img {
    width: 36px;
  }

  .header-actions {
    gap: 12px;
  }

  .phone-link {
    display: none;
  }

  .hero-section {
    min-height: 0;
    padding: 42px 18px 36px;
  }

  h1 {
    font-size: 36px;
  }

  h2 {
    font-size: 31px;
  }

  .hero-lede {
    font-size: 19px;
  }

  .quote-panel {
    padding: 22px;
  }

  .field-row,
  .choice-group,
  .section-split,
  .feature-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

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

  .lead-form .contact-field-row {
    grid-template-columns: 1fr;
  }

  .proof-strip {
    grid-template-columns: 1fr 1fr;
  }

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

  .section,
  .muted-section {
    padding: 56px 20px;
  }

  .gallery-section,
  .process-list,
  .issue-grid {
    grid-template-columns: 1fr;
  }

  .issue-card {
    grid-template-columns: 0.82fr 1.18fr;
  }

  .comparison-copy {
    padding: 24px;
  }

  .comparison-frame,
  .comparison-frame img {
    min-height: 260px;
  }

  .quote-modal {
    align-items: start;
    padding: 14px;
  }

  .quote-modal-panel {
    max-height: calc(100vh - 28px);
  }

  .quote-modal-content {
    padding: 32px 22px 24px;
  }

  .quote-modal-content > p:not(.panel-kicker) {
    display: none;
  }

  .quote-modal-content h2 {
    font-size: 29px;
  }

  .quote-modal-media,
  .quote-modal-media img {
    min-height: 260px;
  }

  .gallery-section figure,
  .process-list article {
    min-height: 260px;
  }

  .site-footer {
    display: grid;
    padding: 26px 20px 88px;
  }

  .mobile-cta {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 30;
    display: grid;
    grid-template-columns: 1fr 0.55fr;
    gap: 8px;
    width: 100%;
    padding: 10px 10px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, 0.95);
    border-top: 1px solid var(--line);
    transition: transform 160ms ease, visibility 160ms ease;
  }

  .mobile-cta .button-secondary {
    border-color: var(--ink);
    color: var(--ink);
  }

  .mobile-cta.is-hidden {
    visibility: hidden;
    pointer-events: none;
    transform: translateY(110%);
  }
}

@media (max-width: 520px) {
  .site-header {
    align-items: center;
    padding: 7px 18px;
  }

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

  .language-link {
    padding-top: 0;
  }

  h1 {
    font-size: 34px;
  }

  h2 {
    font-size: 28px;
  }

  .hero-cta-row,
  .form-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .proof-strip {
    grid-template-columns: 1fr;
  }

  .logo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 22px;
  }

  .issue-card {
    grid-template-columns: 1fr;
  }

  .issue-card img {
    min-height: 210px;
    max-height: 240px;
  }

  .comparison-frame,
  .comparison-frame img {
    min-height: 190px;
  }

  .comparison-copy {
    padding: 20px;
  }

  .comparison-copy h3 {
    font-size: 22px;
  }

  .comparison-badge,
  .comparison-brand {
    min-height: 26px;
    padding: 6px 8px;
    font-size: 11px;
  }

  .comparison-brand {
    right: 8px;
    bottom: 8px;
    width: 34px;
    height: 31px;
    min-height: 0;
    padding: 0;
  }

  .comparison-brand img {
    width: 34px;
    height: 31px;
  }

  .quote-modal {
    padding: 10px;
  }

  .quote-modal-panel {
    max-height: calc(100vh - 20px);
  }

  .quote-modal-close {
    top: 8px;
    right: 8px;
  }

  .quote-modal-media,
  .quote-modal-media img {
    min-height: 190px;
  }

  .proof-strip div {
    min-height: 96px;
  }

  .quote-panel {
    padding: 18px;
  }

  .thank-you {
    padding: 24px;
  }

  .thank-you-brand {
    position: static;
    width: max-content;
    margin-bottom: 28px;
  }

  .thank-you-card {
    padding: 28px;
  }

  .thank-you-card h1 {
    font-size: 34px;
  }
}
