/* ============================================================
   MM DENTAL — Modern Magic Dental, Oradea
   Design system: elegant, spa-like, warm
   ============================================================ */

/* Self-hosted fonts: loaded via a parallel <link rel="stylesheet" href="assets/fonts/fonts.css">
   in each page <head> (faster than @import, which serialised the request chain). */

:root {
  /* Brand palette (from logo) */
  --cream: #F6ECE4;
  --cream-deep: #EFE2D6;
  --blush: #F3E5DC;
  --paper: #FBF6F1;
  --gold: #C2A878;
  --gold-deep: #A98A5C;
  --gold-soft: #DCC8A8;
  --gold-cta: #CBA351;   /* richer, warmer gold for solid CTA fills (navy text stays legible) */
  --gold-ink: #7D6440;   /* darker gold for small gold TEXT on light bg (AA 4.5:1+) */
  --navy: #20355A;
  --navy-deep: #182A48;
  --olive: #5F6B47;
  --olive-deep: #4B563A;

  /* Text */
  --ink: #2E2A26;        /* warm charcoal */
  --ink-soft: #6B635B;
  --ink-faint: #5E554C;  /* AA on cream: ~5:1 (was #70675E ≈4.2:1, before that #9A9088 2.68:1) */
  --line: #E4D6C8;
  --line-soft: #EDE2D6;

  /* Semantic */
  --bg: var(--cream);
  --surface: var(--paper);

  /* Type */
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'Manrope', system-ui, -apple-system, sans-serif;

  /* Spacing rhythm */
  --gut: clamp(20px, 5vw, 80px);
  --section: clamp(72px, 9vw, 150px);
  --header-h: 88px;

  --radius: 14px;
  --radius-lg: 24px;
  --shadow: 0 24px 60px -28px rgba(46, 42, 38, 0.28);
  --shadow-soft: 0 16px 40px -24px rgba(46, 42, 38, 0.22);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  /* Feedback */
  --error: #B23B3B;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
a, button, .btn, .nav-toggle, .lang button { -webkit-tap-highlight-color: transparent; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--navy);
}

p { margin: 0; }
figure, blockquote { margin: 0; }
a { color: inherit; text-decoration: none; }

/* ---------- Layout helpers ---------- */
.wrap { width: min(1240px, 100% - var(--gut) * 2); margin-inline: auto; }
.wrap-narrow { width: min(880px, 100% - var(--gut) * 2); margin-inline: auto; }
.section { padding-block: var(--section); }

/* ---------- Eyebrow / labels ---------- */
.eyebrow {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 12.5px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-ink);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 1px;
  background: var(--gold);
  display: inline-block;
}
.eyebrow.centered { justify-content: center; }
.eyebrow.no-rule::before { display: none; }

/* ---------- Display type ---------- */
.display {
  font-size: clamp(40px, 6.4vw, 88px);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.015em;
}
.h-xl { font-size: clamp(34px, 4.6vw, 60px); }
.h-lg { font-size: clamp(28px, 3.4vw, 44px); }
.h-md { font-size: clamp(23px, 2.4vw, 30px); }
.lead {
  font-size: clamp(18px, 1.5vw, 21px);
  line-height: 1.75;
  color: var(--ink-soft);
  font-weight: 400;
}
em.fancy { font-style: italic; color: var(--gold-deep); }

/* ---------- Buttons ---------- */
.btn {
  --bbg: var(--navy);
  --bfg: var(--paper);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 13.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 16px 30px;
  border-radius: 100px;
  background: var(--bbg);
  color: var(--bfg);
  border: 1px solid var(--bbg);
  cursor: pointer;
  transition: transform .4s var(--ease), background .3s var(--ease), color .3s var(--ease), box-shadow .4s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -16px rgba(32,53,90,.5); }
