/* ═══════════════════════════════════════════════════════════
   styles.css — Shailendra Kumar Mallick Portfolio
   ═══════════════════════════════════════════════════════════ */

/* ─────────────────────────────────────────────
   GOOGLE FONTS
───────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

/* ─────────────────────────────────────────────
   DESIGN TOKENS — LIGHT MODE
───────────────────────────────────────────── */
:root {
  --navy:        #10243a;
  --navy-light:  #183650;
  --teal:        #19a89a;
  --teal-dark:   #087f78;
  --mint:        #63d7ca;
  --gold:        #f2bd62;
  --paper:       #f4f7f9;
  --ink:         #1a2735;
  --muted:       #5e6e7d;
  --line:        #e0e8ed;
  --radius:      20px;
  --radius-sm:   12px;
  --max-width:   1160px;
  --nav-h:       76px;

  /* Surface tokens */
  --bg:          #f4f7f9;
  --bg-card:     #ffffff;
  --bg-tinted:   #edf3f1;
  --text:        #1a2735;
  --text-muted:  #5e6e7d;
  --border:      #e0e8ed;
  --shadow-sm:   0 2px 8px rgba(16,36,58,.07);
  --shadow-md:   0 8px 28px rgba(16,36,58,.10);
  --shadow-lg:   0 20px 60px rgba(16,36,58,.13);
}

/* ─────────────────────────────────────────────
   DARK MODE TOKENS
───────────────────────────────────────────── */
[data-theme="dark"] {
  --navy:        #0e1f30;
  --navy-light:  #162d44;
  --teal:        #1ebfb0;
  --teal-dark:   #17a698;
  --mint:        #72e8db;
  --gold:        #f5c97a;
  --paper:       #0d1b27;
  --ink:         #dde8f2;
  --muted:       #8099b2;
  --line:        #1e3349;

  --bg:          #0d1b27;
  --bg-card:     #132030;
  --bg-tinted:   #0f1e2c;
  --text:        #dde8f2;
  --text-muted:  #8099b2;
  --border:      #1e3349;
  --shadow-sm:   0 2px 8px rgba(0,0,0,.25);
  --shadow-md:   0 8px 28px rgba(0,0,0,.35);
  --shadow-lg:   0 20px 60px rgba(0,0,0,.45);
}

/* ─────────────────────────────────────────────
   RESET & BASE
───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
  font-size: 16px;
}
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background .35s ease, color .35s ease;
  overflow-x: hidden;
}
img  { max-width: 100%; display: block; }
a    { color: inherit; text-decoration: none; }
ul   { list-style: none; padding: 0; }
button, input, textarea, select { font: inherit; }

/* ─────────────────────────────────────────────
   LAYOUT
───────────────────────────────────────────── */
.container {
  width: min(var(--max-width), 100% - 48px);
  margin-inline: auto;
}
.section { padding: 96px 0; }
.tinted  { background: var(--bg-tinted); }

.section-head { max-width: 700px; margin-bottom: 48px; }
.section-head h2 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  line-height: 1.1;
  letter-spacing: -.04em;
  color: var(--navy);
  margin: 10px 0 14px;
  transition: color .35s;
}
[data-theme="dark"] .section-head h2 { color: var(--text); }
.section-head p { color: var(--text-muted); font-size: 1.05rem; line-height: 1.7; }

.eyebrow {
  display: inline-block;
  color: var(--teal-dark);
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .72rem;
  font-weight: 800;
}

/* ─────────────────────────────────────────────
   FOCUS
───────────────────────────────────────────── */
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

/* ─────────────────────────────────────────────
   BUTTONS
───────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1.5px solid transparent;
  border-radius: 999px;
  padding: 13px 26px;
  font-size: .92rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: transform .22s ease, background .22s ease, box-shadow .22s ease, border-color .22s ease, color .22s ease;
  position: relative;
  overflow: hidden;
}
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0);
  transition: background .2s;
  border-radius: inherit;
}
.btn:hover { transform: translateY(-2px); }
.btn:hover::after { background: rgba(255,255,255,.08); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--teal);
  color: #fff;
  box-shadow: 0 8px 24px rgba(25,168,154,.28);
}
.btn-primary:hover { background: var(--teal-dark); box-shadow: 0 12px 32px rgba(25,168,154,.36); }

.btn-outline {
  border-color: var(--teal-dark);
  color: var(--teal-dark);
  background: transparent;
}
.btn-outline:hover { background: rgba(8,127,120,.07); }
[data-theme="dark"] .btn-outline { border-color: rgba(255,255,255,.35); color: #fff; }
[data-theme="dark"] .btn-outline:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.6); }

.btn-cv {
  border-color: var(--navy);
  color: var(--navy);
  background: transparent;
  gap: 7px;
}
.btn-cv:hover {
  background: var(--navy);
  color: #fff;
  box-shadow: 0 8px 24px rgba(16,36,58,.22);
}
[data-theme="dark"] .btn-cv { border-color: rgba(255,255,255,.35); color: rgba(255,255,255,.85); }
[data-theme="dark"] .btn-cv:hover { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.6); }

/* ─────────────────────────────────────────────
   SCROLL REVEAL ANIMATIONS
───────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s cubic-bezier(.22,.68,0,1), transform .7s cubic-bezier(.22,.68,0,1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* Stagger delays */
.reveal-d1 { transition-delay: .1s; }
.reveal-d2 { transition-delay: .2s; }
.reveal-d3 { transition-delay: .3s; }
.reveal-d4 { transition-delay: .4s; }

