/* ==========================================================================
   Νίκολα Παπαγεωργοπούλου — Οδοντιατρείο | main stylesheet
   ========================================================================== */

/* ---------- Fonts (self-hosted, SIL OFL) ---------- */
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/manrope-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: "Manrope";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/manrope-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: 500 700;
  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: 500 700;
  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;
}

/* ---------- Design tokens ---------- */
:root {
  --ink: #161b36;
  --ink-soft: #3d4466;
  --muted: #5d6385;
  --primary: #4a5bd4;
  --primary-dark: #3644ad;
  --primary-tint: #eef0fc;
  --accent: #b9539a;
  --accent-tint: #fbeef6;
  --bg: #ffffff;
  --bg-alt: #f7f7fc;
  --line: #e4e6f2;
  --star: #f5a524;
  --success: #1f8a5b;
  --danger: #b4334a;

  --font-sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-serif: "Literata", Georgia, "Times New Roman", serif;

  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow-sm: 0 1px 2px rgb(22 27 54 / 6%), 0 2px 8px rgb(22 27 54 / 5%);
  --shadow: 0 2px 6px rgb(22 27 54 / 5%), 0 12px 32px rgb(22 27 54 / 9%);
  --shadow-lg: 0 24px 60px rgb(22 27 54 / 16%);

  --container: 1180px;
  --gutter: clamp(1.1rem, 4vw, 2rem);
  --section-y: clamp(4rem, 9vw, 7rem);
  --header-h: 72px;

  color-scheme: light;
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  line-height: 1.65;
  color: var(--ink-soft);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

h1, h2, h3, h4 {
  margin: 0 0 0.6em;
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.15;
  color: var(--ink);
  letter-spacing: -0.01em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.3rem, 1.6rem + 3.2vw, 4rem); }
h2 { font-size: clamp(1.8rem, 1.4rem + 1.8vw, 2.75rem); }
h3 { font-size: clamp(1.15rem, 1.05rem + 0.4vw, 1.35rem); }

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

a {
  color: var(--primary-dark);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
a:hover { color: var(--accent); }

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

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 1000;
  padding: 0.75rem 1.1rem;
  border-radius: var(--radius-sm);
  background: var(--ink);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}
.skip-link:focus { top: 1rem; color: #fff; }

.container {
  width: min(100% - 2 * var(--gutter), var(--container));
  margin-inline: auto;
}

.icon {
  width: 1.25em;
  height: 1.25em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 48px;
  padding: 0.8rem 1.4rem;
  border: 2px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: linear-gradient(135deg, var(--primary), #6a55c9);
  color: #fff;
  box-shadow: 0 8px 22px rgb(74 91 212 / 32%);
}
.btn-primary:hover { color: #fff; box-shadow: 0 12px 28px rgb(74 91 212 / 40%); }
.btn-ghost {
  background: #fff;
  border-color: var(--line);
  color: var(--ink);
}
.btn-ghost:hover { border-color: var(--primary); color: var(--primary-dark); }
.btn-small { min-height: 42px; padding: 0.55rem 1.05rem; font-size: 0.95rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgb(255 255 255 / 86%);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px rgb(22 27 54 / 6%);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin-right: auto;
  color: var(--ink);
  text-decoration: none;
}
.brand:hover { color: var(--ink); }
.brand img { width: 42px; height: 42px; }
.brand-text { display: grid; line-height: 1.15; }
.brand-name { font-family: var(--font-serif); font-weight: 600; font-size: 1.08rem; }
.brand-sub { font-size: 0.78rem; color: var(--muted); letter-spacing: 0.02em; }

@media (max-width: 480px) {
  .site-header .brand { gap: 0.55rem; }
  .site-header .brand img { width: 36px; height: 36px; }
  .site-header .brand-name { font-size: 1rem; line-height: 1.12; }
  .site-header .brand-sub { display: none; }
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
}
.nav-toggle .icon { width: 24px; height: 24px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
}
.site-nav a {
  display: block;
  padding: 0.55rem 0.8rem;
  border-radius: 999px;
  color: var(--ink-soft);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
}
.site-nav a:hover { background: var(--primary-tint); color: var(--primary-dark); }

.header-actions { display: flex; align-items: center; gap: 0.6rem; }
.lang-switch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 42px;
  padding: 0 0.7rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-decoration: none;
}
.lang-switch:hover { border-color: var(--primary); }

@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .header-actions .btn { display: none; }
  .site-nav {
    position: absolute;
    inset: 100% 0 auto;
    padding: 0.75rem var(--gutter) 1.5rem;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 30px rgb(22 27 54 / 10%);
    display: none;
  }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0.15rem; }
  .site-nav a { padding: 0.85rem 1rem; border-radius: 12px; font-size: 1.05rem; }
}

