/* Hair salon design, Swiss version (local-business sites), from the "Hair Saloon - Swiss" design file at 1440 px.
   Inter Tight only (400, 600, 700; self-hosted, assets/fonts), one cobalt blue on paper, a four-column grid with
   32 px margins and 24 px gutters, square corners. Motion lives in script.js, shared behaviour in the engine's
   site.js. */

:root {
  --blue: #0f2bb8;
  --blue-hover: #1433d6;
  --paper: #f7f7f2;
  --grey: #e6e7df;
  --pale: #dfe5ff;
  --ink: #1c2878;
  --font: "Inter Tight", "Helvetica Neue", Arial, sans-serif;
  --pad: max(2rem, calc((100% - 86rem) / 2));
  --gap: 1.5rem;
  --services-tail: clamp(5rem, 11.5vw, 10.375rem);
  --ease-io: cubic-bezier(.45, 0, .55, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5rem; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--blue);
  font: 400 1.0625rem/1.55 var(--font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, blockquote, figure, dl, dd { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Shared pieces ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 1rem 1.75rem; border: 0; border-radius: 0; cursor: pointer;
  font: 700 1.0625rem/1.2 var(--font); white-space: nowrap;
  /* Colour, not opacity: entrances animate the buttons' opacity and position (hair-salon-swiss.js). */
  transition: background-color .25s var(--ease-io);
}
.btn-small { padding: .6875rem 1.25rem; font-size: .9375rem; }
.btn-light { background: var(--paper); color: var(--blue); }
.btn-light:hover { background: var(--pale); }
.btn-dark { background: var(--blue); color: var(--paper); }
.btn-dark:hover { background: var(--blue-hover); }
.text-link { position: relative; font: 700 1.0625rem/1.2 var(--font); }
.text-link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -.25rem; height: 2px;
  background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .25s var(--ease-io);
}
.text-link:hover::after { transform: scaleX(1); transform-origin: left; }
.link-button { padding: 0; border: 0; background: none; cursor: pointer; font: inherit; color: inherit; text-decoration: underline; text-underline-offset: .2em; }

.section { padding: clamp(4rem, 6.25vw, 5.625rem) var(--pad); }
.section-blue { background: var(--blue); color: var(--paper); }
.section-grey { background: var(--grey); }
.section-head { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); align-items: start; }
.section-title { font: 700 clamp(3rem, 6.67vw, 6rem)/1.2 var(--font); letter-spacing: -.042em; }
.section-head .section-title { grid-column: 1 / 4; }
.section-note { grid-column: 4; padding-top: 1.25rem; line-height: 1.5; }