.btn--gold { --bbg: var(--gold-cta); --bfg: var(--navy-deep); border-color: var(--gold-cta); }
.btn--gold:hover { box-shadow: 0 16px 30px -16px rgba(160,125,55,.6); }
.btn--ghost {
  --bbg: transparent; --bfg: var(--navy);
  border-color: var(--gold);
}
.btn--ghost:hover { background: var(--navy); color: var(--paper); border-color: var(--navy); }
.btn--light { --bbg: var(--paper); --bfg: var(--navy); border-color: var(--paper); }

.link-arrow {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--olive-deep);
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.link-arrow svg { transition: transform .4s var(--ease); }
.link-arrow:hover svg { transform: translateX(6px); }

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  background: transparent;
  backdrop-filter: none;
  border-bottom: 1px solid transparent;
  transition: border-color .4s var(--ease), background .4s var(--ease), box-shadow .4s var(--ease), backdrop-filter .4s var(--ease);
}
.site-header.scrolled {
  border-color: var(--line);
  background: color-mix(in srgb, var(--cream) 94%, transparent);
  backdrop-filter: blur(14px);
  box-shadow: 0 10px 30px -24px rgba(46,42,38,.4);
}

/* Transparent over the dark homepage hero → light nav text until scrolled */
.site-header--hero:not(.scrolled) .brand-name,
.site-header--hero:not(.scrolled) .brand-name span { color: var(--paper); }
.site-header--hero:not(.scrolled) .nav-phone { color: color-mix(in srgb, var(--cream) 86%, transparent); }
.site-header--hero:not(.scrolled) .nav-phone svg,
.site-header--hero:not(.scrolled) .nav-phone:hover { color: var(--gold-soft); }
@media (min-width: 941px) {
  .site-header--hero:not(.scrolled) .nav-links a { color: color-mix(in srgb, var(--cream) 86%, transparent); }
  .site-header--hero:not(.scrolled) .nav-links a:hover,
  .site-header--hero:not(.scrolled) .nav-links a.active { color: var(--paper); }
}
@media (max-width: 940px) {
  .site-header--hero:not(.scrolled) .nav-toggle span { background: var(--paper); }
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
  height: 88px;
}
.brand { display: flex; align-items: center; gap: 13px; }
.brand img { width: 46px; height: 46px; object-fit: contain; }
.brand-name {
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--olive-deep);
  line-height: 1.1;
  white-space: nowrap;
}
.brand-name span { color: var(--navy); }

.nav-links {
  display: flex; align-items: center; gap: 34px;
  list-style: none; margin: 0; padding: 0;
}
.nav-links a {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  position: relative;
  padding-block: 6px;
  transition: color .3s var(--ease);
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 0; height: 1.5px; background: var(--gold);
  transition: width .4s var(--ease);
}
.nav-links a:hover, .nav-links a.active { color: var(--navy); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.nav-right { display: flex; align-items: center; gap: 18px; }

/* Language toggle */
.lang {
  display: inline-flex; align-items: center;
  border: 1px solid var(--line); border-radius: 100px;
  overflow: hidden; background: var(--paper);
}
.lang button {
  font-family: var(--sans); font-weight: 700; font-size: 12px;
  letter-spacing: 0.06em;
  padding: 8px 13px; border: 0; background: transparent;
  color: var(--ink-faint); cursor: pointer; transition: all .3s var(--ease);
}
.lang button.active { background: var(--navy); color: var(--paper); }

.nav-toggle { display: none; }

/* mobile */
@media (max-width: 940px) {
  :root { --header-h: 72px; }
  .nav { height: 72px; }
  .nav-links {
    position: fixed; inset: 72px 0 auto 0;
    flex-direction: column; align-items: flex-start; gap: 0;
    background: var(--paper);
    padding: 12px var(--gut) 28px;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-soft);
    transform: translateY(-130%);
    visibility: hidden;
    transition: transform .5s var(--ease), visibility .5s var(--ease);
    z-index: 55;
  }
  .nav-links.open { transform: translateY(0); visibility: visible; }
  .nav-links a { display: block; width: 100%; padding: 16px 0; border-bottom: 1px solid var(--line-soft); font-size: 15px; }
  .nav-links a::after { display: none; }
  .nav-toggle {
    display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
    background: transparent; border: 0; cursor: pointer; padding: 8px;
    min-width: 44px; min-height: 44px; margin-right: -8px;
  }
  .nav-toggle span { width: 24px; height: 2px; background: var(--navy); transition: .3s var(--ease); }
  .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav .btn { display: none; }
  /* booking CTA inside mobile menu */
  .nav-cta-mobile { display: block; padding-top: 18px !important; border-bottom: 0 !important; }
  .nav-cta-mobile .btn { display: inline-flex !important; width: 100%; }
}
/* hide mobile booking CTA on desktop */
.nav-cta-mobile { display: none; }

