/* ==========================================================================
   Synergy Blinds and Shutters — Black & Gold
   Gold pulled from the team uniform (#EDB331); halftone dot motif ditto.
   Layers: tokens → reset/base → typography → utilities → buttons → header →
           sections (DOM order) → compare state engine → reveal → sticky bar
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  --black-950: #0E0F10;
  --black-900: #16181A;
  --charcoal:  #1E2124;
  --gold:      #EDB331;
  --gold-deep: #C8901D;
  --gold-text: #A87614;   /* gold-toned text/focus that passes contrast on light bg */
  --paper:     #FFFFFF;
  --cream:     #FAF8F3;
  --line:      #E7E2D6;   /* borders on light */
  --line-dark: #2B2E31;   /* borders on dark */
  --ink:       #1C1F21;
  --ink-soft:  #4A5053;
  --on-dark:   #F5F2EA;
  --on-dark-soft: #C9CDD1;

  --font-sans: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --fs-h1: clamp(2.125rem, 5.5vw, 3.5rem);
  --fs-h2: clamp(1.625rem, 3.5vw, 2.375rem);
  --fs-h3: 1.25rem;
  --fs-body: 1.0625rem;

  --section-pad: clamp(3.5rem, 9vw, 6.5rem);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --shadow-1: 0 2px 10px rgb(14 15 16 / .08);
  --shadow-2: 0 10px 30px rgb(14 15 16 / .16);
  --maxw: 1120px;
  --maxw-narrow: 760px;
}

/* ---------- 2. Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, p, ul, ol, figure, fieldset { margin: 0; }
ul, ol { padding: 0; }
fieldset { padding: 0; border: none; }
img, svg { max-width: 100%; }

a { color: var(--gold-text); }
a:focus-visible,
button:focus-visible,
input:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--gold-text);
  outline-offset: 2px;
}

::selection { background: var(--gold); color: var(--ink); }

/* ---------- 3. Typography ---------- */
h1 { font-size: var(--fs-h1); line-height: 1.12; font-weight: 800; color: var(--ink); letter-spacing: -.01em; }
h2 { font-size: var(--fs-h2); line-height: 1.15; font-weight: 800; color: var(--ink); letter-spacing: -.01em; }
h3 { font-size: var(--fs-h3); line-height: 1.3; font-weight: 700; color: var(--ink); }

.kicker {
  text-transform: uppercase;
  letter-spacing: .16em;
  font-weight: 700;
  font-size: .82rem;
  color: var(--gold-text);
  margin-bottom: .6rem;
}
.kicker-light { color: var(--gold); }

.section-head {
  text-align: center;
  max-width: var(--maxw-narrow);
  margin: 0 auto clamp(2rem, 5vw, 3.25rem);
}
.section-head h2::after {
  content: "";
  display: block;
  width: 64px;
  height: 4px;
  border-radius: 2px;
  background: var(--gold);
  margin: .7rem auto 0;
}
.section-sub {
  font-size: 1.05rem;
  color: var(--ink-soft);
  margin-top: .85rem;
}

/* ---------- 4. Utilities ---------- */
.container {
  width: min(100% - 2.5rem, var(--maxw));
  margin-inline: auto;
}
.container-narrow { max-width: var(--maxw-narrow); }

.section { padding-block: var(--section-pad); }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  overflow: hidden;
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  top: -100px; left: 1rem;
  z-index: 100;
  background: var(--black-950);
  color: var(--gold);
  padding: .75rem 1.25rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-weight: 700;
}
.skip-link:focus { top: 1rem; }

