/* ===================================================================
   Δέσκος Dental Implants — Shared Stylesheet
   Editorial / medical aesthetic, deep teal theme, Athens, Greece
   =================================================================== */

:root {
  --bg: #f5f9f8;
  --bg-warm: #e6efee;
  --bg-mist: #d6e6e4;
  --ink: #0e1c1c;
  --ink-soft: #4a5e5d;
  --accent: #0a7373;
  --accent-light: #2ea3a3;
  --accent-deep: #04393a;
  --accent-glow: rgba(10, 115, 115, 0.18);
  --gold: #c9a875;
  --line: rgba(14, 28, 28, 0.12);
  --serif: 'Cormorant Garamond', 'Georgia', serif;
  --sans: 'Manrope', -apple-system, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

/* ============== TOP UTILITY BAR ============== */
.topbar {
  background: var(--accent-deep);
  color: var(--bg);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  padding: 0.6rem 0;
  text-transform: uppercase;
}
.topbar-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.topbar a { opacity: 0.85; transition: opacity 0.2s; }
.topbar a:hover { opacity: 1; color: var(--gold); }

/* ============== NAV ============== */
nav.main {
  background: rgba(245, 249, 248, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1.4rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}
.logo {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1;
}
.logo em { font-style: italic; color: var(--accent); }
.logo small {
  display: block;
  font-family: var(--sans);
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: 0.3rem;
  font-weight: 500;
}
.nav-links {
  display: flex;
  gap: 2.2rem;
  list-style: none;
  font-size: 0.92rem;
  font-weight: 500;
}
.nav-links a {
  position: relative;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--accent); }
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.3s;
}
.nav-links a:hover::after { width: 100%; }

.nav-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.nav-cta {
  background: var(--accent);
  color: #fff;
  padding: 0.7rem 1.4rem;
  border-radius: 2px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  transition: background 0.2s, transform 0.2s;
}
.nav-cta:hover { background: var(--accent-deep); transform: translateY(-1px); }

/* ============== LANGUAGE SWITCHER ============== */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink-soft);
}
.lang-switch a {
  padding: 0.35rem 0.55rem;
  border: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.lang-switch a:hover { color: var(--accent); }
.lang-switch a.active {
  color: var(--accent);
  border-color: var(--accent);
}
.lang-switch span.divider {
  opacity: 0.4;
  font-weight: 400;
}

/* Mobile nav rules are defined in the HAMBURGER MENU block below — keep this section minimal. */
@media (max-width: 600px) {
  .topbar-inner { font-size: 0.7rem; padding: 0 1rem; gap: 0.8rem; }
  .lang-switch { font-size: 0.65rem; }
}

/* ============== BREADCRUMBS ============== */
.breadcrumbs {
  max-width: 1280px;
  margin: 0 auto;
  padding: 2rem 2rem 0;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.breadcrumbs a:hover { color: var(--accent); }
.breadcrumbs span[aria-current] { color: var(--ink); }

/* ============== TYPOGRAPHY ============== */
h1 {
  font-family: var(--serif);
  font-size: clamp(2.5rem, 5.5vw, 4.8rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 2rem;
}
h1 em { font-style: italic; color: var(--accent); }

h2 {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin-bottom: 2rem;
}
h2 em { font-style: italic; color: var(--accent); }

h3 {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin: 2.5rem 0 1rem;
}
h3 em { font-style: italic; color: var(--accent); }

.eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 1rem;
}
.eyebrow::before {
  content: '';
  width: 40px;
  height: 1px;
  background: var(--accent);
}

.lead {
  font-size: 1.15rem;
  color: var(--ink-soft);
  line-height: 1.7;
  margin-bottom: 2.5rem;
  max-width: 620px;
}

/* ============== BUTTONS ============== */
.btn-primary {
  background: var(--accent);
  color: #fff;
  padding: 1.1rem 2.2rem;
  border-radius: 2px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.82rem;
  transition: all 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  cursor: pointer;
  border: none;
  font-family: var(--sans);
  box-shadow: 0 6px 24px var(--accent-glow);
}
.btn-primary:hover {
  background: var(--accent-deep);
  transform: translateY(-2px);
  box-shadow: 0 10px 32px var(--accent-glow);
}
.btn-primary svg { width: 14px; height: 14px; }

.btn-secondary {
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 500;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 4px;
  transition: color 0.2s, border-color 0.2s;
}
.btn-secondary:hover { color: var(--accent); border-color: var(--accent); }

.btn-ghost {
  display: inline-block;
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 1rem 2rem;
  border: 1px solid var(--accent);
  border-radius: 2px;
  transition: all 0.3s;
}
.btn-ghost:hover {
  background: var(--accent);
  color: #fff;
}

/* ============== PAGE HERO ============== */
.page-hero {
  max-width: 1280px;
  margin: 0 auto;
  padding: 3rem 2rem 6rem;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 5rem;
  align-items: center;
}
.page-hero h1 { margin: 1.5rem 0 2rem; }
@media (max-width: 900px) {
  .page-hero {
    grid-template-columns: 1fr;
    gap: 3rem;
    padding: 2rem 1.5rem 4rem;
  }
}

.hero-visual-dark {
  aspect-ratio: 4/5;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-deep) 100%);
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(4, 57, 58, 0.25);
}
.hero-visual-dark svg { width: 100%; height: 100%; }

