/* Hair salon design, Brutalist version (local-business sites), from the "Hair Saloon - Brutalist" design file at
   1440 px. Space Grotesk only (self-hosted, assets/fonts); orange, black and cream blocks, square photos, display
   titles in capitals. Motion lives in script.js, shared behaviour in the engine's site.js. */

:root {
  --orange: #ff6a2b;
  --black: #161616;
  --cream: #f5ede6;
  --field: #2a2a2a;
  --grey: #a9a29c;
  --font: "Space Grotesk", "Helvetica Neue", Arial, sans-serif;
  /* 24 px sides at 1440, content capped at 1392 px on wider screens. */
  --pad: max(1.5rem, calc((100% - 87rem) / 2));
  --title: clamp(3rem, 7.78vw, 7rem);
  --title-xl: clamp(3rem, 8.33vw, 7.5rem);
  /* Entrances power3.out, exits power2.in (motion spec), as CSS curves for hovers. */
  --ease-out: cubic-bezier(.215, .61, .355, 1);
  --ease-in: cubic-bezier(.55, .085, .68, .53);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 4.5rem; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--black);
  color: var(--black);
  font: 400 1.0625rem/1.5 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;
  min-height: 2.625rem; padding: .75rem 1.375rem; border: 0; border-radius: 0; cursor: pointer;
  font: 700 1.125rem/1.2 var(--font); text-transform: uppercase; white-space: nowrap;
  /* Colour, not opacity or transform: entrances animate those (hair-salon-brutalist.js). */
  transition: background-color .25s var(--ease-in), color .25s var(--ease-in);
}
.btn:hover { transition-timing-function: var(--ease-out); }
.btn-small { padding: .75rem 1.375rem; font-size: .9375rem; }
.btn-block { display: flex; width: 100%; min-height: 4rem; }
.btn-dark { background: var(--black); color: var(--orange); }
.btn-dark:hover { background: var(--cream); color: var(--black); }
.btn-orange { background: var(--orange); color: var(--black); }
.btn-orange:hover { background: var(--cream); }
.text-link { position: relative; font: 700 1.125rem/1.2 var(--font); text-transform: uppercase; }
.text-link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -.3rem; height: 3px;
  background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .3s var(--ease-in);
}
.text-link:hover::after { transform: scaleX(1); transform-origin: left; transition-timing-function: var(--ease-out); }
.link-button { padding: 0; border: 0; background: none; cursor: pointer; font: inherit; color: inherit; text-decoration: underline; text-underline-offset: .2em; }

.section { padding: 3.75rem var(--pad) 6.25rem; background: var(--black); color: var(--cream); }
.section-orange { background: var(--orange); color: var(--black); }
.section-cream { background: var(--cream); color: var(--black); }
.section-title { font: 700 var(--title)/1.2 var(--font); letter-spacing: -.054em; text-transform: uppercase; color: var(--orange); overflow-wrap: anywhere; }
.section-orange .section-title, .section-cream .section-title { color: var(--black); }
.section-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 2rem; }
.section-head .section-title { max-width: 56.25rem; }
.section-note { flex: none; width: min(100%, 26rem); margin-top: 1.625rem; font-size: 1.125rem; line-height: 1.45; }
.services .section-note { font-weight: 500; }

