/* Ergin Dent — site styles (no framework). */

/* Fonts: self-hosted variable fonts, Latin + Cyrillic subsets */
@font-face {
  font-family: "Literata";
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  src: url("../fonts/literata-cyrillic-wght-normal.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Literata";
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  src: url("../fonts/literata-latin-wght-normal.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: "Onest";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/onest-cyrillic-wght-normal.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Onest";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/onest-latin-wght-normal.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;
}

:root {
  --porcelain: #f1f5f3;
  --white: #ffffff;
  --ink: #12302f;
  --text: #2c4543;
  --muted: #566c69;
  --teal: #0b5d57;
  --teal-hover: #084a45;
  --teal-deep: #0a3b38;
  --mint: #dcebe5;
  --brass: #a97a2c;
  --line: rgba(18, 48, 47, 0.14);
  --serif: "Literata", Georgia, "Times New Roman", serif;
  --sans: "Onest", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 72px;
  color-scheme: light;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--porcelain);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1.125rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--serif);
  color: var(--ink);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
  text-wrap: balance;
}

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

a {
  color: var(--teal);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}
a:hover { color: var(--teal-hover); }

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

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

svg { flex-shrink: 0; }

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

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
  border-radius: 8px;
}
.skip-link:focus { top: 12px; color: #fff; }

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

section[id] { scroll-margin-top: calc(var(--header-h) + 8px); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 12px 22px;
  border: 1.5px solid transparent;
  border-radius: 10px;
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.btn svg { width: 20px; height: 20px; }
.btn-primary { background: var(--teal); color: #fff; }
.btn-primary:hover { background: var(--teal-hover); color: #fff; }
.btn-secondary {
  background: transparent;
  color: var(--teal);
  border-color: rgba(11, 93, 87, 0.45);
}
.btn-secondary:hover { border-color: var(--teal); background: rgba(11, 93, 87, 0.06); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(241, 245, 243, 0.94);
  -webkit-backdrop-filter: saturate(1.2) blur(10px);
  backdrop-filter: saturate(1.2) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }

.header-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.brand:hover { color: var(--ink); }
.brand svg { width: 34px; height: 34px; }

.nav { margin-left: auto; }
.nav ul {
  display: flex;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav a {
  display: block;
  padding: 8px 11px;
  border-radius: 8px;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}
.nav a:hover { background: rgba(11, 93, 87, 0.08); color: var(--teal); }
.nav .nav-mobile-only { display: none; }

.lang {
  display: flex;
  gap: 2px;
  font-size: 0.95rem;
  font-weight: 600;
}
.lang a, .lang span {
  padding: 6px 9px;
  border-radius: 6px;
  line-height: 1.2;
  text-decoration: none;
}
.lang a { color: var(--ink); }
.lang a:hover { background: rgba(11, 93, 87, 0.08); }
.lang [aria-current] { background: var(--ink); color: #fff; }

.header-call { min-height: 44px; padding: 8px 16px; font-size: 1rem; white-space: nowrap; }

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
}
.menu-toggle svg { width: 24px; height: 24px; }
.menu-toggle .icon-close { display: none; }
.menu-toggle[aria-expanded="true"] .icon-open { display: none; }
.menu-toggle[aria-expanded="true"] .icon-close { display: block; }

@media (max-width: 1180px) {
  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    display: none;
    margin: 0;
    padding: 8px var(--gutter) 24px;
    background: var(--porcelain);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px -24px rgba(18, 48, 47, 0.35);
  }
  .nav.is-open { display: block; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav a {
    padding: 14px 2px;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    font-size: 1.15rem;
  }
  .nav .nav-mobile-only { display: block; }
  .lang { margin-left: auto; }
  .menu-toggle { display: inline-flex; }
  .header-call { display: none; }
}

/* Hero */
.hero { padding: clamp(36px, 6vw, 88px) 0 clamp(56px, 8vw, 112px); }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.hero-who {
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 1.05rem;
}

.hero h1 {
  margin-bottom: 24px;
  font-size: clamp(2.5rem, 5.4vw, 4.5rem);
  line-height: 1.03;
  letter-spacing: -0.022em;
}

.hero-lead {
  max-width: 34em;
  font-size: clamp(1.15rem, 1.5vw, 1.3rem);
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 30px 0 40px;
}

.facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, auto));
  gap: 16px 28px;
  margin: 0;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.facts dt {
  margin-bottom: 2px;
  color: var(--muted);
  font-size: 0.92rem;
}
.facts dd {
  margin: 0;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.45;
}
.facts a { color: var(--ink); text-decoration: none; }
.facts a:hover { color: var(--teal); text-decoration: underline; }

/* The certificate wall — the one memorable element */
.wall-wrap { margin: 0; }
.wall {
  position: relative;
  width: 100%;
  max-width: 540px;
  aspect-ratio: 1 / 1.04;
  margin-left: auto;
}
.frame {
  position: absolute;
  margin: 0;
  padding: 3.2%;
  background: var(--white);
  border: 1px solid rgba(18, 48, 47, 0.12);
  box-shadow: 0 1px 0 rgba(18, 48, 47, 0.06), 0 22px 44px -22px rgba(18, 48, 47, 0.55);
}
.frame img, .cert-frame img { border: 1px solid rgba(169, 122, 44, 0.5); }
.frame--a { top: 0; right: 0; width: 66%; transform: rotate(2.5deg); z-index: 1; }
.frame--b { top: 19%; left: 0; width: 44%; transform: rotate(-4deg); z-index: 2; }
.frame--c { right: 8%; bottom: 0; width: 41%; transform: rotate(3.5deg); z-index: 3; }

.wall-caption {
  max-width: 540px;
  margin: 26px 0 0 auto;
  color: var(--muted);
  font-size: 0.98rem;
}

@media (prefers-reduced-motion: no-preference) {
  .frame { animation: hang 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
  .frame--a { animation-delay: 0.05s; }
  .frame--b { animation-delay: 0.18s; }
  .frame--c { animation-delay: 0.31s; }
}
@keyframes hang {
  from { opacity: 0; translate: 0 28px; }
  to { opacity: 1; translate: 0 0; }
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .wall { max-width: 440px; margin: 0 auto; }
  .wall-caption { max-width: 440px; margin: 22px auto 0; text-align: center; }
}
@media (max-width: 620px) {
  .facts { grid-template-columns: minmax(0, 1fr); }
  .hero-actions .btn { width: 100%; }
}

/* Sections */
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section--white { background: var(--white); }
.section--deep { background: var(--teal-deep); color: #d3e5e0; }
.section--deep h2, .section--deep h3 { color: #fff; }
.section--deep a { color: #fff; }

.section-head {
  max-width: 720px;
  margin-bottom: clamp(32px, 4vw, 56px);
}
.section-head h2, .split h2 { font-size: clamp(2rem, 3.6vw, 3rem); }
.section-head p { color: var(--muted); font-size: 1.15rem; }
.section--deep .section-head p { color: #b9d3cc; }

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(36px, 6vw, 96px);
  align-items: start;
}
.split > div > p { max-width: 62ch; }
@media (max-width: 900px) {
  .split { grid-template-columns: minmax(0, 1fr); }
}

/* Services */
.services {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 clamp(24px, 4vw, 56px);
  margin: 0;
  padding: 0;
  list-style: none;
}
.service {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 0 18px;
  align-items: start;
  padding: 28px 0 34px;
  border-top: 1px solid var(--line);
}
.service svg { width: 42px; height: 42px; color: var(--teal); }
.service h3 { margin: 4px 0 8px; font-size: 1.4rem; }
.service p { margin: 0; font-size: 1.05rem; }
.services-note { margin: 28px 0 0; font-size: 1.05rem; }
@media (max-width: 960px) { .services { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .services { grid-template-columns: minmax(0, 1fr); } }

/* Timelines (real sequences: career years, training years) */
.timeline {
  position: relative;
  margin: 0;
  padding: 0;
  list-style: none;
}
.timeline::before {
  content: "";
  position: absolute;
  top: 10px;
  bottom: 10px;
  left: 5px;
  width: 2px;
  background: rgba(169, 122, 44, 0.35);
}
.timeline li {
  position: relative;
  padding: 0 0 26px 34px;
}
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: "";
  position: absolute;
  top: 0.55em;
  left: 0;
  width: 12px;
  height: 12px;
  border: 2px solid var(--brass);
  border-radius: 50%;
  background: var(--porcelain);
}
.timeline .year {
  display: block;
  color: var(--teal);
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 600;
  line-height: 1.25;
}
.timeline .event { display: block; font-size: 1.05rem; }

.section--deep .timeline li::before { background: var(--teal-deep); border-color: #d1a75a; }
.section--deep .timeline::before { background: rgba(209, 167, 90, 0.4); }
.section--deep .timeline .year { color: #9fd6c8; }

.about-note {
  margin-top: 28px;
  padding: 20px 22px;
  background: var(--white);
  border-left: 3px solid var(--brass);
  color: var(--ink);
}
.about-note p { margin: 0; }

/* Certificates */
.cert-wall {
  columns: 3 280px;
  column-gap: 28px;
}
.cert {
  margin: 0 0 30px;
  break-inside: avoid;
}
.cert-link {
  display: block;
  color: inherit;
  text-decoration: none;
  cursor: zoom-in;
}
.cert-frame {
  display: block;
  padding: 12px;
  background: var(--white);
  border: 1px solid rgba(18, 48, 47, 0.12);
  box-shadow: 0 16px 32px -22px rgba(18, 48, 47, 0.55);
  transition: box-shadow 0.2s ease;
}
.cert-link:hover .cert-frame { box-shadow: 0 22px 40px -22px rgba(18, 48, 47, 0.7); }
.cert figcaption {
  margin-top: 12px;
  font-size: 0.98rem;
  line-height: 1.45;
}
.cert figcaption strong { display: block; color: var(--ink); font-weight: 600; }
.cert figcaption span { color: var(--muted); }

/* Lightbox */
.lightbox {
  width: 100vw;
  max-width: 100vw;
  height: 100vh;
  height: 100dvh;
  max-height: 100vh;
  max-height: 100dvh;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
}
.lightbox::backdrop { background: rgba(8, 28, 27, 0.9); }
.lb-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: 100%;
  height: 100%;
  padding: 64px 72px 28px;
}
.lb-stage figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.lb-stage img {
  max-width: min(92vw, 1400px);
  max-height: calc(100dvh - 170px);
  width: auto;
  height: auto;
  background: #fff;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}
.lb-stage figcaption { max-width: 60ch; text-align: center; font-size: 1rem; line-height: 1.45; }
.lb-caption { display: block; }
.lb-count { display: block; margin-top: 6px; color: #b9d3cc; font-size: 0.9rem; }
.lb-btn {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  cursor: pointer;
}
.lb-btn:hover { background: rgba(255, 255, 255, 0.18); }
.lb-btn svg { width: 22px; height: 22px; }
.lb-close { top: 14px; right: 14px; }
.lb-prev { left: 14px; top: 50%; translate: 0 -50%; }
.lb-next { right: 14px; top: 50%; translate: 0 -50%; }
@media (max-width: 620px) {
  .lb-stage { padding: 64px 12px 84px; }
  .lb-prev, .lb-next { top: auto; bottom: 18px; translate: none; }
  .lb-prev { left: calc(50% - 60px); }
  .lb-next { right: calc(50% - 60px); }
}

/* FAQ */
.faq { max-width: 860px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  position: relative;
  padding: 22px 48px 22px 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 600;
  line-height: 1.3;
  list-style: none;
  cursor: pointer;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 6px;
  width: 14px;
  height: 14px;
  margin-top: -9px;
  border-right: 2px solid var(--teal);
  border-bottom: 2px solid var(--teal);
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq .answer { padding: 0 0 24px; max-width: 68ch; }
.faq .answer p:last-child { margin-bottom: 0; }

/* Contact */
.contact-address {
  margin: 0 0 26px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
  font-style: normal;
  font-weight: 600;
  line-height: 1.25;
}
.contact-list {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px 24px;
  margin: 0 0 30px;
}
.contact-list dt { color: var(--muted); }
.contact-list dd { margin: 0; color: var(--ink); font-weight: 500; }
.contact-list a, .facts a { white-space: nowrap; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.map {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 4 / 3;
  padding: 28px;
  overflow: hidden;
  border-radius: 14px;
  background-color: var(--mint);
  background-image:
    linear-gradient(28deg, transparent 47%, rgba(255, 255, 255, 0.85) 47.5%, rgba(255, 255, 255, 0.85) 52.5%, transparent 53%),
    linear-gradient(118deg, transparent 48.5%, rgba(255, 255, 255, 0.7) 49%, rgba(255, 255, 255, 0.7) 51%, transparent 51.5%),
    repeating-linear-gradient(0deg, transparent 0 46px, rgba(255, 255, 255, 0.45) 46px 49px),
    repeating-linear-gradient(90deg, transparent 0 62px, rgba(255, 255, 255, 0.45) 62px 65px);
  text-align: center;
}
.map-inner {
  max-width: 320px;
  padding: 22px 24px;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 12px;
  box-shadow: 0 16px 36px -20px rgba(18, 48, 47, 0.5);
}
.map-inner svg { width: 34px; height: 34px; margin: 0 auto 8px; color: var(--teal); }
.map-inner p { margin: 0 0 14px; font-size: 0.98rem; color: var(--text); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map.is-loaded .map-inner { display: none; }
@media (max-width: 620px) {
  .map { aspect-ratio: auto; height: 360px; padding: 20px; }
}

/* Booking page */
.page-hero { padding: clamp(28px, 4.5vw, 56px) 0 clamp(32px, 4.5vw, 52px); }
.page-hero h1 {
  margin-bottom: 18px;
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.page-lead {
  max-width: 40em;
  margin: 0;
  font-size: clamp(1.15rem, 1.5vw, 1.3rem);
  line-height: 1.6;
}
.crumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 0.95rem;
}
.crumbs li + li::before { content: "/"; margin-right: 6px; color: rgba(18, 48, 47, 0.35); }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--teal); }

.book-section { padding: 0 0 clamp(56px, 8vw, 104px); }
.book-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(16px, 3vw, 32px);
}
.book-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding: clamp(24px, 3.5vw, 40px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
}
.book-card--main { border-left: 3px solid var(--brass); }
.book-card h2 {
  margin: 0;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0;
}
.book-card p { margin: 0 0 16px; }
.book-card .btn { margin-top: auto; }
.book-phone {
  color: var(--teal);
  font-family: var(--serif);
  font-size: clamp(1.9rem, 6.5vw, 3.6rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.01em;
  text-decoration: none;
  white-space: nowrap;
}
.book-phone:hover { color: var(--teal-hover); text-decoration: underline; }
.book-card .book-email {
  margin: 0 0 8px;
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  font-weight: 600;
  line-height: 1.2;
  overflow-wrap: anywhere;
}
.book-email a { text-decoration: none; }
.book-email a:hover { text-decoration: underline; }
@media (max-width: 760px) {
  .book-grid { grid-template-columns: minmax(0, 1fr); }
  .book-card .btn { width: 100%; }
}

.steps {
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}
.steps li {
  position: relative;
  padding: 0 0 28px 60px;
  counter-increment: step;
}
.steps li:last-child { padding-bottom: 0; }
.steps li::before {
  content: counter(step);
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 2px solid var(--brass);
  border-radius: 50%;
  background: var(--white);
  color: var(--teal);
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 600;
}
.steps h3 { margin: 8px 0 6px; font-size: 1.3rem; }
.steps p { margin: 0; }

.section--compact { padding: clamp(48px, 6vw, 72px) 0; }
.more-title { font-size: clamp(1.5rem, 2.4vw, 1.9rem); }
.more-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.more-links a {
  display: inline-block;
  padding: 10px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  font-weight: 500;
  text-decoration: none;
}
.more-links a:hover { border-color: var(--teal); color: var(--teal); }

/* Footer */
.site-footer {
  padding: 56px 0 36px;
  background: var(--ink);
  color: #c4d6d2;
  font-size: 1rem;
}
.site-footer a { color: #fff; }
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 0.8fr);
  gap: 32px;
}
.site-footer .brand { color: #fff; margin-bottom: 12px; }
.site-footer h2 {
  margin: 0 0 12px;
  color: #fff;
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0;
}
.site-footer ul { margin: 0; padding: 0; list-style: none; }
.site-footer li { margin-bottom: 6px; }
.site-footer address { font-style: normal; }
.footer-bottom {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: #9fb7b2;
  font-size: 0.92rem;
}
@media (max-width: 760px) {
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
}

/* Mobile call bar */
.callbar { display: none; }
@media (max-width: 760px) {
  .callbar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 60;
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 8px;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(241, 245, 243, 0.97);
    border-top: 1px solid var(--line);
  }
  .callbar .btn { min-height: 50px; padding: 10px 12px; }
  .callbar .btn-secondary { background: var(--white); }
  body { padding-bottom: 76px; }
}

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

@media print {
  .site-header, .callbar, .map, .lightbox { display: none !important; }
  body { background: #fff; padding: 0; }
}