.hero-visual-warm {
  aspect-ratio: 4/5;
  background: linear-gradient(135deg, #d4e7e5 0%, #9ec5c1 50%, var(--accent) 100%);
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(4, 57, 58, 0.18);
}
.hero-visual-warm svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* ============== HOMEPAGE HERO (full-bleed) ============== */
.home-hero {
  position: relative;
  background: linear-gradient(135deg, var(--accent-deep) 0%, var(--accent) 55%, var(--accent-light) 100%);
  color: var(--bg);
  overflow: hidden;
}
.home-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 80% 20%, rgba(201, 168, 117, 0.12), transparent 60%),
    radial-gradient(ellipse 50% 40% at 15% 80%, rgba(255, 255, 255, 0.08), transparent 60%);
  pointer-events: none;
}
.home-hero-inner {
  position: relative;
  max-width: 1280px;
  margin: 0 auto;
  padding: 7rem 2rem 8rem;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 5rem;
  align-items: center;
  z-index: 1;
}
.home-hero h1 {
  color: var(--bg);
  font-size: clamp(2.6rem, 6vw, 5.2rem);
  margin-bottom: 2rem;
}
.home-hero h1 em { color: var(--gold); }
.home-hero .eyebrow {
  color: var(--gold);
}
.home-hero .eyebrow::before { background: var(--gold); }
.home-hero .lead {
  color: rgba(245, 249, 248, 0.85);
  font-size: 1.2rem;
  max-width: 580px;
}
.home-hero .btn-primary {
  background: var(--gold);
  color: var(--accent-deep);
  box-shadow: 0 8px 30px rgba(201, 168, 117, 0.3);
}
.home-hero .btn-primary:hover {
  background: #fff;
  color: var(--accent-deep);
}
.home-hero-meta {
  margin-top: 3rem;
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.18);
}
.home-hero-meta div {
  display: flex;
  flex-direction: column;
}
.home-hero-meta strong {
  font-family: var(--serif);
  font-size: 2rem;
  color: var(--gold);
  font-weight: 500;
  line-height: 1;
}
.home-hero-meta span {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(245, 249, 248, 0.65);
  margin-top: 0.4rem;
}
.home-hero-visual {
  aspect-ratio: 4/5;
  position: relative;
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(4, 57, 58, 0.45);
  background: linear-gradient(135deg, rgba(255,255,255,0.06), rgba(255,255,255,0.01));
  border: 1px solid rgba(255,255,255,0.15);
}
.home-hero-visual svg { width: 100%; height: 100%; }

@media (max-width: 900px) {
  .home-hero-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
    padding: 4rem 1.5rem 5rem;
  }
  .home-hero-visual { max-width: 420px; margin: 0 auto; width: 100%; }
}

