:root {
  --ink: #111111;
  --ink-soft: #2a2a2a;
  --paper: #ffffff;
  --paper-2: #efe6d8;
  --sand: #efe6d8;
  --text: #111111;
  --muted: #5a5a5a;
  --line: rgba(0, 0, 0, 0.12);
  --white: #ffffff;
  --black: #000000;
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.1);
  --radius: 16px;
  --header-h: 104px;
  --font-serif: "Cormorant Garamond", Georgia, serif;
  --font-sans: "Outfit", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--paper);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.65;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-serif);
  color: var(--ink);
  line-height: 1.15;
  font-weight: 600;
  margin: 0 0 0.6em;
}

h1 {
  font-size: clamp(2.5rem, 6vw, 4.6rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.1rem);
}

h3 {
  font-size: 1.5rem;
}

p {
  margin: 0 0 1em;
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.eyebrow {
  display: inline-block;
  color: var(--ink);
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 12px;
}

.skip-link {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link:focus {
  position: fixed;
  top: 12px;
  left: 12px;
  width: auto;
  height: auto;
  margin: 0;
  clip: auto;
  overflow: visible;
  background: var(--black);
  color: var(--white);
  padding: 8px 12px;
  z-index: 100;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  padding-top: env(safe-area-inset-top);
}

.header-inner {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-right: auto;
  flex-shrink: 0;
}

.logo img {
  height: 86px;
  width: auto;
  max-width: min(280px, 48vw);
  object-fit: contain;
  object-position: left center;
  display: block;
}

.logo-text strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--ink);
  line-height: 1;
}

.logo-text small {
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  gap: 22px;
}

.site-nav a {
  font-size: 0.95rem;
  color: var(--ink-soft);
  position: relative;
  padding: 6px 0;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--black);
}

.site-nav a.is-active::after,
.site-nav a:hover::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--black);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  font-weight: 600;
  border-radius: 999px;
  padding: 13px 22px;
  transition: 0.2s ease;
}

.btn-call,
.btn-primary,
.btn-dark {
  background: var(--black);
  color: var(--white);
}

.btn-call:hover,
.btn-primary:hover,
.btn-dark:hover {
  background: #222;
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.7);
}

.btn-ghost:hover {
  background: var(--white);
  color: var(--black);
}

.hero .btn-primary,
.cookie-bar .btn-primary {
  background: var(--white);
  color: var(--black);
}

.hero .btn-primary:hover,
.cookie-bar .btn-primary:hover {
  background: #e8e8e8;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 10px;
  flex-shrink: 0;
}

.btn-call {
  flex-shrink: 0;
  white-space: nowrap;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  margin: 0 auto;
  position: relative;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle span::before {
  top: -6px;
}

.nav-toggle span::after {
  top: 6px;
}

.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  display: grid;
  place-items: end start;
  overflow: hidden;
  color: var(--white);
}

.hero-media,
.hero-slide {
  position: absolute;
  inset: 0;
}

.hero-slide {
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 1.1s ease;
  animation: kenburns 20s ease-in-out infinite;
}

.hero-slide.is-active {
  opacity: 1;
}

@keyframes kenburns {
  0% {
    transform: scale(1.02) translate3d(0, 0, 0);
  }
  50% {
    transform: scale(1.08) translate3d(-1%, -0.5%, 0);
  }
  100% {
    transform: scale(1.02) translate3d(0, 0, 0);
  }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.52) 46%, rgba(0, 0, 0, 0.28) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.55));
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 80px 0 92px;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.hero h1,
.hero h2,
.hero .eyebrow,
.hero p,
.hero .lede,
.hero-meta,
.hero-video-badge {
  color: var(--white);
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.45);
}

.hero-content p.lede {
  max-width: 560px;
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.95);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-meta {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.92rem;
}

.hero-video-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-video-badge i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.2);
  animation: pulse 1.6s infinite;
}

@keyframes pulse {
  50% {
    transform: scale(0.7);
    opacity: 0.7;
  }
}

.page-intro {
  background: var(--sand);
  padding: 88px 0;
  overflow: hidden;
}

section {
  padding: 88px 0;
}

.section-head {
  max-width: 680px;
  margin-bottom: 40px;
}

.split,
.page-intro-grid,
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.split-copy,
.page-intro-copy {
  max-width: 500px;
}

