/* ============================================================
   SunLouvre · Pergola 2 semaines — Landing redesign
   Type:  Feature Display (display)  +  Manrope (body)
   ============================================================ */

@font-face {
  font-family: 'Feature Display';
  src: url('../fonts/Feature-Display-Light.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

:root {
  /* ink */
  --ink-0:    #0a0908;            /* near-black, pergola */
  --ink-1:    #1b1815;            /* charcoal */
  --ink-2:    #4a443c;            /* deep stone */
  --ink-3:    #7a7167;            /* muted */
  --ink-4:    #a89e92;            /* hint */

  /* paper / surface */
  --paper-0:  #f6f3ee;            /* base bg, warm ivory */
  --paper-1:  #efeae0;            /* card */
  --paper-2:  #e6dfd2;            /* section divider */
  --paper-3:  #d8cfbf;            /* line accent */

  /* accent — warm bronze, pulled from the hero string lights */
  --accent:   #8a6a4a;
  --accent-soft: #b8987a;
  --accent-deep: #6b4f37;

  /* dusk (used in dark sections) */
  --dusk-0:   #0e1622;
  --dusk-1:   #1a2233;
  --amber:    #f4b860;

  /* type stacks */
  --font-display: "Feature Display", "Cormorant Garamond", "Times New Roman", Georgia, serif;
  --font-body:    "Manrope", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-mono:    ui-monospace, "SF Mono", "Roboto Mono", Menlo, monospace;

  /* metrics */
  --container: 1320px;
  --gutter:    clamp(20px, 5vw, 56px);
  --section-pad: clamp(64px, 9vw, 132px);
  --radius-sm: 4px;
  --radius:    8px;
  --radius-lg: 16px;
}

/* ============================================================
   Reset-ish + base
   ============================================================ */

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* LP typography / surface - SCOPED to the redesign main so it doesn't leak into the WP header */
.ln2sem-redesign {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink-1);
  background: var(--paper-0);
  text-wrap: pretty;
}

img, video { display: block; max-width: 100%; height: auto; }
[hidden] { display: none !important; }

h1, h2, h3, h4 { margin: 0; font-weight: 400; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }

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

::selection { background: var(--ink-1); color: var(--paper-0); }

/* ============================================================
   Type system
   ============================================================ */

.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

.display {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.015em;
  color: var(--ink-0);
}
.display em {
  font-style: italic;
  font-weight: 400;
  color: var(--accent-deep);
}

.h-xxl { font-size: clamp(48px, 7.5vw, 112px); }
.h-xl  { font-size: clamp(40px, 5.6vw, 80px); }
.h-lg  { font-size: clamp(32px, 4.2vw, 60px); }
.h-md  { font-size: clamp(26px, 3vw, 42px); }
.h-sm  { font-size: clamp(20px, 2.2vw, 28px); }

.lede {
  font-size: clamp(17px, 1.4vw, 21px);
  font-weight: 400;
  line-height: 1.5;
  color: var(--ink-2);
  max-width: 56ch;
}

/* Defensive - kill bold on any p in the LP main (WP theme has p { font-weight: bold } somewhere) */
.ln2sem-redesign p { font-weight: 400; }
.ln2sem-redesign p strong, .ln2sem-redesign p b { font-weight: 700; }

/* ============================================================
   Layout primitives
   ============================================================ */

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

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

.rule {
  height: 1px;
  background: var(--paper-3);
  border: none;
  margin: 0;
}

/* Header CSS removed - WP theme owns .nxs-header on this page via get_header(). */


/* ============================================================
   Urgency band
   ============================================================ */

.urgency-band {
  background: var(--ink-0);
  color: var(--paper-0);
  font-size: 13px;
  letter-spacing: 0.02em;
  position: relative;
  z-index: 70;
}
.urgency-band__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 10px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}
.urgency-band__dot {
  width: 7px;
  height: 7px;
  background: var(--amber);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(244, 184, 96, .6);
  animation: pulse 2.2s ease-out infinite;
}
.urgency-band strong { font-weight: 700; }
.urgency-band a {
  text-decoration: underline;
  text-underline-offset: 4px;
  color: var(--amber);
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(244, 184, 96, .55); }
  70%  { box-shadow: 0 0 0 8px rgba(244, 184, 96, 0); }
  100% { box-shadow: 0 0 0 0 rgba(244, 184, 96, 0); }
}

