/* Physiosolution static site stylesheet
   Teal / warm-amber medical palette, ported from the React design system. */

:root {
  --background: oklch(1 0 0);
  --foreground: oklch(0.21 0.04 265);
  --card: oklch(1 0 0);
  --primary: oklch(0.52 0.088 187.5);
  --primary-foreground: oklch(0.99 0.005 190);
  --primary-dark: oklch(0.42 0.077 187.5);
  --primary-soft: oklch(0.96 0.021 187.5);
  --secondary: oklch(0.972 0.007 247.9);
  --muted: oklch(0.975 0.006 247.9);
  --muted-foreground: oklch(0.5 0.035 257);
  --accent: oklch(0.78 0.115 63);
  --success: oklch(0.62 0.084 178);
  --border: oklch(0.918 0.012 255.5);
  --surface-alt: oklch(0.983 0.005 247.9);

  --radius: 0.625rem;
  --radius-lg: 0.875rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.25rem;
  --radius-3xl: 1.625rem;

  --font-heading: "Plus Jakarta Sans", ui-sans-serif, system-ui, sans-serif;
  --font-sans: "Inter", ui-sans-serif, system-ui, sans-serif;

  --shadow-soft: 0 1px 2px oklch(0.2 0.04 230 / 0.05), 0 8px 24px -12px oklch(0.2 0.04 230 / 0.14);
  --shadow-lift: 0 2px 4px oklch(0.2 0.04 230 / 0.06), 0 18px 40px -18px oklch(0.2 0.04 230 / 0.24);

  --page-max: 76rem;
  --header-h: 4rem;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
:target { scroll-margin-top: calc(var(--header-h) + 1rem); }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--foreground);
  background: var(--background);
  -webkit-font-smoothing: antialiased;
  padding-bottom: 3.5rem; /* mobile action bar */
}

@media (min-width: 768px) { body { padding-bottom: 0; } }

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

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0;
}

h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.5rem, 3.2vw, 2.25rem); }
h3 { font-size: 1.125rem; }

p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
li { list-style: none; }

a { color: inherit; text-decoration: none; }
a:hover { color: var(--primary); }

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

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--primary); color: var(--primary-foreground);
  padding: 0.75rem 1rem; border-radius: 0 0 var(--radius) 0;
}
.skip-link:focus { left: 0; color: var(--primary-foreground); }

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

.icon { width: 1.25rem; height: 1.25rem; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icon-sm { width: 1rem; height: 1rem; }
.icon-xs { width: 0.875rem; height: 0.875rem; }
.icon-lg { width: 1.5rem; height: 1.5rem; }
.icon-solid { fill: currentColor; stroke: none; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.45rem;
  font-family: var(--font-heading); font-size: 0.9375rem; font-weight: 600;
  padding: 0.65rem 1.15rem; border-radius: var(--radius); border: 1px solid transparent;
  background: var(--primary); color: var(--primary-foreground);
  cursor: pointer; transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}
.btn:hover { background: var(--primary-dark); color: var(--primary-foreground); }
.btn-lg { padding: 0.85rem 1.5rem; font-size: 1rem; }
.btn-sm { padding: 0.5rem 0.9rem; font-size: 0.875rem; }
.btn-outline { background: transparent; color: var(--foreground); border-color: var(--border); }
.btn-outline:hover { background: var(--primary-soft); color: var(--primary-dark); border-color: var(--primary); }
.btn-ghost { background: transparent; color: var(--primary); }
.btn-ghost:hover { background: var(--primary-soft); color: var(--primary-dark); }
.btn-wa { background: var(--success); }
.btn-wa:hover { background: oklch(0.54 0.084 178); }
.btn-light { background: var(--background); color: var(--primary-dark); }
.btn-light:hover { background: var(--secondary); color: var(--primary-dark); }
.btn-onprimary { background: transparent; color: var(--primary-foreground); border-color: color-mix(in oklab, var(--primary-foreground) 45%, transparent); }
.btn-onprimary:hover { background: color-mix(in oklab, var(--primary-foreground) 12%, transparent); color: var(--primary-foreground); }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* ---------- header ---------- */
.topbar { display: none; background: var(--primary-dark); color: var(--primary-foreground); font-size: 0.75rem; }
@media (min-width: 900px) { .topbar { display: block; } }
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 0.5rem; }
.topbar-list { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem; }
.topbar-list li { display: flex; align-items: center; gap: 0.4rem; }
.topbar a:hover { color: var(--primary-foreground); text-decoration: underline; }
.topbar-social { display: flex; align-items: center; gap: 0.85rem; }

