/* ==========================================================================
   Skinwise — Σοφία Παπαθωμά, Δερματολόγος-Αφροδισιολόγος
   Design tokens match the approved design canvas.
   ========================================================================== */

/* Self-hosted fonts (GDPR). Inter and Literata are variable fonts covering
   400–600 in one file each, split by script so a Greek page only pulls the
   Latin subset for the odd word. Declared here rather than @import-ed: an
   import is a second render-blocking round trip before any font can start. */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("../fonts/inter-greek.woff2") format("woff2");
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("../fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Literata";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("../fonts/literata-greek.woff2") format("woff2");
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
@font-face {
  font-family: "Literata";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("../fonts/literata-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Literata";
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/literata-500italic-greek.woff2") format("woff2");
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
@font-face {
  font-family: "Literata";
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/literata-500italic-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Argon";
  src: url("../fonts/argon.otf") format("opentype");
  font-display: swap;
}

:root {
  --maroon: #7E241D;
  --maroon-deep: #641C16;
  --maroon-hover: #6A1E18;
  --blush: #E8DDDA;
  --rose-a: #BE9483;
  --rose-b: #C79E8D;
  --rose-c: #CFA795;
  --paper: #FBF7F4;
  --card: #FFFFFF;
  --line: #EBDFD8;
  --tint: #F3E9E3;
  --ink: #3E2B27;
  --body: #4A3F3A;
  --muted: #6E6259;
  --kicker: #A8887A;
  --cream: #F6EDE8;
  --gold: #BFA05A;
  --gold-soft: #DCC493;
  --serif: "Literata", "GFS Didot", Georgia, serif;
  --sans: "Inter", -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 1344px;
  --pad: 48px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scrollbar-gutter: stable; }

/* Cross-document view transitions (progressive enhancement: Chrome/Edge,
   Safari 18.2+; other browsers navigate normally). The chrome (ribbon,
   header, footer) is captured as persistent groups so it stays pixel-stable
   across navigations; only the page content transitions. */
@view-transition { navigation: auto; }

main { view-transition-name: page; }
.ribbon { view-transition-name: ribbon; }
.site-header { view-transition-name: header; }
.site-footer { view-transition-name: footer; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--body);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.2;
  color: var(--maroon);
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(34px, 4.2vw, 58px); line-height: 1.12; }
h2 { font-size: clamp(28px, 3vw, 40px); }
h3 { font-size: 23px; color: var(--ink); }
h4 { font-size: 18px; color: var(--ink); }

p { margin: 0 0 1em; }

a { color: var(--maroon); text-decoration: none; }
a:hover { color: var(--maroon-deep); }

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

ul { margin: 0 0 1em; padding-left: 1.2em; }

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}

.kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--kicker);
  margin-bottom: 14px;
}

.kicker::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--gold);
  flex-shrink: 0;
}

.section-header .kicker,
.band .kicker {
  justify-content: center;
}

.section-header .kicker::after,
.band .kicker::after {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--gold);
  flex-shrink: 0;
}

::selection { background: rgba(198, 158, 141, 0.45); color: var(--maroon-deep); }

.lead { font-size: 17px; max-width: 640px; }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 16px 30px;
  border-radius: 2px;
  border: 0;
  background: none;
  cursor: pointer;
  font-family: var(--sans);
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.btn svg { flex-shrink: 0; }

.btn svg, .arrow-link svg { transition: transform 0.2s ease; }
.btn:hover svg, .arrow-link:hover svg { transform: translateX(4px); }