.photo { position: relative; overflow: hidden; background: rgba(15, 43, 184, .12); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
/* SplitText masks (hair-salon-swiss.js): room for ascenders, accents and descenders inside the clipping box. */
.hero-line-mask { padding: .06em 0 .14em; margin: -.06em 0 -.14em; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  height: 4.5rem; padding: 0 var(--pad);
  background: var(--blue); color: var(--paper);
  transition: transform .3s var(--ease-io);
}
.site-header.is-hidden { transform: translateY(-100%); }
.wordmark { font: 700 1.5rem/1.2 var(--font); letter-spacing: -.042em; white-space: nowrap; }
.wordmark.has-logo img { height: 2.5rem; width: auto; }
.site-nav { display: flex; gap: 2rem; font: 600 .9375rem/1.2 var(--font); }
.header-actions { display: flex; align-items: center; gap: 1.375rem; }
.header-phone { font: 600 .9375rem/1.2 var(--font); white-space: nowrap; }
.header-socials, .footer-socials, .menu-socials { display: flex; align-items: center; gap: .875rem; }
.footer-socials { gap: 1rem; }
.header-socials a, .footer-socials a, .menu-socials a { display: flex; }
.header-socials svg { width: 1.125rem; height: 1.125rem; }
.footer-socials svg { width: 1.25rem; height: 1.25rem; }
/* Underline on hover: the links' opacity belongs to their entrance. */
.site-nav a, .header-phone, .footer-nav a, .footer-legal-links .link-button {
  text-decoration: underline; text-decoration-color: transparent; text-decoration-thickness: 2px; text-underline-offset: .3em;
  transition: text-decoration-color .25s var(--ease-io);
}
.site-nav a:hover, .header-phone:hover, .footer-nav a:hover, .footer-legal-links .link-button:hover { text-decoration-color: currentColor; }
.header-socials a, .footer-socials a, .menu-socials a { transition: color .25s var(--ease-io); }
.header-socials a:hover, .footer-socials a:hover, .menu-socials a:hover { color: var(--pale); }
.menu-toggle { display: none; padding: .25rem; border: 0; background: none; cursor: pointer; }

.menu-overlay { position: fixed; inset: 0; z-index: 60; display: flex; flex-direction: column; padding: 0 var(--pad) 2rem; background: var(--blue); color: var(--paper); overflow-y: auto; }
.menu-overlay[hidden] { display: none; }
.menu-head { display: flex; align-items: center; justify-content: space-between; height: 3.75rem; flex: none; }
.menu-close { padding: .25rem; border: 0; background: none; cursor: pointer; }
.menu-links { display: flex; flex-direction: column; gap: .25rem; margin: auto 0; padding: 2rem 0; }
.menu-links a { font: 700 clamp(2.75rem, 13vw, 3.5rem)/1.1 var(--font); letter-spacing: -.042em; }
.menu-foot { display: flex; flex-direction: column; align-items: flex-start; gap: 1.25rem; }
.menu-phone { font: 600 1.25rem/1.2 var(--font); }

/* Language switcher (sites with more than one language): the current code in the blue bar, the names on paper below it. */
.lang-switch { position: relative; }
.lang-current { display: flex; align-items: center; gap: .25rem; font: 600 .9375rem/1.2 var(--font); list-style: none; cursor: pointer; }
.lang-current::-webkit-details-marker { display: none; }
.lang-current span { text-decoration: underline; text-decoration-color: transparent; text-underline-offset: .3em; transition: text-decoration-color .25s var(--ease-io); }
.lang-current:hover span { text-decoration-color: currentColor; }
.lang-current svg { transition: transform .25s var(--ease-io); }
.lang-switch[open] .lang-current svg { transform: rotate(180deg); }
.lang-list { position: absolute; top: calc(100% + 1.4375rem); right: 0; z-index: 45; min-width: 12rem; max-height: min(70vh, 28rem); overflow-y: auto; padding: .5rem 0; background: var(--paper); color: var(--blue); box-shadow: 0 0 0 1px var(--blue); }
.lang-list a { display: block; padding: .5rem 1.125rem; font: 600 .9375rem/1.2 var(--font); white-space: nowrap; transition: background-color .2s var(--ease-io); }
.lang-list a:hover { background: var(--pale); }
.lang-list a[aria-current] { background: var(--blue); color: var(--paper); }
.menu-langs { display: flex; flex-wrap: wrap; gap: .5rem 1rem; font: 600 1rem/1.2 var(--font); }
.menu-langs a { opacity: .6; }
.menu-langs a[aria-current] { opacity: 1; text-decoration: underline; text-underline-offset: .3em; }

/* ---------- Hero ---------- */
.hero { overflow: hidden; background: var(--blue); color: var(--paper); padding-top: clamp(1.5rem, 3.33vw, 3rem); }
.hero-title { padding: 0 var(--pad); font: 700 clamp(3.25rem, 8.6vw, 7.75rem)/.92 var(--font); letter-spacing: -.048em; }
.hero-grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); align-items: start;
  margin-top: clamp(2.5rem, 5vw, 4.5rem); padding: 0 var(--pad);
}
.hero-tagline { font: 600 clamp(1.25rem, 1.67vw, 1.5rem)/1.2 var(--font); letter-spacing: -.021em; }
.hero-intro { padding-top: .125rem; }
.hero-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 1rem; }
.hero-est { grid-column: 4; display: flex; flex-direction: column; margin-top: -.375rem; }
.hero-est-label { font: 600 .9375rem/1.2 var(--font); color: var(--pale); }
.hero-year { font: 700 clamp(3rem, 5vw, 4.5rem)/1.2 var(--font); letter-spacing: -.042em; }
.hero-photos { display: grid; grid-template-columns: 1fr; height: clamp(20rem, 33.33vw, 30rem); margin-top: clamp(3.5rem, 7.6vw, 6.875rem); }
.hero-photos.has-two { grid-template-columns: 3fr 1fr; }
.hero-photo, .hero-detail { height: 100%; }

