/* Vandens smulkmenos — site styles */
:root {
  --ink: #1b2534;
  --slate: #292f36;
  --text: #4d5053;
  --muted: #7a7d80;
  --sand: #f4f0ec;
  --sand-2: #ebe4dc;
  --gold: #cda274;
  --gold-dark: #b0844f;
  --blue: #2196f3;
  --white: #fff;
  --radius: 28px;
  --radius-sm: 16px;
  --shadow: 0 18px 40px -20px rgba(27, 37, 52, .35);
  --max: 1200px;
  --serif: "DM Serif Display", Georgia, serif;
  --sans: "Figtree", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; color: var(--ink); line-height: 1.15; margin: 0 0 .5em; }
h1 { font-size: clamp(2.4rem, 5.5vw, 4.4rem); }
h2 { font-size: clamp(2rem, 3.8vw, 3.1rem); }
h3 { font-size: 1.55rem; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section--sand { background: var(--sand); }
.section--dark { background: var(--slate); color: #c9ccd0; }
.section--dark h2, .section--dark h3 { color: var(--white); }
.eyebrow {
  display: inline-block; font-size: .8rem; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: var(--gold-dark); margin-bottom: 14px;
}
.section--dark .eyebrow { color: var(--gold); }
.lead { font-size: 1.2rem; max-width: 640px; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
.section-head { margin-bottom: 56px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 30px; border-radius: 999px; border: 2px solid transparent;
  font: 600 1rem/1 var(--sans); letter-spacing: .02em; text-decoration: none;
  cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn--gold { background: var(--gold); color: var(--white); }
.btn--gold:hover { background: var(--gold-dark); }
.btn--dark { background: var(--slate); color: var(--white); }
.btn--dark:hover { background: var(--ink); }
.btn--ghost { border-color: rgba(255,255,255,.7); color: var(--white); }
.btn--ghost:hover { background: var(--white); color: var(--ink); }
.btn--outline { border-color: var(--slate); color: var(--slate); }
.btn--outline:hover { background: var(--slate); color: var(--white); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* Header */
.topbar { background: var(--slate); color: #c9ccd0; font-size: .9rem; }
.topbar .container { display: flex; justify-content: space-between; gap: 16px; padding-top: 9px; padding-bottom: 9px; }
.topbar a { text-decoration: none; color: var(--white); }
.topbar span + span::before { content: "·"; margin: 0 10px; color: var(--gold); }
.header {
  position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96);
  backdrop-filter: blur(8px); border-bottom: 1px solid var(--sand-2);
}
.header .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 84px; }
.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.logo-mark svg { width: 46px; height: 46px; display: block; }
.logo-text b { display: block; font: 400 1.65rem/1 var(--serif); color: var(--ink); letter-spacing: .01em; }
.logo-text small { display: block; font: 600 .68rem/1 var(--sans); letter-spacing: .34em; text-transform: uppercase; color: var(--gold-dark); margin-top: 6px; }
.nav { display: flex; align-items: center; gap: 34px; }
.nav a {
  text-decoration: none; color: var(--ink); font-weight: 500; font-size: 1.02rem; position: relative; padding: 6px 0;
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--gold);
  transform: scaleX(0); transform-origin: left; transition: transform .25s;
}
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav .btn { padding: 12px 22px; }
.nav .btn::after { display: none; }
.menu-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.menu-toggle span { display: block; width: 26px; height: 2px; background: var(--ink); margin: 6px 0; transition: transform .25s, opacity .25s; }

/* Hero */
.hero {
  position: relative; color: var(--white); min-height: 78vh; display: flex; align-items: center;
  background: linear-gradient(100deg, rgba(27,37,52,.92) 0%, rgba(27,37,52,.75) 45%, rgba(27,37,52,.25) 100%),
              url("../img/hero.webp") center / cover no-repeat;
}
.hero h1 { color: var(--white); max-width: 760px; }
.hero .lead { color: #dfe2e6; margin-bottom: 34px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 12px 28px; margin-top: 44px; font-size: .98rem; color: #dfe2e6; }
.hero-badges span { display: inline-flex; align-items: center; gap: 10px; }
.hero-badges svg { width: 22px; height: 22px; color: var(--gold); flex: none; }

.page-hero {
  background: var(--sand); padding: clamp(60px, 8vw, 100px) 0 clamp(50px, 7vw, 80px);
  border-bottom-left-radius: 60px; border-bottom-right-radius: 60px;
}
.page-hero .lead { margin-bottom: 0; }
.crumbs { font-size: .92rem; color: var(--muted); margin-bottom: 18px; }
.crumbs a { color: var(--muted); }

/* Cards / services */
.grid { display: grid; gap: 28px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: var(--white); border: 1px solid var(--sand-2); border-radius: var(--radius);
  padding: 38px 34px; transition: transform .25s, box-shadow .25s, border-color .25s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.section--sand .card { border-color: transparent; }
.card p:last-child { margin-bottom: 0; }
.icon {
  width: 64px; height: 64px; border-radius: 50%; background: var(--sand); color: var(--gold-dark);
  display: grid; place-items: center; margin-bottom: 24px;
}
.section--sand .icon { background: var(--sand); }
.icon svg { width: 30px; height: 30px; }
.card .more { display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; font-weight: 600; color: var(--ink); text-decoration: none; }
.card .more:hover { color: var(--gold-dark); }

/* Split layout */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.split--reverse .split-media { order: 2; }
.split-media img { border-radius: var(--radius); width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; }
.split-media--tall img { aspect-ratio: 4 / 4.6; }
.media-frame { position: relative; }
.media-frame::before {
  content: ""; position: absolute; inset: 24px -24px -24px 24px; border: 2px solid var(--gold); border-radius: var(--radius); z-index: -1;
}
.checklist { list-style: none; padding: 0; margin: 0 0 30px; display: grid; gap: 14px; }
.checklist li { display: flex; gap: 14px; align-items: flex-start; }
.checklist svg { width: 24px; height: 24px; color: var(--gold-dark); flex: none; margin-top: 3px; }
.checklist strong { color: var(--ink); font-weight: 600; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); text-align: center; }
.stat { padding: 10px 20px; }
.stat + .stat { border-left: 1px solid rgba(205,162,116,.35); }
.stat b { display: block; font: 400 clamp(3rem, 6vw, 4.8rem)/1 var(--serif); color: var(--gold); margin-bottom: 10px; }
.stat span { font-size: 1.05rem; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; counter-reset: step; }
.step { position: relative; padding-top: 70px; }
.step::before {
  counter-increment: step; content: "0" counter(step); position: absolute; top: 0; left: 0;
  font: 400 3.2rem/1 var(--serif); color: var(--gold);
}
.step h3 { font-size: 1.35rem; }
.step p { margin: 0; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.gallery figure { margin: 0; position: relative; overflow: hidden; border-radius: var(--radius-sm); cursor: zoom-in; background: var(--sand); }
.gallery img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; transition: transform .5s; }
.gallery figure:hover img { transform: scale(1.05); }
.gallery figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 20px 16px; color: var(--white);
  background: linear-gradient(transparent, rgba(27,37,52,.85)); font-weight: 500; line-height: 1.35;
}
.gallery figcaption small { display: block; color: var(--gold); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; margin-bottom: 2px; }
.lightbox {
  position: fixed; inset: 0; z-index: 100; background: rgba(15,20,28,.94); display: none;
  align-items: center; justify-content: center; padding: 24px; flex-direction: column; gap: 14px;
}
.lightbox.open { display: flex; }
.lightbox img { max-height: 82vh; max-width: 100%; border-radius: 12px; }
.lightbox p { color: #dfe2e6; margin: 0; text-align: center; }
.lightbox button {
  position: absolute; background: rgba(255,255,255,.1); border: 0; color: var(--white); width: 52px; height: 52px;
  border-radius: 50%; font-size: 26px; cursor: pointer; display: grid; place-items: center;
}
.lightbox button:hover { background: rgba(255,255,255,.22); }
.lb-close { top: 20px; right: 20px; }
.lb-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 20px; top: 50%; transform: translateY(-50%); }

/* Service detail blocks */
.service-block + .service-block { margin-top: clamp(70px, 9vw, 120px); }
.tags { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 28px; padding: 0; list-style: none; }
.tags li { background: var(--sand); color: var(--ink); padding: 8px 16px; border-radius: 999px; font-size: .95rem; }
.section--sand .tags li { background: var(--white); }
.tags--center { justify-content: center; margin: 30px auto 0; max-width: 820px; }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--sand-2); padding: 22px 0; }
.faq summary {
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 20px;
  font: 400 1.35rem/1.3 var(--serif); color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--sans); color: var(--gold-dark); font-size: 1.6rem; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 14px 0 0; }