.btn-solid { background: var(--maroon); color: var(--cream); }
.btn-solid:hover { background: var(--maroon-hover); color: #FFFFFF; }

.btn-light { background: #FFFDFB; color: var(--maroon); }
.btn-light:hover { background: #FFFFFF; color: var(--maroon-deep); }

.btn-ghost { border: 1px solid rgba(255, 253, 251, 0.6); color: #FFFDFB; padding: 15px 30px; }
.btn-ghost:hover { border-color: #FFFDFB; color: #FFFFFF; }

.arrow-link {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   Top ribbon
   -------------------------------------------------------------------------- */

.ribbon {
  background: var(--maroon);
  color: var(--cream);
  font-size: 13px;
}

.ribbon .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-top: 9px;
  padding-bottom: 9px;
}

.ribbon-info { display: flex; gap: 28px; align-items: center; min-width: 0; }

.ribbon-item {
  display: flex;
  gap: 8px;
  align-items: center;
  color: var(--cream);
  opacity: 0.85;
  white-space: nowrap;
}

.ribbon-item svg { flex-shrink: 0; }

a.ribbon-item:hover { color: #FFFFFF; opacity: 1; }
a.ribbon-phone { font-weight: 500; opacity: 1; }

.ribbon-side { display: flex; gap: 18px; align-items: center; }

.lang-switch { display: flex; gap: 10px; align-items: center; font-weight: 600; letter-spacing: 0.04em; }
.lang-switch a { color: var(--cream); }
.lang-switch .lang-off { opacity: 0.6; font-weight: 400; }
.lang-switch .sep { opacity: 0.4; }

.ribbon-divider { width: 1px; height: 16px; background: rgba(246, 237, 232, 0.3); }

.ribbon-social { display: flex; color: var(--cream); }
.ribbon-social:hover { color: #FFFFFF; }

/* --------------------------------------------------------------------------
   Header / nav
   -------------------------------------------------------------------------- */

.site-header {
  background: var(--blush);
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(126, 36, 29, 0.08);
}

.site-header .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding-top: 16px;
  padding-bottom: 16px;
}

.brand { display: flex; flex-direction: column; gap: 3px; flex-shrink: 0; }

.brand-word {
  font-family: "Argon", var(--serif);
  font-size: 28px;
  line-height: 1;
  color: var(--maroon);
  letter-spacing: 0.06em;
}

.brand-sub {
  font-size: 10.5px;
  color: var(--muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-nav { display: flex; gap: 20px; align-items: center; font-size: 13px; font-weight: 500; }
.site-nav a {
  color: var(--body);
  padding-bottom: 3px;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  background: linear-gradient(var(--gold), var(--gold)) left bottom / 0 2px no-repeat;
  transition: background-size 0.25s ease;
}
.site-nav a:hover { background-size: 100% 2px; }
.site-nav a:hover { color: var(--maroon); }
.site-nav a[aria-current="page"] { color: var(--maroon); border-bottom-color: var(--maroon); pointer-events: none; }

.header-cta { flex-shrink: 0; padding: 13px 20px; font-size: 13px; }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer;
  color: var(--maroon);
}

.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-burger { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

.nav-extra { display: none; }
.nav-cta { display: none; }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  background: var(--rose-b);
  color: #FFFDFB;
  overflow: hidden;
}

/* Depth on the text side only — fully transparent well before the photo
   edge (48%), so the photo's blend meets a flat --rose-b with no seam. */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(62, 43, 39, 0.10) 0%, rgba(62, 43, 39, 0) 40%);
  pointer-events: none;
}

.hero .wrap {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 26px;
  min-height: 620px;
  max-width: none;
  margin: 0;
  padding-top: 64px;
  padding-bottom: 64px;
}

.hero-content { max-width: 620px; }

.hero .kicker { color: rgba(255, 251, 248, 0.85); }
.hero .kicker::before { background: rgba(255, 251, 248, 0.7); }

.hero h1 { color: #FFFDFB; margin-bottom: 26px; }
.hero h1 em { font-style: italic; font-weight: 500; }

.hero-sub {
  font-size: 17px;
  color: rgba(255, 252, 250, 0.94);
  max-width: 540px;
  margin-bottom: 30px;
}

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 26px; }

.hero-trust {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 251, 248, 0.72);
}

.hero-media {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 52%;
  z-index: 1;
  overflow: hidden; /* clip the Ken Burns zoom inside the blend overlay */
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 65% 20%;
  display: block;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--rose-b) 0%, rgba(199, 158, 141, 0) 38%);
}

/* Compact page hero for inner pages */
.page-hero { background: var(--blush); padding: 64px 0 56px; }
.page-hero h1 { font-size: clamp(30px, 3.4vw, 44px); margin-bottom: 10px; }
.page-hero .lead { margin-bottom: 0; }

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */

.section { padding: 88px 0; }
.section-blush { background: var(--blush); }
.section-header { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section-header .lead { margin: 0 auto; }
.section-header-left { max-width: 720px; margin-bottom: 48px; }

/* Cards grid */
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }

.card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 36px 32px;
}

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

.card-icon {
  display: flex;
  width: 52px;
  height: 52px;
  align-items: center;
  justify-content: center;
  background: var(--tint);
  border-radius: 50%;
  color: var(--maroon);
}

.card-num { font-family: var(--serif); font-size: 15px; color: var(--gold); }

.card h3 { margin: 0; }
.card p { margin: 0; font-size: 14px; line-height: 1.65; color: var(--muted); }

.card-list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.card-list li { display: flex; gap: 10px; align-items: baseline; }
.card-list li::before { content: "—"; color: #B98A77; flex-shrink: 0; }

.card .arrow-link { margin-top: auto; padding-top: 6px; }

/* Services accordion */
.acc-group { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }

.acc { background: var(--card); border: 1px solid var(--line); border-radius: 3px; interpolate-size: allow-keywords; }

.acc summary {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 20px 26px;
  cursor: pointer;
  list-style: none;
}

.acc summary::-webkit-details-marker { display: none; }

.acc .acc-title { flex: 1; font-family: var(--serif); font-weight: 500; font-size: 21px; color: var(--ink); }
.acc summary:hover .acc-title { color: var(--maroon); }

.acc .acc-chevron { color: var(--maroon); flex-shrink: 0; }
.acc[open] .acc-chevron { transform: rotate(180deg); }

.acc-body { padding: 2px 26px 26px 90px; display: flex; flex-direction: column; gap: 16px; }
.acc-body p { margin: 0; font-size: 14px; line-height: 1.65; color: var(--muted); }

@media (prefers-reduced-motion: no-preference) {
  .acc .acc-chevron { transition: transform 0.25s ease; }
  .acc::details-content {
    height: 0;
    overflow: clip;
    transition: height 0.3s ease, content-visibility 0.3s allow-discrete;
  }
  .acc[open]::details-content { height: auto; }
}

@media (max-width: 600px) {
  .acc summary { padding: 16px 18px; gap: 12px; }
  .acc .acc-title { font-size: 18px; }
  .acc-body { padding: 2px 18px 20px 18px; }
}

/* Feature tiles (equipment) */
.tile {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 24px;
}

.tile-title { font-family: var(--serif); font-size: 17px; color: var(--maroon); }
.tile p { margin: 0; font-size: 13px; line-height: 1.6; color: var(--muted); }

/* Photos */
.photo {
  display: block;
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 3px;
}

.photo-wide {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 3px;
}

/* Photo placeholders */
.ph {
  background: linear-gradient(160deg, #E3D3C9 0%, #D2B8A9 100%);
  border-radius: 3px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #8A6250;
  min-height: 300px;
}

.ph span { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; }

/* CTA band */
.band {
  background: var(--blush);
  border-radius: 3px;
  padding: 56px 48px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.band h2 { max-width: 640px; margin: 0; }
.band p { margin: 0; color: var(--muted); }
.band .phone { font-weight: 600; text-decoration: underline; }

.section-blush .band { background: var(--card); border: 1px solid var(--line); }

/* Two-column layouts */
.cols {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 64px;
  align-items: start;
}

.cols-media { display: flex; flex-direction: column; gap: 16px; }
.cols-media .ph { min-height: 520px; }

/* The doctor's portrait is a landscape shot with her right of centre;
   in the narrow column it's clipped to a portrait framing around her,
   once the columns stack the whole photo fits. */
.doctor-photo { height: auto; aspect-ratio: 4 / 5; object-position: 54% 40%; }
/* Home: the reception shot, squared so both the wall sign and the doctor stay
   in frame (she stands right of centre, the sign sits top-left). */
.home-doctor-photo { aspect-ratio: 1 / 1; object-position: 25% 50%; }

/* Chips */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }

.chip {
  font-size: 13px;
  color: var(--maroon);
  border: 1px solid #D8BFB2;
  border-radius: 999px;
  padding: 7px 16px;
  background: rgba(255, 255, 255, 0.55);
}

/* --------------------------------------------------------------------------
   Treatment lists (detail pages)
   -------------------------------------------------------------------------- */

.svc-section { padding: 64px 0; border-bottom: 1px solid var(--line); }
.svc-section:last-of-type { border-bottom: 0; }

.svc-section h2 { display: flex; gap: 16px; align-items: baseline; font-size: clamp(24px, 2.4vw, 32px); }
.svc-num { font-family: var(--serif); font-size: 17px; color: var(--gold); }

.svc-list {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  columns: 3;
  column-gap: 40px;
  font-size: 15px;
}

.svc-list li {
  display: flex;
  gap: 10px;
  align-items: baseline;
  break-inside: avoid;
  padding: 5px 0;
}

.svc-list li::before { content: "—"; color: #B98A77; flex-shrink: 0; }

.svc-prose { max-width: 760px; }
.svc-prose ul li { margin-bottom: 8px; }

/* Sticky in-page menu for the numbered services. It docks right under the
   sticky site header (--header-h is measured by main.js; the fallback
   covers the no-JS case). Anchor targets get a matching scroll margin so
   a jump never lands underneath the two stacked bars. */
.svc-nav {
  position: sticky;
  top: var(--header-h, 80px);
  z-index: 40;
  background: rgba(251, 247, 244, 0.94);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.svc-nav ul {
  display: flex;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.svc-nav ul::-webkit-scrollbar { display: none; }

.svc-nav a {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  padding: 16px 14px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  white-space: nowrap;
  color: var(--muted);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.svc-nav a .svc-num { font-size: 13px; }
.svc-nav a:hover { color: var(--ink); }
.svc-nav a.is-active { color: var(--maroon); border-bottom-color: var(--maroon); }

.svc-section { scroll-margin-top: calc(var(--header-h, 80px) + 56px); }

/* --------------------------------------------------------------------------
   Contact
   -------------------------------------------------------------------------- */

.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 56px; align-items: start; }

.info-rows { display: flex; flex-direction: column; gap: 18px; margin-bottom: 26px; }

.info-row { display: flex; gap: 14px; align-items: flex-start; }

.info-icon {
  display: flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  color: var(--maroon);
  flex-shrink: 0;
}

.section:not(.section-blush) .info-icon { background: var(--tint); }

.info-label {
  display: block;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--kicker);
}

.info-value { font-size: 15px; color: var(--ink); }

.map-box { position: relative; border-radius: 3px; overflow: hidden; min-height: 260px; }
.map-box iframe { display: block; width: 100%; height: 100%; min-height: 420px; border: 0; }

.map-preview {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(5px) saturate(0.85);
  transform: scale(1.06);
}

.map-consent {
  position: relative;
  min-height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.map-consent-card {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  border-radius: 3px;
  box-shadow: 0 10px 30px rgba(62, 43, 39, 0.18);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
  padding: 28px 30px;
  max-width: 430px;
}

.map-consent-card p { margin: 0; font-size: 13px; color: var(--muted); }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer { background: var(--maroon-deep); color: var(--cream); }

.site-footer a { color: rgba(246, 237, 232, 0.8); }
.site-footer a:hover { color: #FFFFFF; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap: 48px;
  padding: 64px 0 48px;
}

.footer-brand { display: flex; flex-direction: column; gap: 14px; }

.footer-word {
  font-family: "Argon", var(--serif);
  font-size: 26px;
  color: var(--cream);
  letter-spacing: 0.06em;
}

.footer-brand p { margin: 0; font-size: 14px; color: rgba(246, 237, 232, 0.75); max-width: 300px; }

.footer-social { display: flex; gap: 12px; margin-top: 8px; }
.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(246, 237, 232, 0.35);
  border-radius: 50%;
  color: var(--cream);
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.footer-social a:hover {
  background: var(--cream);
  border-color: var(--cream);
  color: var(--maroon-deep);
}

.footer-col { display: flex; flex-direction: column; gap: 12px; font-size: 14px; }

.footer-head {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(246, 237, 232, 0.5);
}

.footer-col address { font-style: normal; color: rgba(246, 237, 232, 0.85); }
.footer-col span { color: rgba(246, 237, 232, 0.85); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 0;
  border-top: 1px solid rgba(246, 237, 232, 0.15);
  font-size: 13px;
  color: rgba(246, 237, 232, 0.6);
  flex-wrap: wrap;
}

.footer-legal { display: flex; gap: 24px; }

/* --------------------------------------------------------------------------
   Consent banner
   -------------------------------------------------------------------------- */

.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 100;
  background: var(--maroon-deep);
  color: var(--cream);
  padding: 16px var(--pad);
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.18);
}

.cookie-banner[hidden] { display: none; }

.cookie-banner p { margin: 0; font-size: 13.5px; line-height: 1.55; max-width: 640px; }
.cookie-banner a { color: var(--cream); text-decoration: underline; }
.cookie-banner a:hover { color: #FFFFFF; }

.cookie-actions { display: flex; gap: 12px; flex-shrink: 0; }
.cookie-actions .btn { padding: 12px 22px; font-size: 12px; }


/* --------------------------------------------------------------------------
   Motion (all gated on prefers-reduced-motion)
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: no-preference) {

  /* One-time champagne sheen across the wordmark on load */
  .brand-word {
    background: linear-gradient(100deg, var(--maroon) 0%, var(--maroon) 42%, var(--gold-soft) 50%, var(--maroon) 58%, var(--maroon) 100%);
    background-size: 250% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: sheen 2.2s ease 0.5s 1 both;
  }

  @keyframes sheen {
    from { background-position: 0% 0; }
    to { background-position: 100% 0; }
  }

  /* Slow cinematic settle on the hero photo */
  .hero-media img { animation: kenburns 16s ease-out both; }

  @keyframes kenburns {
    from { transform: scale(1.07); }
    to { transform: scale(1); }
  }

  /* Gentle lift on cards, tiles and photos */
  .card, .tile, .photo { transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease; }
  .card:hover, .tile:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(126, 36, 29, 0.08); border-color: var(--gold-soft); }
  .photo:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(62, 43, 39, 0.16); }

  /* Scroll reveal (elements tagged by main.js) */
  .has-js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
  .has-js .reveal.reveal-in { opacity: 1; transform: none; }

  /* Page content choreography during view transitions */
  ::view-transition-old(page) { animation: vt-out 0.18s ease both; }
  ::view-transition-new(page) { animation: vt-in 0.3s ease 0.06s both; }

  /* The sheen plays once per session, not on every page swap */
  .sheen-done .brand-word { animation: none; }
}

@keyframes vt-out {
  to { opacity: 0; }
}

@keyframes vt-in {
  from { opacity: 0; transform: translateY(10px); }
}

@media (prefers-reduced-motion: reduce) {
  ::view-transition-group(*),
  ::view-transition-image-pair(*),
  ::view-transition-old(*),
  ::view-transition-new(*) { animation: none !important; }
}

/* --------------------------------------------------------------------------
   Utilities
   -------------------------------------------------------------------------- */

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--maroon);
  color: #FFFFFF;
  padding: 10px 18px;
  z-index: 100;
}