/* ─────────────────────────────────────────────
   STICKY HEADER
───────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(244,247,249,.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(224,232,237,.7);
  transition: background .35s, border-color .35s, box-shadow .35s;
}
.site-header.scrolled {
  box-shadow: 0 4px 20px rgba(16,36,58,.08);
}
[data-theme="dark"] .site-header {
  background: rgba(13,27,39,.92);
  border-bottom-color: rgba(30,51,73,.7);
}
[data-theme="dark"] .site-header.scrolled {
  box-shadow: 0 4px 20px rgba(0,0,0,.3);
}

.nav {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Brand */
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  margin-right: auto;
  text-decoration: none;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  flex-shrink: 0;
  border-radius: 13px;
  background: var(--navy);
  color: #fff;
  font-weight: 900;
  font-size: .82rem;
  letter-spacing: -.05em;
  transition: transform .3s ease, background .35s;
}
.brand:hover .brand-mark { transform: rotate(-4deg) scale(1.05); }
.brand-copy { min-width: 0; }
.brand-name {
  display: block;
  color: var(--navy);
  font-weight: 800;
  font-size: .95rem;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color .35s;
}
[data-theme="dark"] .brand-name { color: var(--text); }
.brand-role {
  display: block;
  font-size: .7rem;
  color: var(--text-muted);
  margin-top: 2px;
  white-space: nowrap;
}

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-links a {
  font-size: .86rem;
  font-weight: 600;
  color: var(--text-muted);
  padding: 7px 12px;
  border-radius: var(--radius-sm);
  transition: color .2s, background .2s;
}
.nav-links a:hover { color: var(--teal-dark); background: rgba(8,127,120,.06); }
[data-theme="dark"] .nav-links a:hover { color: var(--mint); background: rgba(114,232,219,.08); }
.nav-links .nav-cta {
  background: var(--navy);
  color: #fff !important;
  border-radius: 999px;
  padding: 9px 18px;
  font-size: .84rem;
  transition: background .22s, transform .22s;
}
.nav-links .nav-cta:hover { background: var(--navy-light); transform: translateY(-1px); }

/* Nav controls */
.nav-controls { display: flex; align-items: center; gap: 8px; }

/* Theme toggle */
.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  background: var(--bg-card);
  cursor: pointer;
  font-size: 1rem;
  transition: transform .3s cubic-bezier(.34,1.56,.64,1), border-color .3s, background .35s;
  flex-shrink: 0;
}
.theme-toggle:hover { transform: rotate(22deg) scale(1.1); border-color: var(--teal); }

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px; height: 42px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border);
  background: var(--bg-card);
  color: var(--text);
  cursor: pointer;
  font-size: 1.2rem;
  transition: background .2s, border-color .2s;
  flex-shrink: 0;
}

/* Active nav link indicator */
.nav-links a.active {
  color: var(--teal-dark);
  background: rgba(8,127,120,.07);
}

/* ─────────────────────────────────────────────
   HERO
───────────────────────────────────────────── */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(140deg, #e6f4f2 0%, #eef4f8 55%, #e8f0f8 100%);
  transition: background .35s;
}
[data-theme="dark"] .hero {
  background: linear-gradient(140deg, #0a1825 0%, #0d1b2a 60%, #091521 100%);
}

/* Decorative blobs */
.hero::before {
  content: "";
  position: absolute;
  width: 700px; height: 700px;
  border-radius: 50%;
  right: -200px; top: -300px;
  background: radial-gradient(circle, rgba(25,168,154,.1) 0%, transparent 65%);
  pointer-events: none;
}
[data-theme="dark"] .hero::before {
  background: radial-gradient(circle, rgba(30,191,176,.2) 0%, transparent 65%);
}
.hero::after {
  content: "∑  π  ∞";
  position: absolute;
  right: 3%; bottom: 1%;
  font-size: clamp(4rem, 10vw, 9rem);
  font-weight: 900;
  letter-spacing: .1em;
  color: rgba(8,127,120,.06);
  pointer-events: none;
  user-select: none;
  line-height: 1;
}
[data-theme="dark"] .hero::after { color: rgba(255,255,255,.03); }

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 64px;
  align-items: center;
  padding: 88px 0 96px;
  position: relative;
  z-index: 1;
}