/* ============================================================
   HERO
   ============================================================ */

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  min-height: calc(100svh - 130px);
  background: var(--paper-0);
  overflow: hidden;
}

.hero__left {
  padding: clamp(48px, 7vw, 96px) var(--gutter) clamp(48px, 7vw, 96px) clamp(40px, 7vw, 96px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 28px;
  position: relative;
  z-index: 2;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px 8px 10px;
  background: var(--paper-1);
  border: 1px solid var(--paper-3);
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink-1);
  width: max-content;
}
.hero__badge-dot {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse-accent 2.4s ease-out infinite;
}
@keyframes pulse-accent {
  0%   { box-shadow: 0 0 0 0 rgba(138, 106, 74, .5); }
  70%  { box-shadow: 0 0 0 10px rgba(138, 106, 74, 0); }
  100% { box-shadow: 0 0 0 0 rgba(138, 106, 74, 0); }
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(48px, 6.6vw, 96px);
  line-height: 0.96;
  font-weight: 500;
  letter-spacing: -0.018em;
  color: var(--ink-0);
  max-width: 14ch;
}
.hero__title-top {
  display: block !important;
  font-family: var(--font-body) !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: -0.005em !important;
  font-size: 0.86em !important;
  line-height: 1.0 !important;
  margin-bottom: 0.12em !important;
  color: var(--ink-0) !important;
}
.hero__title em {
  display: block;
  font-style: italic;
  font-weight: 400;
  color: var(--accent-deep);
  font-family: var(--font-display);
}
.hero__title small {
  display: block;
  font-style: italic;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 0.5em;
  margin-top: 8px;
  color: var(--ink-3);
}

.hero__lede {
  font-size: clamp(16px, 1.3vw, 19px);
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 48ch;
}
.hero__lede strong { color: var(--ink-0); font-weight: 600; }

.hero__cta-row {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: var(--ink-0);
  color: var(--paper-0);
  padding: 18px 28px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: transform .2s, background .2s;
  border: none;
  text-decoration: none;
}
.btn-primary:hover { background: var(--accent-deep); transform: translateY(-1px); }
.btn-primary .arrow {
  display: inline-block;
  transition: transform .25s;
}
.btn-primary:hover .arrow { transform: translateX(4px); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-1);
  padding: 12px 4px;
  border-bottom: 1px solid var(--ink-1);
  transition: color .2s, border-color .2s;
}
.btn-ghost:hover { color: var(--accent-deep); border-color: var(--accent-deep); }

.hero__meta {
  font-size: 13px;
  color: var(--ink-3);
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}
.hero__meta-dot { width: 3px; height: 3px; background: var(--ink-4); border-radius: 50%; }

.hero__trust {
  display: grid;
  grid-template-columns: repeat(2, auto);
  gap: 12px 28px;
  padding-top: 24px;
  border-top: 1px solid var(--paper-3);
  margin-top: 8px;
  max-width: 540px;
}
.hero__trust li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  color: var(--ink-2);
}
.hero__trust li::before {
  content: "";
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  background: var(--accent);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>") center/contain no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>") center/contain no-repeat;
}

.hero__right {
  position: relative;
  overflow: hidden;
}
.hero__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
}
.hero__photo-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,9,8,0) 40%, rgba(10,9,8,.35) 100%);
  pointer-events: none;
}
.hero__tag {
  position: absolute;
  left: 28px;
  bottom: 28px;
  right: 28px;
  background: rgba(10, 9, 8, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--paper-0);
  padding: 18px 22px;
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-width: 360px;
}
.hero__tag-eyebrow {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--amber);
}
.hero__tag-name {
  font-family: var(--font-display);
  font-size: 22px;
  font-style: italic;
  line-height: 1.1;
}
.hero__tag-meta { font-size: 12.5px; color: rgba(255, 245, 230, 0.7); }

.hero__corner-stamp {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 86px;
  height: 86px;
  border-radius: 50%;
  background: var(--paper-0);
  display: grid;
  place-items: center;
  text-align: center;
  font-family: var(--font-display);
  line-height: 1;
  rotate: -8deg;
  box-shadow: 0 14px 28px rgba(0,0,0,.18);
}
.hero__corner-stamp em {
  font-style: italic;
  font-size: 32px;
  color: var(--accent-deep);
}
.hero__corner-stamp span {
  display: block;
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-2);
  margin-top: 3px;
}