/* keep the wordmark on one line and clear of the language toggle on phones
   (full 23px brand overlaps RO/EN around 390–393px — the common iPhone widths) */
@media (max-width: 480px) {
  .brand img { width: 40px; height: 40px; }
  .brand-name { font-size: 19px; letter-spacing: 0.05em; }
  .brand { gap: 9px; }
  .nav .lang button { padding-inline: 12px; }
}
@media (max-width: 340px) {
  .brand img { width: 34px; height: 34px; }
  .brand-name { font-size: 17px; letter-spacing: 0.02em; }
  .brand { gap: 7px; }
  .nav { gap: 10px; }
  .nav .lang button { padding-inline: 9px; }
  .nav-right { gap: 12px; }
}

/* ============================================================
   IMAGE SLOTS / placeholders
   ============================================================ */
image-slot {
  --slot-bg: linear-gradient(135deg, var(--cream-deep), var(--gold-soft) 120%);
  background: var(--slot-bg);
}
.placeholder-note {
  font-family: var(--sans); font-size: 11px; letter-spacing: .18em;
  text-transform: uppercase; color: var(--gold-deep);
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--navy-deep);
  color: color-mix(in srgb, var(--cream) 78%, transparent);
  padding-block: clamp(56px, 7vw, 96px) 36px;
}
.site-footer a { color: color-mix(in srgb, var(--cream) 78%, transparent); transition: color .3s var(--ease); }
.site-footer a:hover { color: var(--gold-soft); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap: clamp(28px, 4vw, 56px);
}
.footer-brand-name {
  font-family: var(--serif); font-size: 26px; font-weight: 600;
  letter-spacing: 0.16em; color: var(--paper);
}
.footer-brand-name span { color: var(--gold-soft); }
.footer-col h4 {
  color: var(--gold-soft); font-family: var(--sans);
  font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase;
  font-weight: 700; margin-bottom: 18px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.footer-col p { color: color-mix(in srgb, var(--cream) 70%, transparent); line-height: 1.7; font-size: 15px; }
.footer-bottom {
  margin-top: clamp(40px, 6vw, 72px);
  padding-top: 26px;
  border-top: 1px solid color-mix(in srgb, var(--cream) 16%, transparent);
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  flex-wrap: wrap;
  font-size: 13px; color: color-mix(in srgb, var(--cream) 72%, transparent);
}
.footer-socials { display: flex; gap: 12px; }
.footer-socials a {
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--cream) 22%, transparent);
  display: grid; place-items: center; transition: all .3s var(--ease);
}
.footer-socials a:hover { background: var(--gold); border-color: var(--gold); color: var(--navy-deep); transform: translateY(-2px); }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ============================================================
   Reveal-on-scroll
   ============================================================ */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal][data-delay="1"] { transition-delay: .08s; }
[data-reveal][data-delay="2"] { transition-delay: .16s; }
[data-reveal][data-delay="3"] { transition-delay: .24s; }
[data-reveal][data-delay="4"] { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}
/* escape hatch: environments where CSS animation does not advance (preview/capture) */
html.no-anim [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }

/* ============================================================
   Decorative petal mark (from logo motif) — inline svg styling
   ============================================================ */
.petal-mark { color: var(--gold); opacity: .9; }
.petal-mark--soft { color: var(--gold-soft); }