.contact-wrap .split-copy {
  max-width: none;
}

.split-copy h1,
.page-intro-copy h1 {
  max-width: 14ch;
  font-size: clamp(2.4rem, 4.2vw, 3.5rem);
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.split-copy h2 {
  margin-bottom: 16px;
}

.split-copy .lede,
.page-intro-copy .lede {
  color: var(--muted);
  font-size: 1.05rem;
  margin-bottom: 22px;
}

.split-copy p:last-of-type,
.page-intro-copy p:last-of-type {
  margin-bottom: 0;
}

.split-copy .btn,
.page-intro-copy .btn {
  margin-top: 24px;
}

.split-copy .panel {
  margin-top: 20px;
}

.split-copy .eyebrow,
.page-intro-copy .eyebrow {
  color: var(--muted);
}

.page-intro-media {
  margin: 0;
}

.page-intro-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  border-radius: var(--radius);
}

.split img,
.frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}

.frame,
.page-intro-media {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow);
  background: #111;
  width: 100%;
}

.frame.tall,
.frame.wide,
.page-intro-media {
  aspect-ratio: 16 / 9;
}

.muted {
  color: var(--muted);
}

.rule {
  width: 64px;
  height: 2px;
  background: var(--black);
  margin: 18px 0 22px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}

.service-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  height: auto;
  object-fit: cover;
  object-position: center;
}

.service-card .body {
  padding: 22px 22px 26px;
}

.service-card h3 {
  margin-bottom: 8px;
}

.service-card p {
  color: var(--muted);
  font-size: 0.95rem;
}

.service-card a.more,
.blog-card a.more {
  color: var(--black);
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.gallery-grid a {
  overflow: hidden;
  border-radius: 16px;
  background: #111;
}

.gallery-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  height: auto;
  object-fit: cover;
  object-position: center;
  transition: transform 0.6s ease;
}

.gallery-grid a:hover img {
  transform: scale(1.04);
}

.contact-wrap {
  align-items: start;
}

.quote-card {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 24px;
  align-items: stretch;
  background: transparent;
}

.quote-info {
  padding: 48px 44px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  background: #f7f1e8;
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.quote-form {
  padding: 48px 44px;
  display: grid;
  gap: 16px;
  align-content: start;
  background: var(--white);
  border-radius: 24px;
  box-shadow: var(--shadow);
  position: relative;
}

.quote-info h2 {
  margin-bottom: 12px;
}

.quote-info > div > p {
  color: var(--muted);
  max-width: 36ch;
  margin: 0;
}

.quote-details {
  list-style: none;
  margin: auto 0 0;
  padding: 0;
}

.quote-details li {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 12px;
  align-items: baseline;
  padding: 14px 0;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.quote-details li span {
  color: var(--muted);
  font-size: 0.88rem;
}

.footer-contact a {
  overflow-wrap: anywhere;
}

.quote-details li strong {
  font-weight: 600;
  text-align: left;
  overflow-wrap: anywhere;
}

.quote-form .btn {
  width: 100%;
  margin-top: 4px;
}

.quote-form textarea {
  min-height: 88px;
}

.file-box {
  border: 1px dashed #d2c4a8;
  border-radius: 12px;
  padding: 14px 16px;
  background: #fbf8f3;
  font-weight: 500;
  color: var(--muted);
}

.file-box small {
  font-weight: 400;
  font-size: 0.8rem;
}

.file-box input[type="file"] {
  margin-top: 8px;
  padding: 0;
  border: 0;
  background: transparent;
}

.file-box input[type="file"]::file-selector-button {
  border: 0;
  background: var(--black);
  color: var(--white);
  border-radius: 999px;
  padding: 8px 14px;
  margin-right: 10px;
  font: inherit;
  font-size: 0.82rem;
  cursor: pointer;
}

.panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}

form {
  display: grid;
  gap: 14px;
}

label {
  display: grid;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
}

input,
textarea,
button,
.file-box,
.file-box input[type="file"] {
  max-width: 100%;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 12px;
  padding: 12px 14px;
  font: inherit;
  font-size: 16px;
  color: var(--text);
}

textarea {
  min-height: 110px;
  resize: vertical;
}

input:focus,
textarea:focus {
  outline: 2px solid rgba(0, 0, 0, 0.25);
  border-color: var(--black);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-status {
  display: none;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--paper-2);
  color: var(--black);
  font-size: 0.95rem;
}

.form-status.is-visible {
  display: block;
}

.form-status.is-error {
  background: #f3e8e8;
}

.form-note {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 400;
  color: var(--muted);
}

.form-note a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 24px;
  background: rgba(0, 0, 0, 0.88);
}