.skip-link:focus { left: 0; color: #FFFFFF; }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1180px) {
  :root { --pad: 32px; }
  .nav-toggle { display: flex; }

  /* Overlay panel below the sticky header — never pushes content */
  .site-nav {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--blush);
    border-top: 1px solid rgba(126, 36, 29, 0.08);
    box-shadow: 0 18px 30px rgba(62, 43, 39, 0.16);
    padding: 8px 0 14px;
    font-size: 15px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0s linear 0.25s;
  }

  .site-nav.open {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0s;
  }

  .site-nav a {
    padding: 13px var(--pad);
    border-bottom: 0;
    background: none;
  }

  .site-nav a[aria-current="page"] {
    border-left: 2px solid var(--gold);
    background: rgba(255, 255, 255, 0.4);
  }

  .nav-extra {
    display: flex;
    gap: 12px;
    align-items: center;
    margin: 8px var(--pad) 0;
    padding: 14px 0 0;
    border-top: 1px solid rgba(126, 36, 29, 0.1);
    font-weight: 600;
    letter-spacing: 0.04em;
  }

  .nav-extra a { padding: 4px 6px; }
  .nav-extra .lang-on { color: var(--maroon); }
  .nav-extra .sep { opacity: 0.4; }

  .hero-media { width: 46%; }
}