/* ---------- Services ---------- */
.services { position: relative; isolation: isolate; padding: clamp(4rem, 6.94vw, 6.25rem) 0 var(--services-tail); }
.services .section-head { padding: 0 var(--pad); }
/* The band under the list, blue as the About section scrolls in (hair-salon-swiss.js); invisible without it. */
.services-ground { position: absolute; left: 0; right: 0; bottom: 0; z-index: -1; height: var(--services-tail); background: var(--blue); opacity: 0; }
.service-list { margin-top: clamp(2.5rem, 4.4vw, 4rem); }
.service {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); align-items: center;
  padding: 2rem var(--pad); background: var(--paper);
  transition: background-color .25s var(--ease-io);
}
.service:nth-child(odd) { background: var(--grey); }
.service-name { font: 700 clamp(1.5rem, 2.22vw, 2rem)/1.2 var(--font); letter-spacing: -.031em; }
.service-desc { grid-column: span 2; line-height: 1.5; }
.service-buy { display: flex; align-items: center; gap: var(--gap); }
.service-price { flex: 0 0 min(11.25rem, 55%); font: 700 clamp(1.5rem, 2.22vw, 2rem)/1.2 var(--font); letter-spacing: -.031em; }
.service-book { font: 700 .9375rem/1.2 var(--font); white-space: nowrap; }
.service-book span:first-child { display: inline-block; transition: transform .25s var(--ease-io); }
/* Hover (motion spec): the row turns to the other ground and "Book this" slides 6 px right, 0.25 s. */
@media (hover: hover) and (pointer: fine) {
  .service:hover, .service:focus-within { background: var(--grey); }
  .service:nth-child(odd):hover, .service:nth-child(odd):focus-within { background: var(--paper); }
  .service:hover .service-book span:first-child, .service:focus-within .service-book span:first-child { transform: translateX(6px); }
}
.service-book:hover { text-decoration: underline; text-underline-offset: .25em; }

/* ---------- About ---------- */
.about {
  display: grid; grid-template-columns: minmax(0, 680fr) minmax(0, 648fr); gap: 3rem;
  padding-top: clamp(1.5rem, 2.1vw, 1.875rem); padding-bottom: clamp(3rem, 4.9vw, 4.375rem);
}
.about-side, .about-main { display: flex; flex-direction: column; }
.about-years { display: flex; flex-direction: column; padding-bottom: 3.8rem; }
.about-num { margin-left: -.033em; font: 700 clamp(9rem, 25vw, 22.5rem)/.9 var(--font); letter-spacing: -.067em; }
/* Tabular figures while counting (hair-salon-swiss.js), so the number does not jump about. */
.about-num.is-counting { font-variant-numeric: tabular-nums; }
.about-num-label { margin-top: 1.625rem; font: 600 1.5rem/1.2 var(--font); }
.about-photo { aspect-ratio: 680 / 540; margin-top: auto; }
.about-title { padding-top: clamp(0rem, 2.1vw, 1.875rem); font: 700 clamp(2.75rem, 5vw, 4.5rem)/.95 var(--font); letter-spacing: -.042em; }
.about-quote { max-width: 37.5rem; margin-top: clamp(2.5rem, 7vw, 6.3rem); font: 600 1.5rem/1.3 var(--font); }
.about-text { display: grid; gap: 1em; max-width: 37.5rem; margin-top: 2.95rem; line-height: 1.6; }
.about-signature { margin-top: auto; padding-top: 3rem; font: 700 1.0625rem/1.2 var(--font); }
.about-detail { aspect-ratio: 648 / 300; margin-top: 3.7rem; }