/* Square photos: the frame clips, the image fills it (and scales inside it on scroll). */
.photo { position: relative; overflow: hidden; background: #222; }
.photo img { width: 100%; height: 100%; object-fit: cover; }
/* Large photos that drift on scroll (hair-salon-brutalist.js): taller than their frame, centred in it. */
.hero-grid > .photo img, .about-photos .photo img, .faq-photo img { position: absolute; left: 0; top: -5%; height: 110%; }
/* SplitText masks (hair-salon-brutalist.js): room for the accents above capitals inside the clipping box. */
.title-line-mask { padding-top: .08em; margin-top: -.08em; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1.5rem;
  height: 4rem; padding: 0 var(--pad);
  background: var(--orange); color: var(--black);
  transition: transform .3s var(--ease-in);
}
.site-header.is-hidden { transform: translateY(-100%); }
.wordmark { font: 700 1.25rem/1.2 var(--font); letter-spacing: -.025em; text-transform: uppercase; white-space: nowrap; }
.wordmark.has-logo img { height: 2.25rem; width: auto; }
.site-nav { display: flex; justify-content: center; gap: 2rem; font: 700 1rem/1.2 var(--font); }
.header-actions { display: flex; align-items: center; justify-content: flex-end; gap: 1.25rem; }
.header-phone { font: 700 1rem/1.2 var(--font); white-space: nowrap; }
.header-socials, .footer-socials, .menu-socials { display: flex; align-items: center; gap: .875rem; }
.header-socials a, .footer-socials a, .menu-socials a { display: flex; }
.site-nav a, .header-phone, .footer-nav a { position: relative; }
.site-nav a::after, .header-phone::after, .footer-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -.25rem; height: 2px;
  background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .3s var(--ease-in);
}
.site-nav a:hover::after, .header-phone:hover::after, .footer-nav a:hover::after { transform: scaleX(1); transform-origin: left; transition-timing-function: var(--ease-out); }
.header-socials a, .footer-socials a, .menu-socials a { transition: opacity .25s var(--ease-in); }
.header-socials a:hover, .footer-socials a:hover, .menu-socials a:hover { opacity: .6; }
.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(--orange); color: var(--black); overflow-y: auto; }
.menu-overlay[hidden] { display: none; }
.menu-head { display: flex; align-items: center; justify-content: space-between; height: 4rem; 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, 4rem)/1.05 var(--font); letter-spacing: -.05em; text-transform: uppercase; }
.menu-foot { display: flex; flex-direction: column; align-items: flex-start; gap: 1.25rem; font-weight: 700; }

/* Language switcher (sites with more than one language): the current code in the header, the names in a black box below it. */
.lang-switch { position: relative; }
.lang-current { display: flex; align-items: center; gap: .25rem; font: 700 1rem/1.2 var(--font); text-transform: uppercase; list-style: none; cursor: pointer; }
.lang-current::-webkit-details-marker { display: none; }
.lang-current svg { transition: transform .25s var(--ease-in); }
.lang-switch[open] .lang-current svg { transform: rotate(180deg); }
.lang-list { position: absolute; top: calc(100% + .875rem); right: 0; z-index: 45; min-width: 12rem; max-height: min(70vh, 28rem); overflow-y: auto; padding: .5rem 0; background: var(--black); color: var(--cream); }
.lang-list a { display: block; padding: .5rem 1.125rem; font: 500 1rem/1.3 var(--font); white-space: nowrap; transition: color .2s var(--ease-in); }
.lang-list a:hover { color: var(--orange); }
.lang-list a[aria-current] { font-weight: 700; color: var(--orange); }
.menu-langs { display: flex; flex-wrap: wrap; gap: .5rem 1rem; font: 700 1rem/1.2 var(--font); }
.menu-langs a { opacity: .55; }
.menu-langs a[aria-current] { opacity: 1; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .25em; }

/* ---------- Hero ---------- */
.hero { padding: 2.25rem var(--pad) 1.5rem; background: var(--black); color: var(--orange); }
.hero-title { font: 700 var(--title)/.9 var(--font); letter-spacing: -.054em; text-transform: uppercase; overflow-wrap: anywhere; }
/* 460 | 600 | 308 at 1440, 676 tall, 12 px apart. */
.hero-grid { display: grid; grid-template-columns: minmax(0, 460fr) minmax(0, 600fr) minmax(0, 308fr); gap: .75rem; margin-top: clamp(2rem, 4.3vw, 3.875rem); }
.hero-block { display: flex; flex-direction: column; align-items: flex-start; min-height: clamp(30rem, 47vw, 42.25rem); padding: 2rem; background: var(--orange); color: var(--black); }
.hero-tagline { font: 700 clamp(1.625rem, 2.22vw, 2rem)/1.05 var(--font); letter-spacing: -.03em; }
.hero-intro { margin-top: 1.375rem; font-size: 1.125rem; line-height: 1.5; }
.hero-block .btn-block { margin-top: 1.375rem; }
.hero-block .text-link { margin-top: 1.375rem; }
.hero-est { display: flex; align-items: baseline; gap: .75rem; margin-top: 2.75rem; }
.hero-est-label { font: 700 1.125rem/1.2 var(--font); text-transform: uppercase; }
.hero-year { font: 700 clamp(4.5rem, 6.67vw, 6rem)/.85 var(--font); letter-spacing: -.052em; }
.hero-grid > .photo { height: 100%; min-height: 20rem; }