.icon {
  width: 22px; height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

/* Angled section dividers (fill = adjacent section's background) */
.slant { position: relative; line-height: 0; } /* keeps slants above section background layers */
.slant svg { display: block; width: 100%; height: clamp(22px, 3.5vw, 48px); }

/* Halftone dot motif — straight off the uniform */
.halftone {
  position: absolute;
  pointer-events: none;
  background-image: radial-gradient(rgb(237 179 49 / .5) 2px, transparent 2.6px);
  background-size: 17px 17px;
  -webkit-mask-image: radial-gradient(closest-side, #000, transparent 78%);
  mask-image: radial-gradient(closest-side, #000, transparent 78%);
}

/* ---------- 5. Photo placeholders ---------- */
.photo {
  position: relative;
  display: block;
  border-radius: 16px;
  overflow: hidden;
}
.r43 { aspect-ratio: 4 / 3; }
.r32 { aspect-ratio: 3 / 2; }    /* matches the hero photo exactly — no crop */
.rpano { aspect-ratio: 20 / 9; }

.photo-ph {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  text-align: center;
  padding: 1.25rem;
  background: #F3F0E9;
  border: 2px dashed #D8D0BA;
  border-radius: inherit;
  color: #6E6A5E;
  font-size: .85rem;
  font-weight: 600;
  line-height: 1.45;
}
.photo-ph span { max-width: 34ch; }
.photo-ph .icon { width: 30px; height: 30px; color: #B7AF9A; }

/* Real photos drop straight into any .photo box */
.photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-ph.on-dark {
  background: #191B1D;
  border-color: #4A4030;
  color: #A9ADB1;
}
.photo-ph.on-dark .icon { color: #6E6550; }

/* ---------- 6. Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  min-height: 48px;
  padding: .8rem 1.6rem;
  border: 2px solid transparent;
  border-radius: var(--radius-md);
  font-family: inherit;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.25;
  text-decoration: none;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease, color .2s ease, transform .15s ease, box-shadow .2s ease;
}
.btn:active { transform: translateY(1px); }

/* Gold buttons always carry dark text — white on gold fails contrast */
.btn-gold { background: var(--gold); color: var(--ink); box-shadow: var(--shadow-1); }
.btn-gold:hover { background: var(--gold-deep); }

.btn-outline { border-color: var(--black-950); color: var(--black-950); background: transparent; }
.btn-outline:hover { background: #F3F0E9; }

.btn-outline-light { border-color: var(--on-dark); color: var(--on-dark); background: transparent; }
.btn-outline-light:hover { border-color: var(--gold); color: var(--gold); }

.btn-ghost {
  background: transparent;
  border: none;
  color: var(--gold-text);
  padding: .4rem 0;
  min-height: 44px;
  font-weight: 700;
}
.btn-ghost:hover { color: var(--ink); text-decoration: underline; }

.btn-sm { min-height: 42px; padding: .5rem 1.1rem; font-size: .92rem; }
.btn-lg { padding: 1rem 1.8rem; font-size: 1.05rem; }
.btn-block { width: 100%; }

.btn-stack { display: flex; flex-direction: column; align-items: flex-start; text-align: left; }
.btn-stack strong { font-size: 1rem; }
.btn-stack small { font-size: .85rem; font-weight: 600; opacity: .85; }

/* ---------- 7. Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgb(255 255 255 / .94);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 70px;
}
.brand { text-decoration: none; display: inline-flex; align-items: center; gap: .7rem; }
.brand-logo { height: 44px; width: auto; flex-shrink: 0; }

/* Stacked wordmark — mirrors the uniform: SYNERGY big gold, sub-line beneath */
.brand-name { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name strong {
  font-weight: 800;
  font-size: 1.32rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ink);
}
.brand-name small {
  font-size: .58rem;
  font-weight: 600;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--gold-text);
  margin-top: .25rem;
}

.site-nav { display: none; }
.header-actions { display: flex; align-items: center; gap: .75rem; }

@media (max-width: 419.98px) {
  .brand-logo { height: 34px; }
  .brand-name strong { font-size: 1.02rem; }
}
.header-quote { display: none; }
.header-call .icon { width: 18px; height: 18px; }

@media (min-width: 960px) {
  .site-nav { display: flex; gap: 1.1rem; }
  .site-nav a {
    color: var(--ink);
    text-decoration: none;
    font-weight: 600;
    font-size: .93rem;
  }
  .site-nav a:hover { color: var(--gold-text); text-decoration: underline; text-underline-offset: 4px; }
  .header-quote { display: inline-flex; }
  .header-call { display: none; }
}

/* ---------- 8. Hero ---------- */
.hero {
  position: relative;
  background: var(--paper);
  padding-top: clamp(2.5rem, 6vw, 5rem);
  overflow: hidden;
}
/* Softly faded photo behind the hero instead of flat white */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgb(255 255 255 / .48) 0%, rgb(255 255 255 / .68) 65%, #FFFFFF 100%),
    url("../images/sheer-curtains.jpg") center / cover no-repeat;
  pointer-events: none;
}
.hero .halftone {
  top: -60px;
  right: -70px;
  width: min(48vw, 460px);
  height: 440px;
  opacity: .5;
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 2.5rem;
  align-items: center;
}
.hero h1 { color: var(--ink); }
.eyebrow {
  text-transform: uppercase;
  letter-spacing: .16em;
  font-weight: 700;
  font-size: .82rem;
  color: var(--gold-text);
  margin-bottom: .9rem;
}
.h1-sub {
  display: block;
  font-size: clamp(1.1rem, 2.4vw, 1.5rem);
  font-weight: 600;
  color: var(--gold-text);
  letter-spacing: 0;
  margin-top: .55rem;
}
.hero-sub {
  font-size: 1.12rem;
  color: var(--ink-soft);
  margin-top: 1.1rem;
  max-width: 34em;
}
.hero-ctas {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: .9rem;
  margin-top: 1.6rem;
}
.hero-micro { font-size: .9rem; color: #6B7075; margin-top: 1rem; }
.hero-art { max-width: 660px; margin-inline: auto; width: 100%; }
.hero .slant { margin-top: clamp(2rem, 6vw, 3.5rem); }

@media (min-width: 640px) {
  .hero-ctas { flex-direction: row; flex-wrap: wrap; align-items: center; }
}
@media (min-width: 960px) {
  .hero-grid { grid-template-columns: 1fr 1.1fr; gap: 3rem; }
}

/* ---------- 9. Trust strip ---------- */
.trust { background: var(--gold); color: var(--ink); }
.trust-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  column-gap: 2.25rem;
  row-gap: .9rem;
  padding-block: 1.3rem;
}
.trust-item {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-size: .95rem;
  font-weight: 700;
}
.trust-item .icon { width: 21px; height: 21px; color: var(--black-950); }

/* ---------- 9b. Products (Blinds / Shutters / Curtains) ---------- */
.products { background: var(--paper); }
.product-grid { display: grid; gap: 1.5rem; }
.product-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.25rem 1.5rem;
  box-shadow: var(--shadow-1);
  display: flex;
  flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); }
.product-card .photo { margin-bottom: 1.1rem; }
.product-card h3 { font-size: 1.35rem; }
.product-card > p { margin-top: .6rem; color: var(--ink-soft); }
.product-card .btn { margin-top: auto; padding-top: 1rem; align-self: flex-start; }

@media (min-width: 960px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- 10. Fabric cards ---------- */
.fabrics { background: var(--cream); }
.fabric-grid { display: grid; gap: 1.5rem; }
.fabric-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.25rem 1.5rem;
  box-shadow: var(--shadow-1);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  display: flex;
  flex-direction: column;
}
.fabric-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); border-color: #D9D2BF; }
.fabric-card.is-active {
  border-color: var(--gold);
  box-shadow: 0 0 0 2px var(--gold), var(--shadow-2);
}
.fabric-card .photo { margin-bottom: 1.1rem; }
.fabric-card h3 { font-size: 1.35rem; }
.fabric-card > p { margin-top: .6rem; color: var(--ink-soft); }

.meters { list-style: none; margin-top: 1rem; }
.meters li {
  display: grid;
  grid-template-columns: 128px 1fr;
  align-items: center;
  gap: .6rem;
  margin-block: .4rem;
}
.meter-label { font-size: .85rem; color: var(--ink-soft); }
.meter { display: flex; gap: 4px; }
.meter i {
  width: 20px; height: 8px;
  border-radius: 4px;
  background: #ECE8DD;
}
.meter i.on { background: var(--gold); }

.bestfor { font-size: .92rem; margin-top: .9rem; color: var(--ink); }
.footnote {
  font-size: .82rem;
  color: #6B7075;
  background: var(--cream);
  padding: .55rem .8rem;
  border-radius: var(--radius-sm);
  margin-top: .75rem;
}
.demo-jump { margin-top: auto; padding-top: 1rem; align-self: flex-start; }

@media (min-width: 960px) {
  .fabric-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- 10b. Fitting options (diagrams) ---------- */
.fitting { background: var(--paper); }
.fitting-grid { display: grid; gap: 1.5rem; }
.diagram-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-1);
}
.diagram-card h3 { font-size: 1.3rem; margin-bottom: 1.1rem; }
.diagram-pair { display: grid; gap: 1.5rem; }
.diagram { margin: 0; }
.diagram svg { display: block; width: 100%; height: auto; }
.diagram figcaption { font-size: .9rem; color: var(--ink-soft); margin-top: .65rem; }
.diagram figcaption strong { color: var(--ink); }
.diagram-note {
  margin-top: 1.25rem;
  font-size: .9rem;
  font-weight: 600;
  color: var(--gold-text);
  background: var(--cream);
  padding: .6rem .9rem;
  border-radius: var(--radius-sm);
}