.site-header { position: sticky; top: 0; z-index: 60; }
.header-main { background: var(--background); border-bottom: 1px solid var(--border); transition: box-shadow 0.2s ease, background 0.2s ease; }
.header-main.is-scrolled { background: color-mix(in oklab, var(--background) 88%, transparent); backdrop-filter: blur(10px); box-shadow: var(--shadow-soft); }
.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.55rem; }
.brand:hover { color: inherit; }
.brand-logo { height: 2.1rem; width: auto; display: block; }
@media (max-width: 420px) { .brand-logo { height: 1.7rem; } }
.site-footer .brand-logo { height: 2.5rem; }

.nav-desktop { display: none; align-items: center; gap: 0.15rem; }
@media (min-width: 1100px) { .nav-desktop { display: flex; } }
.nav-link {
  display: inline-flex; align-items: center; gap: 0.3rem;
  padding: 0.5rem 0.7rem; border-radius: var(--radius);
  font-size: 0.9rem; font-weight: 500; color: color-mix(in oklab, var(--foreground) 82%, transparent);
  background: none; border: 0; font-family: inherit; cursor: pointer;
}
.nav-link:hover { background: var(--muted); color: var(--primary); }
.nav-link[aria-current="page"], .nav-link.is-active { color: var(--primary); background: var(--primary-soft); }

.has-menu { position: relative; }
.nav-link .chev { transition: transform 0.2s ease; }
.has-menu[data-open="true"] .chev { transform: rotate(180deg); }
.menu-panel {
  position: absolute; left: 0; top: 100%; z-index: 70; display: none;
  width: min(34rem, calc(100vw - 3rem)); padding: 0.75rem;
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius-2xl); box-shadow: var(--shadow-lift);
}
.menu-panel.align-right { left: auto; right: 0; }
.has-menu[data-open="true"] .menu-panel { display: block; }
.menu-head { display: flex; align-items: center; justify-content: space-between; padding: 0 0.6rem 0.5rem; }
.menu-head a { font-size: 0.875rem; font-weight: 600; color: var(--primary); }
.menu-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.15rem; max-height: 62vh; overflow-y: auto; }
.menu-grid.one-col { grid-template-columns: 1fr; }
.menu-grid a { display: block; padding: 0.5rem 0.6rem; border-radius: var(--radius); font-size: 0.875rem; }
.menu-grid a:hover { background: var(--primary-soft); color: var(--primary-dark); }

.header-actions { display: flex; align-items: center; gap: 0.5rem; }
.icon-btn {
  display: inline-grid; place-items: center; width: 2.5rem; height: 2.5rem;
  border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--background); color: var(--foreground); cursor: pointer;
}
.icon-btn:hover { background: var(--muted); color: var(--primary); }
@media (min-width: 1100px) { .nav-toggle { display: none; } }
.header-cta { display: none; }
@media (min-width: 480px) { .header-cta { display: inline-flex; } }

/* ---------- mobile drawer ---------- */
.drawer-backdrop {
  position: fixed; inset: 0; z-index: 80; background: oklch(0.21 0.04 265 / 0.5);
  opacity: 0; pointer-events: none; transition: opacity 0.2s ease;
}
.drawer-backdrop.is-open { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 90;
  width: min(22rem, 88vw); display: flex; flex-direction: column;
  background: var(--background); border-left: 1px solid var(--border);
  transform: translateX(100%); visibility: hidden;
  transition: transform 0.25s ease, visibility 0.25s ease;
}
.drawer.is-open { transform: none; visibility: visible; }
.drawer-top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.25rem; border-bottom: 1px solid var(--border); }
.drawer-top h2 { font-size: 1rem; }
.drawer-body { flex: 1; overflow-y: auto; padding: 1rem 1.25rem 1.5rem; }
.drawer-body a { display: block; padding: 0.6rem 0.75rem; border-radius: var(--radius); font-size: 0.9rem; }
.drawer-body a:hover { background: var(--muted); }
.drawer-label { margin: 1rem 0 0.25rem; padding-inline: 0.75rem; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted-foreground); }
.drawer-body .lead-link { font-weight: 600; color: var(--primary); }
.drawer-foot { display: grid; gap: 0.5rem; padding: 1.25rem; border-top: 1px solid var(--border); }