/* Hero text */
.hero .eyebrow { color: var(--teal-dark); margin-bottom: 16px; }
[data-theme="dark"] .hero .eyebrow { color: var(--gold); }

.hero h1 {
  font-size: clamp(2.8rem, 5.5vw, 5rem);
  letter-spacing: -.06em;
  line-height: 1;
  color: var(--navy);
  margin-bottom: 22px;
  transition: color .35s;
}
[data-theme="dark"] .hero h1 { color: #e8f2fb; }
.hero h1 em {
  font-style: normal;
  color: var(--teal-dark);
  display: block;
}
[data-theme="dark"] .hero h1 em { color: var(--mint); }

.hero-copy {
  font-size: 1.08rem;
  line-height: 1.75;
  color: var(--muted);
  max-width: 540px;
}
[data-theme="dark"] .hero-copy { color: #a8bfcf; }
.hero-copy strong { color: var(--navy); font-weight: 700; }
[data-theme="dark"] .hero-copy strong { color: #d0e3f0; }

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 32px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 36px;
  color: var(--muted);
  font-size: .84rem;
  font-weight: 500;
}
[data-theme="dark"] .hero-meta { color: #7c96ac; }
.hero-meta span { display: inline-flex; align-items: center; gap: 7px; }

/* Hero portrait */
.hero-card-wrap {
  position: relative;
  width: 100%;
  max-width: 420px;
  justify-self: end;
  padding: 8px 8px 44px;
}

.portrait-frame {
  position: relative;
  width: 100%;
  padding: 8px;
  border-radius: 26px;
  background: linear-gradient(145deg, var(--mint), rgba(255,255,255,.8) 50%, var(--gold));
  box-shadow: var(--shadow-lg);
  transition: transform .4s cubic-bezier(.22,.68,0,1), box-shadow .4s ease;
}
.portrait-frame:hover {
  transform: translateY(-6px) rotate(.5deg);
  box-shadow: 0 36px 80px rgba(16,36,58,.18);
}

.hero-portrait {
  display: block;
  width: 100%;
  height: 460px;
  object-fit: cover;
  object-position: center top;
  border-radius: 19px;
  background: #d6eae7;
}

.floating-note {
  position: absolute;
  left: -16px;
  bottom: 4px;
  z-index: 2;
  max-width: calc(100% - 8px);
  padding: 16px 20px;
  border-radius: 16px;
  background: var(--bg-card);
  color: var(--navy);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  transform: rotate(-2.5deg);
  transition: transform .35s cubic-bezier(.22,.68,0,1.2), background .35s, box-shadow .35s;
}
[data-theme="dark"] .floating-note { color: var(--text); }
.floating-note:hover { transform: rotate(0deg) translateY(-4px); box-shadow: var(--shadow-lg); }
.floating-note strong {
  display: block;
  font-size: .95rem;
  font-weight: 800;
  margin-bottom: 3px;
  line-height: 1.4;
}
.floating-note span {
  display: block;
  font-size: .78rem;
  color: var(--text-muted);
}

/* ─────────────────────────────────────────────
   FACTS BAR
───────────────────────────────────────────── */
.facts {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  transition: background .35s, border-color .35s;
}
.facts-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.fact {
  padding: 28px 24px;
  border-right: 1px solid var(--border);
  transition: background .2s;
}
.fact:last-child { border-right: 0; }
.fact:hover { background: var(--bg-tinted); }
.fact strong {
  display: block;
  color: var(--teal-dark);
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -.04em;
  margin-bottom: 4px;
}
[data-theme="dark"] .fact strong { color: var(--mint); }
.fact span { font-size: .83rem; color: var(--text-muted); line-height: 1.5; }

/* ─────────────────────────────────────────────
   ABOUT
───────────────────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 64px;
  align-items: start;
}

.quote-card {
  padding: 36px;
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease;
}
.quote-card::before {
  content: '';
  position: absolute;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: rgba(255,255,255,.04);
  right: -60px; bottom: -60px;
}
.quote-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.quote-mark {
  font-family: Georgia, serif;
  font-size: 5.5rem;
  line-height: .65;
  color: var(--gold);
  margin-bottom: 12px;
}
.quote-card blockquote {
  font-size: 1.25rem;
  line-height: 1.55;
  margin: 0 0 20px;
  letter-spacing: -.02em;
  font-weight: 500;
}
.quote-card cite {
  display: block;
  color: rgba(255,255,255,.55);
  font-style: normal;
  font-size: .85rem;
}

.about-content h3 {
  color: var(--navy);
  font-size: 1.45rem;
  font-weight: 700;
  margin-bottom: 12px;
  transition: color .35s;
}
[data-theme="dark"] .about-content h3 { color: var(--text); }
.about-content p { color: var(--text-muted); margin-bottom: 16px; line-height: 1.75; }
.about-content p:last-of-type { margin-bottom: 0; }

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}
.pill {
  border: 1.5px solid #c8e6e2;
  background: #ebf7f5;
  color: #1a6b64;
  border-radius: 999px;
  padding: 7px 15px;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .01em;
  transition: transform .2s, box-shadow .2s;
}
.pill:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(25,168,154,.15); }
[data-theme="dark"] .pill { border-color: #1c4840; background: #12312d; color: var(--mint); }

/* ─────────────────────────────────────────────
   LEADERSHIP CARDS
───────────────────────────────────────────── */
.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: transform .28s cubic-bezier(.22,.68,0,1), box-shadow .28s ease, background .35s, border-color .28s;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(25,168,154,.04), transparent 60%);
  opacity: 0;
  transition: opacity .3s;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: rgba(25,168,154,.25); }
.service-card:hover::before { opacity: 1; }

.service-icon {
  width: 54px; height: 54px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: #e2f4f1;
  color: var(--teal-dark);
  font-size: 1.5rem;
  margin-bottom: 20px;
  transition: transform .3s cubic-bezier(.34,1.56,.64,1), background .35s;
}
.service-card:hover .service-icon { transform: scale(1.1) rotate(-3deg); }
[data-theme="dark"] .service-icon { background: #163530; }

.service-card h3 {
  color: var(--navy);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
  transition: color .35s;
}
[data-theme="dark"] .service-card h3 { color: var(--text); }
.service-card p { color: var(--text-muted); font-size: .93rem; line-height: 1.7; margin: 0; }
.service-card .detail {
  display: inline-block;
  color: var(--teal-dark);
  font-size: .8rem;
  font-weight: 800;
  margin-top: 18px;
  letter-spacing: .02em;
  transition: gap .2s;
}

/* ─────────────────────────────────────────────
   TEACHING
───────────────────────────────────────────── */
.teaching-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }

.subject-card {
  border-radius: var(--radius);
  padding: 36px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: transform .28s ease, box-shadow .28s ease, background .35s;
}
.subject-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.subject-top {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}
.subject-top h3 {
  margin: 0;
  color: var(--navy);
  font-size: 1.3rem;
  font-weight: 700;
  transition: color .35s;
}
[data-theme="dark"] .subject-top h3 { color: var(--text); }
.subject-card p { color: var(--text-muted); margin-bottom: 16px; line-height: 1.7; }
.subject-card ul { padding-left: 0; }
.subject-card li {
  color: var(--text-muted);
  font-size: .92rem;
  padding: 6px 0 6px 20px;
  position: relative;
  border-bottom: 1px solid var(--border);
  line-height: 1.5;
}
.subject-card li:last-child { border-bottom: 0; }
.subject-card li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--teal);
}