@media (min-width: 640px) { .diagram-pair { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .fitting-grid { grid-template-columns: 1fr 1fr; } }

/* ---------- 11. See the Difference (photo compare) ---------- */
.demo {
  background: var(--black-950);
  padding-block: 0;
}
.demo > .container { padding-block: var(--section-pad); }
.demo h2 { color: #FFFFFF; }
.demo .section-sub { color: #B9BEC3; }

.demo-wrap { max-width: 860px; margin-inline: auto; }

.demo-controls {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .55rem;
  margin-bottom: 1.25rem;
}
.demo-controls label { position: relative; }
.demo-controls input {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  overflow: hidden;
}
.demo-controls span {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  min-height: 48px;
  padding: .6rem 1.15rem;
  border: 2px solid #43474B;
  border-radius: 999px;
  background: transparent;
  color: var(--on-dark);
  font-weight: 700;
  font-size: .95rem;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease, color .2s ease, box-shadow .2s ease;
}
.demo-controls span small { font-size: .82em; font-weight: 500; opacity: .75; }
.demo-controls span:hover { border-color: var(--gold); }
.demo-controls input:checked + span {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
}
.demo-controls input:focus-visible + span {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}

@keyframes pulseHint {
  0%, 100% { box-shadow: 0 0 0 0 rgb(237 179 49 / 0); }
  50%      { box-shadow: 0 0 0 10px rgb(237 179 49 / .3); }
}
.demo-controls:not(.has-interacted) label:first-child span {
  animation: pulseHint 2.2s ease-in-out 1s 2;
}

.demo-stage {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line-dark);
  background: #17191B;
  box-shadow: 0 14px 40px rgb(0 0 0 / .4);
}
.cmp {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transition: opacity .5s ease;
}
.cmp .photo-ph { position: absolute; inset: 0; border: 0; border-radius: 0; }

.demo-stage[data-fabric="none"] .cmp-none,
.demo-stage[data-fabric="blockout"] .cmp-blockout,
.demo-stage[data-fabric="lightfilter"] .cmp-lightfilter,
.demo-stage[data-fabric="sunscreen"] .cmp-sunscreen { opacity: 1; }

.demo-caption {
  text-align: center;
  font-weight: 600;
  color: var(--on-dark);
  max-width: 640px;
  min-height: 2.6em;
  margin: 1.1rem auto 0;
}

.demo-bridge {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}
.demo-bridge p { font-size: 1.15rem; font-weight: 600; color: #FFFFFF; }

/* ---------- 12. Benefits ---------- */
.benefits { background: var(--cream); }
.benefit-grid { display: grid; gap: 1.75rem; }
.tile { display: flex; align-items: flex-start; gap: 1rem; }
.tile-icon {
  width: 56px; height: 56px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--black-950);
  color: var(--gold);
}
.tile-icon .icon { width: 26px; height: 26px; }
.tile h3 { font-size: 1.08rem; }
.tile p { margin-top: .3rem; font-size: .96rem; color: var(--ink-soft); }

@media (min-width: 640px) { .benefit-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .benefit-grid { grid-template-columns: repeat(3, 1fr); gap: 2.25rem; } }

/* ---------- 13. How it works ---------- */
.how { background: var(--paper); }
.steps {
  list-style: none;
  display: grid;
  gap: 2rem;
  position: relative;
}
.step { position: relative; padding-left: 68px; }
.step-num {
  position: absolute;
  left: 0; top: 0;
  width: 48px; height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--gold);
  color: var(--ink);
  font-weight: 800;
  font-size: 1.2rem;
}
.step:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 23px;
  top: 56px;
  bottom: -1.6rem;
  border-left: 2px dashed rgb(30 33 36 / .3);
}
.step h3 { font-size: 1.1rem; }
.step p { margin-top: .35rem; font-size: .96rem; color: var(--ink-soft); }