/* ---------- Sections ---------- */
.section { padding-block: var(--section-y); }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 720px; margin-bottom: clamp(2rem, 5vw, 3.25rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p { font-size: 1.08rem; color: var(--muted); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(2.5rem, 6vw, 5rem) clamp(3.5rem, 8vw, 6rem);
  background:
    radial-gradient(900px 500px at 105% -10%, rgb(185 83 154 / 14%), transparent 60%),
    radial-gradient(800px 520px at -10% 110%, rgb(74 91 212 / 14%), transparent 60%),
    linear-gradient(180deg, #fff, var(--bg-alt));
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 4.5rem);
}
.hero h1 em {
  font-style: italic;
  background: linear-gradient(120deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero .lead {
  max-width: 560px;
  font-size: clamp(1.05rem, 1rem + 0.35vw, 1.22rem);
  color: var(--ink-soft);
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.8rem; margin: 1.8rem 0 2rem; }

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.4rem;
  list-style: none;
  font-size: 0.95rem;
  color: var(--muted);
}
.hero-meta li { display: inline-flex; align-items: center; gap: 0.45rem; }
.hero-meta .icon { color: var(--primary); }

.hero-media { position: relative; }
.hero-media picture img {
  width: 100%;
  aspect-ratio: 4 / 3.4;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.hero-media::before {
  content: "";
  position: absolute;
  inset: 8% -6% -6% 10%;
  z-index: -1;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgb(74 91 212 / 18%), rgb(185 83 154 / 18%));
}

.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.85rem 1.1rem;
  border-radius: var(--radius);
  background: rgb(255 255 255 / 94%);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: var(--shadow);
  color: var(--ink);
  text-decoration: none;
  line-height: 1.25;
}
.float-card:hover { color: var(--ink); }
.float-card small { display: block; color: var(--muted); font-size: 0.8rem; }
.float-card strong { font-size: 1.05rem; }
.float-rating { left: -1.5rem; bottom: 1.75rem; }
.float-since { right: -1rem; top: 1.5rem; }
.float-since .badge-num {
  font-family: var(--font-serif);
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--primary);
}

.stars { display: inline-flex; gap: 2px; color: var(--star); }
.stars .icon { width: 1rem; height: 1rem; fill: currentColor; stroke: none; }
.rating-score {
  font-family: var(--font-serif);
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--ink);
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { max-width: 620px; margin-inline: auto; width: 100%; }
  .float-rating { left: 0.75rem; bottom: 0.75rem; }
  .float-since { right: 0.75rem; top: 0.75rem; }
}

/* ---------- Highlights strip ---------- */
.highlights {
  position: relative;
  z-index: 2;
  margin-top: calc(-1 * clamp(2rem, 4vw, 3rem));
}
.highlights ul {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  overflow: hidden;
  list-style: none;
  border-radius: var(--radius);
  background: var(--line);
  box-shadow: var(--shadow);
}
.highlights li {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 1.25rem 1.35rem;
  background: #fff;
}
.highlights .icon-wrap {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  flex: none;
  border-radius: 14px;
  background: var(--primary-tint);
  color: var(--primary);
}
.highlights strong { display: block; color: var(--ink); line-height: 1.3; }
.highlights span { font-size: 0.88rem; color: var(--muted); line-height: 1.35; }
@media (max-width: 900px) { .highlights ul { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .highlights ul { grid-template-columns: 1fr; } }

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  align-items: center;
  gap: clamp(2rem, 6vw, 5rem);
}
.about-media { position: relative; }
.about-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.about-quote {
  position: absolute;
  right: -1rem;
  bottom: -1.5rem;
  max-width: 300px;
  margin: 0;
  padding: 1.1rem 1.3rem;
  border-radius: var(--radius);
  background: var(--ink);
  color: #fff;
  font-family: var(--font-serif);
  font-size: 1.02rem;
  font-style: italic;
  line-height: 1.45;
  box-shadow: var(--shadow-lg);
}
.check-list { display: grid; gap: 0.7rem; margin: 1.5rem 0 2rem; list-style: none; }
.check-list li { display: flex; gap: 0.7rem; align-items: flex-start; }
.check-list .icon {
  margin-top: 0.2rem;
  padding: 3px;
  border-radius: 50%;
  background: var(--primary-tint);
  color: var(--primary);
  stroke-width: 2.6;
}
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-quote { position: static; max-width: none; margin-top: 1rem; }
}