/* ─────────────────────────────────────────────
   JOURNEY
───────────────────────────────────────────── */
.journey-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 24px; align-items: start; }

.journey-panel {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: background .35s;
}

.journey-panel-head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 24px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--border);
}
.journey-icon {
  width: 48px; height: 48px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: #dff0ed;
  color: var(--teal-dark);
  font-size: 1.3rem;
  transition: background .35s;
}
[data-theme="dark"] .journey-icon { background: #163530; }
.journey-panel-head h3 {
  margin-bottom: 3px;
  color: var(--navy);
  font-size: 1.2rem;
  font-weight: 700;
  transition: color .35s;
}
[data-theme="dark"] .journey-panel-head h3 { color: var(--text); }
.journey-panel-head p { color: var(--text-muted); font-size: .88rem; }

/* Timeline */
.timeline { position: relative; list-style: none; padding: 0; margin: 0; }
.timeline::before {
  content: '';
  position: absolute;
  left: 9px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(to bottom, var(--teal), var(--border));
  border-radius: 2px;
}
.timeline-item {
  position: relative;
  padding: 0 0 28px 36px;
}
.timeline-item:last-child { padding-bottom: 0; }

.timeline-dot {
  position: absolute;
  left: 1px; top: 4px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--teal);
  border: 3px solid var(--bg-card);
  box-shadow: 0 0 0 2px var(--teal);
  transition: transform .3s cubic-bezier(.34,1.56,.64,1);
}
.timeline-item:hover .timeline-dot { transform: scale(1.25); }

.timeline-date {
  display: block;
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-weight: 800;
  color: var(--teal-dark);
  margin-bottom: 5px;
}
.timeline-item h4 {
  color: var(--navy);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.45;
  margin-bottom: 6px;
  transition: color .35s;
}
[data-theme="dark"] .timeline-item h4 { color: var(--text); }
.timeline-item p { color: var(--text-muted); font-size: .9rem; line-height: 1.65; margin: 0; }

