/* ============================================================================
   Gayle M. Pezzulo, DMD — token system
   Concept: "Plumb Line" — Milton's quarried-granite precision, mapped onto
   exact-fit dental work (Invisalign, implants, ortho). Cool granite-blue slate
   + one amber "level bubble" accent. Every component below reads these custom
   properties; no raw colors in markup.
   ========================================================================== */

@font-face {
  font-family: "Zilla Slab";
  src: url("./fonts/zilla-slab-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Zilla Slab";
  src: url("./fonts/zilla-slab-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Zilla Slab";
  src: url("./fonts/zilla-slab-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Zilla Slab";
  src: url("./fonts/zilla-slab-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Public Sans";
  src: url("./fonts/public-sans-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Public Sans";
  src: url("./fonts/public-sans-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Public Sans";
  src: url("./fonts/public-sans-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Public Sans";
  src: url("./fonts/public-sans-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  /* ---- color: HSL components (h s% l%), composed via hsl(var(--x)) ---- */
  --background: 210 18% 97%;
  --background-alt: 208 16% 92%;
  --surface: 210 20% 99%;
  --foreground: 218 22% 14%;
  --muted: 212 8% 46%;
  --muted-foreground: 212 8% 40%;
  --border: 212 12% 86%;

  --primary: 211 36% 24%;
  --primary-glow: 211 32% 36%;
  --primary-foreground: 210 20% 97%;

  --accent: 36 88% 54%;
  --accent-glow: 36 90% 64%;
  --accent-foreground: 218 30% 12%;

  /* ---- gradients ---- */
  --gradient-primary: linear-gradient(135deg, hsl(var(--primary)), hsl(var(--primary-glow)));
  --gradient-subtle: linear-gradient(180deg, hsl(var(--background)), hsl(var(--background-alt)));
  --gradient-accent-wash: radial-gradient(circle at 78% 15%, hsl(var(--accent) / 0.22), transparent 55%);
  --gradient-scrim: linear-gradient(0deg, hsl(211 40% 12% / 0.86) 0%, hsl(211 40% 12% / 0.28) 46%, hsl(211 40% 12% / 0) 72%);

  /* ---- brand-tinted shadows ---- */
  --shadow-elegant: 0 10px 30px -10px hsl(var(--primary) / 0.35);
  --shadow-glow: 0 0 34px hsl(var(--accent) / 0.28);
  --shadow-soft: 0 2px 14px hsl(var(--foreground) / 0.07);
  --shadow-card: 0 1px 2px hsl(var(--foreground) / 0.05), 0 10px 26px -12px hsl(var(--primary) / 0.22);

  /* ---- radius scale (one scale, site-wide) ---- */
  --radius-sm: 4px;
  --radius-md: 10px;
  --radius-lg: 22px;
  --radius-pill: 999px;

  /* ---- spacing rhythm ---- */
  --space-3xs: 0.375rem;
  --space-2xs: 0.75rem;
  --space-xs: 1rem;
  --space-sm: 1.5rem;
  --space-md: 2.5rem;
  --space-lg: 4rem;
  --space-xl: 6.5rem;
  --space-2xl: 9rem;

  /* ---- type ---- */
  --font-display: "Zilla Slab", "Roboto Slab", Georgia, serif;
  --font-body: "Public Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --measure: 65ch;

  /* ---- motion ---- */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  --dur-fast: 200ms;
  --dur-med: 320ms;
}

@keyframes plumb-drop {
  0% { height: 0%; }
  100% { height: 100%; }
}
@keyframes bob-settle {
  0% { top: 0%; transform: translate(-50%, -50%) scale(0.7); opacity: 0; }
  55% { top: 100%; transform: translate(-50%, -50%) scale(1.06); opacity: 1; }
  75% { top: 92%; transform: translate(-50%, -50%) scale(0.98); }
  100% { top: 100%; transform: translate(-50%, -50%) scale(1); }
}
@keyframes rise-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

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

/* ---------------------------------------------------------------------------
   Base
   ------------------------------------------------------------------------ */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  min-height: 100dvh;
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.1;
  margin: 0;
  color: hsl(var(--foreground));
}

p { margin: 0; }

.measure { max-width: var(--measure); }

a { color: inherit; text-decoration: none; }

.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: var(--space-sm);
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: hsl(var(--accent-glow, var(--accent)));
}
.eyebrow--on-light { color: hsl(var(--primary)); }

section { position: relative; }

/* ---------------------------------------------------------------------------
   Buttons — one identity per CTA intent, defined once
   ------------------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2xs);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.97rem;
  padding: 0.9rem 1.7rem;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out), background var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out);
}

/* call-intent — appears wherever the phone number is the action, site-wide */
.btn--call {
  background: hsl(var(--accent));
  color: hsl(var(--accent-foreground));
  box-shadow: var(--shadow-glow);
}
.btn--call:hover { transform: translateY(-2px); background: hsl(var(--accent-glow)); }
.btn--call:active { transform: translateY(0); }

/* quiet secondary — internal navigation intent (View services, etc.) */
.btn--quiet {
  background: transparent;
  color: hsl(var(--foreground));
  border-color: hsl(var(--border));
}
.btn--quiet:hover { border-color: hsl(var(--primary)); background: hsl(var(--primary) / 0.06); }

/* quiet-on-dark — same intent, used over dark/photo grounds */
.btn--quiet-inverse {
  background: transparent;
  color: hsl(var(--primary-foreground));
  border-color: hsl(var(--primary-foreground) / 0.4);
}
.btn--quiet-inverse:hover { border-color: hsl(var(--primary-foreground)); background: hsl(var(--primary-foreground) / 0.08); }

/* directions intent — used only on location/contact context */
.btn--directions {
  background: hsl(var(--surface));
  color: hsl(var(--primary));
  border-color: hsl(var(--primary) / 0.35);
  box-shadow: var(--shadow-soft);
}
.btn--directions:hover { background: hsl(var(--primary) / 0.08); }

/* ---------------------------------------------------------------------------
   Demo attribution banner (compliance)
   ------------------------------------------------------------------------ */
.demo-banner {
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  text-align: center;
  font-size: 0.78rem;
  padding: 0.55rem 1rem;
}

/* ---------------------------------------------------------------------------
   Nav
   ------------------------------------------------------------------------ */
.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: hsl(var(--background) / 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid hsl(var(--border));
}
.nav__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: var(--space-2xs);
  gap: var(--space-sm);
}
.nav__brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.06rem;
  color: hsl(var(--foreground));
  min-width: 0;
  flex-shrink: 1;
}
.nav__brand img { width: 32px; height: 32px; flex-shrink: 0; border-radius: var(--radius-sm); }
.nav__brand span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nav__brand small {
  display: block;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.71rem;
  color: hsl(var(--muted));
  letter-spacing: 0.02em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
@media (max-width: 560px) {
  .nav__brand { font-size: 0.9rem; }
  .nav__brand small { display: none; }
  .nav__row { gap: var(--space-2xs); }
  .nav__cta.btn { padding: 0.7rem 1rem; font-size: 0.84rem; }
}
.nav__links {
  display: none;
  align-items: center;
  gap: var(--space-md);
  font-size: 0.93rem;
  font-weight: 500;
}
.nav__links a { color: hsl(var(--muted-foreground)); transition: color var(--dur-fast) var(--ease-out); }
.nav__links a:hover, .nav__links a[aria-current="page"] { color: hsl(var(--primary)); }
@media (min-width: 860px) { .nav__links { display: flex; } }
.nav__cta { flex-shrink: 0; }

/* ---------------------------------------------------------------------------
   Hero — full-bleed, bottom-anchored, plumb-drop wow moment
   ------------------------------------------------------------------------ */
.hero {
  position: relative;
  min-height: 92dvh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero__figure { position: absolute; inset: 0; z-index: 0; }
.hero__figure img { width: 100%; height: 100%; object-fit: cover; }
.hero__figure::after { content: ""; position: absolute; inset: 0; background: var(--gradient-scrim); }

.hero__plumb {
  position: absolute;
  top: 14%;
  left: 12%;
  width: 2px;
  z-index: 1;
  display: none;
}
@media (min-width: 720px) { .hero__plumb { display: block; height: 46%; } }
.hero__plumb-line {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 0%;
  background: hsl(var(--primary-foreground) / 0.55);
  animation: plumb-drop 1.05s var(--ease-out) 0.2s both;
}
.hero__plumb-bob {
  position: absolute;
  left: 50%;
  top: 0%;
  width: 13px;
  height: 13px;
  border-radius: var(--radius-pill);
  background: hsl(var(--accent));
  box-shadow: 0 0 0 4px hsl(var(--accent) / 0.22);
  transform: translate(-50%, -50%);
  animation: bob-settle 1.35s var(--ease-bounce) 0.15s both;
}
@media (prefers-reduced-motion: reduce) {
  .hero__plumb-line { height: 100%; animation: none; }
  .hero__plumb-bob { top: 100%; opacity: 1; transform: translate(-50%, -50%) scale(1); animation: none; }
}

.hero__copy {
  position: relative;
  z-index: 2;
  padding: var(--space-lg) var(--space-sm) var(--space-2xl);
  max-width: 760px;
}
@media (min-width: 720px) { .hero__copy { padding: var(--space-lg) var(--space-lg) var(--space-2xl) max(var(--space-lg), calc((100vw - 1200px) / 2 + var(--space-sm))); } }
.hero__copy .eyebrow { color: hsl(var(--accent-glow)); margin-bottom: var(--space-2xs); }
.hero__headline {
  font-size: clamp(2.3rem, 6.4vw, 4.4rem);
  max-width: 13ch;
  color: hsl(var(--primary-foreground));
}
.hero__sub {
  margin-top: var(--space-xs);
  font-size: 1.14rem;
  color: hsl(var(--primary-foreground) / 0.82);
  max-width: 42ch;
}
.hero__ctas { display: flex; flex-wrap: wrap; gap: var(--space-xs); align-items: center; margin-top: var(--space-sm); }

/* ---------------------------------------------------------------------------
   Bento services grid
   ------------------------------------------------------------------------ */
.bento-grid { padding-block: var(--space-xl); }
.bento-grid__head { margin-bottom: var(--space-md); max-width: 56ch; }
.bento-grid__head h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); }
.bento-grid__head p { margin-top: var(--space-2xs); color: hsl(var(--muted-foreground)); }
.bento-grid__list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2px;
  background: hsl(var(--border));
  border-radius: var(--radius-lg);
  overflow: hidden;
}
@media (min-width: 680px) { .bento-grid__list { grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(2, auto); } }
.bento-cell {
  background: hsl(var(--surface));
  padding: var(--space-md) var(--space-sm);
  display: flex;
  flex-direction: column;
  gap: var(--space-2xs);
  transition: background var(--dur-fast) var(--ease-out);
}
.bento-cell:hover { background: hsl(var(--primary) / 0.05); }
.bento-cell--wide { grid-column: span 1; }
.bento-cell__icon {
  width: 42px; height: 42px;
  border-radius: var(--radius-md);
  background: hsl(var(--accent) / 0.14);
  color: hsl(var(--accent));
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.bento-cell h3 { font-size: 1.1rem; }
.bento-cell p { color: hsl(var(--muted-foreground)); font-size: 0.92rem; }
@media (min-width: 680px) {
  .bento-cell--lg { grid-column: span 2; grid-row: span 2; background: hsl(var(--primary)); color: hsl(var(--primary-foreground)); }
  .bento-cell--lg:hover { background: hsl(var(--primary-glow)); }
  .bento-cell--lg h3, .bento-cell--lg p { color: hsl(var(--primary-foreground)); }
  .bento-cell--lg .bento-cell__icon { background: hsl(var(--primary-foreground) / 0.14); color: hsl(var(--accent-glow)); }
}

/* ---------------------------------------------------------------------------
   Split precision statement + drawn plumb diagram
   ------------------------------------------------------------------------ */
.precision {
  background: hsl(var(--background-alt));
  padding-block: var(--space-xl);
}
.precision__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  align-items: center;
}
@media (min-width: 860px) { .precision__grid { grid-template-columns: 1.1fr 0.9fr; } }
.precision__text h2 {
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  max-width: 22ch;
}
.precision__text p { margin-top: var(--space-sm); color: hsl(var(--muted-foreground)); max-width: 46ch; }
.precision__diagram {
  position: relative;
  height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.precision__diagram svg { width: 100%; height: 100%; max-width: 320px; }

/* ---------------------------------------------------------------------------
   Hairline four-up promise strip
   ------------------------------------------------------------------------ */
.strip { border-top: 1px solid hsl(var(--border)); background: hsl(var(--surface)); }
.strip__row { display: grid; grid-template-columns: 1fr; }
@media (min-width: 760px) { .strip__row { grid-template-columns: repeat(4, 1fr); } }
.strip__item { padding: var(--space-md) var(--space-sm); border-top: 1px solid hsl(var(--border)); }
@media (min-width: 760px) {
  .strip__item { border-top: none; border-left: 1px solid hsl(var(--border)); }
  .strip__item:first-child { border-left: none; }
}
.strip__item h3 { font-size: 1rem; font-weight: 600; font-family: var(--font-body); margin-bottom: 0.35rem; }
.strip__item p { color: hsl(var(--muted-foreground)); font-size: 0.9rem; }

/* ---------------------------------------------------------------------------
   Horizontal stepped process row
   ------------------------------------------------------------------------ */
.steps { padding-block: var(--space-xl); }
.steps__head { text-align: center; max-width: 50ch; margin-inline: auto; margin-bottom: var(--space-lg); }
.steps__head h2 { font-size: clamp(1.8rem, 3.4vw, 2.4rem); }
.steps__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}
@media (min-width: 760px) { .steps__row { grid-template-columns: repeat(3, 1fr); gap: var(--space-md); } }
.steps__item { position: relative; padding-top: var(--space-md); }
.steps__item::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 46px; height: 3px;
  background: hsl(var(--accent));
  border-radius: var(--radius-pill);
}
.steps__item h3 { font-size: 1.2rem; margin-bottom: 0.4rem; }
.steps__item p { color: hsl(var(--muted-foreground)); max-width: 34ch; }

/* ---------------------------------------------------------------------------
   Full-bleed color-field visit / CTA band
   ------------------------------------------------------------------------ */
.visit-band {
  background: var(--gradient-primary);
  color: hsl(var(--primary-foreground));
  padding: var(--space-2xl) var(--space-sm);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.visit-band::before { content: ""; position: absolute; inset: 0; background: var(--gradient-accent-wash); pointer-events: none; }
.visit-band__panel { position: relative; max-width: 640px; margin-inline: auto; display: flex; flex-direction: column; align-items: center; gap: var(--space-sm); }
.visit-band h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); color: hsl(var(--primary-foreground)); }
.visit-band address { font-style: normal; color: hsl(var(--primary-foreground) / 0.8); }

/* ---------------------------------------------------------------------------
   Page intro header (services/about/contact)
   ------------------------------------------------------------------------ */
.page-intro { padding: var(--space-xl) var(--space-sm) var(--space-md); text-align: center; }
.page-intro h1 { font-size: clamp(2.1rem, 4.4vw, 3rem); max-width: 20ch; margin-inline: auto; }
.page-intro p { color: hsl(var(--muted-foreground)); max-width: 52ch; margin: var(--space-xs) auto 0; }

/* ---------------------------------------------------------------------------
   Services — overlap-bleed feature bands
   ------------------------------------------------------------------------ */
.overlap { padding-block: var(--space-md); }
.overlap__band {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 420px;
  display: flex;
  align-items: flex-end;
  margin-bottom: var(--space-lg);
}
.overlap__band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.overlap__band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, hsl(211 40% 10% / 0.82), hsl(211 40% 10% / 0.05) 60%); }
.overlap__card {
  position: relative;
  z-index: 2;
  margin: var(--space-md);
  max-width: 460px;
}
.overlap__card .eyebrow { color: hsl(var(--accent-glow)); }
.overlap__card h2 { color: hsl(var(--primary-foreground)); font-size: clamp(1.5rem, 2.8vw, 2rem); margin-top: 0.3rem; }
.overlap__card p { color: hsl(var(--primary-foreground) / 0.85); margin-top: var(--space-2xs); }
.overlap__card .btn { margin-top: var(--space-sm); }

