/* ==========================================================================
   Dr. Kishan Agarwal — Conservative Dentistry & Endodontics
   Design tokens: navy #112547 / green #60B358 / porcelain & ivory tints
   Display: Playfair Display · Body: Inter
   Signature motif: fine-line "root canal blueprint" line art
   ========================================================================== */

:root {
  /* Color */
  --navy-950: #0b1930;
  --navy-900: #112547;
  --navy-800: #16325c;
  --navy-700: #1f3f6e;
  --green-500: #60b358;
  --green-600: #4c9645;
  --green-100: #e1f6de;
  --porcelain: #f7fafc;
  --ivory: #fbf9f3;
  --sky-tint: #eaf4ff;
  --white: #ffffff;
  --ink: #142238;
  --ink-muted: #55637a;
  --ink-faint: #8998ad;
  --line: #e4e9f0;

  /* Type */
  --font-display: "Playfair Display", "Iowan Old Style", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Layout */
  --container: 1200px;
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-pill: 100px;
  --shadow-sm: 0 2px 10px rgba(17, 37, 71, 0.06);
  --shadow-md: 0 10px 30px rgba(17, 37, 71, 0.10);
  --shadow-lg: 0 20px 60px rgba(17, 37, 71, 0.16);
  --header-h: 76px;
}

/* -------------------------------------------------------------------------
   Reset
   ------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@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; scroll-behavior: auto !important; }
}
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
input, textarea { font: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.15; letter-spacing: -0.01em; color: var(--navy-900); }
:focus-visible { outline: 2px solid var(--green-600); outline-offset: 3px; }

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 200;
  background: var(--navy-900);
  color: #fff;
  padding: 12px 18px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 12px; }

/* Grid/flex children default to min-width:auto, which lets long text force
   horizontal overflow instead of wrapping — reset it wherever columns hold text. */
.hero-grid > *, .split > *, .footer-grid > *, .grid > *, .badge-row > *, .stat-strip > * { min-width: 0; }

.container { max-width: var(--container); margin-inline: auto; padding-inline: 20px; }
@media (min-width: 640px) { .container { padding-inline: 32px; } }
@media (min-width: 1024px) { .container { padding-inline: 48px; } }