/* ---------- Gallery ---------- */
.gallery { padding: clamp(4rem, 6.25vw, 5.625rem) 0 clamp(3rem, 4.2vw, 3.75rem); }
.gallery .section-head { padding: 0 var(--pad); }
.gallery-row { display: flex; height: clamp(22rem, 37.5vw, 33.75rem); margin-top: clamp(2rem, 3.75vw, 3.375rem); }
.gallery-item { flex: 1 1 0; min-width: 0; height: 100%; padding: 0; border: 0; border-radius: 0; cursor: zoom-in; }
.gallery-item:focus-visible { outline-offset: -4px; outline-color: var(--paper); }
/* With a precise pointer (hair-salon-swiss.js): the strips sit on top of each other, each as wide as the widest
   strip, and the script places and masks them with transforms and clip-path as one widens on hover. */
.gallery-row.is-flipping { position: relative; display: block; overflow: hidden; }
.gallery-row.is-flipping .gallery-item { position: absolute; left: 0; top: 0; width: var(--strip-max, 40%); }

.lightbox { position: fixed; inset: 0; z-index: 70; display: grid; place-items: center; padding: 4rem 1.5rem; background: rgba(15, 43, 184, .96); }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; }
.lightbox-close { position: absolute; top: 1rem; right: 1rem; padding: .5rem; border: 0; background: none; color: var(--paper); cursor: pointer; }

/* ---------- Testimonials ---------- */
.testimonials { padding-bottom: clamp(4rem, 13vw, 11.7rem); }
.testimonial-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4rem 3.25rem; align-items: start; margin-top: clamp(2.5rem, 5.1vw, 4.625rem); }
/* Each column a step (100 px) lower than the one before. */
.testimonial:nth-child(3n + 2) { margin-top: 6.25rem; }
.testimonial:nth-child(3n) { margin-top: 12.5rem; }
.testimonial { display: flex; flex-direction: column; gap: .875rem; }
.stars { display: flex; gap: .125rem; font-size: .9375rem; line-height: 1.2; }
.stars span { display: inline-block; }
.testimonial-quote { font: 600 1.5rem/1.3 var(--font); letter-spacing: -.021em; }
.testimonial-client { display: flex; flex-direction: column; gap: .875rem; }
.testimonial-name { font: 700 1.0625rem/1.2 var(--font); }
.testimonial-detail { font-size: .9375rem; line-height: 1.2; color: var(--ink); }

/* ---------- FAQ ---------- */
.faq { padding-bottom: clamp(5rem, 12vw, 10rem); }
.faq-list { display: flex; flex-direction: column; gap: 2.75rem; margin-top: clamp(2.5rem, 5.1vw, 4.625rem); }
.faq-item { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 var(--gap); align-items: start; }
.faq-q { grid-column: 1 / 3; font: 700 1.5rem/1.2 var(--font); letter-spacing: -.021em; }
.faq-q button {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 1.5rem; width: 100%; max-width: 37.5rem;
  padding: 0; border: 0; background: none; cursor: pointer; text-align: left; font: inherit; letter-spacing: inherit;
}
.faq-icon { display: flex; flex: none; margin-top: .2rem; transition: transform .4s var(--ease-io); }
.faq-icon svg { width: 1.25rem; height: 1.25rem; }
.faq-item.is-open .faq-icon { transform: rotate(45deg); }
.faq-a { grid-column: 3 / 5; overflow: hidden; }
.faq-a p { line-height: 1.55; }
/* Closed by hair-salon-swiss.js; without it every answer shows. */
.faq-a[hidden] { display: none; }