.journey-note {
  display: inline-block;
  margin-top: 8px;
  padding: 4px 11px;
  border-radius: 999px;
  background: #e8f5f2;
  color: var(--teal-dark);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .02em;
  transition: background .35s;
}
[data-theme="dark"] .journey-note { background: #163530; color: var(--mint); }

/* ─────────────────────────────────────────────
   CONTACT
───────────────────────────────────────────── */
.contact-section {
  background: var(--navy);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.contact-section::before {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  left: -200px; bottom: -300px;
  background: radial-gradient(circle, rgba(25,168,154,.12), transparent 65%);
  pointer-events: none;
}
.contact-section .eyebrow { color: var(--gold); }
.contact-section .section-head h2 { color: #fff; }
.contact-section .section-head p  { color: rgba(255,255,255,.6); }

.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 52px; align-items: start; }

.contact-info { display: flex; flex-direction: column; gap: 16px; }
.contact-row {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 18px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 16px;
  background: rgba(255,255,255,.04);
  transition: background .2s, border-color .2s;
}
.contact-row:hover { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.18); }
.contact-symbol {
  color: var(--gold);
  font-size: 1.15rem;
  width: 24px;
  flex-shrink: 0;
  margin-top: 2px;
}
.contact-row strong { display: block; font-size: .88rem; margin-bottom: 3px; }
.contact-row a, .contact-row span {
  color: rgba(255,255,255,.6);
  font-size: .88rem;
  overflow-wrap: anywhere;
  transition: color .2s;
}
.contact-row a:hover { color: var(--mint); }

/* Contact form card */
.contact-form {
  background: var(--bg-card);
  color: var(--text);
  padding: 36px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  transition: background .35s;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; }
.field:last-child { margin-bottom: 0; }
.field.full { grid-column: 1 / -1; }
.field label {
  color: var(--navy);
  font-weight: 700;
  font-size: .83rem;
  letter-spacing: .01em;
  transition: color .35s;
}
[data-theme="dark"] .field label { color: var(--mint); }
.field abbr { text-decoration: none; color: var(--teal); }

.field input,
.field textarea,
.field select {
  width: 100%;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  background: var(--bg);
  color: var(--text);
  outline: none;
  transition: border-color .2s, box-shadow .2s, background .35s;
  font-size: .92rem;
}
.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(25,168,154,.15);
}
.field input::placeholder,
.field textarea::placeholder { color: var(--text-muted); opacity: .7; }
.field textarea { min-height: 130px; resize: vertical; }

.hp-field {
  position: absolute;
  left: -9999px;
  top: -9999px;
  opacity: 0;
  pointer-events: none;
}

.form-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 20px;
}
.form-note { font-size: .76rem; color: var(--text-muted); flex: 1; min-width: 140px; }

.form-status {
  display: none;
  margin-top: 16px;
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  font-size: .88rem;
  line-height: 1.55;
  animation: fadeSlideIn .3s ease;
}
@keyframes fadeSlideIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.form-status.success {
  background: #e4f5f0;
  color: #136b5f;
  border: 1px solid #b2dfd6;
}
.form-status.error {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

/* ─────────────────────────────────────────────
   FOOTER
───────────────────────────────────────────── */
footer {
  background: #08131e;
  color: rgba(255,255,255,.45);
  padding: 28px 0;
  font-size: .83rem;
  transition: background .35s;
}
[data-theme="dark"] footer {
  background: #060f18;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-inner span { line-height: 1.6; }
.back-top {
  color: var(--mint);
  font-weight: 700;
  font-size: .82rem;
  transition: color .2s, transform .2s;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.back-top:hover { color: #fff; transform: translateY(-2px); }

/* ═══════════════════════════════════════════════════════════
   PAGE LOADER
═══════════════════════════════════════════════════════════ */
body.loading { overflow: hidden; }

#pageLoader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #09182a;
  transition: opacity .7s ease, visibility .7s ease;
}
#pageLoader.hide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* Loader logo */
.loader-logo {
  width: 90px; height: 90px;
  border-radius: 26px;
  background: linear-gradient(145deg, #19a89a, #10243a);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: -.06em;
  margin-bottom: 32px;
  box-shadow: 0 0 0 0 rgba(25,168,154,.5);
  animation: logoPulse 2s ease-in-out infinite;
  position: relative;
}
@keyframes logoPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(25,168,154,.4); }
  50%       { box-shadow: 0 0 0 18px rgba(25,168,154,.0); }
}

/* Spinner ring around logo */
.loader-ring-wrap {
  position: relative;
  margin-bottom: 36px;
}
.loader-ring {
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  border: 3px solid rgba(255,255,255,.08);
  border-top-color: #19a89a;
  border-right-color: rgba(25,168,154,.3);
  animation: spin 1.1s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.loader-name {
  font-size: 1.35rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -.03em;
  margin-bottom: 6px;
  text-align: center;
}
.loader-title {
  font-size: .82rem;
  color: rgba(255,255,255,.45);
  letter-spacing: .12em;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 40px;
}

/* Progress bar */
.loader-progress-wrap {
  width: 220px;
  text-align: center;
}
.loader-bar-track {
  width: 100%;
  height: 4px;
  background: rgba(255,255,255,.08);
  border-radius: 99px;
  overflow: hidden;
  margin-bottom: 12px;
}
.loader-bar-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #087f78, #19a89a, #63d7ca);
  border-radius: 99px;
  transition: width .25s ease;
  position: relative;
}
.loader-bar-fill::after {
  content: '';
  position: absolute;
  right: 0; top: 0; bottom: 0;
  width: 40px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.4));
  border-radius: 99px;
}
.loader-percent {
  font-size: .78rem;
  font-weight: 700;
  color: rgba(255,255,255,.4);
  letter-spacing: .1em;
  font-variant-numeric: tabular-nums;
}