.how-cta { text-align: center; margin-top: 2.75rem; font-weight: 500; }
.how-cta a { color: var(--ink); font-weight: 800; }

@media (min-width: 960px) {
  .steps { grid-template-columns: repeat(4, 1fr); gap: 1.75rem; }
  .steps::before {
    content: "";
    position: absolute;
    top: 24px;
    left: 12%;
    right: 12%;
    border-top: 2px dashed rgb(30 33 36 / .3);
  }
  .step { padding-left: 0; text-align: center; }
  .step-num { position: relative; left: auto; top: auto; margin: 0 auto 1rem; z-index: 1; }
  .step:not(:last-child)::after { display: none; }
}

/* ---------- 14. Samples hook ---------- */
.samples {
  position: relative;
  background: var(--cream);
  color: var(--ink-soft);
  overflow: hidden;
}
.samples .halftone-left {
  left: -80px;
  bottom: -40px;
  width: 360px;
  height: 320px;
}
.samples-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 2.5rem;
  align-items: center;
  padding-block: clamp(2.5rem, 7vw, 4.5rem);
}
.samples h2 { color: var(--ink); }
.samples h2::after {
  content: "";
  display: block;
  width: 64px;
  height: 4px;
  border-radius: 2px;
  background: var(--gold);
  margin-top: .7rem;
}
.samples-copy > p { margin-top: .9rem; max-width: 36em; }
.samples-copy .btn { margin-top: 1.5rem; }
.samples-micro { font-size: .9rem; color: #6B7075; margin-top: .9rem; }
.samples-art { max-width: 480px; width: 100%; margin-inline: auto; }

@media (min-width: 960px) {
  .samples-grid { grid-template-columns: .9fr 1.1fr; gap: 3.5rem; }
}

/* ---------- 15. Gallery ---------- */
.gallery { background: var(--paper); }
.gallery-grid {
  display: grid;
  gap: 1.6rem;
  grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr));
}
.gallery-zoom { cursor: zoom-in; }