/* Contact */
.contact-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.contact-card { background: var(--sand); border-radius: var(--radius); padding: 34px 28px; }
.contact-card .icon { background: var(--white); }
.contact-card h3 { font-size: 1.25rem; margin-bottom: 6px; }
.contact-card a, .contact-card p { color: var(--ink); font-weight: 500; text-decoration: none; margin: 0; word-break: break-word; }
.contact-card a:hover { color: var(--gold-dark); }
.map { border: 0; width: 100%; height: 100%; min-height: 420px; border-radius: var(--radius); }
.details-table { width: 100%; border-collapse: collapse; }
.details-table th, .details-table td { text-align: left; padding: 14px 0; border-bottom: 1px solid var(--sand-2); vertical-align: top; }
.details-table th { font-weight: 500; color: var(--muted); width: 42%; padding-right: 16px; }
.details-table td { color: var(--ink); font-weight: 500; }

/* CTA band */
.cta {
  background: var(--slate); border-radius: var(--radius); padding: clamp(44px, 6vw, 72px);
  display: flex; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap;
  background-image: radial-gradient(circle at 100% 0%, rgba(205,162,116,.25), transparent 50%);
}
.cta h2 { color: var(--white); margin-bottom: 8px; }
.cta p { color: #c9ccd0; margin: 0; }

/* Footer */
.footer { background: var(--ink); color: #aeb3b9; padding: 80px 0 0; font-size: .98rem; }
.footer-grid { display: grid; grid-template-columns: 1.3fr .8fr 1.5fr 1.1fr; gap: 48px; padding-bottom: 60px; }
.footer li a[href^="mailto"] { overflow-wrap: anywhere; }
.footer h4 { font: 400 1.3rem var(--serif); color: var(--white); margin: 0 0 18px; }
.footer a { color: #aeb3b9; text-decoration: none; }
.footer a:hover { color: var(--gold); }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer .logo { margin-bottom: 20px; }
.footer .logo-mark rect { fill: #2c3647; }
.footer .logo-text b { color: var(--white); }
.footer .logo-text small { color: var(--gold); }
.social { display: inline-flex; width: 42px; height: 42px; border-radius: 50%; border: 1px solid #3a4556; align-items: center; justify-content: center; margin-top: 8px; }
.social svg { width: 18px; height: 18px; }
.footer-bottom { border-top: 1px solid #2c3647; padding: 22px 0; font-size: .88rem; display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; }

/* Mobile call button */
.call-fab {
  display: none; position: fixed; right: 18px; bottom: 18px; z-index: 60; width: 60px; height: 60px; border-radius: 50%;
  background: var(--gold); color: var(--white); align-items: center; justify-content: center; box-shadow: 0 10px 25px rgba(0,0,0,.25);
}
.call-fab svg { width: 26px; height: 26px; }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* Responsive */
@media (max-width: 1024px) {
  .grid-3, .gallery { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .contact-cards { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .menu-toggle { display: block; }
  .header .container { position: relative; }
  .nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--white);
    flex-direction: column; align-items: stretch; gap: 0; padding: 10px 24px 28px;
    border-bottom: 1px solid var(--sand-2); box-shadow: var(--shadow);
  }
  .nav.open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--sand); font-size: 1.1rem; }
  .nav a::after { display: none; }
  .nav .btn { margin-top: 18px; justify-content: center; border-bottom: 0; }
  .menu-open .menu-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
  .menu-open .menu-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .split, .grid-2 { grid-template-columns: 1fr; }
  .split--reverse .split-media { order: 0; }
  .media-frame::before { display: none; }
  .call-fab { display: flex; }
  .topbar .hide-sm { display: none; }
}
@media (max-width: 640px) {
  body { font-size: 17px; }
  .container { padding: 0 16px; }
  .grid-3, .gallery, .steps, .contact-cards, .footer-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; gap: 12px; }
  .gallery figcaption { padding: 30px 12px 10px; font-size: .9rem; }
  .gallery figcaption small { display: none; }
  .stats { grid-template-columns: 1fr; gap: 30px; }
  .stat + .stat { border-left: 0; border-top: 1px solid rgba(205,162,116,.35); padding-top: 30px; }
  .hero { min-height: 88vh; }
  .card { padding: 30px 24px; }
  .contact-card { padding: 22px; display: grid; grid-template-columns: 52px 1fr; column-gap: 16px; align-items: center; }
  .contact-card .icon { width: 52px; height: 52px; margin: 0; grid-row: span 2; }
  .contact-card .icon svg { width: 24px; height: 24px; }
  .contact-card h3 { margin: 0; font-size: 1.1rem; }
  .page-hero { border-bottom-left-radius: 32px; border-bottom-right-radius: 32px; }
  .topbar .container { justify-content: center; }
}

/* ===== Less-template layer ===== */
.eyebrow, .kicker {
  text-transform: none; letter-spacing: 0; font-size: 1rem; font-weight: 500;
  color: var(--gold-dark); display: flex; align-items: center; gap: 12px; margin: 0 0 16px;
}
.eyebrow::before, .kicker::before { content: ""; width: 28px; height: 2px; background: var(--gold); }
.section--dark .eyebrow { color: var(--gold); }
.section--tight { padding: clamp(48px, 6vw, 72px) 0; }
.media-frame::before { display: none; }

/* flat cards: rule on top, no boxes/hover lift */
.card { background: none; border: 0; border-top: 2px solid var(--gold); border-radius: 0; padding: 26px 0 0; }
.card:hover { transform: none; box-shadow: none; }
.card .icon { display: none; }

/* intro (home hero) */
.intro { background: var(--sand); padding: clamp(48px, 7vw, 96px) 0 clamp(56px, 8vw, 110px); overflow: hidden; }
.intro-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.intro h1 { font-size: clamp(2.5rem, 5vw, 4.2rem); }
.intro .lead { margin-bottom: 30px; }
.phone-big {
  display: inline-flex; align-items: center; gap: 14px; text-decoration: none; color: var(--ink);
  font: 400 clamp(2rem, 3.6vw, 2.8rem)/1 var(--serif); border-bottom: 2px solid var(--gold); padding-bottom: 8px;
}
.phone-big svg { width: 30px; height: 30px; color: var(--gold-dark); }
.phone-big:hover { color: var(--gold-dark); }
.hours { margin: 16px 0 0; color: var(--muted); font-size: .98rem; }
.intro-photos { position: relative; padding: 0 0 70px 0; }
.ph-main { height: auto; width: 88%; margin-left: auto; aspect-ratio: 4 / 4.2; object-fit: cover; border-radius: 6px; }
.ph-side {
  position: absolute; left: 0; bottom: 0; width: 52%; height: auto; aspect-ratio: 4 / 3; object-fit: cover;
  border: 8px solid var(--sand); border-radius: 6px;
}
.ph-note {
  position: absolute; right: 0; bottom: 18px; font-size: .9rem; color: var(--muted);
  font-style: italic;
}

/* services as an editorial list */
.services-split { display: grid; grid-template-columns: 1fr 2fr; gap: clamp(30px, 6vw, 80px); align-items: start; }
.services-intro { position: sticky; top: 120px; }
.service-list { border-top: 1px solid var(--sand-2); }
.service-row {
  display: grid; grid-template-columns: 1fr 1.5fr 28px; gap: 24px; align-items: center;
  padding: 26px 4px; border-bottom: 1px solid var(--sand-2); text-decoration: none; color: var(--text);
  transition: background .2s, padding .2s;
}
.service-row:hover { background: var(--sand); padding-left: 16px; padding-right: 16px; }
.sr-name { font: 400 1.5rem/1.2 var(--serif); color: var(--ink); }
.sr-text { font-size: 1rem; line-height: 1.55; }
.sr-arrow svg { width: 22px; height: 22px; color: var(--gold-dark); transition: transform .2s; }
.service-row:hover .sr-arrow svg { transform: translateX(4px); }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--gold); padding-bottom: 3px; }
.link-arrow svg { width: 18px; height: 18px; }
.link-arrow:hover { color: var(--gold-dark); }
.link-arrow--light { color: var(--white); }

/* gallery: natural photo shapes (masonry) */
.gallery { display: block; columns: 3; column-gap: 18px; }
.gallery figure { break-inside: avoid; margin: 0 0 18px; border-radius: 6px; }
.gallery img { aspect-ratio: auto; height: auto; }
.gallery figure:hover img { transform: scale(1.03); }
.gallery figcaption { padding: 34px 16px 12px; font-size: .95rem; }
.gallery--feature { display: grid; columns: auto; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 260px 260px; gap: 18px; }
.gallery--feature figure { margin: 0; }
.gallery--feature figure:first-child { grid-row: span 2; }
.gallery--feature figure:nth-child(4) { grid-column: span 1; }
.gallery--feature img { height: 100%; aspect-ratio: auto; }
.row-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 34px; flex-wrap: wrap; }
.row-head h2 { margin: 0; }