/* ============== SECTIONS ============== */
section { padding: 5rem 2rem; }
.container { max-width: 1100px; margin: 0 auto; }
.container-wide { max-width: 1280px; margin: 0 auto; }
.section-warm { background: var(--bg-warm); }
.section-deep { background: var(--accent-deep); color: var(--bg); }
.section-deep h2 em { color: var(--gold); }
.section-deep .eyebrow { color: var(--gold); }
.section-deep .eyebrow::before { background: var(--gold); }

.body-text p {
  color: var(--ink-soft);
  font-size: 1.02rem;
  line-height: 1.8;
  margin-bottom: 1.3rem;
  max-width: 800px;
}
.body-text ul, .body-text ol {
  margin: 1rem 0 1.5rem 1.5rem;
  color: var(--ink-soft);
}
.body-text li { margin-bottom: 0.6rem; line-height: 1.7; }
.body-text strong { color: var(--ink); font-weight: 600; }

/* ============== SERVICES GRID ============== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}
.service-card {
  background: var(--bg);
  padding: 2.5rem 2rem;
  border: 1px solid var(--line);
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(10, 115, 115, 0.1);
  border-color: var(--accent-light);
}
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
  width: 48px;
  height: 48px;
  color: var(--accent);
  margin-bottom: 1.5rem;
}
.service-card h3 {
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 500;
  margin: 0 0 0.8rem;
  line-height: 1.25;
}
.service-card p {
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  flex: 1;
}
.service-card .read-more {
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.service-card .read-more::after { content: '→'; transition: transform 0.3s; }
.service-card:hover .read-more::after { transform: translateX(4px); }

@media (max-width: 900px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .services-grid { grid-template-columns: 1fr; }
}

/* ============== STATS / TRUST BAND ============== */
.stats-band {
  background: var(--accent-deep);
  color: var(--bg);
  padding: 4rem 2rem;
}
.stats-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}
.stat strong {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  color: var(--gold);
  font-weight: 500;
  display: block;
  line-height: 1.1;
}
.stat span {
  display: block;
  margin-top: 0.6rem;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(245, 249, 248, 0.72);
}
@media (max-width: 700px) {
  .stats-inner { grid-template-columns: repeat(2, 1fr); gap: 2.5rem; }
}

/* ============== ABOUT SPLIT ============== */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 5rem;
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
}
.about-visual {
  aspect-ratio: 4/5;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-deep) 100%);
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(4, 57, 58, 0.22);
}
.about-credentials {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}
.credential {
  padding: 1.2rem 1.4rem;
  background: var(--bg);
  border-left: 2px solid var(--accent);
}
.credential strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.1rem;
  color: var(--ink);
  font-weight: 500;
  margin-bottom: 0.3rem;
}
.credential span {
  font-size: 0.8rem;
  color: var(--ink-soft);
  letter-spacing: 0.02em;
}
@media (max-width: 900px) {
  .about-split { grid-template-columns: 1fr; gap: 3rem; }
  .about-visual { max-width: 420px; }
}

/* ============== LOCATION BLOCK ============== */
.location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin-top: 3rem;
  border: 1px solid var(--line);
}
.location-info {
  padding: 3rem;
}
.location-info h3 {
  font-family: var(--serif);
  font-size: 1.5rem;
  margin: 0 0 1rem;
}
.location-info p {
  color: var(--ink-soft);
  font-size: 0.98rem;
  line-height: 1.7;
  margin-bottom: 1.2rem;
}
.location-info ul {
  list-style: none;
  margin-top: 1.5rem;
}
.location-info li {
  padding: 0.6rem 0;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  font-size: 0.92rem;
  color: var(--ink-soft);
}
.location-info li strong { color: var(--ink); font-weight: 600; }
.location-map {
  background: linear-gradient(135deg, var(--bg-warm), var(--bg-mist));
  min-height: 420px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.location-map iframe {
  width: 100%;
  height: 100%;
  min-height: 380px;
  flex: 1;
  border: 0;
  display: block;
  filter: saturate(0.85);
}
.location-map svg { width: 100%; height: 100%; }
.map-osm-link {
  display: block;
  text-align: center;
  padding: 0.65rem 1rem;
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--accent);
  background: var(--bg);
  border-top: 1px solid var(--line);
  transition: background 0.2s, color 0.2s;
}
.map-osm-link:hover {
  background: var(--accent);
  color: #fff;
}