/* compact hairline service list */
.svc-list { padding-block: var(--space-lg); }
.svc-list__row {
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
  padding-block: var(--space-md);
  border-top: 1px solid hsl(var(--border));
}
.svc-list__row:first-child { border-top: 1px solid hsl(var(--border)); }
.svc-list__icon {
  flex-shrink: 0;
  width: 46px; height: 46px;
  border-radius: var(--radius-md);
  background: hsl(var(--primary) / 0.08);
  color: hsl(var(--primary));
  display: flex; align-items: center; justify-content: center;
}
.svc-list__copy h3 { font-size: 1.2rem; margin-bottom: 0.3rem; }
.svc-list__copy p { color: hsl(var(--muted-foreground)); max-width: 56ch; }

/* ---------------------------------------------------------------------------
   About — magazine two-column
   ------------------------------------------------------------------------ */
.magazine { padding-block: var(--space-xl); }
.magazine__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}
@media (min-width: 860px) { .magazine__grid { grid-template-columns: 0.85fr 1.15fr; align-items: start; } }
.magazine__figure { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-card); }
.magazine__figure img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/5; }
.magazine__caption { margin-top: var(--space-2xs); font-size: 0.85rem; color: hsl(var(--muted-foreground)); }
.magazine__copy h1 { font-size: clamp(2rem, 3.8vw, 2.8rem); margin-bottom: var(--space-sm); }
.magazine__copy p { color: hsl(var(--muted-foreground)); max-width: 60ch; margin-bottom: var(--space-sm); }
.magazine__copy p:last-child { margin-bottom: 0; }

