/* Alina Bibik — Maniküre & Pediküre, Suhl
   Static landing page: HTML + CSS only, no JavaScript. */

/* Fonts are self-hosted (no Google Fonts request → DSGVO-friendly). */
@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/CormorantGaramond-500.woff2") format("woff2");
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/CormorantGaramond-500-italic.woff2") format("woff2");
  font-weight: 400 600;
  font-style: italic;
  font-display: swap;
}

:root {
  --font-display: "Cormorant Garamond", ui-serif, Georgia, "Times New Roman", serif;
  --font-sans: "Avenir Next", Avenir, "Segoe UI", "Helvetica Neue", system-ui, sans-serif;

  --bg: #f6f0ea;
  --bg-warm: #efe4dc;
  --surface: #fbf7f3;
  --fg: #2a2320;
  --muted: #6f625c;
  --subtle: #9a8a82;
  --primary: #6b4a45;
  --primary-hover: #5a3d39;
  --on-primary: #f7f1ec;
  --rose: #c4a199;
  --blush: #e8d5ce;
  --border: #e4d8d1;
  --inverse-bg: #2a2320;
  --inverse-fg: #f7f1ec;

  --radius: 0.75rem;
  --radius-lg: 1.5rem;
  --shadow:
    0 0 0 1px rgb(42 35 32 / 0.06),
    0 1px 2px -1px rgb(42 35 32 / 0.06),
    0 2px 8px 0 rgb(42 35 32 / 0.04);
  --shadow-hover:
    0 0 0 1px rgb(42 35 32 / 0.1),
    0 1px 2px -1px rgb(42 35 32 / 0.08),
    0 8px 20px 0 rgb(42 35 32 / 0.06);

  --container: 72rem;
  --gutter: clamp(1.25rem, 4vw, 2rem);
  --section-y: clamp(4.5rem, 10vw, 7rem);
  --header-h: 4.5rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  color-scheme: light;
}

/* Dark theme: set by the inline boot script / js/theme.js (data-theme),
   or by the system preference when JavaScript is unavailable. */
html[data-theme="dark"] {
  --bg: #141110;
  --bg-warm: #1c1816;
  --surface: #221d1b;
  --fg: #f0e7e2;
  --muted: #bfb0a8;
  --subtle: #928379;
  --primary: #d2ada4;
  --primary-hover: #e2c2ba;
  --on-primary: #1c1513;
  --rose: #c9a49b;
  --blush: #3b2d2a;
  --border: #342c29;
  --inverse-bg: #f0e7e2;
  --inverse-fg: #1c1715;
  --shadow:
    0 0 0 1px rgb(255 255 255 / 0.07),
    0 2px 10px 0 rgb(0 0 0 / 0.35);
  --shadow-hover:
    0 0 0 1px rgb(255 255 255 / 0.12),
    0 8px 22px 0 rgb(0 0 0 / 0.45);
  color-scheme: dark;
}

@media (prefers-color-scheme: dark) {
  html:not([data-theme]) {
  --bg: #141110;
  --bg-warm: #1c1816;
  --surface: #221d1b;
  --fg: #f0e7e2;
  --muted: #bfb0a8;
  --subtle: #928379;
  --primary: #d2ada4;
  --primary-hover: #e2c2ba;
  --on-primary: #1c1513;
  --rose: #c9a49b;
  --blush: #3b2d2a;
  --border: #342c29;
  --inverse-bg: #f0e7e2;
  --inverse-fg: #1c1715;
  --shadow:
    0 0 0 1px rgb(255 255 255 / 0.07),
    0 2px 10px 0 rgb(0 0 0 / 0.35);
  --shadow-hover:
    0 0 0 1px rgb(255 255 255 / 0.12),
    0 8px 22px 0 rgb(0 0 0 / 0.45);
  color-scheme: dark;
  }
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  background: var(--bg);
  transition: background-color 250ms var(--ease), color 250ms var(--ease);
  color: var(--fg);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

p {
  margin: 0;
  text-wrap: pretty;
}

ul,
dl,
dd,
figure,
blockquote {
  margin: 0;
  padding: 0;
}

ul {
  list-style: none;
}

::selection {
  background: var(--blush);
  color: var(--fg);
}

:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  padding: 0.6rem 1rem;
  background: var(--primary);
  color: var(--on-primary);
  border-radius: var(--radius);
  text-decoration: none;
}
.skip-link:focus {
  top: 1rem;
}

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

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