@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero__right { aspect-ratio: 4/3; }
  .hero__left { order: 2; padding: 48px var(--gutter) 56px; }
  .hero__right { order: 1; }
  .hero__corner-stamp { width: 72px; height: 72px; }
  .hero__corner-stamp em { font-size: 26px; }
}

/* ============================================================
   Marquee / proof strip
   ============================================================ */

.proof-strip {
  background: var(--paper-1);
  border-block: 1px solid var(--paper-3);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
}
.proof-strip__track {
  display: flex;
  width: max-content;
  padding: 22px 0;
  animation: proof-marquee 38s linear infinite;
}
.proof-strip__track:hover { animation-play-state: paused; }
@keyframes proof-marquee {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}
.proof-strip__group {
  display: flex;
  align-items: center;
  gap: 56px;
  padding-right: 56px;
  flex-shrink: 0;
}
.proof-strip__item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--ink-2);
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.proof-strip__item strong { color: var(--ink-0); font-weight: 700; }
.proof-strip__sep {
  width: 4px; height: 4px;
  background: var(--accent-soft);
  border-radius: 50%;
  flex-shrink: 0;
}
.proof-strip__stars {
  display: inline-flex;
  gap: 1px;
  color: var(--accent);
  font-size: 14px;
}
@media (prefers-reduced-motion: reduce) {
  .proof-strip__track { animation: none; }
}

/* ============================================================
   Emotional pull-quote band (dark)
   ============================================================ */

.pull-band {
  background: var(--dusk-0);
  color: var(--paper-0);
  position: relative;
  overflow: hidden;
}
.pull-band__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: clamp(80px, 12vw, 140px) var(--gutter);
  text-align: center;
}
.pull-band__quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(32px, 4.4vw, 60px);
  line-height: 1.18;
  letter-spacing: -0.01em;
  max-width: 22ch;
  margin: 0 auto;
}
.pull-band__quote strong {
  font-style: normal;
  font-weight: 500;
  color: var(--amber);
}
.pull-band__attr {
  margin-top: 32px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 245, 230, 0.55);
}

.pull-band::before, .pull-band::after {
  content: "";
  position: absolute;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(244,184,96,.18), transparent 65%);
  filter: blur(10px);
  pointer-events: none;
}
.pull-band::before { top: -120px; left: -80px; }
.pull-band::after  { bottom: -120px; right: -80px; }

/* ============================================================
   Process (timeline)
   ============================================================ */

.process {
  background: var(--paper-0);
}
.process__header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: end;
  margin-bottom: 64px;
}
.process__header .lede { justify-self: end; }

.process__timeline {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 28px;
  position: relative;
}
.process__timeline::before {
  content: "";
  position: absolute;
  top: 22px;
  left: 22px;
  right: 22px;
  height: 1px;
  background: var(--paper-3);
}
.process__step { position: relative; }
.process__step-num {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--paper-0);
  border: 1px solid var(--paper-3);
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-1);
  position: relative;
  z-index: 2;
  margin-bottom: 22px;
}
.process__step:last-child .process__step-num {
  background: var(--ink-0);
  color: var(--paper-0);
  border-color: var(--ink-0);
}
.process__step-day {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}
.process__step-title {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 500;
  line-height: 1.05;
  color: var(--ink-0);
  margin-bottom: 10px;
}
.process__step-desc {
  font-size: 14.5px;
  color: var(--ink-2);
  line-height: 1.5;
}

@media (max-width: 860px) {
  .process__header { grid-template-columns: 1fr; gap: 24px; }
  .process__header .lede { justify-self: start; }
  .process__timeline { grid-template-columns: 1fr; gap: 36px; }
  .process__timeline::before { display: none; }
}

/* ============================================================
   Why 2 semaines — three reasons (with imagery)
   ============================================================ */

.why {
  background: var(--paper-1);
  border-block: 1px solid var(--paper-3);
}
.why__header {
  text-align: center;
  margin-bottom: 64px;
}
.why__header .lede { margin: 16px auto 0; }

.why__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.why__card {
  background: var(--paper-0);
  border-radius: var(--radius);
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: transform .35s ease, box-shadow .35s ease;
  position: relative;
}
.why__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 60px -20px rgba(10, 9, 8, 0.18);
}
.why__card-num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 48px;
  color: var(--accent);
  line-height: 1;
}
.why__card-title {
  font-family: var(--font-display);
  font-size: 30px;
  line-height: 1.05;
  color: var(--ink-0);
  font-weight: 500;
}
.why__card-desc { font-size: 15px; color: var(--ink-2); line-height: 1.55; }