/* Tap-to-enlarge lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgb(14 15 16 / .94);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4vmin;
  cursor: zoom-out;
}
.lightbox img {
  max-width: 100%;
  max-height: 100%;
  border-radius: 10px;
  box-shadow: 0 20px 60px rgb(0 0 0 / .5);
}
.gallery-item {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: .55rem;
}
.gallery-item figcaption { font-size: .88rem; font-weight: 600; color: #6B7075; }

/* ---------- 16. Service area ---------- */
.service { background: var(--paper); }
.chips {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .6rem;
  max-width: 860px;
  margin-inline: auto;
}
.chips li {
  background: var(--cream);
  border: 1px solid #E4DECE;
  border-radius: 999px;
  padding: .5rem 1.1rem;
  font-size: .95rem;
  font-weight: 600;
  color: var(--ink);
}
.service-note { text-align: center; margin-top: 1.75rem; color: var(--ink-soft); }
.service-note a { color: var(--ink); font-weight: 700; }

/* ---------- 17. FAQ ---------- */
.faq { background: var(--cream); }
.faq-list details {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  margin-bottom: .75rem;
}
.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
  font-weight: 700;
  color: var(--ink);
  list-style: none;
  min-height: 32px;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold-deep);
  line-height: 1;
  transition: transform .25s ease;
  flex-shrink: 0;
}
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { margin-top: .8rem; color: var(--ink-soft); }

/* ---------- 18. Contact ---------- */
.contact {
  position: relative;
  background: var(--paper);
}
/* Faint fabric texture behind the contact section instead of flat white */
.contact::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, #FFFFFF 0%, rgb(255 255 255 / .93) 45%, #FFFFFF 100%),
    url("../images/fabric-samples.jpg") center / cover no-repeat;
  pointer-events: none;
}
.contact > .container { position: relative; }
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  max-width: 860px;
  margin-inline: auto;
}
.contact-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-1);
  padding: 2rem 1.75rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .9rem;
}
.contact-icon {
  width: 64px; height: 64px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--black-950);
  color: var(--gold);
}
.contact-icon .icon { width: 30px; height: 30px; }
.contact-card .btn { font-size: clamp(.88rem, 2.6vw, 1rem); }
.contact-sub { font-size: .9rem; color: var(--ink-soft); }