/* ============================================================
   INNER PAGE shared components
   ============================================================ */
/* Page hero / banner */
.page-hero { position: relative; padding-block: calc(var(--header-h) + clamp(40px, 4vw, 56px)) clamp(40px, 5vw, 64px); overflow: hidden; background: var(--blush); }
.page-hero::before {
  content: ""; position: absolute; top: -30%; right: -4%; width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--gold-soft) 55%, transparent), transparent 70%); z-index: 0;
}
.page-hero .wrap { position: relative; z-index: 1; }
.breadcrumb { font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 18px; }
.breadcrumb a { color: var(--gold-ink); }
.breadcrumb span { margin: 0 8px; }
.page-hero h1 { font-size: clamp(38px, 5.4vw, 72px); font-weight: 500; max-width: 16em; }
.page-hero .lead { margin-top: 22px; max-width: 40em; }

/* Section intro */
.sec-intro { max-width: 44em; }
.sec-intro h2 { margin: 16px 0 16px; }

/* Service detail list */
.svc-list { display: flex; flex-direction: column; gap: 0; }
.svc-row {
  display: grid; grid-template-columns: 64px 1fr auto; gap: 28px; align-items: start;
  padding: 38px 0; border-bottom: 1px solid var(--line);
  transition: padding-left .4s var(--ease);
}
.svc-row:first-child { border-top: 1px solid var(--line); }
.svc-row:hover { padding-left: 14px; }
.svc-row .ic { width: 64px; height: 64px; border-radius: 18px; background: var(--cream-deep); color: var(--gold-deep); display: grid; place-items: center; }
.svc-row .ic-num { font-family: var(--serif); font-style: italic; font-size: 15px; color: var(--gold-ink); }
.svc-row h3 { font-size: clamp(22px, 5.4vw, 28px); margin-bottom: 8px; display: flex; align-items: baseline; gap: 12px; }
.svc-row p { color: var(--ink-soft); max-width: 46em; }
.svc-row .meta { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-faint); white-space: nowrap; align-self: center; }
@media (max-width: 720px) {
  .svc-row { grid-template-columns: 48px 1fr; gap: 16px; padding: 26px 8px 26px 0; }
  .svc-row .ic { width: 48px; height: 48px; }
  .svc-row .meta {
    grid-column: 2; justify-self: start; align-self: start;
    display: inline-flex; align-items: center; gap: 6px;
    margin-top: 8px; padding: 10px 2px; min-height: 44px; box-sizing: border-box;
    color: var(--gold-ink);
  }
  .svc-row .meta::after { content: "↓"; font-size: 13px; }
}

/* Values */
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.value-card { background: var(--paper); border: 1px solid var(--line-soft); border-radius: var(--radius-lg); padding: 40px 34px; }
.value-card .vnum { font-family: var(--serif); font-style: italic; font-size: 40px; color: var(--gold-ink); line-height: 1; }
.value-card h3 { font-size: 28px; margin: 16px 0 12px; }
.value-card p { color: var(--ink-soft); }
@media (max-width: 760px) { .values-grid { grid-template-columns: 1fr; } }

/* Team */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.team-card image-slot { width: 100%; height: auto; aspect-ratio: 3 / 4; border-radius: var(--radius-lg); margin-bottom: 18px; box-shadow: var(--shadow-soft); }
.team-card h3 { font-size: 23px; }
.team-card .role { font-size: 13px; letter-spacing: .06em; color: var(--gold-ink); margin-top: 4px; text-transform: uppercase; font-weight: 600; }
/* subtle hairline between the two rows — 3 cols, so the 2nd row starts at card 4.
   margin-top balances the 24px grid gap above the line against the padding below it. */