@media (max-width: 860px) {
  .why__grid { grid-template-columns: 1fr; gap: 20px; }
}

/* ============================================================
   Offer (model details + photo)
   ============================================================ */

.offer {
  background: var(--paper-0);
}
.offer__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 64px;
  align-items: start;
}
.offer__media {
  position: sticky;
  top: 120px;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/5;
}
.offer__media img { width: 100%; height: 100%; object-fit: cover; }

.offer__head {
  margin-bottom: 36px;
}
.offer__head .h-xl { margin-block: 12px 16px; }
.offer__head .lede { max-width: 100%; }

.offer__specs li {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 24px;
  padding: 24px 0;
  border-top: 1px solid var(--paper-3);
}
.offer__specs li:last-child { border-bottom: 1px solid var(--paper-3); }
.offer__specs-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  padding-top: 4px;
}
.offer__specs-value {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 500;
  line-height: 1.1;
  color: var(--ink-0);
  margin-bottom: 6px;
}
.offer__specs-desc { font-size: 14.5px; color: var(--ink-2); line-height: 1.55; }

@media (max-width: 960px) {
  .offer__layout { grid-template-columns: 1fr; gap: 36px; }
  .offer__media { position: static; aspect-ratio: 4/3; }
  .offer__specs li { grid-template-columns: 1fr; gap: 6px; }
}

/* ============================================================
   Real installs gallery
   ============================================================ */

.gallery {
  background: var(--paper-2);
}
.gallery__header {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 32px;
  margin-bottom: 48px;
}
.gallery__count {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 22px;
  color: var(--ink-2);
  text-align: right;
}
.gallery__count strong {
  display: block;
  font-style: normal;
  font-weight: 500;
  font-size: 56px;
  color: var(--ink-0);
  line-height: 1;
  margin-bottom: 4px;
}

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 220px;
  gap: 14px;
}
.gallery__item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-sm);
  cursor: zoom-in;
  transition: box-shadow 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.gallery__item:hover {
  box-shadow: 0 18px 40px rgba(51, 50, 48, 0.18);
}
.gallery__item img {
  width: 100%; height: 100%; object-fit: cover;
  object-position: center 65%;
  transition: transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.gallery__item--xl img { object-position: center 75%; }
.gallery__item:hover img { transform: scale(1.08); }

.gallery__item--xl { grid-column: span 4; grid-row: span 2; }
.gallery__item--lg { grid-column: span 2; grid-row: span 2; }
.gallery__item--md { grid-column: span 2; grid-row: span 2; }
.gallery__item--sm { grid-column: span 2; grid-row: span 2; }

/* Modal lightbox */
.gallery-modal {
  position: fixed;
  inset: 0;
  background: rgba(10, 9, 8, 0.94);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 5vh 5vw;
  cursor: zoom-out;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.gallery-modal.is-open {
  display: flex;
  opacity: 1;
}
.gallery-modal__img {
  max-width: 100%;
  max-height: 88vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
  cursor: default;
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.5);
}
.gallery-modal__caption {
  position: absolute;
  bottom: 4vh;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--paper-0);
  background: rgba(10, 9, 8, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: 8px 14px;
  border-radius: 4px;
}
.gallery-modal__caption-dot {
  width: 5px; height: 5px;
  background: var(--amber);
  border-radius: 50%;
}
.gallery-modal__close,
.gallery-modal__nav {
  position: absolute;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.2s ease;
  z-index: 2;
}
.gallery-modal__close { top: 24px; right: 24px; }
.gallery-modal__nav--prev { left: 24px; top: 50%; transform: translateY(-50%); }
.gallery-modal__nav--next { right: 24px; top: 50%; transform: translateY(-50%); }
.gallery-modal__close:hover,
.gallery-modal__nav:hover {
  background: rgba(255, 255, 255, 0.24);
}

.gallery__caption {
  position: absolute;
  left: 16px; bottom: 16px;
  display: flex;
  gap: 10px;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: rgba(10, 9, 8, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: var(--paper-0);
  padding: 7px 11px;
  border-radius: 4px;
}
.gallery__caption-dot {
  width: 5px; height: 5px;
  background: var(--amber);
  border-radius: 50%;
}

@media (max-width: 960px) {
  .gallery__header { grid-template-columns: 1fr; }
  .gallery__count { text-align: left; }
  .gallery__grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }
  .gallery__item--xl, .gallery__item--lg, .gallery__item--md, .gallery__item--sm {
    grid-column: span 2; grid-row: span 1;
  }
  .gallery__item--xl { grid-row: span 2; }
}

/* ============================================================
   Featured testimonial + smaller cards
   ============================================================ */

.reviews { background: var(--paper-0); }
.reviews__header {
  text-align: center;
  margin-bottom: 64px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
.reviews__badge {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 10px 18px;
  border: 1px solid var(--paper-3);
  border-radius: 999px;
  background: var(--paper-1);
  font-size: 13.5px;
  letter-spacing: 0.01em;
  color: var(--ink-1);
}
.reviews__badge-g { flex-shrink: 0; }
.reviews__badge-stars {
  color: var(--accent);
  letter-spacing: 0.04em;
  font-size: 14px;
}
.reviews__badge-score strong {
  font-weight: 700;
  color: var(--ink-0);
  font-size: 14.5px;
}
.reviews__title {
  margin: 0;
}
.reviews__google-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ink-1);
  padding: 8px 0;
  border-bottom: 1px solid var(--ink-1);
  transition: color .2s, border-color .2s, transform .2s;
}
.reviews__google-link:hover { color: var(--accent-deep); border-color: var(--accent-deep); transform: translateY(-1px); }