.map-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin: 1.5rem 0 1.5rem;
}
.btn-map {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.2rem;
  border: 1px solid var(--line);
  background: var(--bg);
  border-radius: 2px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ink);
  transition: all 0.25s;
  min-height: 44px;
}
.btn-map svg { width: 18px; height: 18px; }
.btn-map:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-1px);
}
.btn-map-google svg { color: #1a73e8; }
.btn-map-apple svg { color: var(--ink); }
.btn-map-apple:hover svg, .btn-map-google:hover svg { color: var(--accent); }

/* ============== PROCESS STEPS (numbered) ============== */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}
.process-step {
  position: relative;
  padding: 2rem 1.8rem;
  background: var(--bg);
  border-top: 3px solid var(--accent);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s, box-shadow 0.3s;
}
.process-step:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(10, 115, 115, 0.1);
}
.process-number {
  font-family: var(--serif);
  font-size: 3rem;
  font-weight: 300;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 1.2rem;
  opacity: 0.85;
}
.process-step h3 {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 500;
  margin: 0 0 0.8rem;
  line-height: 1.25;
}
.process-step p {
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 1.2rem;
  flex: 1;
}
.process-meta {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}
@media (max-width: 900px) {
  .process-grid { grid-template-columns: repeat(2, 1fr); gap: 1.2rem; }
}
@media (max-width: 600px) {
  .process-grid { grid-template-columns: 1fr; }
}

/* ============== PRICING TABLE ============== */
.pricing-table {
  margin-top: 3rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 2px;
  overflow: hidden;
}
.pricing-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: center;
  padding: 1.4rem 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: background 0.2s;
}
.pricing-row:last-child { border-bottom: 0; }
.pricing-row:not(.pricing-head):hover {
  background: rgba(255, 255, 255, 0.04);
}
.pricing-head {
  background: rgba(0, 0, 0, 0.18);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(245, 249, 248, 0.6);
  font-weight: 600;
}
.pricing-row > div:first-child strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--bg);
  margin-bottom: 0.2rem;
}
.pricing-row > div:first-child span {
  display: block;
  font-size: 0.85rem;
  color: rgba(245, 249, 248, 0.6);
  line-height: 1.5;
}
.pricing-amount {
  font-family: var(--serif);
  font-size: 1.8rem;
  color: var(--gold);
  font-weight: 500;
  white-space: nowrap;
}
.pricing-highlight {
  background: rgba(201, 168, 117, 0.08);
  border-left: 3px solid var(--gold);
}
@media (max-width: 600px) {
  .pricing-row { padding: 1.2rem 1.4rem; gap: 1rem; }
  .pricing-amount { font-size: 1.4rem; }
  .pricing-row > div:first-child strong { font-size: 1.05rem; }
}

/* ============== MATERIALS GRID ============== */
.materials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 1rem;
}
.material-card {
  padding: 2.5rem 2.2rem;
  background: var(--bg);
  border: 1px solid var(--line);
  position: relative;
  transition: all 0.3s;
}
.material-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(10, 115, 115, 0.1);
}
.material-badge {
  display: inline-block;
  font-size: 0.68rem;
  letter-spacing: 0.25em;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 1rem;
}
.material-card h3 {
  font-family: var(--serif);
  font-size: 1.7rem;
  font-weight: 500;
  margin: 0 0 1rem;
}
.material-card p {
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.7;
  margin: 0;
}
@media (max-width: 700px) {
  .materials-grid { grid-template-columns: 1fr; gap: 1.2rem; }
}