.section--warm {
  background: color-mix(in srgb, var(--bg-warm) 60%, var(--bg));
}

.framed {
  outline: 1px solid rgb(42 35 32 / 0.08);
  outline-offset: -1px;
}

/* ---------- Typography helpers ---------- */
.eyebrow {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}

.section-title {
  margin-top: 0.75rem;
  font-size: clamp(2.25rem, 5vw, 3rem);
  line-height: 1.1;
}

.lead {
  margin-top: 1rem;
  color: var(--muted);
}

.section-head {
  max-width: 36rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3rem;
  padding: 0 1.5rem;
  border: 0;
  border-radius: var(--radius);
  font: 500 0.95rem/1 var(--font-sans);
  text-decoration: none;
  cursor: pointer;
  transition:
    background-color 150ms var(--ease),
    box-shadow 150ms var(--ease),
    transform 150ms var(--ease);
}
.btn:active {
  transform: translateY(1px);
}

.btn--primary {
  background: var(--primary);
  color: var(--on-primary);
}
.btn--primary:hover {
  background: var(--primary-hover);
}

.btn--outline {
  background: color-mix(in srgb, var(--surface) 70%, transparent);
  color: var(--fg);
  box-shadow: var(--shadow);
}
.btn--outline:hover {
  background: var(--surface);
  box-shadow: var(--shadow-hover);
}

.btn--sm {
  min-height: 2.5rem;
  padding: 0 1rem;
  font-size: 0.85rem;
}

.btn--block {
  width: 100%;
}

.btn svg {
  width: 1.1rem;
  height: 1.1rem;
  flex-shrink: 0;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgb(42 35 32 / 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: var(--header-h);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--fg);
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: var(--primary);
  color: var(--on-primary);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.14em;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
}

.nav {
  display: none;
  gap: 2rem;
}