/* ---------- sections ---------- */
.section { padding-block: 3.5rem; }
@media (min-width: 768px) { .section { padding-block: 4.5rem; } }
.section-alt { background: var(--surface-alt); }
.section-primary-soft { background: var(--primary-soft); }

.eyebrow { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--primary); }
.heading { max-width: 48rem; }
.heading.center { margin-inline: auto; text-align: center; }
.heading h2, .heading h1 { margin-top: 0.75rem; }
.heading .lede { margin-top: 1rem; color: var(--muted-foreground); }

.lede { color: var(--muted-foreground); }
.muted { color: var(--muted-foreground); }
.small { font-size: 0.875rem; }
.xsmall { font-size: 0.75rem; }
.tnum { font-variant-numeric: tabular-nums; }

.prose { display: grid; gap: 1rem; color: var(--muted-foreground); max-width: 48rem; }
.prose h2 { color: var(--foreground); font-size: 1.25rem; margin-top: 1rem; }
.prose h2:first-child { margin-top: 0; }

.breadcrumbs { background: var(--surface-alt); border-bottom: 1px solid var(--border); }
.breadcrumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 0.35rem; padding-block: 0.75rem; font-size: 0.8125rem; color: var(--muted-foreground); }
.breadcrumbs li { display: flex; align-items: center; gap: 0.35rem; }
.breadcrumbs [aria-current="page"] { color: var(--foreground); font-weight: 500; }

.page-hero { background: color-mix(in oklab, var(--primary-soft) 60%, var(--background)); }
.page-hero .container { padding-block: 3.25rem; }
@media (min-width: 768px) { .page-hero .container { padding-block: 4.5rem; } }
.page-hero h1 { margin-top: 0.75rem; max-width: 56rem; }
.page-hero .lede { margin-top: 1.25rem; max-width: 46rem; font-size: 1.0625rem; }
.page-hero .btn-row { margin-top: 1.75rem; }

/* ---------- grids ---------- */
.grid { display: grid; gap: 1.25rem; }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}
.split { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 1000px) { .split { grid-template-columns: 1fr 1fr; } }
.split-wide { display: grid; gap: 3rem; }
@media (min-width: 1000px) { .split-wide { grid-template-columns: 1.6fr 1fr; align-items: start; } }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-6 { margin-top: 3rem; }
.center { text-align: center; }

/* ---------- cards ---------- */
.card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius-2xl); padding: 1.5rem; box-shadow: var(--shadow-soft);
}
.card h3 { margin-bottom: 0.5rem; }
.card-link { display: flex; flex-direction: column; transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease; }
.card-link:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); border-color: color-mix(in oklab, var(--primary) 40%, transparent); color: inherit; }
.card-link .grow { flex: 1; }
.card-media { overflow: hidden; padding: 0; }
.card-media img { width: 100%; height: 11rem; object-fit: cover; }
.card-media .card-body { padding: 1.5rem; }

.tag {
  display: inline-block; width: fit-content; padding: 0.2rem 0.7rem;
  border-radius: 999px; background: var(--primary-soft); color: var(--primary-dark);
  font-size: 0.75rem; font-weight: 600;
}
.more-link { display: inline-flex; align-items: center; gap: 0.35rem; font-size: 0.875rem; font-weight: 600; color: var(--primary); }
.card-link:hover .more-link .icon { transform: translateX(3px); }
.more-link .icon { transition: transform 0.2s ease; }

.checklist { display: grid; gap: 0.75rem; }
.checklist li { display: flex; gap: 0.75rem; font-size: 0.9rem; color: var(--muted-foreground); }
.checklist li::before {
  content: ""; margin-top: 0.55rem; width: 0.375rem; height: 0.375rem; flex: none;
  border-radius: 999px; background: var(--primary);
}