.team-card:nth-child(n+4) { border-top: 1px solid var(--line-soft); padding-top: 38px; margin-top: 14px; }
@media (max-width: 860px) {
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  /* 2 cols: rows start at cards 3 and 5 — divide before every card from the 3rd on */
  .team-card:nth-child(n+3) { border-top: 1px solid var(--line-soft); padding-top: 38px; margin-top: 14px; }
}
@media (max-width: 460px) {
  .team-grid { grid-template-columns: 1fr; gap: 0; }
  /* 1 col: each doctor (photo + name + role) reads as one block, divided from the previous */
  .team-card:nth-child(n+3), .team-card:nth-child(n+4) { border-top: 0; padding-top: 0; margin-top: 0; }
  .team-card + .team-card { border-top: 1px solid var(--line-soft); padding-top: 30px; margin-top: 30px; }
}

/* Story split */
.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 5vw, 80px); align-items: center; }
.story-grid image-slot { width: 100%; height: auto; aspect-ratio: 4 / 5; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.story-grid .lead + .lead { margin-top: 18px; }
@media (max-width: 860px) { .story-grid { grid-template-columns: 1fr; } .story-grid image-slot { max-width: 460px; } }

/* ============================================================
   FORM
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(32px, 4vw, 64px); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

.form-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 48px); box-shadow: var(--shadow-soft); }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 13px; font-weight: 600; letter-spacing: .04em; color: var(--ink); }
.field label .req { color: var(--gold-deep); }
.field input, .field select, .field textarea {
  font-family: var(--sans); font-size: 16px; color: var(--ink); /* 16px stops iOS focus-zoom */
  padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--cream);
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease), background .3s var(--ease);
  width: 100%;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--gold); background: var(--paper);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--gold) 18%, transparent);
}
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23A98A5C' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 42px; }
.check { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--ink-soft); cursor: pointer; padding-block: 6px; min-height: 44px; }
.check input { width: 20px; height: 20px; accent-color: var(--navy); flex: none; }
.form-actions { margin-top: 28px; }
.form-actions .btn { width: 100%; }
@media (max-width: 560px) { .field-grid { grid-template-columns: 1fr; } }

.form-success { background: var(--paper); border: 1px solid var(--gold-soft); border-radius: var(--radius-lg); padding: clamp(32px, 5vw, 56px); text-align: center; box-shadow: var(--shadow-soft); }
.form-success .tick-big { width: 72px; height: 72px; border-radius: 50%; background: var(--olive); color: var(--paper); display: grid; place-items: center; margin: 0 auto 24px; }
.form-success h3 { font-size: 32px; margin-bottom: 12px; }
.form-success p { color: var(--ink-soft); max-width: 32em; margin-inline: auto; }

/* Info panel */
/* Cal.com inline booking embed */
#cal-embed {
  width: 100%; max-width: 940px; margin-inline: auto; min-height: 560px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  padding: clamp(6px, 1vw, 14px);
  overflow: hidden;
}
#cal-embed iframe { border-radius: calc(var(--radius-lg) - 8px); }

.info-panel { background: var(--navy-deep); color: color-mix(in srgb, var(--cream) 84%, transparent); border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 44px); }
.info-panel h2 { color: var(--paper); font-size: 28px; margin-bottom: 28px; }
.info-item { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid color-mix(in srgb, var(--cream) 14%, transparent); }
.info-item:last-of-type { border-bottom: 0; }
.info-item .ic { width: 42px; height: 42px; flex: none; border-radius: 12px; background: color-mix(in srgb, var(--cream) 10%, transparent); color: var(--gold-soft); display: grid; place-items: center; }
.info-item .k { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-soft); margin-bottom: 4px; }
.info-item .v { color: var(--paper); font-size: 16px; line-height: 1.5; }
.info-item .v a { color: var(--paper); }
.info-map { margin-top: 22px; border-radius: var(--radius); overflow: hidden; border: 1px solid color-mix(in srgb, var(--cream) 16%, transparent); }
.info-map iframe { display: block; width: 100%; height: 220px; border: 0; filter: grayscale(.2) contrast(.95); }

/* ============================================================
   Footer legal row + cookie banner
   ============================================================ */