.expect { border-top: 1px solid hsl(var(--border)); background: hsl(var(--surface)); padding-block: var(--space-lg); }
.expect__inner { max-width: 900px; margin-inline: auto; }
.expect h2 { text-align: center; font-size: 1.4rem; margin-bottom: var(--space-md); }
.expect__row { display: grid; grid-template-columns: 1fr; }
@media (min-width: 700px) { .expect__row { grid-template-columns: repeat(3, 1fr); } }
.expect__item { padding: var(--space-sm); border-top: 1px solid hsl(var(--border)); text-align: center; }
@media (min-width: 700px) {
  .expect__item { border-top: none; border-left: 1px solid hsl(var(--border)); }
  .expect__item:first-child { border-left: none; }
}
.expect__item strong { display: block; font-family: var(--font-display); font-size: 1.05rem; margin-bottom: 0.3rem; }
.expect__item span { color: hsl(var(--muted-foreground)); font-size: 0.9rem; }

/* ---------------------------------------------------------------------------
   Contact — split color-field panel + exterior photo, directions card
   ------------------------------------------------------------------------ */
.contact-split {
  display: grid;
  grid-template-columns: 1fr;
  min-height: 62dvh;
}
@media (min-width: 860px) { .contact-split { grid-template-columns: 1fr 1fr; } }
.contact-split__panel {
  background: var(--gradient-primary);
  color: hsl(var(--primary-foreground));
  padding: var(--space-xl) var(--space-sm);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--space-md);
}
@media (min-width: 860px) { .contact-split__panel { padding: var(--space-xl) var(--space-lg); } }
.contact-split__panel h1 { font-size: clamp(2rem, 3.4vw, 2.6rem); max-width: 14ch; color: hsl(var(--primary-foreground)); }
.contact-item { display: flex; gap: var(--space-xs); align-items: flex-start; }
.contact-item__icon {
  flex-shrink: 0;
  width: 40px; height: 40px;
  border-radius: var(--radius-md);
  background: hsl(var(--primary-foreground) / 0.12);
  color: hsl(var(--accent-glow));
  display: flex; align-items: center; justify-content: center;
}
.contact-item strong { display: block; font-family: var(--font-body); font-weight: 600; margin-bottom: 0.15rem; }
.contact-item span, .contact-item a { color: hsl(var(--primary-foreground) / 0.82); }
.contact-split__figure { min-height: 320px; }
.contact-split__figure img { width: 100%; height: 100%; object-fit: cover; }