.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chips li {
  padding: 0.3rem 0.85rem; border-radius: 999px; font-size: 0.875rem;
  border: 1px solid color-mix(in oklab, var(--primary) 25%, transparent);
  background: color-mix(in oklab, var(--background) 70%, transparent);
}
.chips.soft li { border-color: transparent; background: var(--primary-soft); color: var(--primary-dark); font-size: 0.75rem; }

.pill-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.625rem; }
.pill-list a {
  display: inline-block; padding: 0.5rem 1rem; border-radius: 999px;
  border: 1px solid var(--border); background: var(--card); font-size: 0.875rem;
}
.pill-list a:hover { border-color: var(--primary); background: var(--primary-soft); color: var(--primary-dark); }

.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2.25rem; padding-top: 1.5rem; border-top: 1px solid var(--border); max-width: 32rem; }
.stat-row dt { font-size: 0.7rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted-foreground); }
.stat-row dd { margin: 0.25rem 0 0; font-family: var(--font-heading); font-size: 1.5rem; font-weight: 700; }

/* ---------- hero ---------- */
.hero { background: var(--surface-alt); overflow: hidden; }
.hero .container { display: grid; gap: 3rem; align-items: center; padding-block: 3.5rem; }
@media (min-width: 1000px) { .hero .container { grid-template-columns: 1fr 1fr; padding-block: 4.5rem; } }
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.35rem 0.9rem;
  border-radius: 999px; background: var(--primary-soft); color: var(--primary-dark);
  font-size: 0.75rem; font-weight: 600;
}
.hero h1 { margin-top: 1.25rem; }
.hero h1 .accent { color: var(--primary); }
.hero .lede { margin-top: 1.25rem; max-width: 34rem; font-size: 1.0625rem; }
.hero .btn-row { margin-top: 1.75rem; }
.hero-call { display: inline-flex; align-items: center; gap: 0.5rem; margin-top: 1.25rem; font-weight: 600; color: var(--primary); }
.hero-figure { position: relative; }
.hero-figure img { width: 100%; border-radius: var(--radius-3xl); object-fit: cover; box-shadow: var(--shadow-lift); }
.hero-badge-float {
  position: absolute; bottom: -1.25rem; left: 1rem; padding: 0.9rem 1.25rem;
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius-2xl); box-shadow: var(--shadow-lift);
}
.hero-badge-float strong { display: block; font-family: var(--font-heading); font-size: 1.5rem; color: var(--primary); }