/* ============== ABOUT / BIO PAGE ============== */
.bio-hero {
  max-width: 1280px;
  margin: 0 auto;
  padding: 3rem 2rem 5rem;
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 5rem;
  align-items: center;
}
.bio-portrait {
  aspect-ratio: 4/5;
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(4, 57, 58, 0.3);
  position: relative;
}
.bio-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}
.bio-portrait .credential-stamp {
  position: absolute;
  bottom: 2rem;
  left: 2rem;
  right: 2rem;
  padding: 1.2rem 1.5rem;
  background: rgba(4, 57, 58, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--bg);
  border-left: 3px solid var(--gold);
}
.bio-portrait .credential-stamp strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}
.bio-portrait .credential-stamp span {
  display: block;
  margin-top: 0.3rem;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}
@media (max-width: 900px) {
  .bio-hero {
    grid-template-columns: 1fr;
    gap: 3rem;
    padding: 2rem 1.5rem 3rem;
  }
  .bio-portrait { max-width: 420px; }
}

/* Timeline */
.timeline {
  max-width: 800px;
  margin: 3rem auto 0;
  position: relative;
  padding-left: 2rem;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: linear-gradient(to bottom, var(--accent), transparent);
}
.timeline-item {
  position: relative;
  padding-bottom: 2.5rem;
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: '';
  position: absolute;
  left: -2.4rem;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--accent);
}
.timeline-year {
  font-family: var(--serif);
  font-size: 1.4rem;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 0.3rem;
  letter-spacing: 0.02em;
}
.timeline-title {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}
.timeline-item p {
  color: var(--ink-soft);
  font-size: 0.98rem;
  line-height: 1.7;
  max-width: 600px;
}
@media (max-width: 600px) {
  .timeline { padding-left: 1.5rem; }
  .timeline-item::before { left: -1.85rem; }
  .timeline-year { font-size: 1.2rem; }
  .timeline-title { font-size: 1.1rem; }
}

/* ============== CONFERENCES LIST ============== */
.conferences-list {
  border-top: 1px solid var(--line);
}
.conf-item {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 1.5rem;
  padding: 1.2rem 0;
  border-bottom: 1px solid var(--line);
  transition: background 0.2s;
}
.conf-item:hover { background: var(--bg-warm); padding-left: 0.5rem; padding-right: 0.5rem; }
.conf-year {
  font-family: var(--serif);
  font-size: 1.3rem;
  color: var(--accent);
  font-weight: 500;
  letter-spacing: 0.02em;
}
.conf-body {
  font-size: 0.98rem;
  line-height: 1.65;
  color: var(--ink-soft);
}
.conf-body strong {
  display: block;
  color: var(--ink);
  font-weight: 600;
  margin-bottom: 0.2rem;
}
@media (max-width: 600px) {
  .conf-item { grid-template-columns: 60px 1fr; gap: 1rem; }
  .conf-year { font-size: 1.1rem; }
  .conf-body { font-size: 0.92rem; }
}

/* ============== MEMBERSHIPS GRID (3-col on bio page) ============== */
.memberships-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
@media (max-width: 900px) {
  .memberships-grid { grid-template-columns: 1fr; }
}
@media (max-width: 800px) {
  .location-grid { grid-template-columns: 1fr; }
  .location-info { padding: 2rem; }
}

/* ============== FAQ ============== */
.faq-list {
  margin-top: 3rem;
  max-width: 900px;
}
details {
  border-bottom: 1px solid var(--line);
  padding: 1.8rem 0;
  cursor: pointer;
}
summary {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 500;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: '+';
  font-size: 1.8rem;
  font-weight: 300;
  color: var(--accent);
  transition: transform 0.3s;
  flex-shrink: 0;
}
details[open] summary::after { transform: rotate(45deg); }
details p {
  padding-top: 1.2rem;
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.7;
  max-width: 800px;
}