.lightbox.is-open {
  display: flex;
}

.lightbox figure {
  margin: 0;
  max-width: min(1100px, calc(100vw - 160px));
}

.lightbox img {
  max-height: 82vh;
  width: auto;
  max-width: 100%;
  border-radius: 12px;
  object-fit: contain;
}

.lightbox figcaption {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  margin-top: 12px;
  text-align: center;
}

.lightbox-close,
.lightbox-nav {
  border: 0;
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  cursor: pointer;
  font: inherit;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  border-radius: 999px;
  padding: 10px 16px;
}

.lightbox-nav {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 1.8rem;
  line-height: 1;
  flex-shrink: 0;
}

.lightbox-close:hover,
.lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.22);
}

.hours-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 8px;
}

.hours-table td {
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.blog-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
}

.blog-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  object-fit: cover;
  object-position: center;
}

.blog-card .body {
  padding: 22px;
}

.article {
  max-width: 760px;
  margin: 0 auto;
}

.article img.lead {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
  border-radius: var(--radius);
  margin: 12px 0 28px;
}

.site-footer {
  background: var(--black);
  color: rgba(255, 255, 255, 0.78);
  padding: 40px 0 24px;
}

.footer-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px 40px;
  padding-bottom: 24px;
}

.site-footer .footer-brand {
  margin: 0;
  flex-shrink: 0;
}

.site-footer .footer-brand img {
  height: 96px;
  width: auto;
  max-width: min(280px, 80vw);
  object-fit: contain;
  filter: brightness(0) invert(1);
  display: block;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 26px;
  font-size: 0.95rem;
}

.footer-nav a {
  color: rgba(255, 255, 255, 0.82);
}

.footer-contact {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 18px;
  font-size: 0.9rem;
}

.site-footer a:hover {
  color: var(--white);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 16px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.55);
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.55);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.article h2 {
  margin-top: 1.4em;
  font-size: 1.7rem;
}

.article ul {
  padding-left: 1.2em;
  margin: 0 0 1em;
}

.article li {
  margin-bottom: 0.4em;
}

.cookie-bar {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 50;
  background: var(--black);
  color: var(--white);
  border-radius: 16px;
  padding: 18px 20px;
  display: none;
  align-items: center;
  gap: 16px;
  box-shadow: var(--shadow);
}

.cookie-bar.is-visible {
  display: flex;
}

.cookie-bar p {
  margin: 0;
  flex: 1;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.9);
}

.cookie-bar a {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cookie-actions {
  display: flex;
  gap: 8px;
}

.btn-small {
  padding: 10px 16px;
  font-size: 0.88rem;
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.45);
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 28px;
}

.stat strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--ink);
}

.band {
  background: var(--sand);
}

.dark-band {
  background: var(--sand);
  color: var(--text);
}

.dark-band h2,
.dark-band h3 {
  color: var(--ink);
}

.cta-row {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
}

.testimonials {
  background: var(--paper);
  border-top: 1px solid var(--line);
}

.testimonial-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  max-width: none;
}

.testimonial-head h2 {
  margin-bottom: 0;
}

.testimonial-score {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  white-space: nowrap;
}

.testimonial-score strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 2.1rem;
  color: var(--ink);
  line-height: 1;
  margin-bottom: 4px;
}

.testimonial-carousel {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
}