.trust { border-block: 1px solid var(--border); }
.trust .container { display: grid; gap: 1.5rem; padding-block: 1.5rem; }
@media (min-width: 640px) { .trust .container { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .trust .container { grid-template-columns: repeat(4, 1fr); } }
.trust-item { display: flex; align-items: center; gap: 0.75rem; }
.trust-item .badge-icon { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; flex: none; border-radius: var(--radius-lg); background: var(--primary-soft); color: var(--primary); }
.trust-item p { font-size: 0.875rem; font-weight: 600; }
.trust-item span { display: block; font-size: 0.75rem; font-weight: 400; color: var(--muted-foreground); }

/* ---------- steps ---------- */
.steps { display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step-head { display: flex; align-items: center; justify-content: space-between; }
.step-icon { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: var(--radius-lg); background: var(--primary); color: var(--primary-foreground); }
.step-num { font-family: var(--font-heading); font-size: 1.75rem; font-weight: 700; color: var(--border); }

/* ---------- testimonials ---------- */
.quote-card { display: flex; flex-direction: column; height: 100%; }
.stars { display: flex; gap: 0.1rem; margin-top: 0.75rem; color: var(--accent); }
.stars .off { color: var(--border); }
.quote-card blockquote { flex: 1; margin: 0.75rem 0 0; font-size: 0.9rem; line-height: 1.65; color: var(--muted-foreground); }
.quote-card figcaption { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--border); font-size: 0.875rem; }
.quote-card figcaption strong { font-weight: 600; }
.quote-card figcaption span { display: block; font-size: 0.75rem; color: var(--muted-foreground); }

.scroller { display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 1rem; }
.scroller > * { flex: 0 0 min(20rem, 82vw); scroll-snap-align: start; }
.scroller img { width: 20rem; height: 14rem; object-fit: cover; border-radius: var(--radius-2xl); box-shadow: var(--shadow-soft); }
.scroller-nav { display: flex; justify-content: center; gap: 0.75rem; margin-top: 1rem; }

/* ---------- accordion ---------- */
.accordion { border-top: 1px solid var(--border); }
.accordion details { border-bottom: 1px solid var(--border); }
.accordion summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1rem 0; cursor: pointer; list-style: none;
  font-family: var(--font-heading); font-size: 0.9375rem; font-weight: 600;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary .icon { color: var(--muted-foreground); transition: transform 0.2s ease; }
.accordion details[open] summary .icon { transform: rotate(180deg); }
.accordion details[open] summary { color: var(--primary); }
.accordion .answer { padding: 0 0 1.15rem; font-size: 0.9rem; color: var(--muted-foreground); }

/* ---------- contact ---------- */
.contact-list { display: grid; gap: 1rem; margin-top: 1.5rem; font-size: 0.9rem; }
.contact-list li { display: flex; gap: 0.75rem; }
.contact-list .icon { color: var(--primary); margin-top: 0.15rem; }
.map-frame { overflow: hidden; border: 1px solid var(--border); border-radius: var(--radius-2xl); box-shadow: var(--shadow-soft); min-height: 20rem; }
.map-frame iframe { width: 100%; height: 100%; min-height: 20rem; border: 0; display: block; }

.cta-band { background: var(--primary); color: var(--primary-foreground); }
.cta-band .container { display: flex; flex-direction: column; gap: 1.5rem; padding-block: 3.25rem; }
@media (min-width: 768px) { .cta-band .container { flex-direction: row; align-items: center; justify-content: space-between; } }
.cta-band p { margin-top: 0.5rem; max-width: 40rem; color: color-mix(in oklab, var(--primary-foreground) 85%, transparent); }

.book-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-2xl); padding: 1.5rem; box-shadow: var(--shadow-soft); }
.book-card h2, .book-card h3 { font-size: 1.125rem; }
.book-card .btn { width: 100%; }
.book-card .stack { display: grid; gap: 0.6rem; margin-top: 1.25rem; }
.book-card .note { margin-top: 1rem; font-size: 0.75rem; color: var(--muted-foreground); }

.aside-sticky { align-self: start; }
@media (min-width: 1000px) { .aside-sticky { position: sticky; top: calc(var(--header-h) + 1.5rem); } }

.phase { border-radius: var(--radius-lg); background: var(--surface-alt); padding: 1rem; }
.phase p:first-child { font-family: var(--font-heading); font-size: 0.875rem; font-weight: 600; color: var(--primary); }
.phase p:last-child { font-size: 0.875rem; color: var(--muted-foreground); margin-top: 0.25rem; }
.bordered { border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.25rem; }
.bordered h3 { font-size: 1rem; }
.bordered p { margin-top: 0.5rem; font-size: 0.875rem; color: var(--muted-foreground); }
.approach { display: grid; gap: 1rem; margin-top: 1rem; }
.approach div { border: 1px solid var(--border); background: var(--surface-alt); border-radius: var(--radius-lg); padding: 1.25rem; }
.approach dt { font-family: var(--font-heading); font-weight: 600; }
.approach dd { margin: 0.5rem 0 0; font-size: 0.875rem; color: var(--muted-foreground); }

.gallery-grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }
.gallery-grid figure { margin: 0; overflow: hidden; border: 1px solid var(--border); border-radius: var(--radius-2xl); box-shadow: var(--shadow-soft); }
.gallery-grid img { width: 100%; height: 15rem; object-fit: cover; }
.gallery-grid figcaption { padding: 0.75rem 1rem; font-size: 0.875rem; color: var(--muted-foreground); }

.article { max-width: 46rem; margin-inline: auto; }
.article section { margin-top: 2.5rem; }
.article h2 { font-size: 1.5rem; }
.article p { margin-top: 1rem; color: var(--muted-foreground); }