.reviews__featured {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  margin-bottom: 64px;
}
.reviews__featured-image {
  aspect-ratio: 4/5;
  border-radius: var(--radius);
  overflow: hidden;
}
.reviews__featured-image img { width: 100%; height: 100%; object-fit: cover; }
.reviews__featured-quote {
  font-family: var(--font-display);
  font-size: clamp(26px, 2.6vw, 40px);
  line-height: 1.2;
  font-style: italic;
  color: var(--ink-0);
  margin-bottom: 28px;
}
.reviews__featured-quote::before {
  content: "“";
  font-size: 1.2em;
  color: var(--accent);
  display: block;
  line-height: 0.5;
  margin-bottom: 12px;
}
.reviews__featured-attr {
  display: flex;
  align-items: center;
  gap: 14px;
}
.reviews__featured-name {
  font-weight: 600;
  font-size: 15px;
  color: var(--ink-0);
}
.reviews__featured-meta { font-size: 13px; color: var(--ink-3); }
.reviews__stars { display: inline-flex; gap: 2px; color: var(--accent); margin-bottom: 10px; }

.reviews__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.reviews__card {
  padding: 28px;
  background: var(--paper-1);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.reviews__card-stars { display: inline-flex; gap: 2px; color: var(--accent); font-size: 14px; }
.reviews__card-text { font-size: 14.5px; line-height: 1.55; color: var(--ink-1); }
.reviews__card-footer {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 14px; border-top: 1px solid var(--paper-3);
}
.reviews__card-name { font-weight: 600; font-size: 13.5px; color: var(--ink-0); }
.reviews__card-source {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
}

@media (max-width: 860px) {
  .reviews__featured { grid-template-columns: 1fr; gap: 32px; }
  .reviews__grid { grid-template-columns: 1fr; }
}

/* ============================================================
   Form section
   ============================================================ */

.form-section {
  background: var(--ink-0);
  color: var(--paper-0);
  position: relative;
  overflow: hidden;
}
.form-section__bg {
  position: absolute;
  inset: 0;
  background: url("../img/install-sunset-stairs.jpg") center/cover;
  opacity: 0.18;
  filter: grayscale(0.2);
  pointer-events: none;
}
.form-section__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.form-section__copy { grid-column: 1; grid-row: 1; }
.form-section__inner .form-card { grid-column: 2; grid-row: 1; }
.form-section__eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 16px;
}
.form-section__title {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 72px);
  line-height: 1;
  font-weight: 500;
  color: var(--paper-0);
  letter-spacing: -0.015em;
  margin-bottom: 24px;
}
.form-section__title em { font-style: italic; color: var(--amber); }
.form-section__lede {
  font-size: 17px;
  color: rgba(255, 245, 230, 0.7);
  line-height: 1.55;
  max-width: 50ch;
}
.form-section__assur {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 245, 230, 0.18);
  display: grid;
  gap: 12px;
}
.form-section__assur li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: rgba(255, 245, 230, 0.85);
}
.form-section__assur li::before {
  content: "";
  width: 16px; height: 16px;
  background: var(--amber);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>") center/contain no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>") center/contain no-repeat;
}