/* ============== CTA BAND ============== */
.cta-band {
  background: var(--bg-warm);
  text-align: center;
  padding: 6rem 2rem;
}
.cta-band h2 { margin-bottom: 1.5rem; }
.cta-band p {
  color: var(--ink-soft);
  font-size: 1.1rem;
  margin-bottom: 2.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.cta-band .eyebrow { justify-content: center; }

.cta-band.dark {
  background: linear-gradient(135deg, var(--accent-deep), var(--accent));
  color: var(--bg);
}
.cta-band.dark h2 { color: var(--bg); }
.cta-band.dark h2 em { color: var(--gold); }
.cta-band.dark p { color: rgba(245, 249, 248, 0.85); }
.cta-band.dark .eyebrow { color: var(--gold); }
.cta-band.dark .eyebrow::before { background: var(--gold); }
.cta-band.dark .btn-primary {
  background: var(--gold);
  color: var(--accent-deep);
}
.cta-band.dark .btn-primary:hover { background: #fff; }

/* ============== FOOTER ============== */
footer.site-footer {
  background: var(--accent-deep);
  color: var(--bg);
  padding: 5rem 2rem 2rem;
}
.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
}
.footer-brand .logo { color: var(--bg); font-size: 1.8rem; }
.footer-brand .logo em { color: var(--gold); }
.footer-brand .logo small { color: rgba(245, 249, 248, 0.6); }
.footer-brand p {
  margin-top: 1.5rem;
  opacity: 0.65;
  font-size: 0.9rem;
  max-width: 320px;
  line-height: 1.7;
}
.footer-col h5 {
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  color: var(--gold);
  font-weight: 600;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.7rem; }
.footer-col a {
  font-size: 0.9rem;
  opacity: 0.72;
  transition: opacity 0.2s, color 0.2s;
}
.footer-col a:hover { opacity: 1; color: var(--gold); }
.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  opacity: 0.5;
  flex-wrap: wrap;
  gap: 1rem;
}
@media (max-width: 800px) {
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
}
@media (max-width: 500px) {
  .footer-inner { grid-template-columns: 1fr; }
}

/* ============== ARTICLE / BLOG POST ============== */
.article {
  max-width: 760px;
  margin: 0 auto;
  padding: 3rem 2rem 5rem;
}
.article-header { margin-bottom: 3rem; }
.article-header .eyebrow { margin-bottom: 1.5rem; }
.article-header h1 {
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  margin-bottom: 1.5rem;
}
.article-header .article-byline {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  font-size: 0.85rem;
  color: var(--ink-soft);
  flex-wrap: wrap;
}
.article-byline strong { color: var(--ink); }

.article-body p {
  font-size: 1.08rem;
  line-height: 1.85;
  color: var(--ink);
  margin-bottom: 1.5rem;
}
.article-body p.intro {
  font-family: var(--serif);
  font-size: 1.45rem;
  font-style: italic;
  line-height: 1.55;
  color: var(--ink-soft);
  margin-bottom: 2.5rem;
  padding: 0 0 2rem;
  border-bottom: 1px solid var(--line);
}
.article-body h2 {
  font-size: 2rem;
  margin: 3.5rem 0 1.2rem;
}
.article-body h3 {
  font-size: 1.45rem;
  margin: 2.5rem 0 1rem;
}
.article-body ul, .article-body ol {
  margin: 1rem 0 1.8rem 1.5rem;
  font-size: 1.05rem;
  line-height: 1.8;
}
.article-body li { margin-bottom: 0.8rem; }
.article-body strong { font-weight: 600; }

.article-body blockquote {
  border-left: 3px solid var(--accent);
  padding: 1rem 0 1rem 2rem;
  margin: 2rem 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.3rem;
  line-height: 1.5;
  color: var(--ink);
}

.article-body .callout {
  background: var(--bg-warm);
  padding: 2rem;
  margin: 2.5rem 0;
  border-left: 3px solid var(--gold);
}
.article-body .callout h4 {
  font-family: var(--serif);
  font-size: 1.3rem;
  margin-bottom: 0.8rem;
  color: var(--ink);
}
.article-body .callout p:last-child { margin-bottom: 0; }

.article-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  font-size: 0.95rem;
}
.article-body table th,
.article-body table td {
  padding: 1rem 1.2rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
}
.article-body table th {
  font-family: var(--sans);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 600;
  background: var(--bg-warm);
}
.article-body table td:last-child {
  font-family: var(--serif);
  font-size: 1.1rem;
  color: var(--accent);
  white-space: nowrap;
}