.directions { padding: var(--space-xl) var(--space-sm); }
.directions__card {
  max-width: 720px;
  margin-inline: auto;
  border-radius: var(--radius-lg);
  border: 1px solid hsl(var(--border));
  background: hsl(var(--surface));
  box-shadow: var(--shadow-card);
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xs);
  text-align: center;
}
.directions__pin {
  width: 54px; height: 54px;
  border-radius: var(--radius-pill);
  background: hsl(var(--primary) / 0.1);
  color: hsl(var(--primary));
  display: flex; align-items: center; justify-content: center;
}
.directions__address { color: hsl(var(--muted-foreground)); font-size: 1.02rem; }

/* ---------------------------------------------------------------------------
   Footer
   ------------------------------------------------------------------------ */
.footer { background: hsl(var(--foreground)); color: hsl(var(--background)); padding: var(--space-lg) var(--space-sm) var(--space-md); }
.footer__row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-md); }
.footer__brand { display: flex; align-items: center; gap: 0.6rem; font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; }
.footer__brand img { width: 28px; height: 28px; border-radius: var(--radius-sm); }
.footer address { font-style: normal; color: hsl(var(--background) / 0.65); font-size: 0.92rem; line-height: 1.7; }
.footer nav { display: flex; gap: var(--space-sm); flex-wrap: wrap; font-size: 0.92rem; }
.footer nav a { color: hsl(var(--background) / 0.75); }
.footer nav a:hover { color: hsl(var(--background)); }
.footer__legal { margin-top: var(--space-md); padding-top: var(--space-sm); border-top: 1px solid hsl(var(--background) / 0.15); font-size: 0.82rem; color: hsl(var(--background) / 0.55); }
.footer__legal a { color: hsl(var(--background) / 0.8); text-decoration: underline; text-underline-offset: 2px; }