/* ---------- Services ---------- */
.service-list { display: flex; flex-direction: column; gap: .5rem; margin-top: 2.8rem; }
/* Name 380, description 560, price 220, booking: 28 px apart, as in the design's rows. */
.service {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 380fr) minmax(0, 560fr) minmax(0, 220fr) auto; column-gap: 1.75rem; align-items: center;
  min-height: 6.875rem; padding: 1.25rem 2.8rem 1.25rem 1.75rem;
  background: var(--black); color: var(--cream);
}
/* Cream fill of the pointed row, wiped in from the left (power3.out) and out to the right (power2.in). */
.service-bg { position: absolute; inset: 0; z-index: -1; background: var(--cream); transform: scaleX(0); transform-origin: 100% 50%; transition: transform .35s var(--ease-in); }
.service-name { font: 700 clamp(1.5rem, 2.22vw, 2rem)/1.2 var(--font); letter-spacing: -.03em; text-transform: uppercase; color: var(--orange); transition: color .35s var(--ease-in); }
.service-desc { font-size: 1.0625rem; line-height: 1.45; transition: color .35s var(--ease-in); }
.service-price { font: 700 clamp(2rem, 3.33vw, 3rem)/1.2 var(--font); letter-spacing: -.042em; text-align: right; white-space: nowrap; color: var(--orange); }
.service-book { font: 700 .9375rem/1.2 var(--font); text-transform: uppercase; white-space: nowrap; transition: color .35s var(--ease-in); }
.service-book:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .25em; }
@media (hover: hover) {
  .service:hover .service-bg, .service:focus-within .service-bg { transform: scaleX(1); transform-origin: 0 50%; transition: transform .5s var(--ease-out); }
  .service:hover .service-name, .service:hover .service-desc, .service:hover .service-book,
  .service:focus-within .service-name, .service:focus-within .service-desc, .service:focus-within .service-book { color: var(--black); transition-timing-function: var(--ease-out); }
}

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: minmax(0, 596fr) minmax(0, 796fr); align-items: start; margin-top: .9375rem; }
.about-years { display: flex; flex-direction: column; align-items: flex-start; }
.about-num { margin: -.025em 0 0 -.04em; font: 700 clamp(9rem, 25vw, 22.5rem)/.85 var(--font); letter-spacing: -.067em; color: var(--orange); font-variant-numeric: lining-nums; }
.about-num-label { margin-top: 1.5rem; font: 700 1.5rem/1.2 var(--font); text-transform: uppercase; }
.about-block { grid-column: 2; padding: 2.25rem; background: var(--orange); color: var(--black); }
.about-quote { font: 700 clamp(1.625rem, 2.22vw, 2rem)/1.1 var(--font); letter-spacing: -.03em; }
.about-text { display: grid; gap: 1em; margin-top: 1.125rem; line-height: 1.5; }
.about-signature { margin-top: 1.125rem; font: 700 1.0625rem/1.2 var(--font); text-transform: uppercase; }
.about-photos { display: grid; grid-template-columns: minmax(0, 900fr) minmax(0, 480fr); gap: .75rem; margin-top: clamp(3rem, 8.1vw, 7.3rem); }
.about-photos > .photo { height: clamp(16rem, 27.8vw, 25rem); }
.about-photos > .photo:only-child { grid-column: 1 / -1; }
.about { padding-bottom: 2.5rem; }

/* ---------- Gallery ---------- */
.gallery { padding-top: 3.125rem; padding-bottom: 0; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: .9375rem calc(-1 * var(--pad)) 0; }
.gallery-item { aspect-ratio: 480 / 300; padding: 0; border: 0; border-radius: 0; cursor: zoom-in; }
.gallery-item img { transition: transform .45s var(--ease-in), filter .45s var(--ease-in); }
.gallery-item::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 0 var(--orange); transition: box-shadow .3s var(--ease-in); pointer-events: none; }
.gallery-item:hover img { transform: scale(1.05); filter: contrast(1.1); transition-timing-function: var(--ease-out); }
.gallery-item:hover::after, .gallery-item:focus-visible::after { box-shadow: inset 0 0 0 .5rem var(--orange); transition-timing-function: var(--ease-out); }
.gallery-item:focus-visible { outline: none; }