.article-cta {
  background: var(--bg-warm);
  padding: 2.5rem;
  margin: 3rem 0 0;
  text-align: center;
  border-left: 3px solid var(--accent);
}
.article-cta h3 {
  font-family: var(--serif);
  font-size: 1.6rem;
  margin: 0 0 1rem;
}
.article-cta p {
  color: var(--ink-soft);
  margin-bottom: 1.5rem;
}

/* ============== ANIMATIONS ============== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.page-hero > div > .eyebrow,
.page-hero > div > h1,
.page-hero > div > .lead,
.page-hero > div > .btn-primary,
.home-hero-inner > div > .eyebrow,
.home-hero-inner > div > h1,
.home-hero-inner > div > .lead,
.home-hero-inner > div > .btn-primary {
  animation: fadeUp 0.8s ease-out backwards;
}
.page-hero h1, .home-hero h1 { animation-delay: 0.15s; }
.page-hero .lead, .home-hero .lead { animation-delay: 0.3s; }
.page-hero .btn-primary, .home-hero .btn-primary { animation-delay: 0.45s; }

/* ============== HEADSHOT / PORTRAIT IMAGE ============== */
.about-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
}

/* ============== HAMBURGER MENU (MOBILE NAV) ============== */
.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  width: 44px;
  height: 44px;
  padding: 10px;
  cursor: pointer;
  flex-direction: column;
  justify-content: space-between;
  align-items: stretch;
  position: relative;
  z-index: 110;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.28s ease, opacity 0.28s ease, background 0.28s ease;
  transform-origin: center;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(11px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-11px) rotate(-45deg); }

@media (max-width: 900px) {
  /* Hamburger button visible */
  .nav-toggle { display: flex; }
  .nav-inner { padding: 1rem 1.2rem; gap: 0.8rem; }

  /* Nav links collapsed to a drawer that opens via .open class */
  .nav-links {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    padding: 6rem 2rem 2rem;
    font-size: 1.15rem;
    z-index: 100;
    overflow-y: auto;
    animation: navSlideIn 0.32s cubic-bezier(.7,.05,.3,1);
  }
  .nav-links.open { display: flex; }
  .nav-links a {
    display: block;
    padding: 0.6rem 0.8rem;
    min-height: 44px;
  }
  .nav-right { gap: 0.8rem; }
  body.nav-locked { overflow: hidden; }
}
@keyframes navSlideIn {
  from { transform: translateX(100%); opacity: 0.7; }
  to { transform: translateX(0); opacity: 1; }
}

/* ============== COMPREHENSIVE MOBILE RESPONSIVENESS ============== */
@media (max-width: 900px) {
  section { padding: 4rem 1.5rem; }
  .container, .container-wide { padding: 0; }
  .stats-band { padding: 3rem 1.5rem; }
  .cta-band { padding: 4.5rem 1.5rem; }
  footer.site-footer { padding: 4rem 1.5rem 2rem; }
  .topbar-inner { padding: 0 1.2rem; gap: 0.8rem; font-size: 0.72rem; }
}