.form-card {
  background: var(--paper-0);
  color: var(--ink-1);
  border-radius: var(--radius-lg);
  padding: clamp(32px, 4vw, 48px);
  box-shadow: 0 30px 60px -10px rgba(0, 0, 0, 0.4);
}
.form-card__header { margin-bottom: 24px; }
.form-card__title {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 500;
  line-height: 1.1;
  color: var(--ink-0);
}
.form-card__sub {
  font-size: 14px;
  color: var(--ink-2);
  margin-top: 6px;
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.form-row--single { grid-template-columns: 1fr; }
.form-field input,
.form-field select {
  width: 100%;
  padding: 14px 16px;
  font-family: inherit;
  font-size: 15px;
  background: var(--paper-0);
  border: 1px solid var(--paper-3);
  border-radius: 6px;
  color: var(--ink-0);
  outline: none;
  transition: border-color .2s, background .2s;
}
.form-field input::placeholder { color: var(--ink-3); }
.form-field input:focus,
.form-field select:focus { border-color: var(--accent); background: var(--paper-1); }
.form-card .btn-primary { width: 100%; justify-content: center; margin-top: 14px; padding-block: 20px; }
.form-card .quote-form__required-note {
  font-size: 12px;
  color: var(--ink-3);
  text-align: center;
  margin: 12px 0 0;
  font-weight: 400;
}
.form-card__legal {
  font-size: 12px;
  color: var(--ink-3);
  margin-top: 16px;
  text-align: center;
}

@media (max-width: 960px) {
  .form-section__inner { grid-template-columns: 1fr; gap: 32px; }
  .form-section__copy,
  .form-section__inner .form-card { grid-column: 1; grid-row: auto; }
  .form-row { grid-template-columns: 1fr; }
}

/* ============================================================
   Closing CTA
   ============================================================ */

.closing {
  position: relative;
  min-height: 70vh;
  display: grid;
  place-items: center;
  overflow: hidden;
  text-align: center;
  color: var(--paper-0);
}
.closing__bg {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 70%;
  z-index: 0;
}
.closing::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,9,8,0.55) 0%, rgba(10,9,8,0.75) 100%);
  z-index: 1;
}
.closing__inner {
  position: relative;
  z-index: 2;
  padding: clamp(80px, 12vw, 160px) var(--gutter);
  max-width: 900px;
}
.closing__eyebrow {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 22px;
}
.closing__title {
  font-family: var(--font-display);
  font-size: clamp(48px, 7vw, 96px);
  line-height: 0.98;
  font-weight: 500;
  letter-spacing: -0.018em;
  margin-bottom: 28px;
}
.closing__title em { font-style: italic; color: var(--amber); }
.closing__lede {
  font-size: 17px;
  color: rgba(255, 245, 230, 0.78);
  margin-bottom: 40px;
  max-width: 56ch;
  margin-inline: auto;
}
.closing .btn-primary {
  background: var(--paper-0);
  color: var(--ink-0);
  padding: 22px 36px;
  font-size: 14px;
}
.closing .btn-primary:hover { background: var(--amber); color: var(--ink-0); }
.closing__phone {
  margin-top: 28px;
  font-size: 15px;
  color: rgba(255, 245, 230, 0.7);
}
.closing__phone a {
  color: var(--paper-0);
  font-weight: 600;
  border-bottom: 1px solid rgba(255, 245, 230, 0.3);
  padding-bottom: 2px;
}

/* Footer CSS removed - no .foot element in this template. */

/* ============================================================
   Sticky mobile CTA
   ============================================================ */

.sticky-mobile {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 75;
  background: var(--ink-0);
  color: var(--paper-0);
  display: none;
  padding: 10px 14px;
  gap: 10px;
  align-items: center;
  box-shadow: 0 -10px 30px rgba(0,0,0,.18);
}
.sticky-mobile__phone {
  flex-shrink: 0;
  width: 48px; height: 48px;
  border-radius: 12px;
  background: rgba(255,255,255,0.08);
  display: grid; place-items: center;
  color: var(--paper-0);
  font-size: 20px;
}
.sticky-mobile__cta {
  flex: 1;
  display: block;
  background: var(--amber);
  color: var(--ink-0);
  padding: 14px 18px;
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
}
@media (max-width: 768px) {
  .sticky-mobile { display: flex; }
  body { padding-bottom: 80px; }
}