@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cols, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .cols-media .ph { min-height: 380px; }
  .doctor-photo { aspect-ratio: 3 / 2; object-position: 50% 50%; }
  .svc-list { columns: 2; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  /* Pull the content up into the fade's solid zone — the top padding plus
     the flat run-out of the gradient otherwise read as a long empty band. */
  .hero .wrap { min-height: 0; padding-top: 0; margin-top: -34px; }
  .hero-media { position: relative; width: 100%; height: clamp(340px, 50vw, 440px); order: -1; }
  /* The desktop text-side vignette would tint the area below the photo,
     making it impossible for the photo fade to match — a single flat
     rose keeps the boundary invisible. */
  .hero::before { display: none; }
  /* The fade must be fully solid well BEFORE the container edge — if it
     only reaches solid at the last pixel, the eye catches a hard step
     (Mach banding) where the box meets the flat hero background. */
  .hero-media::after {
    background: linear-gradient(
      0deg,
      var(--rose-b) 0%,
      var(--rose-b) 15%,
      rgba(199, 158, 141, 0.92) 23%,
      rgba(199, 158, 141, 0.62) 31%,
      rgba(199, 158, 141, 0.28) 40%,
      rgba(199, 158, 141, 0) 50%
    );
  }
  .hero-media img { object-position: 62% 25%; }
  .ribbon-item.ribbon-optional { display: none; }
}