/* ═══════════════════════════════════════════════════════════
   WELCOME CARD
═══════════════════════════════════════════════════════════ */
#welcomeCard {
  position: fixed;
  inset: 0;
  z-index: 9998;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(9,24,42,.75);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .45s ease, visibility .45s ease;
}
#welcomeCard.show { opacity: 1; visibility: visible; }

.welcome-inner {
  background: var(--bg-card);
  border-radius: 28px;
  padding: 48px 44px 40px;
  max-width: 500px;
  width: 100%;
  text-align: center;
  box-shadow: 0 40px 100px rgba(0,0,0,.3);
  transform: translateY(32px) scale(.97);
  transition: transform .5s cubic-bezier(.22,.68,0,1.1);
  position: relative;
}
#welcomeCard.show .welcome-inner {
  transform: translateY(0) scale(1);
}

.welcome-avatar {
  width: 84px; height: 84px;
  border-radius: 50%;
  background: linear-gradient(135deg, #19a89a 0%, #10243a 100%);
  color: #fff;
  font-size: 1.8rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 22px;
  box-shadow: 0 8px 24px rgba(25,168,154,.3);
  letter-spacing: -.04em;
}
.welcome-inner h2 {
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -.04em;
  margin-bottom: 12px;
  line-height: 1.2;
  transition: color .35s;
}
[data-theme="dark"] .welcome-inner h2 { color: var(--text); }
.welcome-inner p {
  color: var(--text-muted);
  font-size: .95rem;
  line-height: 1.7;
  margin-bottom: 30px;
}
.welcome-inner p strong { color: var(--navy); font-weight: 700; }
[data-theme="dark"] .welcome-inner p strong { color: var(--text); }

.welcome-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--teal);
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 14px 32px;
  font-size: .96rem;
  font-weight: 700;
  cursor: pointer;
  transition: background .22s, transform .22s, box-shadow .22s;
  box-shadow: 0 8px 24px rgba(25,168,154,.3);
}
.welcome-btn:hover { background: var(--teal-dark); transform: translateY(-2px); box-shadow: 0 12px 32px rgba(25,168,154,.4); }
.welcome-btn:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

.welcome-close {
  position: absolute;
  top: 16px; right: 18px;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-muted);
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 8px;
  line-height: 1;
  transition: color .15s, background .15s;
}
.welcome-close:hover { color: var(--text); background: var(--bg-tinted); }

/* ═══════════════════════════════════════════════════════════
   REDUCED MOTION
═══════════════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
  .loader-ring { animation: none; }
  .loader-logo { animation: none; }
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE BREAKPOINTS
═══════════════════════════════════════════════════════════ */

/* ── 1280px — wide laptop ── */
@media (max-width: 1280px) {
  .hero-grid { gap: 48px; }
  .hero-card-wrap { max-width: 400px; }
  .hero-portrait { height: 440px; }
}

/* ── 1100px — regular laptop ── */
@media (max-width: 1100px) {
  .container { width: min(var(--max-width), 100% - 40px); }
  .hero-grid { gap: 40px; padding: 76px 0 84px; }
  .hero-card-wrap { max-width: 370px; }
  .hero-portrait { height: 420px; }
  .about-grid { gap: 48px; }
  .journey-grid { grid-template-columns: 1.1fr .9fr; }
}

/* ── 960px — small laptop / large tablet ── */
@media (max-width: 960px) {
  .section { padding: 80px 0; }
  .hero-grid { grid-template-columns: 1fr 1fr; gap: 32px; padding: 68px 0 76px; }
  .hero-card-wrap { max-width: 100%; justify-self: stretch; }
  .hero-portrait { height: 400px; }
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .journey-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  .cards-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .nav-links { gap: 2px; }
  .nav-links a { font-size: .82rem; padding: 7px 10px; }
}