/* Quote form (spans the full grid row below the call/email cards) */
.contact-form-card { grid-column: 1 / -1; }
.quote-form {
  width: 100%;
  max-width: 560px;
  display: grid;
  gap: .85rem;
  text-align: left;
  margin-top: .25rem;
}
.qf-row { display: grid; gap: .85rem; }
.quote-form label { display: block; }
.quote-form input,
.quote-form textarea {
  width: 100%;
  padding: .85rem 1rem;
  border: 1.5px solid #D9D2BF;
  border-radius: 10px;
  font: inherit;
  color: var(--ink);
  background: var(--cream);
}
.quote-form input::placeholder,
.quote-form textarea::placeholder { color: #8A8577; }
.quote-form input:focus-visible,
.quote-form textarea:focus-visible {
  outline: 3px solid var(--gold-text);
  outline-offset: 1px;
}
.quote-form textarea { resize: vertical; min-height: 90px; }
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px;
  opacity: 0;
}
.cf-turnstile { margin-inline: auto; min-height: 65px; }
.form-status { min-height: 1.5em; font-weight: 700; text-align: center; color: var(--ink); }
.form-privacy { font-size: .82rem; color: var(--ink-soft); text-align: center; }

@media (min-width: 640px) {
  .qf-row { grid-template-columns: 1fr 1fr; }
}
.contact-micro {
  text-align: center;
  margin-top: 1.75rem;
  font-size: .92rem;
  color: var(--ink-soft);
}

/* ---------- 19. Footer ---------- */
.site-footer {
  position: relative;
  background: var(--black-950);
  color: #C7CBCE;
}
/* Faded fabric weave behind the footer, kept dark */
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgb(14 15 16 / .96) 0%, rgb(14 15 16 / .88) 60%, rgb(14 15 16 / .96) 100%),
    url("../images/sunscreen2.jpg") center / cover no-repeat;
  pointer-events: none;
}
.site-footer .container { position: relative; }
.footer-grid {
  display: grid;
  gap: 2.25rem;
  padding-block: clamp(2.5rem, 6vw, 4rem) 1.5rem;
}
.footer-brand .brand-name strong { color: var(--gold); }
.footer-brand .brand-name small { color: var(--on-dark); }
.footer-brand .brand-logo { height: 40px; }
.footer-brand p { margin-top: 1rem; max-width: 30em; font-size: .95rem; }
.footer-nav { display: flex; flex-direction: column; gap: .55rem; }
.footer-nav a, .footer-contact a {
  color: var(--on-dark);
  text-decoration: none;
  font-weight: 500;
}
.footer-nav a:hover, .footer-contact a:hover { text-decoration: underline; text-underline-offset: 4px; color: var(--gold); }
.footer-contact { display: flex; flex-direction: column; gap: .55rem; }
.footer-contact a { font-weight: 700; }
.footer-contact p { font-size: .92rem; }
.footer-badges { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .5rem; }
.footer-badges span {
  border: 1px solid rgb(237 179 49 / .45);
  border-radius: 999px;
  padding: .25rem .8rem;
  font-size: .8rem;
  color: var(--on-dark);
}
.footer-legal {
  border-top: 1px solid rgb(255 255 255 / .12);
  padding-block: 1.25rem;
  font-size: .85rem;
  color: #8B9094;
}

@media (min-width: 960px) {
  .footer-grid { grid-template-columns: 1.2fr .7fr 1fr; gap: 3rem; }
}
@media (max-width: 959.98px) {
  .site-footer { padding-bottom: 84px; } /* clearance for the sticky CTA bar */
}

/* ---------- 20. Sticky mobile CTA bar ---------- */
.sticky-cta {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 60;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--black-950);
  padding-bottom: env(safe-area-inset-bottom);
  box-shadow: 0 -4px 16px rgb(0 0 0 / .35);
  transition: transform .35s ease;
}
.sticky-cta a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  min-height: 56px;
  font-weight: 800;
  font-size: 1rem;
  text-decoration: none;
}
.sticky-cta .icon { width: 20px; height: 20px; }
.sticky-call { background: var(--gold); color: var(--ink); }
.sticky-email { background: var(--black-950); color: var(--on-dark); }
.sticky-cta.is-hidden { transform: translateY(110%); }

@media (min-width: 960px) {
  .sticky-cta { display: none; }
}

/* ---------- 21. Reveal on scroll (JS-gated; no-JS never hides content) ---------- */
html.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s ease, transform .6s ease;
}
html.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}
html.js .reveal[data-delay="1"] { transition-delay: .08s; }
html.js .reveal[data-delay="2"] { transition-delay: .16s; }
html.js .reveal[data-delay="3"] { transition-delay: .24s; }
html.js .reveal[data-delay="4"] { transition-delay: .32s; }

/* ---------- 22. Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}