@media (max-width: 700px) {
  /* The header row cannot fit brand + burger + button on phones:
     the CTA moves into the menu panel instead. */
  .header-cta { display: none; }

  .site-nav a.nav-cta {
    display: inline-flex;
    justify-content: center;
    margin: 12px var(--pad) 2px;
    padding: 14px 20px;
    background: var(--maroon);
    color: var(--cream);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-radius: 2px;
  }

  /* Safety net for very narrow screens: the brand may shrink */
  .brand { flex-shrink: 1; min-width: 0; }
  .brand-sub { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

  /* Services sub-nav on phones: the tab strip bleeds to the screen edges
     and fades out at both ends so it reads as something that pans. */
  .svc-nav .wrap { padding: 0; }
  .svc-nav ul {
    padding: 0 var(--pad);
    scroll-padding-inline: var(--pad);
    -webkit-mask-image: linear-gradient(to right, transparent, #000 var(--pad), #000 calc(100% - var(--pad)), transparent);
    mask-image: linear-gradient(to right, transparent, #000 var(--pad), #000 calc(100% - var(--pad)), transparent);
  }
}

@media (max-width: 600px) {
  :root { --pad: 20px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .svc-list { columns: 1; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .section { padding: 64px 0; }
  .band { padding: 40px 24px; }
  .hero-actions .btn { width: 100%; }
  .ribbon .wrap { justify-content: center; }
  .ribbon-side { display: none; }
}