.testimonial-viewport {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.testimonial-viewport::-webkit-scrollbar {
  display: none;
}

.testimonial-card {
  flex: 0 0 calc((100% - 40px) / 3);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
  padding: 28px 26px 30px;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.testimonial-card p {
  margin: 0;
  color: var(--text);
  font-size: 0.98rem;
}

.testimonial-top {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testimonial-top img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  background: #eee;
  flex-shrink: 0;
}

.testimonial-top strong {
  display: block;
  font-size: 1rem;
  color: var(--ink);
}

.testimonial-top span {
  color: var(--muted);
  font-size: 0.85rem;
}

.testimonial-stars {
  display: flex;
  gap: 4px;
}

.star {
  width: 15px;
  height: 15px;
  display: block;
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}

.star-full {
  background: var(--black);
}

.star-half {
  background: linear-gradient(90deg, var(--black) 50%, #d4d4d4 50%);
}

.star-empty {
  background: #d4d4d4;
}

.testimonial-nav {
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: var(--black);
  color: var(--white);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  flex-shrink: 0;
}

.testimonial-nav:hover {
  background: #222;
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 22px;
}

.testimonial-dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #d0d0d0;
  cursor: pointer;
}

.testimonial-dots button.is-active {
  background: var(--black);
  width: 22px;
  border-radius: 999px;
}

@media (max-width: 960px) {
  :root {
    --header-h: 88px;
  }

  .container,
  .hero-content {
    width: min(1180px, calc(100% - 32px));
  }

  .header-inner {
    gap: 12px;
    min-height: var(--header-h);
  }

  .logo img {
    height: 72px;
    max-width: min(220px, 42vw);
  }

  .btn-call {
    padding: 10px 16px;
    font-size: 0.88rem;
  }

  .split,
  .contact-wrap,
  .service-grid,
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }

  .split,
  .page-intro-grid,
  .contact-wrap,
  .quote-card,
  .blog-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  section,
  .page-intro {
    padding: 56px 0;
  }

  .gallery-grid a:first-child {
    grid-column: 1 / -1;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--paper);
    flex-direction: column;
    padding: 8px 20px 20px;
    border-bottom: 1px solid var(--line);
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
  }

  .site-nav a {
    padding: 14px 0;
    font-size: 1.05rem;
  }

  .site-nav.is-open {
    display: flex;
  }

  .cta-row,
  .cookie-bar {
    flex-direction: column;
    align-items: stretch;
  }

  .hero {
    min-height: min(100svh, 820px);
    place-items: end stretch;
  }

  .hero .hero-content {
    background: rgba(0, 0, 0, 0.55);
    padding: 28px 20px;
    border-radius: 16px;
    margin-bottom: 24px;
  }

  .split-copy,
  .page-intro-copy {
    max-width: none;
  }

  .quote-info,
  .quote-form {
    padding: 28px 20px;
  }

  .testimonial-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .testimonial-score {
    white-space: normal;
  }

  .testimonial-card {
    flex-basis: calc((100% - 20px) / 2);
    min-height: 0;
    padding: 22px 20px;
  }

  .quote-details li {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .footer-main {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .footer-nav,
  .footer-contact {
    justify-content: flex-start;
  }

  .site-footer .footer-brand img {
    height: 72px;
  }

  .lightbox {
    flex-direction: column;
    padding: 16px;
    gap: 10px;
  }

  .lightbox figure {
    max-width: calc(100vw - 24px);
  }

  .lightbox-nav {
    width: 44px;
    height: 44px;
  }

  .cookie-bar {
    left: 12px;
    right: 12px;
    bottom: max(12px, env(safe-area-inset-bottom));
  }
}

@media (max-width: 640px) {
  :root {
    --header-h: 76px;
  }

  body {
    font-size: 16px;
  }

  .service-grid,
  .form-row,
  .stats,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .call-label {
    display: none;
  }

  .logo img {
    height: 56px;
    max-width: min(168px, 48vw);
  }

  .btn {
    padding: 12px 18px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-meta {
    gap: 10px 16px;
    font-size: 0.86rem;
  }

  .gallery-grid a:first-child {
    grid-column: auto;
  }

  .testimonial-card {
    flex-basis: 100%;
  }

  .testimonial-carousel {
    grid-template-columns: auto 1fr auto;
    gap: 8px;
  }

  .testimonial-nav {
    width: 36px;
    height: 36px;
  }

  .site-footer {
    padding: 28px 0 20px;
  }

  .site-footer .footer-brand img {
    height: 64px;
    max-width: min(200px, 75vw);
  }

  .cookie-actions {
    flex-direction: column;
  }

  .cookie-actions .btn {
    width: 100%;
  }

  section,
  .page-intro {
    padding: 48px 0;
  }
}

@media (max-width: 400px) {
  .container,
  .hero-content {
    width: calc(100% - 20px);
  }

  .logo img {
    height: 48px;
    max-width: 44vw;
  }

  .btn-call {
    padding: 10px 12px;
    font-size: 0.82rem;
  }
}