.timeline { display: grid; gap: 1.25rem; max-width: 48rem; margin-inline: auto; }
.timeline li { display: flex; gap: 1.25rem; align-items: baseline; }
.timeline .year { font-family: var(--font-heading); font-size: 1.125rem; font-weight: 700; color: var(--primary); }
.timeline p { font-size: 0.9rem; color: var(--muted-foreground); }

/* ---------- footer ---------- */
.site-footer { background: var(--foreground); color: var(--secondary); }
.site-footer .container { display: grid; gap: 2.5rem; padding-block: 3.5rem; }
@media (min-width: 640px) { .site-footer .container { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .site-footer .container { grid-template-columns: repeat(4, 1fr); } }
.site-footer h2 { font-family: var(--font-heading); font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--background); }
.site-footer p, .site-footer li, .site-footer a { color: color-mix(in oklab, var(--secondary) 72%, transparent); font-size: 0.875rem; }
.site-footer a:hover { color: var(--primary); }
.footer-links { display: grid; gap: 0.5rem; margin-top: 1rem; }
.footer-links.two-col { grid-template-columns: 1fr 1fr; }
.footer-contact { display: grid; gap: 0.75rem; margin-top: 1rem; }
.footer-contact li { display: flex; gap: 0.5rem; }
.footer-contact .icon { color: var(--primary); margin-top: 0.15rem; }
.social { display: flex; gap: 0.75rem; margin-top: 1.25rem; }
.social a { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 999px; background: color-mix(in oklab, var(--background) 12%, transparent); }
.social a:hover { background: var(--primary); color: var(--primary-foreground); }
.footer-map { display: block; margin-top: 1rem; overflow: hidden; border-radius: var(--radius-lg); border: 1px solid color-mix(in oklab, var(--background) 18%, transparent); }
.footer-map iframe { width: 100%; height: 8rem; border: 0; pointer-events: none; display: block; }
.footer-bottom { border-top: 1px solid color-mix(in oklab, var(--background) 12%, transparent); }
.footer-bottom .container {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 0.75rem; padding-block: 1.25rem; font-size: 0.75rem;
  grid-template-columns: none;
}
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 1rem; }

/* ---------- floating actions ---------- */
.float-cta { position: fixed; right: 1rem; bottom: 5rem; z-index: 50; display: flex; flex-direction: column; gap: 0.75rem; }
@media (min-width: 768px) { .float-cta { bottom: 1.5rem; } }
.float-cta a { display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 999px; box-shadow: var(--shadow-lift); color: var(--primary-foreground); }
.float-cta .wa { background: var(--success); animation: pulse-ring 2.4s ease-out infinite; }
.float-cta .call { background: var(--primary); }
.float-cta a:hover { color: var(--primary-foreground); transform: scale(1.05); }

@keyframes pulse-ring {
  0% { box-shadow: 0 0 0 0 oklch(0.52 0.09 187 / 0.55); }
  70% { box-shadow: 0 0 0 16px oklch(0.52 0.09 187 / 0); }
  100% { box-shadow: 0 0 0 0 oklch(0.52 0.09 187 / 0); }
}

.action-bar {
  position: fixed; inset-inline: 0; bottom: 0; z-index: 55;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: color-mix(in oklab, var(--background) 95%, transparent);
  backdrop-filter: blur(8px); border-top: 1px solid var(--border);
}
@media (min-width: 768px) { .action-bar { display: none; } }
.action-bar a {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.15rem;
  min-height: 3.5rem; font-size: 0.7rem; font-weight: 600; color: var(--primary);
}
.action-bar a.wa { color: var(--success); }
.action-bar a.book { background: var(--primary); color: var(--primary-foreground); }

.cookie-banner {
  position: fixed; inset-inline: 0.75rem; bottom: 4.75rem; z-index: 70;
  padding: 1rem; background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius-2xl); box-shadow: var(--shadow-lift);
}
@media (min-width: 768px) { .cookie-banner { inset-inline: auto; left: 1.5rem; bottom: 1.5rem; max-width: 26rem; } }
.cookie-banner p { font-size: 0.875rem; color: var(--muted-foreground); }
.cookie-banner .btn-row { margin-top: 0.75rem; }
.cookie-banner[hidden] { display: none; }

.notfound { padding-block: 5rem; text-align: center; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}