.footer-legal { display: flex; gap: 18px; flex-wrap: wrap; align-items: center; }
.footer-legal a { font-size: 13px; }
.footer-legal .sep { opacity: .4; }

#cookie-bar {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 90;
  margin-inline: auto; max-width: 760px;
  background: var(--navy-deep); color: color-mix(in srgb, var(--cream) 86%, transparent);
  border: 1px solid color-mix(in srgb, var(--gold-soft) 30%, transparent);
  border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 18px 20px;
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
  opacity: 0; transform: translateY(16px); transition: opacity .5s var(--ease), transform .5s var(--ease);
}
#cookie-bar.show { opacity: 1; transform: none; }
#cookie-bar p { font-size: 13.5px; line-height: 1.55; flex: 1 1 320px; margin: 0; }
#cookie-bar a { color: var(--gold-soft); text-decoration: underline; text-underline-offset: 2px; }
#cookie-bar .cookie-actions { display: flex; gap: 12px; align-items: center; }
#cookie-bar .btn { padding: 12px 22px; font-size: 12px; }
@media (max-width: 520px) { #cookie-bar { flex-direction: column; align-items: stretch; } #cookie-bar .btn { width: 100%; } }

/* Privacy / legal article */
.legal-body { max-width: 760px; }
.legal-body .legal-meta { font-size: 13px; color: var(--ink-faint); letter-spacing: .04em; margin-bottom: 32px; }
.legal-body h2 { font-size: clamp(22px, 2.4vw, 28px); margin: 40px 0 12px; }
.legal-body p { color: var(--ink-soft); margin-bottom: 8px; }
.legal-body .legal-intro { font-size: 18px; color: var(--ink); line-height: 1.7; }

/* ============================================================
   Accessibility — skip link + keyboard focus
   ============================================================ */
.skip-link {
  position: absolute; left: 16px; top: 0; z-index: 200;
  transform: translateY(-130%);
  background: var(--navy); color: var(--paper);
  padding: 12px 22px; border-radius: 0 0 12px 12px;
  font-family: var(--sans); font-weight: 600; font-size: 14px; letter-spacing: .02em;
  box-shadow: var(--shadow-soft);
  transition: transform .25s var(--ease);
}
.skip-link:focus { transform: translateY(0); outline: none; }

/* Visually hidden but available to screen readers */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}

/* Consistent, on-brand keyboard focus ring (mouse clicks stay clean) */
:focus-visible {
  outline: 2px solid var(--gold-deep);
  outline-offset: 3px;
  border-radius: 6px;
}
/* Form fields already paint their own focus ring — avoid doubling it */
.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible { outline: none; }

/* Slightly larger touch targets (>=44px comfortable) */
.lang button { min-height: 44px; padding-inline: 15px; }
.footer-socials a { width: 44px; height: 44px; }

/* Comfortable footer link tap targets on phones (links only — the hours
   list is plain text and keeps its own spacing) */
@media (max-width: 640px) {
  .footer-col ul { gap: 4px; }
  .footer-col ul li a { display: inline-block; padding-block: 11px; }
  .footer-col ul li:not(:has(a)) { padding-block: 5px; }
  .footer-legal a { display: inline-block; padding-block: 8px; }
}

/* ============================================================
   Form — inline validation states
   ============================================================ */
.field-error {
  font-size: 13px; line-height: 1.4; color: var(--error);
  display: none;
}
.field.invalid .field-error { display: block; }
.field.invalid input,
.field.invalid select,
.field.invalid textarea { border-color: var(--error); }
.field.invalid input:focus,
.field.invalid select:focus,
.field.invalid textarea:focus {
  border-color: var(--error);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--error) 16%, transparent);
}
.check.invalid { color: var(--error); }
.check.invalid input { outline: 2px solid var(--error); outline-offset: 2px; }

/* ============================================================
   EXPERIMENT (experimental branch) — header phone + mobile CTA bar
   ============================================================ */