/* -------------------------------------------------------------------------
   Type scale
   ------------------------------------------------------------------------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green-600);
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--green-600);
}
.eyebrow.on-dark { color: #9fd398; }
.eyebrow.on-dark::before { background: #9fd398; }

h1 { font-size: clamp(2.2rem, 6vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 4.4vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 2.6vw, 1.5rem); }
h4 { font-size: 1.05rem; }
p { color: var(--ink-muted); }
.lede { font-size: clamp(1.05rem, 2vw, 1.2rem); color: var(--ink-muted); max-width: 60ch; }
em { font-style: italic; color: var(--green-600); font-family: var(--font-display); }
.hero em, .page-hero em, .bg-navy em, .cta-banner em { color: #9fd398; }
.serif-italic { font-family: var(--font-display); font-style: italic; font-weight: 500; }

/* -------------------------------------------------------------------------
   Buttons
   ------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 14px 26px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.96rem;
  white-space: nowrap;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn-primary { background: var(--green-500); color: var(--white); border: 1px solid var(--green-500); box-shadow: 0 8px 20px rgba(96, 179, 88, 0.35); }
.btn-primary:hover { background: var(--green-600); border-color: var(--green-600); transform: translateY(-2px); box-shadow: 0 12px 26px rgba(96, 179, 88, 0.4); }
.btn-outline { background: transparent; color: var(--white); border: 1.5px solid rgba(255, 255, 255, 0.5); }
.btn-outline:hover { background: rgba(255, 255, 255, 0.12); border-color: #fff; transform: translateY(-2px); }
.btn-outline-navy { background: transparent; color: var(--navy-900); border: 1.5px solid var(--line); }
.btn-outline-navy:hover { border-color: var(--navy-900); background: var(--porcelain); }
.btn-block { width: 100%; }
.btn-sm { padding: 10px 18px; font-size: 0.88rem; }

/* -------------------------------------------------------------------------
   Header / Nav
   ------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 14px 16px 0;
}
@media (min-width: 1024px) { .site-header { padding: 20px 24px 0; } }

.nav-pill {
  max-width: 1240px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 10px 8px 14px;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-md);
  transition: box-shadow 0.25s ease, background-color 0.25s ease;
}
.site-header.is-scrolled .nav-pill { box-shadow: var(--shadow-lg); background: rgba(255, 255, 255, 0.92); }

.brand { display: flex; align-items: center; gap: 10px; min-width: 0; }
.brand img { width: 40px; height: 40px; object-fit: contain; flex-shrink: 0; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 1rem; color: var(--navy-900); white-space: nowrap; }
.brand-sub { font-size: 0.66rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-faint); font-weight: 600; }

.nav-links { display: none; align-items: center; gap: 4px; }
.nav-links a, .nav-links .dropdown > button {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--navy-900);
  transition: background-color 0.2s ease, color 0.2s ease;
}
.nav-links a:hover, .nav-links .dropdown > button:hover { background: var(--porcelain); color: var(--green-600); }
.nav-links a.active { color: var(--green-600); }
.nav-links .dropdown { position: relative; }
.nav-links .dropdown > button svg { width: 13px; height: 13px; transition: transform 0.2s ease; }
.nav-links .dropdown.open > button svg { transform: rotate(180deg); }
.dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  min-width: 280px;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  z-index: 20;
}
.dropdown.open .dropdown-menu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
@media (hover: hover) and (pointer: fine) {
  .dropdown:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
  .dropdown:hover > button svg { transform: rotate(180deg); }
}
.dropdown-menu a { display: flex; flex-direction: column; align-items: flex-start; gap: 1px; padding: 10px 14px; border-radius: 12px; }
.dropdown-menu a:hover { background: var(--porcelain); }
.dropdown-menu .dm-title { font-weight: 600; color: var(--navy-900); font-size: 0.9rem; }
.dropdown-menu .dm-desc { font-weight: 400; color: var(--ink-faint); font-size: 0.78rem; }

.nav-cta { display: none; }
.nav-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  flex-shrink: 0;
}
.nav-toggle svg { width: 22px; height: 22px; color: var(--navy-900); }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

@media (min-width: 1024px) {
  .nav-links { display: flex; }
  .nav-cta { display: inline-flex; }
  .nav-toggle { display: none; }
}

/* Mobile menu panel */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--navy-900);
  padding: calc(var(--header-h) + 24px) 26px 40px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transform: translateY(-100%);
  opacity: 0;
  transition: transform 0.35s cubic-bezier(.4,0,.2,1), opacity 0.3s ease;
  overflow-y: auto;
}
.mobile-menu.is-open { transform: translateY(0); opacity: 1; }
.mobile-menu a { color: #fff; font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; padding: 12px 4px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.mobile-menu .mm-sub { display: flex; flex-direction: column; padding-left: 14px; }
.mobile-menu .mm-sub a { font-family: var(--font-body); font-size: 0.95rem; font-weight: 500; color: rgba(255,255,255,0.75); border-bottom: none; padding: 9px 4px; }
.mobile-menu .mm-cta { margin-top: 22px; }
.mobile-menu .mm-contact { margin-top: auto; padding-top: 24px; display: flex; flex-direction: column; gap: 10px; color: rgba(255,255,255,0.7); font-size: 0.9rem; }
.mobile-menu .mm-contact a { font-family: var(--font-body); font-weight: 500; font-size: 0.9rem; border: none; padding: 4px; color: #fff; }
body.menu-open { overflow: hidden; }

/* -------------------------------------------------------------------------
   Section scaffolding
   ------------------------------------------------------------------------- */
section { position: relative; }
.section { padding: 64px 0; }
@media (min-width: 768px) { .section { padding: 96px 0; } }
.section-head { max-width: 640px; margin-bottom: 44px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { margin-top: 14px; }
.section-head .lede { margin-top: 16px; }
.section-head.center .lede { margin-inline: auto; }
.bg-porcelain { background: var(--porcelain); }
.bg-ivory { background: var(--ivory); }
.bg-navy { background: var(--navy-900); color: #fff; }
.bg-navy h2, .bg-navy h3, .bg-navy h4 { color: #fff; }
.bg-navy p { color: rgba(255,255,255,0.72); }

/* Root-canal blueprint watermark motif */
.root-motif {
  position: absolute;
  pointer-events: none;
  opacity: 0.1;
  z-index: 0;
}
.bg-navy .root-motif, .hero .root-motif { opacity: 0.14; }

/* -------------------------------------------------------------------------
   Hero
   ------------------------------------------------------------------------- */
.hero {
  position: relative;
  background: radial-gradient(120% 140% at 85% -10%, #1c3f6e 0%, var(--navy-900) 45%, var(--navy-950) 100%);
  color: #fff;
  overflow: hidden;
  padding-top: 40px;
}
.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  pointer-events: none;
}
.hero-glow.g1 { width: 420px; height: 420px; background: rgba(96, 179, 88, 0.35); top: -120px; right: -80px; }
.hero-glow.g2 { width: 340px; height: 340px; background: rgba(90, 160, 255, 0.18); bottom: -100px; left: -100px; }

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 40px;
  padding: 40px 0 0;
}
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.05fr 0.95fr; align-items: end; padding: 30px 0 0; }
}

.hero-copy h1 { color: #fff; margin-top: 16px; }
.hero-copy .lede { color: rgba(255,255,255,0.78); margin-top: 18px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 36px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,0.14); }
.hero-badge {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 14px;
  border-radius: var(--radius-pill);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
}
.hero-badge svg { width: 15px; height: 15px; color: #9fd398; flex-shrink: 0; }

.hero-portrait { position: relative; display: flex; justify-content: center; }
.hero-portrait-frame { position: relative; width: min(420px, 82%); }
.hero-portrait-frame img { position: relative; z-index: 2; width: 100%; filter: drop-shadow(0 30px 50px rgba(0,0,0,0.35)); }
.hero-portrait-ring {
  position: absolute;
  inset: -6% -18% -2% -18%;
  border: 1px dashed rgba(255,255,255,0.22);
  border-radius: 50% 50% 42% 42% / 55% 55% 45% 45%;
  z-index: 1;
}
.hero-portrait-tag {
  position: absolute;
  z-index: 3;
  left: -6px;
  bottom: 8%;
  background: rgba(255,255,255,0.97);
  color: var(--navy-900);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 210px;
}
@media (min-width: 900px) { .hero-portrait-tag { left: -30px; } }
.hero-portrait-tag .tag-icon { width: 34px; height: 34px; border-radius: 50%; background: var(--green-100); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.hero-portrait-tag .tag-icon svg { width: 18px; height: 18px; color: var(--green-600); }
.hero-portrait-tag strong { display: block; font-size: 0.86rem; line-height: 1.25; }
.hero-portrait-tag span { font-size: 0.72rem; color: var(--ink-faint); }

/* -------------------------------------------------------------------------
   Page header (non-home hero band)
   ------------------------------------------------------------------------- */
.page-hero {
  position: relative;
  background: radial-gradient(120% 160% at 90% -20%, #1c3f6e 0%, var(--navy-900) 50%, var(--navy-950) 100%);
  color: #fff;
  padding: 56px 0 70px;
  overflow: hidden;
}
.page-hero .eyebrow { margin-bottom: 14px; }
.page-hero h1 { color: #fff; }
.page-hero .lede { color: rgba(255,255,255,0.78); margin-top: 16px; }
.page-hero-crumbs { display: flex; align-items: center; gap: 8px; font-size: 0.82rem; color: rgba(255,255,255,0.55); margin-bottom: 18px; font-weight: 500; }
.page-hero-crumbs a:hover { color: #fff; }

/* -------------------------------------------------------------------------
   Cards
   ------------------------------------------------------------------------- */
.card {
  background: #fff;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  padding: 28px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.card-icon { width: 50px; height: 50px; border-radius: 14px; background: var(--green-100); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.card-icon svg { width: 25px; height: 25px; color: var(--green-600); }
.card h3 { margin-bottom: 10px; }
.card p { font-size: 0.94rem; }

.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(1, 1fr); }
.grid-3 { grid-template-columns: repeat(1, 1fr); }
.grid-4 { grid-template-columns: repeat(1, 1fr); }
@media (min-width: 640px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); } }

/* -------------------------------------------------------------------------
   About teaser / split sections
   ------------------------------------------------------------------------- */
.split {
  display: grid;
  gap: 40px;
  align-items: center;
}
@media (min-width: 900px) { .split { grid-template-columns: 0.85fr 1.15fr; gap: 64px; } }
.split.reverse { direction: rtl; }
.split.reverse > * { direction: ltr; }

.split-media { position: relative; }
.split-media img { border-radius: var(--radius-lg); width: 100%; object-fit: cover; box-shadow: var(--shadow-md); }
.split-media-badge {
  position: absolute;
  bottom: -18px;
  right: -14px;
  background: #fff;
  border-radius: var(--radius-md);
  padding: 16px 20px;
  box-shadow: var(--shadow-lg);
  text-align: center;
}
@media (min-width: 640px) { .split-media-badge { bottom: -22px; right: -22px; padding: 18px 24px; } }
.split-media-badge strong { display: block; font-family: var(--font-display); font-size: 1.6rem; color: var(--navy-900); }
.split-media-badge span { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.07em; color: var(--ink-faint); font-weight: 700; }

.check-list { display: flex; flex-direction: column; gap: 14px; margin-top: 22px; }
.check-list li { display: flex; align-items: flex-start; gap: 12px; font-size: 0.96rem; color: var(--ink); font-weight: 500; }
.check-list svg { width: 20px; height: 20px; color: var(--green-600); flex-shrink: 0; margin-top: 2px; }

/* -------------------------------------------------------------------------
   Stat strip
   ------------------------------------------------------------------------- */
.stat-strip { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
@media (min-width: 768px) { .stat-strip { grid-template-columns: repeat(4, 1fr); } }
.stat { text-align: center; padding: 18px 10px; }
.stat strong { display: block; font-family: var(--font-display); font-size: clamp(1.8rem, 4vw, 2.6rem); color: var(--navy-900); }
.bg-navy .stat strong { color: #fff; }
.stat span { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-faint); font-weight: 600; }
.bg-navy .stat span { color: rgba(255,255,255,0.55); }

/* -------------------------------------------------------------------------
   Timeline (education / teaching / positions)
   ------------------------------------------------------------------------- */
.timeline { position: relative; padding-left: 30px; }
.timeline::before { content: ""; position: absolute; left: 5px; top: 6px; bottom: 6px; width: 1.5px; background: linear-gradient(to bottom, var(--green-500), var(--line) 90%); }
.timeline-item { position: relative; padding-bottom: 36px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before { content: ""; position: absolute; left: -30px; top: 4px; width: 12px; height: 12px; border-radius: 50%; background: var(--white); border: 2.5px solid var(--green-500); }
.timeline-year { font-family: var(--font-body); font-size: 0.76rem; font-weight: 700; letter-spacing: 0.06em; color: var(--green-600); text-transform: uppercase; }
.timeline-item h4 { margin-top: 4px; }
.timeline-item p { margin-top: 4px; font-size: 0.92rem; }

/* -------------------------------------------------------------------------
   Achievement / award list
   ------------------------------------------------------------------------- */
.award-list { display: flex; flex-direction: column; gap: 0; }
.award-item { display: flex; gap: 18px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.award-item:first-child { padding-top: 0; }
.award-icon { width: 44px; height: 44px; border-radius: 12px; background: var(--sky-tint); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.award-icon svg { width: 22px; height: 22px; color: var(--navy-800); }
.award-item.highlight .award-icon { background: var(--green-100); }
.award-item.highlight .award-icon svg { color: var(--green-600); }
.award-body h4 { font-size: 1rem; }
.award-body .award-meta { font-size: 0.8rem; color: var(--ink-faint); font-weight: 600; margin-top: 2px; }
.award-body p { margin-top: 6px; font-size: 0.92rem; }

/* -------------------------------------------------------------------------
   Publications list
   ------------------------------------------------------------------------- */
.pub-list { counter-reset: pub; display: flex; flex-direction: column; }
.pub-item { counter-increment: pub; display: flex; gap: 18px; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 0.92rem; color: var(--ink-muted); }
.pub-item::before { content: counter(pub); flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--porcelain); color: var(--navy-800); font-family: var(--font-body); font-weight: 700; font-size: 0.78rem; display: flex; align-items: center; justify-content: center; }
.pub-item strong { color: var(--ink); font-weight: 600; }

/* -------------------------------------------------------------------------
   Membership badges
   ------------------------------------------------------------------------- */
.badge-row { display: flex; flex-wrap: wrap; gap: 12px; }
.membership-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  background: var(--porcelain);
  border: 1px solid var(--line);
  flex: 1 1 260px;
}
.membership-badge .mb-icon { width: 38px; height: 38px; border-radius: 10px; background: #fff; display: flex; align-items: center; justify-content: center; flex-shrink: 0; box-shadow: var(--shadow-sm); }
.membership-badge .mb-icon svg { width: 19px; height: 19px; color: var(--navy-800); }
.membership-badge strong { display: block; font-size: 0.88rem; color: var(--ink); }
.membership-badge span { font-size: 0.78rem; color: var(--ink-faint); }

/* -------------------------------------------------------------------------
   CTA banner
   ------------------------------------------------------------------------- */
.cta-banner {
  position: relative;
  overflow: hidden;
  background: var(--navy-900);
  border-radius: var(--radius-lg);
  padding: 48px 28px;
  text-align: center;
  color: #fff;
}
@media (min-width: 768px) { .cta-banner { padding: 64px 60px; } }
.cta-banner h2 { color: #fff; max-width: 20ch; margin-inline: auto; }
.cta-banner .lede { color: rgba(255,255,255,0.72); margin-inline: auto; margin-top: 14px; }
.cta-banner .hero-actions { justify-content: center; margin-top: 30px; }

/* -------------------------------------------------------------------------
   Contact
   ------------------------------------------------------------------------- */
.contact-card { display: flex; gap: 16px; align-items: flex-start; padding: 22px; border-radius: var(--radius-md); background: var(--porcelain); border: 1px solid var(--line); }
.contact-card .cc-icon { width: 46px; height: 46px; border-radius: 12px; background: #fff; box-shadow: var(--shadow-sm); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-card .cc-icon svg { width: 22px; height: 22px; color: var(--green-600); }
.contact-card h4 { font-size: 0.95rem; }
.contact-card p, .contact-card a { font-size: 0.92rem; }
.contact-card a:hover { color: var(--green-600); }
.map-embed { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); border: 1px solid var(--line); }
.map-embed iframe { width: 100%; height: 380px; border: 0; display: block; }

/* -------------------------------------------------------------------------
   Footer
   ------------------------------------------------------------------------- */
.site-footer { background: var(--navy-950); color: rgba(255,255,255,0.62); padding: 64px 0 0; }
.footer-grid { display: grid; gap: 40px; grid-template-columns: 1fr; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 32px; } }
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.footer-brand img { width: 38px; height: 38px; }
.footer-brand strong { font-family: var(--font-display); color: #fff; font-size: 1.05rem; display: block; }
.footer-brand span { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.06em; color: rgba(255,255,255,0.4); }
.footer p { font-size: 0.88rem; max-width: 32ch; }
.site-footer h5 { color: #fff; font-family: var(--font-body); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 700; margin-bottom: 18px; }
.site-footer ul { display: flex; flex-direction: column; gap: 11px; }
.site-footer a { font-size: 0.9rem; transition: color 0.2s ease; }
.site-footer a:hover { color: #fff; }
.footer-contact li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.88rem; }
.footer-contact svg { width: 16px; height: 16px; color: var(--green-500); flex-shrink: 0; margin-top: 3px; }
.footer-bottom { margin-top: 56px; padding: 22px 0; border-top: 1px solid rgba(255,255,255,0.08); display: flex; flex-direction: column; gap: 10px; align-items: center; text-align: center; font-size: 0.82rem; }
@media (min-width: 640px) { .footer-bottom { flex-direction: row; justify-content: space-between; text-align: left; } }

/* -------------------------------------------------------------------------
   Reveal-on-scroll
   ------------------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* -------------------------------------------------------------------------
   Back to top
   ------------------------------------------------------------------------- */
.back-to-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--navy-900);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  z-index: 50;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
}
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top svg { width: 18px; height: 18px; }

/* -------------------------------------------------------------------------
   Utilities
   ------------------------------------------------------------------------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.gallery-strip { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
@media (min-width: 768px) { .gallery-strip { grid-template-columns: repeat(4, 1fr); } }
.gallery-strip img { border-radius: var(--radius-md); width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3/4; box-shadow: var(--shadow-sm); }
.gallery-strip a:nth-child(1) { grid-row: span 2; }
.gallery-strip a:nth-child(1) img { aspect-ratio: 3/7; }
@media (max-width: 767px) { .gallery-strip a:nth-child(1) { grid-row: span 1; } .gallery-strip a:nth-child(1) img { aspect-ratio: 3/4; } }