.lightbox { position: fixed; inset: 0; z-index: 70; display: grid; place-items: center; padding: 4rem 1.5rem; background: rgba(22, 22, 22, .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(--orange); cursor: pointer; }

/* ---------- Testimonials ---------- */
.testimonials { padding-bottom: 5.5rem; }
.section-cream .section-title { font-size: var(--title-xl); line-height: 1.1; letter-spacing: -.033em; }
.testimonial-list { display: flex; flex-direction: column; gap: 1.875rem; margin-top: 4.25rem; }
.testimonial { width: min(100%, 56.25rem); }
.testimonial:nth-child(even) { margin-left: auto; }
.stars { display: flex; gap: .25rem; color: var(--orange); }
.testimonial-quote { margin-top: 1.25rem; font: 500 clamp(1.375rem, 2.22vw, 2rem)/1.25 var(--font); letter-spacing: -.016em; }
.testimonial-client { display: flex; flex-direction: column; gap: 1.25rem; margin-top: 1.25rem; font-size: 1rem; line-height: 1.4; }
.testimonial-name { font-weight: 700; text-transform: uppercase; }

/* ---------- FAQ ---------- */
.faq .section-title, .contact .section-title { font-size: var(--title-xl); line-height: 1.1; letter-spacing: -.033em; }
.faq { padding-bottom: 5rem; }
.faq-grid { display: grid; grid-template-columns: minmax(0, 560fr) minmax(0, 796fr); gap: 2.25rem; align-items: start; margin-top: 4.25rem; }
.faq-photo { aspect-ratio: 560 / 900; }
.faq-list { grid-column: 2; display: flex; flex-direction: column; gap: 2.75rem; }
.faq-q { font: 700 clamp(1.375rem, 1.8vw, 1.625rem)/1.2 var(--font); letter-spacing: -.02em; color: var(--orange); }
.faq-a { margin-top: .75rem; line-height: 1.5; }

/* ---------- Contact ---------- */
.contact { padding-bottom: 7.5rem; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 660fr) minmax(0, 696fr); gap: 2.25rem; align-items: start; margin-top: 4.25rem; }
.contact-details { display: flex; flex-direction: column; }
.contact-address { display: flex; flex-direction: column; font: 700 clamp(1.75rem, 2.5vw, 2.25rem)/1.1 var(--font); letter-spacing: -.028em; }
.contact-lines { display: grid; grid-template-columns: minmax(0, 300fr) minmax(0, 324fr); gap: 1rem 2.25rem; margin-top: 3rem; }
.contact-lines dt { font-size: 1rem; line-height: 1.4; }
.contact-lines dd { font: 700 1.375rem/1.3 var(--font); overflow-wrap: anywhere; }
.contact-lines a { background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat; transition: background-size .3s var(--ease-in); }
.contact-lines a:hover { background-size: 100% 2px; transition-timing-function: var(--ease-out); }
.hours { display: flex; flex-direction: column; gap: .375rem; margin-top: 2.8rem; font-size: 1.125rem; line-height: 1.4; }
.hours div { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding: .3125rem 0; }
.hours dd { font-weight: 700; text-align: right; }