.nav a {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--muted);
  transition: color 150ms;
}
.nav a:hover {
  color: var(--fg);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.header-actions .btn--primary {
  display: none;
}

.lang {
  display: flex;
  align-items: center;
  padding: 0.2rem;
  border-radius: 999px;
  box-shadow: var(--shadow);
  background: var(--surface);
}

.lang a {
  display: grid;
  place-items: center;
  min-width: 2.25rem;
  height: 2rem;
  padding: 0 0.5rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-decoration: none;
  color: var(--muted);
}
.lang a:hover {
  color: var(--fg);
}
.lang a[aria-current="true"] {
  background: var(--primary);
  color: var(--on-primary);
}

.theme-toggle {
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: var(--surface);
  box-shadow: var(--shadow);
  color: var(--fg);
  cursor: pointer;
  transition: color 150ms, box-shadow 150ms;
}
.theme-toggle:hover {
  color: var(--primary);
  box-shadow: var(--shadow-hover);
}
/* The icon shows the current state: sun by day, moon by night.
   Both icons stay in the button; the hidden one waits above or below it. */
.theme-toggle svg {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1.1rem;
  height: 1.1rem;
  translate: -50% -50%;
}

html:not([data-theme="dark"]) .theme-toggle__moon,
html[data-theme="dark"] .theme-toggle__sun {
  opacity: 0;
  transform: translateY(-160%);
}

/* On click (js/theme.js sets data-theme-animate) the outgoing icon sets
   downwards and the incoming one arrives from the top, in both directions.
   Swapping animation names on theme change restarts the keyframes. */
html[data-theme-animate]:not([data-theme="dark"]) .theme-toggle__sun,
html[data-theme-animate][data-theme="dark"] .theme-toggle__moon {
  animation: theme-icon-in 550ms cubic-bezier(0.22, 1, 0.36, 1) 150ms both;
}
html[data-theme-animate]:not([data-theme="dark"]) .theme-toggle__moon,
html[data-theme-animate][data-theme="dark"] .theme-toggle__sun {
  animation: theme-icon-out 500ms cubic-bezier(0.55, 0, 0.75, 0.2) both;
}

@keyframes theme-icon-in {
  from {
    opacity: 0;
    transform: translateY(-160%) rotate(-45deg);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes theme-icon-out {
  from {
    opacity: 1;
    transform: none;
  }
  to {
    opacity: 0;
    transform: translateY(160%) rotate(45deg);
  }
}

.menu-toggle {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: var(--radius);
  color: var(--fg);
}
.menu-toggle svg {
  width: 1.4rem;
  height: 1.4rem;
}

/* Mobile menu: pure CSS via :target. Any link inside navigates away from
   #menu, so the panel closes itself without JavaScript. */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  flex-direction: column;
  padding: 1.25rem var(--gutter) 2rem;
  background: var(--bg);
  visibility: hidden;
  opacity: 0;
  transform: translateY(-8px);
  transition:
    opacity 200ms var(--ease),
    transform 200ms var(--ease),
    visibility 0s linear 200ms;
}
.mobile-menu:target {
  visibility: visible;
  opacity: 1;
  transform: none;
  transition:
    opacity 200ms var(--ease),
    transform 200ms var(--ease);
}

.mobile-menu-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mobile-menu nav {
  display: flex;
  flex-direction: column;
  margin-top: 2.5rem;
}

.mobile-menu nav a {
  display: flex;
  align-items: center;
  min-height: 3.5rem;
  border-bottom: 1px solid var(--border);
  font-family: var(--font-display);
  font-size: 1.75rem;
  text-decoration: none;
}

.mobile-menu .btn {
  margin-top: auto;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 100svh;
  overflow: hidden;
}

.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% 50%;
}

/* Phones get the portrait hero (hero_mob.jpg via <picture>). */
@media (max-width: 640px) {
  .hero-img {
    object-position: 50% 78%;
  }
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    var(--bg) 0%,
    color-mix(in srgb, var(--bg) 60%, transparent) 45%,
    color-mix(in srgb, var(--bg) 10%, transparent) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  padding-top: 8rem;
  padding-bottom: 7rem;
}

.hero h1 {
  margin-top: 1rem;
  font-size: clamp(3.25rem, 11vw, 6.5rem);
  line-height: 0.95;
  letter-spacing: -0.02em;
}

.hero-tagline {
  margin-top: 1rem;
  max-width: 28rem;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.25rem, 3vw, 1.6rem);
  color: var(--muted);
}

.hero-location {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.75rem;
  font-size: 0.9rem;
  color: var(--muted);
}
.hero-location svg {
  width: 1rem;
  height: 1rem;
  color: var(--rose);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.stagger > * {
  animation: fade-up 600ms var(--ease) both;
}
.stagger > *:nth-child(1) { animation-delay: 40ms; }
.stagger > *:nth-child(2) { animation-delay: 120ms; }
.stagger > *:nth-child(3) { animation-delay: 200ms; }
.stagger > *:nth-child(4) { animation-delay: 280ms; }
.stagger > *:nth-child(5) { animation-delay: 360ms; }

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(12px);
    filter: blur(4px);
  }
  to {
    opacity: 1;
    transform: none;
    filter: none;
  }
}

/* ---------- Intro ---------- */
.intro {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

.photo-frame {
  padding: 0.5rem;
  border-radius: var(--radius-lg);
  background: color-mix(in srgb, var(--blush) 45%, transparent);
}
.photo-frame img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 1rem;
}

.intro-text p.body {
  margin-top: 1.5rem;
  max-width: 36rem;
  font-size: clamp(1rem, 1.6vw, 1.125rem);
  line-height: 1.7;
  color: var(--muted);
}

.facts {
  display: grid;
  gap: 1.5rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.facts dt {
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--subtle);
}

.facts dd {
  margin-top: 0.35rem;
  font-family: var(--font-display);
  font-size: 1.3rem;
}

/* ---------- Services ---------- */
.service-groups {
  display: grid;
  gap: 3rem;
  margin-top: 3.5rem;
}

.service-group h3 {
  font-size: 1.6rem;
}