/* ============================================================
   Reveal animations (CSS-only, no JS dep)
   ============================================================ */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1);
}
.reveal.in-view { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { transition: none; opacity: 1; transform: none; }
}

/* ==========================================================================
   CF7 INTEGRATION
   Maps WordPress Contact Form 7's default HTML output (wrapping <p>, wpcf7-*
   classes, etc.) onto the redesign's .form-card visuals.
   ========================================================================== */

.form-card form { display: block; }
.form-card form p { margin: 0 0 14px 0; }
.form-card .wpcf7-form-control-wrap { display: block; width: 100%; }
.form-card .wpcf7-form-control { width: 100%; }

.form-card input[type="text"],
.form-card input[type="email"],
.form-card input[type="tel"],
.form-card input[type="number"],
.form-card select,
.form-card textarea {
  width: 100%;
  padding: 14px 16px;
  font-family: inherit;
  font-size: 15px;
  background: var(--paper-0);
  border: 1px solid var(--paper-3);
  border-radius: 6px;
  color: var(--ink-0);
  outline: none;
  transition: border-color .2s, background .2s;
  appearance: none;
  -webkit-appearance: none;
}
.form-card input::placeholder,
.form-card textarea::placeholder { color: var(--ink-3); }
.form-card input:focus,
.form-card select:focus,
.form-card textarea:focus {
  border-color: var(--accent);
  background: var(--paper-1);
}

.form-card select {
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none' stroke='%230a0908' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='1 1 6 6 11 1'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 12px 8px;
  padding-right: 44px;
}

/* CF7 validation states */
.form-card .wpcf7-not-valid { border-color: #c84545 !important; }
.form-card .wpcf7-not-valid-tip {
  font-size: 12px;
  color: #c84545;
  margin-top: 4px;
}
.form-card .wpcf7-response-output {
  margin: 16px 0 0 !important;
  padding: 12px 16px !important;
  border: 1px solid var(--paper-3) !important;
  border-radius: 4px;
  font-size: 13px;
  color: var(--ink-1);
}

/* Submit button styled like .btn-primary */
.form-card .wpcf7-submit,
.form-card input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  padding: 20px 32px;
  margin-top: 14px;
  background: var(--ink-0);
  color: var(--paper-0);
  border: none;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .2s ease, transform .15s ease, box-shadow .2s ease;
}
.form-card .wpcf7-submit:hover,
.form-card input[type="submit"]:hover {
  background: var(--accent-deep);
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(10, 9, 8, 0.18);
}
.form-card .wpcf7-submit:active,
.form-card input[type="submit"]:active { transform: translateY(0); }

/* If the CF7 form was built with .quote-form__row pair wrappers, lay out as 2-col */
.form-card .quote-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}
.form-card .quote-form__row > * { margin: 0; }

@media (max-width: 600px) {
  .form-card .quote-form__row { grid-template-columns: 1fr; }
}

/* CF7 spinner */
.form-card .wpcf7-spinner { display: inline-block; vertical-align: middle; margin-left: 8px; }

/* ==========================================================================
   Minimal page-scoped tweaks (WP header untouched, owned by the theme)
   ========================================================================== */
body.page-template-template-landing-pergola-2semaines { padding-top: 130px; }
@media (max-width: 1100px) {
  body.page-template-template-landing-pergola-2semaines { padding-top: 100px; }
}
.ln2sem-redesign .hero { min-height: calc(100vh - 130px); }
@media (max-width: 1100px) {
  .ln2sem-redesign .hero { min-height: calc(100vh - 100px); }
}

/* WP header background - CREAM only on this template, nothing else touched */
body.page-template-template-landing-pergola-2semaines header.w-full,
body.page-template-template-landing-pergola-2semaines header.w-full > div,
body.page-template-template-landing-pergola-2semaines .nxs-header,
body.page-template-template-landing-pergola-2semaines .nxs-nav,
body.page-template-template-landing-pergola-2semaines .nav-up,
body.page-template-template-landing-pergola-2semaines .nav-down { background: var(--paper-0) !important; }