/* ---------- Contact ---------- */
.contact { background: var(--paper); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; }
.contact-info { display: flex; flex-direction: column; align-items: flex-start; padding: clamp(4rem, 5.6vw, 5rem) var(--pad) clamp(4rem, 11vw, 10rem); background: var(--blue); color: var(--paper); }
.contact-direct { display: flex; flex-direction: column; gap: 1.25rem; margin-top: 2.125rem; }
.contact-direct dt { font: 600 .9375rem/1.2 var(--font); color: var(--pale); }
.contact-direct dd { margin-top: .25rem; font: 600 1.5rem/1.2 var(--font); overflow-wrap: anywhere; }
.contact-phone dd { font: 700 clamp(2.25rem, 3.9vw, 3.5rem)/1.2 var(--font); letter-spacing: -.036em; }
.contact-direct a { text-decoration: underline; text-decoration-color: transparent; text-decoration-thickness: 2px; text-underline-offset: .2em; transition: text-decoration-color .25s var(--ease-io); }
.contact-direct a:hover { text-decoration-color: currentColor; }
.contact-address { display: flex; flex-direction: column; margin-top: 2.45rem; font: 600 1.5rem/1.2 var(--font); }
.hours { width: min(100%, 35rem); margin-top: 4.3rem; border-collapse: collapse; }
.hours th, .hours td { padding: 0 0 .75rem; font: 600 1.0625rem/1.2 var(--font); vertical-align: top; }
.hours th { text-align: left; }
.hours td { padding-left: 1rem; text-align: right; white-space: nowrap; }
.hours td.is-closed { font-weight: 400; color: var(--pale); }
.hours tr:last-child th, .hours tr:last-child td { padding-bottom: 0; }