.service-group > p {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--muted);
}

.service-list {
  margin-top: 1.5rem;
}

.service-list li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.9rem;
}
.service-list li + li {
  border-top: 1px solid var(--border);
}

.service-name {
  font-size: 0.92rem;
  font-weight: 500;
}

.service-detail {
  margin-top: 0.15rem;
  font-size: 0.78rem;
  line-height: 1.5;
  color: var(--subtle);
}

.service-price {
  flex-shrink: 0;
  text-align: right;
}

.service-price strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.service-price span {
  font-size: 0.7rem;
  letter-spacing: 0.03em;
  color: var(--subtle);
  white-space: nowrap;
}

.service-variants {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.45rem;
}
.service-variants span {
  padding: 0.1rem 0.5rem;
  border-radius: 999px;
  background: var(--surface);
  box-shadow: var(--shadow);
  font-size: 0.72rem;
  color: var(--muted);
}

.services-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}
.services-cta p {
  font-size: 0.9rem;
  color: var(--muted);
}

/* ---------- Gallery ---------- */
.pairs {
  display: grid;
  gap: 2.5rem;
  margin-top: 3rem;
}

/* Before/after slider: the "before" photo is clipped to --pos,
   which js/before-after.js updates while dragging. */
.ba {
  --pos: 50%;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: color-mix(in srgb, var(--blush) 30%, transparent);
  cursor: ew-resize;
  touch-action: pan-y;
  -webkit-user-select: none;
  user-select: none;
}

.ba img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  pointer-events: none;
  -webkit-user-drag: none;
}

.ba .ba-before {
  position: absolute;
  inset: 0;
  height: 100%;
  clip-path: inset(0 calc(100% - var(--pos)) 0 0);
}

.ba-line {
  position: absolute;
  inset-block: 0;
  left: var(--pos);
  width: 2px;
  translate: -50% 0;
  background: #fbf7f3;
  pointer-events: none;
}

.ba-handle {
  position: absolute;
  top: 50%;
  left: var(--pos);
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  translate: -50% -50%;
  border-radius: 50%;
  background: color-mix(in srgb, var(--surface) 95%, transparent);
  box-shadow: var(--shadow-hover);
  color: var(--fg);
  pointer-events: none;
  transition: scale 150ms var(--ease);
}
.ba-handle svg {
  width: 1rem;
  height: 1rem;
}
.ba:hover .ba-handle,
.ba:active .ba-handle {
  scale: 1.08;
}
.ba:has(input:focus-visible) .ba-handle {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.ba input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.ba .tag {
  pointer-events: none;
}
.ba .tag--right {
  left: auto;
  right: 0.75rem;
}

.tag {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  color: var(--muted);
}
.tag--after {
  background: color-mix(in srgb, var(--primary) 92%, transparent);
  color: var(--on-primary);
}

.pair figcaption {
  margin-top: 1rem;
}
.pair figcaption strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 500;
}
.pair figcaption span {
  font-size: 0.875rem;
  color: var(--muted);
}

.looks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 4rem;
}

.looks figure > div {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
}

.looks img,
.looks video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  background: var(--bg-warm);
  transition: transform 600ms var(--ease);
}
.looks figure:not(.look-video):hover img {
  transform: scale(1.04);
}

.looks figcaption {
  margin-top: 0.6rem;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- Reviews ---------- */
.rating-cards {
  display: grid;
  gap: 1rem;
  margin-top: 3rem;
}

.rating-card {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding: clamp(1.5rem, 3vw, 2rem);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.rating-card .source {
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--subtle);
}

.rating-score {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
}
.rating-score strong {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 8vw, 4.5rem);
  font-weight: 500;
  line-height: 1;
}
.rating-score .stars {
  display: flex;
  gap: 0.15rem;
  color: var(--primary);
}
.rating-score .stars svg {
  width: 1rem;
  height: 1rem;
}
.rating-card .count {
  margin-top: 0.35rem;
  font-size: 0.9rem;
  color: var(--muted);
}
.rating-card .text-link {
  margin-top: auto;
}