/* ── 720px — tablet portrait / mobile (hamburger activates) ── */
@media (max-width: 720px) {
  :root { --nav-h: 68px; }
  .container { width: min(var(--max-width), 100% - 32px); }
  .section { padding: 64px 0; }
  .section-head { margin-bottom: 36px; }
  .section-head h2 { font-size: clamp(1.75rem, 6vw, 2.4rem); }

  /* Nav */
  .menu-toggle { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-h);
    left: 0; right: 0;
    padding: 16px 20px 20px;
    background: var(--bg-card);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 16px 32px rgba(16,36,58,.12);
    flex-direction: column;
    gap: 4px;
    z-index: 199;
  }
  .nav-links.open { display: flex; }
  .nav-links a {
    padding: 11px 14px;
    font-size: .93rem;
    border-radius: var(--radius-sm);
    color: var(--text);
  }
  .nav-links a:hover { background: var(--bg-tinted); color: var(--teal-dark); }
  .nav-links .nav-cta {
    text-align: center;
    border-radius: 999px;
    margin-top: 8px;
    padding: 12px 18px;
  }

  /* Hero */
  .hero-grid { grid-template-columns: 1fr; padding: 52px 0 60px; gap: 40px; }
  .hero-card-wrap { justify-self: center; max-width: 320px; padding: 6px 6px 40px; }
  .hero-portrait { height: 340px; }
  .floating-note { left: 8px; max-width: calc(100% - 16px); }

  /* Facts */
  .facts-grid { grid-template-columns: repeat(2, 1fr); }
  .fact:nth-child(2) { border-right: 0; }
  .fact:nth-child(-n+2) { border-bottom: 1px solid var(--border); }
  .fact { padding: 22px 18px; }

  /* Sections */
  .about-grid { grid-template-columns: 1fr; gap: 28px; }
  .journey-grid { grid-template-columns: 1fr; gap: 20px; }
  .contact-grid { grid-template-columns: 1fr; gap: 28px; }
  .form-grid { grid-template-columns: 1fr; gap: 0; }
  .field { margin-bottom: 14px; }
  .field.full { grid-column: auto; }
  .contact-form { padding: 28px 24px; }

  /* Brand */
  .brand-name { font-size: .88rem; }
  .brand-role { font-size: .66rem; }
}

/* ── 560px — small mobile ── */
@media (max-width: 560px) {
  .section { padding: 52px 0; }
  .teaching-grid { grid-template-columns: 1fr; }
  .cards-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .hero-card-wrap { max-width: 290px; }
  .hero-portrait { height: 310px; }
  .form-actions { flex-direction: column; align-items: stretch; }
  .form-actions .btn { width: 100%; justify-content: center; }
}

/* ── 400px — very small phones ── */
@media (max-width: 400px) {
  :root { --nav-h: 64px; }
  .container { width: min(var(--max-width), 100% - 24px); }
  .section { padding: 44px 0; }
  .brand-role { display: none; }
  .hero-grid { padding: 40px 0 48px; }
  .hero h1 { font-size: clamp(2rem, 9vw, 2.6rem); }
  .hero-card-wrap { max-width: 260px; }
  .hero-portrait { height: 280px; }
  .floating-note { padding: 10px 14px; }
  .facts-grid { grid-template-columns: 1fr 1fr; }
  .service-card, .subject-card, .journey-panel { padding: 22px 18px; }
  .contact-form { padding: 22px 16px; }
  .welcome-inner { padding: 36px 22px 30px; border-radius: 22px; }
  .welcome-inner h2 { font-size: 1.35rem; }
  .welcome-avatar { width: 68px; height: 68px; font-size: 1.5rem; }
  .loader-logo { width: 76px; height: 76px; font-size: 1.6rem; }
  .loader-name { font-size: 1.1rem; }
}

/* ═══════════════════════════════════════════════════════════
   GALLERY
═══════════════════════════════════════════════════════════ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.gallery-item {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 16px;
  border: none;
  padding: 0;
  cursor: pointer;
  background: var(--bg-tinted);
  display: block;
  width: 100%;
  transition: transform .3s cubic-bezier(.22,.68,0,1), box-shadow .3s ease;
}
.gallery-item:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: var(--shadow-lg);
  z-index: 1;
}
.gallery-item:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .45s cubic-bezier(.22,.68,0,1);
}
.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,25,42,.75) 0%, rgba(10,25,42,.1) 60%, transparent 100%);
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 14px;
  opacity: 0;
  transition: opacity .28s ease;
}
.gallery-item:hover .gallery-overlay,
.gallery-item:focus-visible .gallery-overlay {
  opacity: 1;
}
.gallery-overlay span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #fff;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  background: rgba(25,168,154,.85);
  padding: 5px 12px;
  border-radius: 999px;
}
.gallery-overlay span::before {
  content: '⊕';
  font-size: .9rem;
}

/* ─── Responsive gallery ─── */
@media (max-width: 960px) {
  .gallery-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
}
@media (max-width: 600px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .gallery-item { border-radius: 12px; }
}
@media (max-width: 380px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 6px; }
}