.contact-form-wrap { display: flex; flex-direction: column; gap: .75rem; padding: clamp(3rem, 6.25vw, 5.625rem) var(--pad) 3rem 2.5rem; }
.form-title { font: 700 2rem/1.2 var(--font); letter-spacing: -.031em; }
.contact-form { display: flex; flex-direction: column; gap: .75rem; }
.field { display: flex; flex-direction: column; gap: .75rem; }
.field label { font: 600 .9375rem/1.2 var(--font); }
.field input, .field textarea {
  width: 100%; height: 3.5rem; padding: 1rem 1.25rem;
  border: 0; border-radius: 0; background: var(--grey); color: var(--blue);
  font: 400 1.0625rem/1.4 var(--font);
  box-shadow: inset 0 0 0 0 var(--blue); transition: box-shadow .25s var(--ease-io);
}
.field textarea { height: 10rem; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; box-shadow: inset 0 0 0 2px var(--blue); }
.field.is-invalid input, .field.is-invalid textarea { box-shadow: inset 0 0 0 2px #c0392b; }
.consent { display: flex; align-items: flex-start; gap: .625rem; padding-top: .75rem; font-size: .9375rem; line-height: 1.2; }
.consent input {
  appearance: none; flex: none; width: 1rem; height: 1rem; margin: 0; border-radius: 0;
  background: var(--grey); box-shadow: inset 0 0 0 1.5px var(--blue-hover); cursor: pointer;
}
.consent input:checked { background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f7f7f2' stroke-width='3.5' stroke-linecap='square'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 80% no-repeat; box-shadow: none; }
.consent.is-invalid input { box-shadow: inset 0 0 0 2px #c0392b; }
.btn-submit { position: relative; overflow: hidden; width: 100%; height: 3.75rem; margin-top: .75rem; }
.btn-submit:disabled { background: #6d7ac9; cursor: default; }
.form-msg { display: flex; gap: .75rem; align-items: flex-start; padding: 1rem 1.25rem; background: var(--grey); }
.form-msg svg { flex: none; margin-top: .15rem; }
.form-msg ul { margin: .5rem 0 0; padding-left: 1.1rem; list-style: disc; }
.form-err { color: #a3261b; }

.contact-map { padding-bottom: 1.8rem; }
.map { position: relative; height: clamp(20rem, 25vw, 22.5rem); overflow: hidden; background: var(--grey); }
.map-sketch { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke: #c9ccdf; transition: opacity .6s var(--ease-io); }
.map-sketch path { vector-effect: non-scaling-stroke; }
.map-pin, .map-marker-dot { display: block; width: 1.5rem; height: 1.5rem; background: var(--blue); }
.map-pin { position: absolute; left: 49.17%; top: 49.44%; margin: -.75rem 0 0 -.75rem; }
/* Two classes: MapLibre's own .maplibregl-map sets position: relative on this element. */
.map .map-canvas { position: absolute; inset: 0; opacity: 0; transition: opacity .6s var(--ease-io); }
.map.is-ready .map-canvas { opacity: 1; }
.map.is-ready .map-sketch { opacity: 0; }
/* The sketch pin's opacity belongs to its entrance (inline), so the ready map hides it with visibility. */
.map.is-ready .map-pin { visibility: hidden; }
.map-attribution {
  position: absolute; right: 0; bottom: 0; z-index: 2; padding: .25rem .5rem;
  background: rgba(230, 231, 223, .85); color: var(--ink); font-size: .6875rem; line-height: 1.2;
  opacity: 0; transition: opacity .6s var(--ease-io);
}
.map.is-ready .map-attribution { opacity: 1; }
.map-zoom { position: absolute; top: 1rem; right: var(--pad); z-index: 2; display: flex; flex-direction: column; gap: .25rem; }
.map-zoom[hidden] { display: none; }
.map-zoom button { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border: 0; border-radius: 0; background: var(--blue); color: var(--paper); cursor: pointer; transition: background-color .25s var(--ease-io); }
.map-zoom button:hover { background: var(--blue-hover); }
.map-zoom button:disabled { background: #6d7ac9; cursor: default; }
.map-marker { display: block; }
.map-canvas .maplibregl-canvas:focus-visible { outline: none; }
.map-open { display: inline-block; margin: 1.25rem var(--pad) 0; }

/* ---------- Footer ---------- */
.site-footer { overflow: hidden; padding: clamp(2.5rem, 3.9vw, 3.5rem) var(--pad) clamp(2rem, 4.7vw, 4.25rem); background: var(--blue); color: var(--paper); }
.footer-links { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; }
.footer-nav { display: flex; flex-wrap: wrap; gap: .75rem 1.75rem; font: 600 .9375rem/1.2 var(--font); }
.footer-legal-links { display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; font: 600 .9375rem/1.2 var(--font); }
.footer-legal-links .link-button { text-decoration-line: underline; }
.footer-legal-line { margin-top: 1.5rem; font-size: .9375rem; line-height: 1.2; color: var(--pale); }
.footer-name { margin: clamp(3rem, 7.8vw, 7rem) 0 0 -.06em; font: 700 13.9vw/1 var(--font); letter-spacing: -.06em; overflow-wrap: anywhere; }
.footer-logo { margin-top: clamp(3rem, 7.8vw, 7rem); }
.footer-logo img { height: clamp(4rem, 10vw, 9rem); width: auto; }

/* ---------- Legal modals ---------- */
.modal { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 1.5rem; background: rgba(15, 43, 184, .6); }
.modal[hidden] { display: none; }
.modal-card { display: flex; flex-direction: column; width: min(100%, 42rem); max-height: min(100%, 48rem); background: var(--paper); }
.modal-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; padding: 1.75rem 1.75rem 1rem; }
.modal-head h2 { font: 700 2rem/1.1 var(--font); letter-spacing: -.031em; }
.modal-x { padding: .25rem; border: 0; background: none; cursor: pointer; }
.modal-body { padding: 0 1.75rem; overflow-y: auto; }
.modal-body h3 { margin: 1.25rem 0 .35rem; font: 700 1rem/1.3 var(--font); }
.modal-body p { font-size: .9375rem; line-height: 1.6; }
.modal-body p + p { margin-top: .75rem; }
.modal-updated { color: var(--ink); }
.modal-foot { display: flex; justify-content: flex-end; padding: 1.25rem 1.75rem 1.75rem; }

/* ---------- Tablet ---------- */
@media (max-width: 1100px) {
  .site-nav, .header-phone, .header-socials { display: none; }
  .header-actions { gap: 1rem; }
  .menu-toggle { display: flex; }
  .hero-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 2rem; }
  .hero-est { grid-column: auto; }
  .service { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .service-desc { grid-column: span 1; }
  .service-buy { flex-direction: column; align-items: flex-start; gap: .5rem; }
  .service-price { flex: none; }
  .about { grid-template-columns: 1fr 1fr; }
  .testimonial-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .testimonial:nth-child(n) { margin-top: 0; }
  .testimonial:nth-child(2n) { margin-top: 6.25rem; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-form-wrap { padding-left: var(--pad); }
}

/* ---------- Mobile ---------- */
@media (max-width: 768px) {
  .header-actions .lang-switch { display: none; }
  :root { --pad: 1.25rem; --gap: 1rem; --services-tail: 4rem; }
  body { font-size: 1rem; }
  .site-header { height: 3.75rem; }
  .wordmark { font-size: 1.375rem; }
  .header-actions .btn-small { padding: .625rem 1rem; }
  .hero-title { font-size: clamp(2.75rem, 13.5vw, 3.75rem); }
  .hero-grid { grid-template-columns: 1fr; gap: 1.5rem; margin-top: 2rem; }
  .hero-actions { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; }
  .hero-est { flex-direction: row; align-items: baseline; gap: .5rem; margin-top: 0; }
  .hero-year { font-size: 2.5rem; }
  .hero-photos { height: 72vw; margin-top: 2.5rem; }
  .hero-photos.has-two { grid-template-columns: 2fr 1fr; }
  .section-head { grid-template-columns: 1fr; gap: 1rem; }
  .section-head .section-title, .section-note { grid-column: auto; }
  .section-note { padding-top: 0; }
  .section-title { font-size: clamp(2.75rem, 13vw, 3.5rem); }
  .service { grid-template-columns: 1fr; gap: .5rem; padding-top: 1.5rem; padding-bottom: 1.5rem; }
  .service-desc { grid-column: auto; }
  .service-buy { flex-direction: row; align-items: center; justify-content: space-between; margin-top: .5rem; }
  .about { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-num { font-size: clamp(8rem, 50vw, 12rem); }
  .about-num-label { margin-top: .75rem; font-size: 1.25rem; }
  .about-years { padding-bottom: 2rem; }
  .about-title { padding-top: 0; }
  .about-quote { margin-top: 2rem; font-size: 1.375rem; }
  .about-text { margin-top: 1.5rem; }
  .about-signature { padding-top: 2rem; }
  .about-detail { margin-top: 2rem; }
  /* Phones: the strips scroll sideways (motion spec). */
  .gallery-row { height: auto; gap: .25rem; padding: 0 var(--pad); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .gallery-row::-webkit-scrollbar { display: none; }
  .gallery-item { flex: 0 0 9.5rem; height: 30rem; scroll-snap-align: start; scroll-margin-left: var(--pad); }
  .testimonial-list { grid-template-columns: 1fr; gap: 3rem; }
  .testimonial:nth-child(n) { margin-top: 0; }
  .testimonial-quote { font-size: 1.375rem; }
  .faq-list { gap: 2rem; }
  .faq-item { grid-template-columns: 1fr; }
  .faq-q, .faq-a { grid-column: auto; }
  .faq-q { font-size: 1.25rem; }
  .faq-a p { padding-top: .75rem; }
  .contact-info { padding-top: 3.5rem; padding-bottom: 3.5rem; }
  .contact-address { font-size: 1.25rem; }
  .contact-direct dd { font-size: 1.25rem; }
  .contact-phone dd { font-size: 2.25rem; }
  .hours { margin-top: 2.5rem; }
  .contact-form-wrap { padding-top: 3rem; }
  .map { height: 20rem; }
  .footer-links { flex-direction: column; align-items: flex-start; }
  .modal { padding: 0; align-items: end; }
  .modal-card { max-height: 92vh; }
}