/* ---------- Services ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
  gap: 1.25rem;
  list-style: none;
}
.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 1.75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.service-card:hover {
  transform: translateY(-4px);
  border-color: transparent;
  box-shadow: var(--shadow);
}
.service-icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: 1.2rem;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--primary-tint), var(--accent-tint));
  color: var(--primary);
}
.service-icon .icon { width: 28px; height: 28px; }
.service-card p { color: var(--muted); font-size: 0.98rem; }
.service-card .by {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px dashed var(--line);
  font-size: 0.85rem;
  color: var(--muted);
}
.service-card .by strong { color: var(--ink-soft); font-weight: 700; }

/* ---------- Team ---------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  list-style: none;
}
.team-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.4rem;
  height: 100%;
  padding: 1.75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}
.avatar {
  display: grid;
  place-items: center;
  width: 104px;
  height: 104px;
  overflow: hidden;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  box-shadow: 0 0 0 5px #fff, 0 0 0 6px var(--line);
}
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar-2 { background: linear-gradient(135deg, #2f8f9d, #4a5bd4); }
.avatar-3 { background: linear-gradient(135deg, #b9539a, #e0876a); }
.avatar-4 { background: linear-gradient(135deg, #6a55c9, #2f8f9d); }

.team-card h3 { margin-bottom: 0.2rem; }
.team-role { margin-bottom: 0.9rem; color: var(--accent); font-weight: 700; font-size: 0.95rem; }
.team-card p { font-size: 0.97rem; }
.chips { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0 0 1rem; list-style: none; }
.chips li {
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: var(--primary-tint);
  color: var(--primary-dark);
  font-size: 0.8rem;
  font-weight: 700;
}
.team-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 700;
  font-size: 0.92rem;
}
.team-link .icon { width: 1rem; height: 1rem; }
@media (max-width: 960px) { .team-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) {
  .team-card { grid-template-columns: 1fr; }
  .avatar { width: 88px; height: 88px; font-size: 1.7rem; }
}

/* ---------- Space / gallery ---------- */
.gallery {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  grid-template-rows: auto auto;
  gap: 1.25rem;
}
.gallery figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--line);
}
.gallery .tall { grid-column: 2; grid-row: 1 / span 2; }
.gallery picture { height: 100%; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.gallery figure:not(.tall) img { aspect-ratio: 3 / 2; }
.gallery figure:hover img { transform: scale(1.03); }
.gallery figcaption {
  position: absolute;
  inset: auto 0 0;
  padding: 2.5rem 1.25rem 1.1rem;
  background: linear-gradient(180deg, transparent, rgb(22 27 54 / 78%));
  color: #fff;
  font-weight: 600;
  line-height: 1.35;
}
.gallery figcaption span { display: block; font-weight: 400; font-size: 0.9rem; opacity: 0.88; }
@media (max-width: 760px) {
  .gallery { grid-template-columns: 1fr; }
  .gallery .tall { grid-column: auto; grid-row: auto; }
  .gallery .tall img { aspect-ratio: 3 / 4; }
}

/* ---------- Reviews ---------- */
.reviews-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: clamp(2rem, 5vw, 3rem);
}
.reviews-head .section-head { margin-bottom: 0; }
.rating-summary {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.3rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.rating-summary small { display: block; color: var(--muted); font-size: 0.85rem; }
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr));
  gap: 1.25rem;
  list-style: none;
}
.review-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  margin: 0;
  padding: 1.6rem;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.review-card blockquote {
  margin: 0.9rem 0 1.2rem;
  color: var(--ink-soft);
  font-size: 0.98rem;
}
.review-card blockquote p { margin: 0; }
.review-card figcaption {
  margin-top: auto;
  font-size: 0.85rem;
  color: var(--muted);
}
.reviews-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.8rem; margin-top: 2.25rem; }
.note { margin-top: 1rem; text-align: center; font-size: 0.82rem; color: var(--muted); }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 1.5rem;
  align-items: stretch;
}
.contact-card {
  padding: clamp(1.5rem, 4vw, 2.25rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
}
.contact-list { display: grid; gap: 1.25rem; margin-bottom: 1.75rem; list-style: none; }
.contact-list li { display: flex; gap: 0.9rem; }
.contact-list .icon-wrap {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: 12px;
  background: var(--primary-tint);
  color: var(--primary);
}
.contact-list small {
  display: block;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.contact-list a, .contact-list address {
  color: var(--ink);
  font-style: normal;
  font-weight: 600;
  text-decoration: none;
}
.contact-list a:hover { color: var(--primary-dark); text-decoration: underline; }

.hours-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 0.6rem; }
.hours-head h3 { margin: 0; }
.open-status {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
}
.open-status[hidden] { display: none; }
.open-status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.open-status.is-open { background: #e6f5ee; color: var(--success); }
.open-status.is-closed { background: #fbebee; color: var(--danger); }

.hours { width: 100%; border-collapse: collapse; font-size: 0.97rem; }
.hours th, .hours td { padding: 0.55rem 0.4rem; border-bottom: 1px solid var(--line); text-align: left; }
.hours th { font-weight: 600; color: var(--ink-soft); }
.hours td { text-align: right; font-variant-numeric: tabular-nums; color: var(--ink); }
.hours tr:last-child th, .hours tr:last-child td { border-bottom: 0; }
.hours tr.is-today th, .hours tr.is-today td { color: var(--primary-dark); font-weight: 800; }
.hours .closed { color: var(--muted); }
.contact-cta { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.75rem; }

.map-card {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(rgb(255 255 255 / 55%), rgb(255 255 255 / 55%)),
    repeating-linear-gradient(0deg, transparent 0 46px, rgb(74 91 212 / 10%) 46px 48px),
    repeating-linear-gradient(90deg, transparent 0 62px, rgb(74 91 212 / 10%) 62px 64px),
    linear-gradient(135deg, #e9ecfb, #f8eef5);
  border: 1px solid var(--line);
}
.map-card iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-consent {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 0.9rem;
  padding: 2rem;
  text-align: center;
}
.map-pin {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  background: linear-gradient(135deg, var(--primary), var(--accent));
  box-shadow: var(--shadow);
}
.map-pin .icon { transform: rotate(45deg); color: #fff; width: 28px; height: 28px; }
.map-consent p { max-width: 340px; margin: 0; font-size: 0.88rem; color: var(--muted); }
.map-consent strong { color: var(--ink); font-size: 1.05rem; }
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
  .map-card { min-height: 340px; }
}

/* ---------- CTA band ---------- */
.cta-band {
  padding-block: clamp(3rem, 7vw, 4.5rem);
  background:
    radial-gradient(600px 300px at 90% 0%, rgb(185 83 154 / 45%), transparent 70%),
    linear-gradient(135deg, #222a5c, var(--ink));
  color: #dfe2f5;
}
.cta-band .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.cta-band h2 { margin: 0 0 0.35rem; color: #fff; }
.cta-band p { margin: 0; }
.cta-band .btn-ghost { background: transparent; color: #fff; border-color: rgb(255 255 255 / 35%); }
.cta-band .btn-ghost:hover { border-color: #fff; color: #fff; }
.cta-band .actions { display: flex; flex-wrap: wrap; gap: 0.8rem; }

/* ---------- Footer ---------- */
.site-footer {
  padding-block: 3.5rem 2rem;
  background: #0f1329;
  color: #b5b9d4;
  font-size: 0.95rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2.25rem;
  border-bottom: 1px solid rgb(255 255 255 / 10%);
}
.site-footer h2 {
  margin-bottom: 0.9rem;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
}
.site-footer a { color: #dfe2f5; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer ul { display: grid; gap: 0.45rem; list-style: none; }
.site-footer address { font-style: normal; }
.site-footer .brand { margin-bottom: 1rem; color: #fff; }
.site-footer .brand-sub { color: #9a9fc0; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 1.5rem;
  font-size: 0.85rem;
  color: #8f94b5;
}
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Mobile action bar ---------- */
.mobile-bar { display: none; }
@media (max-width: 700px) {
  body { padding-bottom: 76px; }
  .mobile-bar {
    position: fixed;
    inset: auto 0 0;
    z-index: 90;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
    padding: 0.7rem var(--gutter) calc(0.7rem + env(safe-area-inset-bottom));
    background: rgb(255 255 255 / 94%);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid var(--line);
  }
  .mobile-bar .btn { width: 100%; }
}

/* ---------- 404 ---------- */
.not-found {
  display: grid;
  place-content: center;
  min-height: 70vh;
  padding: 3rem var(--gutter);
  text-align: center;
}
.not-found .code {
  font-family: var(--font-serif);
  font-size: clamp(4rem, 12vw, 8rem);
  font-weight: 700;
  line-height: 1;
  background: linear-gradient(120deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.not-found .actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.8rem; margin-top: 1.5rem; }
.not-found h1 { margin: 0.75rem 0 1rem; }
.not-found p { margin: 0.25rem 0; }

/* ---------- Motion (progressive enhancement, CSS-only) ---------- */
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .reveal {
      animation: reveal-up linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 40%;
    }
  }
}
@keyframes reveal-up {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: none; }
}

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

/* ---------- Print ---------- */
@media print {
  .site-header, .mobile-bar, .map-card, .cta-band, .nav-toggle { display: none !important; }
  body { padding: 0; color: #000; }
  .section { padding-block: 1.5rem; }
}