.map { position: relative; aspect-ratio: 660 / 420; margin-top: 3.75rem; overflow: hidden; background: var(--black); }
.map-sketch { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke: var(--cream); stroke-width: 10; transition: opacity .6s var(--ease-in); }
/* The design's orange drop pin; its tip sits on the address. */
.map-pin, .map-marker-dot {
  display: block; width: 3rem; height: 4rem; transform-origin: 50% 100%;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 64'%3E%3Cpath d='M24 .5C37.3.5 47.5 10.7 47.5 24 47.5 41.3 24 63.3 24 63.3S.5 41.3.5 24C.5 10.7 10.7.5 24 .5Z' fill='%23ff6a2b' stroke='%23000'/%3E%3C/svg%3E") center / contain no-repeat;
}
.map-pin { position: absolute; left: 52.7%; top: 46.2%; margin: -4rem 0 0 -1.5rem; }
/* The marker element is centred on the address: the dot is lifted by half its height. */
.map-marker-dot { position: relative; top: -2rem; }
/* 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-out); }
.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-open { position: absolute; left: 1.5rem; bottom: 1.5rem; z-index: 2; }
.map-attribution {
  position: absolute; right: 0; bottom: 0; z-index: 2; padding: .25rem .5rem;
  background: rgba(22, 22, 22, .8); color: var(--grey); font-size: .6875rem; line-height: 1.2;
  opacity: 0; transition: opacity .6s var(--ease-out);
}
.map.is-ready .map-attribution { opacity: 1; }
.map-zoom { position: absolute; top: 1rem; right: 1rem; 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(--orange); color: var(--black); cursor: pointer; transition: background-color .25s var(--ease-in); }
.map-zoom button:hover { background: var(--cream); }
.map-zoom button:disabled { background: #6b6560; cursor: default; }
.map-marker { display: block; }
.map-canvas .maplibregl-canvas:focus-visible { outline: none; }

.contact-box { padding: 3rem; background: var(--black); color: var(--cream); }
.form-title { font: 700 clamp(1.75rem, 2.5vw, 2.25rem)/1.1 var(--font); letter-spacing: -.028em; color: var(--orange); }
.contact-form { display: flex; flex-direction: column; gap: 1.25rem; margin-top: 1.25rem; }
.field { display: flex; flex-direction: column; gap: 1.25rem; }
.field label { font-size: 1rem; line-height: 1.4; }
.field input, .field textarea {
  width: 100%; min-height: 3.5rem; padding: 1rem 1.125rem;
  border: 2px solid transparent; border-radius: 0; background: var(--field); color: var(--cream);
  font: 400 1.0625rem/1.4 var(--font); transition: border-color .25s var(--ease-in);
}
.field textarea { height: 18.125rem; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--orange); transition-timing-function: var(--ease-out); }
.field.is-invalid input, .field.is-invalid textarea { border-color: #ff9a6e; }
.consent { display: flex; align-items: flex-start; gap: .875rem; min-height: 3rem; font-size: .9375rem; line-height: 1.45; }
.consent input { appearance: none; flex: none; width: 1.375rem; height: 1.375rem; margin: 0; border-radius: 0; background: var(--cream); cursor: pointer; }
.consent input:checked { background: var(--orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23161616' stroke-width='3.5' stroke-linecap='square'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 75% no-repeat; }
.consent.is-invalid input { box-shadow: 0 0 0 2px #ff9a6e; }
.btn-submit { font-size: 1.0625rem; }
.btn-submit:disabled { background: #6b6560; cursor: default; }
.form-msg { display: flex; gap: .75rem; align-items: flex-start; padding: 1rem 1.25rem; background: var(--field); color: var(--cream); }
.form-msg svg { flex: none; margin-top: .15rem; }
.form-msg ul { margin: .5rem 0 0; padding-left: 1.1rem; list-style: disc; }
.form-err { box-shadow: inset 4px 0 0 #ff9a6e; }
.contact-box .form-ok { margin-top: 1.25rem; }

/* ---------- Footer ---------- */
.site-footer { padding: 3.75rem var(--pad) 3rem; background: var(--black); color: var(--cream); }
.footer-top { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.footer-nav { display: flex; flex-wrap: wrap; gap: .75rem 2rem; font: 500 1.0625rem/1.3 var(--font); }
.footer-socials { gap: 1.0625rem; }
.footer-socials svg { width: 1.5rem; height: 1.5rem; }
.footer-name { margin: 2.875rem -.06em 0; font: 700 min(15.8vw, 14.25rem)/.95 var(--font); letter-spacing: -.04em; text-transform: uppercase; color: var(--orange); overflow-wrap: anywhere; }
.footer-logo { margin-top: 2.875rem; }
.footer-logo img { height: clamp(4rem, 10vw, 9rem); width: auto; }
.footer-legal { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .75rem 2rem; margin-top: 3.25rem; font-size: .9375rem; line-height: 1.4; }
.footer-links { display: flex; flex-wrap: wrap; gap: .5rem 1.75rem; }
.footer-legal .link-button { text-decoration: none; transition: color .25s var(--ease-in); }
.footer-legal .link-button:hover { color: var(--orange); transition-timing-function: var(--ease-out); }

/* ---------- Legal modals ---------- */
.modal { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 1.5rem; background: rgba(22, 22, 22, .7); }
.modal[hidden] { display: none; }
.modal-card { display: flex; flex-direction: column; width: min(100%, 42rem); max-height: min(100%, 48rem); background: var(--cream); color: var(--black); border-top: .5rem solid var(--orange); }
.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: -.03em; text-transform: uppercase; }
.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: #5b5551; }
.modal-foot { display: flex; justify-content: flex-end; padding: 1.25rem 1.75rem 1.75rem; }