.nav-phone {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--sans); font-weight: 700; font-size: 14px;
  color: var(--navy); white-space: nowrap;
  transition: color .3s var(--ease);
}
.nav-phone svg { color: var(--gold-ink); }
.nav-phone:hover { color: var(--gold-ink); }
@media (max-width: 1120px) { .nav-phone .np-num { display: none; } }
@media (max-width: 940px)  { .nav-phone { display: none; } }

.mobile-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 85;
  display: none;
  grid-template-columns: 1fr 1fr; gap: 10px;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px));
  background: color-mix(in srgb, var(--paper) 94%, transparent);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
  box-shadow: 0 -10px 30px -22px rgba(46, 42, 38, .5);
  transition: background .4s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease), backdrop-filter .4s var(--ease);
}
/* Landing only: transparent over the slideshow until scrolled, then normal bg */
.page-home .mobile-cta:not(.scrolled) {
  background: transparent;
  backdrop-filter: none;
  border-top-color: transparent;
  box-shadow: none;
}
.page-home .mobile-cta:not(.scrolled) .btn--ghost {
  --bfg: var(--paper);
  color: var(--paper);
  border-color: color-mix(in srgb, var(--cream) 55%, transparent);
}
.mobile-cta .btn { width: 100%; padding: 14px 16px; font-size: 12.5px; }
@media (max-width: 940px) {
  .mobile-cta { display: grid; }
  body { padding-bottom: calc(78px + env(safe-area-inset-bottom, 0px)); }
  #cookie-bar { bottom: calc(78px + env(safe-area-inset-bottom, 0px)); }
}

/* ============================================================
   EXPERIMENT (experimental branch) — trust strip + first-visit steps
   ============================================================ */
.trust-strip { background: var(--cream-deep); border-block: 1px solid var(--line-soft); }
.trust-strip .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; padding-block: 24px; }
.trust-item { display: flex; align-items: center; gap: 12px; }
.trust-item .ic { width: 40px; height: 40px; flex: none; border-radius: 11px; background: var(--paper); color: var(--gold-deep); display: grid; place-items: center; box-shadow: var(--shadow-soft); }
.trust-item > span:not(.ic) { font-size: 14px; font-weight: 600; color: var(--ink); line-height: 1.3; }
@media (max-width: 860px) { .trust-strip .wrap { grid-template-columns: 1fr 1fr; gap: 18px 22px; } }
@media (max-width: 480px) { .trust-strip .wrap { grid-template-columns: 1fr; } }

.visit { background: var(--paper); }
.visit-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; margin-top: 48px; }
.visit-step { position: relative; }
.visit-step .vs-num {
  font-family: var(--serif); font-size: 22px; font-weight: 600;
  width: 50px; height: 50px; border-radius: 50%;
  background: var(--navy); color: var(--paper);
  display: grid; place-items: center; margin-bottom: 20px;
  position: relative; z-index: 1;
}
.visit-step h3 { font-size: 23px; margin-bottom: 8px; }
.visit-step p { color: var(--ink-soft); font-size: 15.5px; }
.visit-step:not(:last-child)::after {
  content: ""; position: absolute; top: 25px; left: 58px; right: -14px; height: 1px;
  background: var(--line);
}
@media (max-width: 860px) {
  .visit-steps { grid-template-columns: 1fr 1fr; gap: 34px 28px; }
  .visit-step::after { display: none; }
}
@media (max-width: 480px) { .visit-steps { grid-template-columns: 1fr; } }

/* Custom service glyphs (PNG used as a recolorable mask -> takes the chip's color).
   mask-image is set inline so its url() resolves relative to the document, not this file. */
.svc-glyph {
  display: block; width: 30px; height: 30px;
  background: currentColor;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-position: center;  mask-position: center;
  -webkit-mask-size: contain;     mask-size: contain;
}

/* ============================================================
   Price list — searchable collapsible accordion (#price-list)
   ============================================================ */
.price-section { background: var(--paper); }
.price-section .sec-intro { margin-bottom: 38px; }

#price-list { max-width: 920px; }