.praise {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-top: 2rem;
}
.praise .label {
  margin-right: 0.5rem;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--subtle);
}
.praise span:not(.label) {
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  background: var(--surface);
  box-shadow: var(--shadow);
  font-family: var(--font-display);
  font-size: 1.1rem;
}

/* ---------- Visit ---------- */
.visit {
  display: grid;
  gap: 1.5rem;
  margin-top: 3rem;
}

.visit-photo {
  padding: 0.5rem;
  border-radius: var(--radius-lg);
  background: color-mix(in srgb, var(--blush) 35%, transparent);
}

/* Google Maps: iframe is only injected by js/consent.js after consent. */
.map-box {
  position: relative;
  overflow: hidden;
  height: 100%;
  min-height: 20rem;
  border-radius: 1rem;
  background: color-mix(in srgb, var(--bg-warm) 70%, var(--surface));
  outline: 1px solid rgb(42 35 32 / 0.08);
  outline-offset: -1px;
}

.map-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.map-consent,
.map-noscript {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 1.5rem;
  text-align: center;
  background:
    radial-gradient(circle at 30% 20%, color-mix(in srgb, var(--blush) 55%, transparent), transparent 60%),
    color-mix(in srgb, var(--bg-warm) 70%, var(--surface));
}

.map-consent > svg {
  width: 2rem;
  height: 2rem;
  color: var(--rose);
}

.map-consent__text {
  max-width: 24rem;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--muted);
}
.map-consent__text a {
  color: var(--fg);
  text-underline-offset: 3px;
}

/* ---------- Consent banner ---------- */
.consent-banner {
  position: fixed;
  left: var(--gutter);
  right: var(--gutter);
  bottom: calc(5rem + env(safe-area-inset-bottom));
  z-index: 70;
  display: grid;
  gap: 0.6rem;
  max-width: 24rem;
  margin-inline: auto;
  padding: 1rem 1.15rem 1.15rem;
  border-radius: var(--radius);
  background: var(--inverse-bg);
  color: var(--inverse-fg);
  box-shadow: 0 18px 40px rgb(0 0 0 / 0.22);
  animation: fade-up 400ms var(--ease) both;
}
.consent-banner[hidden] {
  display: none;
}

.consent-banner__title {
  font-family: var(--font-display);
  font-size: 1.2rem;
}

.consent-banner__text {
  font-size: 0.85rem;
  line-height: 1.55;
  color: color-mix(in srgb, var(--inverse-fg) 82%, var(--inverse-bg));
}
.consent-banner__text a {
  color: var(--inverse-fg);
  text-underline-offset: 3px;
}

.consent-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.25rem;
}
.consent-banner__actions .btn {
  flex: 1 1 8rem;
}

.consent-banner__btn--primary {
  background: var(--inverse-fg);
  color: var(--inverse-bg);
}
.consent-banner__btn--primary:hover {
  background: color-mix(in srgb, var(--inverse-fg) 88%, var(--inverse-bg));
}

.consent-banner__btn--secondary {
  background: transparent;
  color: var(--inverse-fg);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--inverse-fg) 35%, transparent);
}
.consent-banner__btn--secondary:hover {
  background: color-mix(in srgb, var(--inverse-fg) 10%, transparent);
}

.consent-banner :focus-visible {
  outline-color: var(--inverse-fg);
}

.visit-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(1.5rem, 3vw, 2rem);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.visit-rows {
  display: grid;
  gap: 2rem;
}

.visit-row {
  display: flex;
  gap: 1rem;
}

.visit-row > svg {
  flex-shrink: 0;
  width: 1.1rem;
  height: 1.1rem;
  margin-top: 0.15rem;
  color: var(--rose);
}

.visit-row .label {
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--subtle);
}

.visit-row address {
  margin-top: 0.25rem;
  font-style: normal;
}

.visit-row .links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1rem;
  margin-top: 0.5rem;
}

.text-link {
  font-size: 0.875rem;
  color: var(--muted);
  text-decoration: underline;
  text-decoration-color: var(--border);
  text-underline-offset: 4px;
  transition: color 150ms, text-decoration-color 150ms;
}
.text-link:hover {
  color: var(--fg);
  text-decoration-color: var(--rose);
}