/* ═══════════════════════════════════════════════════════════
   LIGHTBOX
═══════════════════════════════════════════════════════════ */
#lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(5,13,22,.96);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  transition: opacity .3s ease;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
#lightbox:not([hidden]) { opacity: 1; }
#lightbox[hidden] {
  display: none;
}

/* Animated state */
#lightbox.lb-visible { opacity: 1; }

.lb-img-wrap {
  position: relative;
  max-width: min(1000px, 100%);
  max-height: calc(100vh - 120px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.lb-img {
  max-width: 100%;
  max-height: calc(100vh - 160px);
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 32px 80px rgba(0,0,0,.6);
  transition: opacity .25s ease, transform .25s ease;
  display: block;
}
.lb-img.lb-loading {
  opacity: 0;
  transform: scale(.97);
}

.lb-caption {
  color: rgba(255,255,255,.65);
  font-size: .85rem;
  text-align: center;
  margin: 0;
  letter-spacing: .02em;
}

.lb-counter {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,.45);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .1em;
  white-space: nowrap;
}

/* Close button */
.lb-close {
  position: absolute;
  top: 16px; right: 16px;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,.2);
  background: rgba(255,255,255,.08);
  color: #fff;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s, transform .2s;
  z-index: 2;
}
.lb-close:hover { background: rgba(255,255,255,.18); transform: rotate(90deg); }
.lb-close:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

/* Prev / Next arrows */
.lb-prev,
.lb-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px; height: 52px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,.2);
  background: rgba(255,255,255,.08);
  color: #fff;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s, transform .22s;
  z-index: 2;
}
.lb-prev { left: 16px; }
.lb-next { right: 16px; }
.lb-prev:hover { background: rgba(255,255,255,.18); transform: translateY(-50%) translateX(-3px); }
.lb-next:hover { background: rgba(255,255,255,.18); transform: translateY(-50%) translateX(3px); }
.lb-prev:focus-visible,
.lb-next:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

/* Hide arrows on very small screens */
@media (max-width: 480px) {
  .lb-prev { left: 6px; }
  .lb-next { right: 6px; }
  .lb-prev, .lb-next { width: 40px; height: 40px; font-size: 1.4rem; }
}
@media (prefers-reduced-motion: reduce) {
  .lb-img, #lightbox, .gallery-item, .gallery-item img { transition: none !important; }
}

/* ═══════════════════════════════════════════════════════════
   LOCATION MAP
═══════════════════════════════════════════════════════════ */
.map-section { background: var(--bg-tinted); }

.map-wrap {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  line-height: 0; /* remove gap under iframe */
}

.map-wrap iframe {
  display: block;
  width: 100%;
  height: 440px;
  border: 0;
  filter: grayscale(15%) contrast(1.02);
  transition: filter .3s;
}
[data-theme="dark"] .map-wrap iframe {
  filter: grayscale(30%) invert(92%) hue-rotate(175deg) brightness(.88) contrast(1.05);
}
.map-wrap:hover iframe { filter: grayscale(0%) contrast(1.04); }
[data-theme="dark"] .map-wrap:hover iframe {
  filter: grayscale(10%) invert(92%) hue-rotate(175deg) brightness(.92) contrast(1.08);
}

/* Floating pin card over the map */
.map-pin-card {
  position: absolute;
  bottom: 20px;
  left: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px 18px;
  box-shadow: var(--shadow-md);
  transition: background .35s, border-color .35s, transform .25s;
  line-height: 1;
}
.map-pin-card:hover { transform: translateY(-3px); }

.map-pin-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}
.map-pin-card strong {
  display: block;
  color: var(--navy);
  font-size: .92rem;
  font-weight: 800;
  margin-bottom: 3px;
  transition: color .35s;
}
[data-theme="dark"] .map-pin-card strong { color: var(--text); }
.map-pin-card span {
  display: block;
  color: var(--text-muted);
  font-size: .78rem;
}

/* Responsive */
@media (max-width: 720px) {
  .map-wrap iframe { height: 320px; }
  .map-pin-card { bottom: 14px; left: 14px; padding: 11px 14px; }
  .map-pin-card strong { font-size: .85rem; }
}
@media (max-width: 400px) {
  .map-wrap iframe { height: 260px; }
  .map-pin-card { bottom: 10px; left: 10px; padding: 9px 12px; gap: 8px; }
  .map-pin-icon { font-size: 1.2rem; }
}