/* ---------- Tablet ---------- */
@media (max-width: 1100px) {
  .site-header { grid-template-columns: 1fr auto; }
  .site-nav, .header-phone, .header-socials { display: none; }
  .menu-toggle { display: flex; }
  .hero-grid { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); }
  .hero-block { grid-column: 1 / -1; min-height: 0; }
  .hero-grid > .photo { height: clamp(22rem, 60vw, 36rem); }
  .section-head { flex-direction: column; gap: 1rem; }
  .section-note { margin-top: 0; }
  .service { grid-template-columns: minmax(0, 1fr) auto; column-gap: 1.5rem; row-gap: .5rem; padding: 1.5rem 1.75rem; }
  .service-name { grid-column: 1; grid-row: 1; }
  .service-price { grid-column: 2; grid-row: 1; }
  .service-desc { grid-column: 1; grid-row: 2; max-width: 36rem; }
  .service-book { grid-column: 2; grid-row: 2; justify-self: end; }
  .about-grid { grid-template-columns: 1fr; gap: 2rem; }
  .about-block { grid-column: auto; }
  .faq-grid { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); }
  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
}

/* ---------- Mobile ---------- */
@media (max-width: 768px) {
  .header-actions .lang-switch { display: none; }
  :root { --pad: 1rem; --title: 12.3vw; --title-xl: 12.3vw; }
  body { font-size: 1rem; }
  .section-title { line-height: 1.02; }
  .site-header { height: 3.5rem; }
  .header-actions { gap: .75rem; }
  .header-actions .btn-small { padding: .625rem .875rem; font-size: .8125rem; min-height: 2.25rem; }
  .menu-head { height: 3.5rem; }
  .hero { padding-top: 1.5rem; padding-bottom: 1rem; }
  .hero-grid { gap: .5rem; margin-top: 1.75rem; }
  .hero-block { padding: 1.5rem 1.25rem 1.75rem; }
  .hero-intro { font-size: 1rem; }
  .hero-grid > .photo { height: clamp(15rem, 70vw, 22rem); min-height: 0; }
  .section { padding-top: 3rem; padding-bottom: 4rem; }
  .section-note { font-size: 1rem; }
  .service-list { margin-top: 2rem; }
  .service { grid-template-columns: minmax(0, 1fr) auto; padding: 1.125rem 1rem 1.25rem; row-gap: .625rem; }
  .service-desc { grid-column: 1 / -1; grid-row: 2; font-size: .9375rem; }
  .service-book { grid-column: 1 / -1; grid-row: 3; justify-self: start; }
  .service-price { align-self: start; font-size: 1.75rem; }
  .about { padding-bottom: 2rem; }
  .about-grid { gap: 1.5rem; margin-top: 1rem; }
  .about-num-label { margin-top: 1rem; font-size: 1.25rem; }
  .about-block { padding: 1.5rem 1.25rem; }
  .about-photos { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: .5rem; margin-top: 2.5rem; }
  .about-photos > .photo { height: 13rem; }
  .gallery { padding-top: 3rem; }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 1.5rem; }
  .gallery-item { aspect-ratio: 1; }
  /* An odd number of photos: the first spans the row, so the grid ends square. */
  .gallery-item:first-child:nth-last-child(odd) { grid-column: 1 / -1; aspect-ratio: 480 / 300; }
  .testimonial-list { gap: 2.5rem; margin-top: 2.5rem; }
  .testimonial:nth-child(even) { width: auto; margin-left: 12%; }
  .testimonial-client { gap: .5rem; }
  .faq-grid { grid-template-columns: 1fr; gap: 2rem; margin-top: 2rem; }
  .faq-photo { aspect-ratio: 4 / 3; }
  .faq-list { grid-column: auto; gap: 2rem; }
  .contact { padding-bottom: 4rem; }
  .contact-grid { margin-top: 2rem; gap: 2.5rem; }
  .contact-lines { grid-template-columns: 1fr; margin-top: 2rem; }
  .hours { margin-top: 2rem; font-size: 1rem; }
  .map { aspect-ratio: 4 / 3; margin-top: 2.5rem; }
  .map-open { left: 1rem; bottom: 1rem; }
  .contact-box { padding: 1.75rem 1.25rem; }
  .field textarea { height: 12rem; }
  .site-footer { padding-top: 3rem; padding-bottom: 2.5rem; }
  .footer-top { flex-direction: column; align-items: flex-start; }
  .footer-nav { gap: .75rem 1.5rem; }
  .footer-name { margin-top: 2.5rem; font-size: 14.6vw; }
  .footer-legal { flex-direction: column; margin-top: 2rem; }
  .modal { padding: 0; align-items: end; }
  .modal-card { max-height: 92vh; }
}