@media (max-width: 700px) {
  /* Top utility bar — collapse to icon-only on phones */
  .topbar { padding: 0.55rem 0; }
  .topbar-inner { flex-direction: column; align-items: flex-start; gap: 0.4rem; }
  .topbar-inner > span:first-child {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
  }

  /* Hero */
  .home-hero-inner { padding: 3rem 1.2rem 4rem; gap: 2rem; }
  .home-hero h1 { font-size: clamp(2.1rem, 8vw, 3rem); }
  .home-hero .lead { font-size: 1.05rem; }
  .home-hero-meta { gap: 1.5rem 2rem; margin-top: 2rem; padding-top: 1.5rem; }
  .home-hero-meta strong { font-size: 1.6rem; }
  .home-hero-meta span { font-size: 0.7rem; }
  .home-hero-visual { max-width: 320px; }

  /* Page hero */
  .page-hero { padding: 2rem 1.2rem 3rem; gap: 2rem; }

  /* Typography */
  h1 { font-size: clamp(2rem, 8vw, 2.8rem); margin-bottom: 1.5rem; }
  h2 { font-size: clamp(1.65rem, 6.5vw, 2.4rem); margin-bottom: 1.4rem; }
  h3 { font-size: 1.35rem; }

  /* Services / blog cards */
  .services-grid { gap: 1.2rem; }
  .service-card { padding: 1.8rem 1.5rem; }

  /* Stats */
  .stats-inner { gap: 1.8rem; }
  .stat strong { font-size: 2.2rem; }
  .stat span { font-size: 0.72rem; letter-spacing: 0.12em; }

  /* About */
  .about-credentials { grid-template-columns: 1fr 1fr; gap: 0.8rem; }
  .credential { padding: 1rem 1.1rem; }
  .credential strong { font-size: 1rem; }
  .credential span { font-size: 0.74rem; }

  /* Location */
  .location-info { padding: 1.8rem; }
  .location-info h3 { font-size: 1.3rem; }
  .location-map { min-height: 280px; }
  .location-map iframe, .location-map svg { min-height: 280px; }

  /* FAQ */
  summary { font-size: 1.1rem; gap: 1rem; }
  summary::after { font-size: 1.5rem; }
  details { padding: 1.4rem 0; }

  /* CTA buttons — make them comfortably tappable */
  .btn-primary {
    padding: 1rem 1.6rem;
    font-size: 0.78rem;
    min-height: 48px;
    width: 100%;
    max-width: 360px;
    justify-content: center;
  }
  .btn-ghost { display: inline-block; min-height: 48px; padding: 0.95rem 1.8rem; }

  /* Article body */
  .article { padding: 2rem 1.2rem 3rem; }
  .article-header { margin-bottom: 2rem; }
  .article-byline { gap: 0.8rem; font-size: 0.78rem; }
  .article-byline span:nth-child(even) { display: none; } /* hide dot separators */
  .article-body p { font-size: 1rem; line-height: 1.75; }
  .article-body p.intro { font-size: 1.2rem; }
  .article-body h2 { font-size: 1.6rem; margin: 2.5rem 0 1rem; }
  .article-body h3 { font-size: 1.25rem; margin: 2rem 0 0.8rem; }
  .article-body ul, .article-body ol { font-size: 1rem; margin-left: 1.2rem; }
  .article-body blockquote { font-size: 1.1rem; padding-left: 1.2rem; }
  .article-body .callout { padding: 1.5rem; }
  .article-body table { font-size: 0.85rem; }
  .article-body table th, .article-body table td { padding: 0.7rem 0.8rem; }
  .article-body table td:last-child { font-size: 1rem; }
  .article-cta { padding: 1.8rem 1.5rem; }
  .article-cta h3 { font-size: 1.35rem; }
}

@media (max-width: 600px) {
  /* Nav: replace verbose CTA label with a tiny icon-only call button so it fits next to the hamburger */
  .nav-cta {
    padding: 0.55rem 0.9rem;
    font-size: 0;
    line-height: 0;
    position: relative;
    min-width: 44px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .nav-cta::before {
    content: '☎';
    font-size: 1.1rem;
    line-height: 1;
    color: #fff;
  }
  .nav-inner { gap: 0.6rem; }
  .nav-right { gap: 0.6rem; }
}

@media (max-width: 480px) {
  .topbar-inner { font-size: 0.68rem; }
  .home-hero h1 { font-size: clamp(1.9rem, 9vw, 2.4rem); }
  .home-hero-meta { gap: 1rem 1.5rem; }
  .lang-switch { font-size: 0.62rem; gap: 0.25rem; }
  .lang-switch a { padding: 0.3rem 0.4rem; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }
}

/* ============== TAPPABLE TARGETS (a11y) ============== */
@media (hover: none) and (pointer: coarse) {
  a, button, .btn-primary, .btn-secondary, .btn-ghost, .nav-cta, .lang-switch a, .read-more {
    min-height: 44px;
  }
  details summary { padding: 0.4rem 0; }
}

/* ============== REDUCED MOTION ============== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ============== FOCUS STATES (a11y) ============== */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}
.btn-primary:focus-visible,
.nav-cta:focus-visible {
  outline-offset: 4px;
}