/* Search */
.pl-search {
  position: relative; display: flex; align-items: center;
  margin-bottom: 14px;
}
.pl-search svg {
  position: absolute; left: 20px; color: var(--gold-deep); pointer-events: none;
}
.pl-search input {
  width: 100%; font-family: var(--sans); font-size: 16px; color: var(--ink);
  padding: 16px 20px 16px 52px;
  background: var(--cream); border: 1px solid var(--line); border-radius: 100px;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease), background .3s var(--ease);
}
.pl-search input::placeholder { color: var(--ink-faint); }
.pl-search input:hover { border-color: var(--gold-soft); }
.pl-search input:focus {
  outline: none; background: var(--paper);
  border-color: var(--gold); box-shadow: 0 0 0 4px color-mix(in srgb, var(--gold) 22%, transparent);
}
.pl-search input::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; }

/* Category */
.pl-cat { border-bottom: 1px solid var(--line); }
.pl-cat:first-of-type { border-top: 1px solid var(--line); }
.pl-cat__h { margin: 0; font: inherit; }
.pl-cat__head {
  display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 18px;
  width: 100%; padding: 24px 6px; background: none; border: 0; cursor: pointer;
  text-align: left; color: var(--navy); font-family: var(--sans);
  transition: padding-left .35s var(--ease), color .3s var(--ease);
}
.pl-cat__head:hover { padding-left: 16px; }
.pl-cat__head:focus-visible {
  outline: none; border-radius: 12px;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--gold) 40%, transparent);
}
.pl-cat__idx {
  font-family: var(--serif); font-style: italic; font-size: 15px; color: var(--gold-ink);
  min-width: 1.4em;
}
.pl-cat__name {
  font-family: var(--serif); font-weight: 500; font-size: clamp(19px, 2.4vw, 24px);
  line-height: 1.2;
}
.pl-cat__count {
  font-size: 12.5px; letter-spacing: .04em; color: var(--ink-faint); white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.pl-cat__chev { color: var(--gold-deep); transition: transform .4s var(--ease); }
.pl-cat.is-open .pl-cat__chev { transform: rotate(180deg); }

/* Collapsible body (grid-rows animation — no JS height math) */
.pl-cat__body {
  display: grid; grid-template-rows: 0fr;
  transition: grid-template-rows .4s var(--ease);
}
.pl-cat.is-open .pl-cat__body { grid-template-rows: 1fr; }
.pl-rows {
  overflow: hidden; min-height: 0; list-style: none; margin: 0; padding: 0;
  opacity: 0; transition: opacity .3s var(--ease) .05s;
}
.pl-cat.is-open .pl-rows { opacity: 1; padding-bottom: 12px; }

.pl-row {
  display: flex; align-items: baseline; justify-content: space-between; gap: 20px;
  padding: 11px 6px; border-top: 1px solid var(--line-soft);
}
.pl-row__name { color: var(--ink-soft); font-size: 15px; line-height: 1.45; }
.pl-row__price {
  flex: none; color: var(--navy); font-weight: 600; font-size: 15px; white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.pl-results {
  margin: 2px 6px 16px; font-size: 13px; letter-spacing: .02em; color: var(--ink-faint);
  font-variant-numeric: tabular-nums;
}
.pl-empty {
  padding: 32px 6px; color: var(--ink-faint); font-style: italic; text-align: center;
}
.pl-note { margin-top: 30px; font-size: 13.5px; color: var(--ink-faint); font-style: italic; }

@media (max-width: 600px) {
  .pl-cat__head { grid-template-columns: auto 1fr auto; gap: 12px; padding: 20px 4px; }
  .pl-cat__count { display: none; }
  .pl-cat__head:hover { padding-left: 8px; }
  .pl-row { flex-direction: column; gap: 3px; }
  .pl-row__price { color: var(--gold-ink); }
}

@media (prefers-reduced-motion: reduce) {
  .pl-cat__body { transition: none; }
  .pl-rows { transition: none; opacity: 1; }
  .pl-cat__head, .pl-cat__chev { transition: none; }
}