/* dark note */
.note { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(30px, 6vw, 80px); align-items: start; }
.note blockquote { margin: 0; font: 400 clamp(1.9rem, 3.4vw, 2.8rem)/1.2 var(--serif); color: var(--white); }
.note blockquote::before { content: "„"; color: var(--gold); }
.note blockquote::after { content: "“"; color: var(--gold); }
.facts { list-style: none; padding: 0; margin: 26px 0 30px; display: grid; gap: 10px; }
.facts li { display: flex; align-items: baseline; gap: 14px; border-bottom: 1px solid #3a4250; padding-bottom: 10px; }
.facts b { font: 400 1.9rem/1 var(--serif); color: var(--gold); min-width: 70px; }

/* areas line */
.areas-line { display: grid; grid-template-columns: 1fr 2fr; gap: clamp(20px, 6vw, 80px); align-items: baseline; }
.areas-line h2 { margin: 0; font-size: clamp(1.7rem, 3vw, 2.3rem); }
.areas-line p { margin: 0; font-size: 1.15rem; }

/* call section (replaces boxed CTA) */
.call { border-top: 1px solid var(--sand-2); }
.call-inner { display: flex; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap; }
.call h2 { margin-bottom: 8px; }
.call p { margin: 0; max-width: 520px; }
.call-actions { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.call-number { font: 400 clamp(2rem, 4vw, 3rem)/1 var(--serif); color: var(--ink); text-decoration: none; border-bottom: 2px solid var(--gold); padding-bottom: 6px; }
.call-number:hover { color: var(--gold-dark); }
.call-mail { color: var(--muted); font-size: .95rem; }

/* page heads: left aligned, no big rounded blob */
.page-hero { border-radius: 0; }
.split-media img { border-radius: 6px; }
.section-head.center { text-align: left; }
.section-head.center .lead { margin-left: 0; }

@media (max-width: 900px) {
  .intro-grid, .services-split, .note, .areas-line { grid-template-columns: 1fr; }
  .services-intro { position: static; }
  .gallery { columns: 2; }
  .gallery--feature { grid-template-columns: 1fr 1fr; grid-template-rows: 220px 160px 160px; }
  .gallery--feature figure:first-child { grid-column: span 2; grid-row: auto; }
  .call-actions { align-items: flex-start; }
}
@media (max-width: 640px) {
  .service-row { grid-template-columns: 1fr 24px; gap: 6px 14px; padding: 20px 2px; }
  .sr-name { grid-column: 1; }
  .sr-text { grid-column: 1; grid-row: 2; }
  .sr-arrow { grid-column: 2; grid-row: 1 / span 2; }
  .gallery { columns: 2; column-gap: 10px; }
  .gallery figure { margin-bottom: 10px; }
  .gallery--feature { gap: 10px; }
  .ph-note { position: static; display: block; margin-top: 12px; }
  .intro-photos { padding-bottom: 0; }
  .ph-main { width: 100%; }
  .ph-side { position: relative; width: 60%; margin-top: -90px; }
}

/* grid children must be allowed to shrink below image width */
.intro-grid > *, .services-split > *, .note > *, .areas-line > *, .split > *, .footer-grid > *, .call-inner > * { min-width: 0; }
img { height: auto; }
.gallery--feature figure { height: 100%; }
.gallery--feature img { height: 100%; }
html, body { overflow-x: hidden; }

@media (max-width: 640px) {
  .intro { padding-top: 36px; }
  .intro h1 { font-size: 2.3rem; }
  .ph-main { aspect-ratio: 4 / 3; }
  .ph-side { width: 55%; margin-top: -70px; margin-left: 12px; border-width: 6px; }
  .phone-big { font-size: 1.9rem; }
  .gallery--feature { grid-template-rows: 200px 130px 130px; }
  .note blockquote { font-size: 1.7rem; }
  .facts b { font-size: 1.6rem; min-width: 64px; }
  .call-number { font-size: 2rem; }
  .row-head { align-items: start; flex-direction: column; gap: 10px; }
  .topbar { font-size: .85rem; }
  .split-media img { aspect-ratio: 4 / 3; }
  .details-table th { width: auto; }
  .details-table th, .details-table td { display: block; padding: 4px 0; border: 0; }
  .details-table tr { display: block; padding: 10px 0; border-bottom: 1px solid var(--sand-2); }
}

/* brands strip */
.brands { border-top: 1px solid var(--sand-2); }
.brands-inner { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 24px 56px; }
.brands-label { margin: 0; color: var(--muted); font-size: .98rem; flex: none; }
.brands-list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 24px 32px; flex-wrap: nowrap; justify-content: space-between; }
.brands-list img { width: auto; opacity: .55; filter: grayscale(1); transition: opacity .2s; }
.brands-list img:hover { opacity: .9; }
@media (max-width: 900px) {
  .brands-inner { grid-template-columns: 1fr; }
  .brands-list { justify-content: flex-start; gap: 22px 36px; flex-wrap: wrap; }
}
@media (max-width: 640px) {
  .brands-list img { max-height: 26px; }
}