.hours {
  margin-top: 0.35rem;
  width: 100%;
}
.hours li {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 0.15rem;
  font-size: 0.9rem;
}
.hours li span:last-child {
  color: var(--muted);
  text-align: right;
}

.visit-card .btn {
  margin-top: 2.5rem;
}

.visit-note {
  margin-top: 0.75rem;
  font-size: 0.78rem;
  text-align: center;
  color: var(--subtle);
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--border);
  padding-block: 2.5rem 6.5rem;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.3rem;
}

.footer-inner p {
  font-size: 0.875rem;
  color: var(--muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  font-size: 0.8rem;
}

.footer-links a {
  color: var(--subtle);
  text-decoration: none;
}
.footer-links a:hover {
  color: var(--fg);
}

/* ---------- Sticky mobile CTA ---------- */
.mobile-cta {
  position: fixed;
  inset: auto 0 0;
  z-index: 30;
  padding: 0.75rem var(--gutter) max(0.75rem, env(safe-area-inset-bottom));
  border-top: 1px solid var(--border);
  background: color-mix(in srgb, var(--bg) 94%, transparent);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

/* ---------- Legal pages ---------- */
.legal {
  max-width: 44rem;
  padding-top: calc(var(--header-h) + 3rem);
  padding-bottom: 5rem;
}
.legal h1 {
  font-size: clamp(2.25rem, 5vw, 3rem);
}
.legal h2 {
  margin-top: 2.5rem;
  font-size: 1.5rem;
}
.legal p,
.legal address {
  margin-top: 0.75rem;
  font-style: normal;
  color: var(--muted);
}
.legal section {
  scroll-margin-top: calc(var(--header-h) + 1rem);
}
.legal h3 {
  margin-top: 1.5rem;
  font-size: 1.2rem;
}
.legal p,
.legal li {
  line-height: 1.7;
  overflow-wrap: anywhere;
}
.legal strong {
  color: var(--fg);
  font-weight: 500;
}
.legal code {
  padding: 0.05rem 0.3rem;
  border-radius: 4px;
  background: var(--bg-warm);
  font-size: 0.85em;
}
.legal-date {
  font-size: 0.85rem;
}
.legal-list {
  display: grid;
  gap: 0.4rem;
  margin-top: 0.75rem;
  padding-left: 1.2rem;
  list-style: disc;
  color: var(--muted);
}
.legal-list li::marker {
  color: var(--rose);
}
.legal-toc {
  margin-top: 2rem;
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
}
.legal-toc .label {
  margin: 0;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--subtle);
}
.legal-toc ol {
  display: grid;
  gap: 0.3rem;
  margin: 0.75rem 0 0;
  padding-left: 1.2rem;
  font-size: 0.9rem;
}
.legal-toc a {
  color: var(--muted);
  text-decoration: none;
}
.legal-toc a:hover {
  color: var(--fg);
  text-decoration: underline;
}
.site-footer--legal {
  padding-bottom: 2.5rem;
}

/* ---------- Breakpoints ---------- */
@media (min-width: 640px) {
  .header-actions .btn--primary {
    display: inline-flex;
  }
  .mobile-cta {
    display: none;
  }
  .consent-banner {
    left: auto;
    right: 1.25rem;
    bottom: 1.25rem;
    width: min(24rem, calc(100vw - 2.5rem));
  }
  .site-footer {
    padding-bottom: 2.5rem;
  }
  .hero-content {
    padding-bottom: 6rem;
  }
  .facts {
    grid-template-columns: repeat(3, 1fr);
  }
  .looks {
    gap: 1rem;
  }
  .rating-cards {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

@media (min-width: 900px) {
  .nav {
    display: flex;
  }
  .menu-toggle {
    display: none;
  }
  .pairs {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
  .looks {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .intro {
    grid-template-columns: 5fr 7fr;
    gap: 4rem;
  }
  .service-groups {
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
  }
  .visit {
    grid-template-columns: 7fr 5fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* Without JavaScript the toggle can't work — the system theme applies instead. */
html:not([data-theme]) .theme-toggle {
  display: none;
}
