/* ==========================================================================
   NONQOMA COLLEGE — 2026 Revamp
   Design tokens
   ========================================================================== */
:root {
  --navy: #0d1938;
  --navy-2: #142a5c;
  --navy-3: #1c3a7a;
  --sky: #2fa8e0;
  --sky-deep: #1c86ba;
  --sky-tint: #eaf6fd;
  --gold: #c8a227;
  --gold-light: #e8cf7a;
  --ivory: #fbfaf5;
  --paper: #f4f1e8;
  --ink: #16192a;
  --slate: #5b6472;
  --line: rgba(13, 25, 56, 0.1);

  --display: "Fraunces", "Georgia", serif;
  --body: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --label: "Inter", sans-serif;

  --container: 1180px;
  --radius: 16px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
button { font-family: inherit; cursor: pointer; }

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

.eyebrow {
  font-family: var(--label);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--sky-deep);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--gold);
  display: inline-block;
}
.eyebrow.on-dark { color: var(--gold-light); }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 600;
  line-height: 1.12;
  margin: 0 0 18px;
  color: var(--navy);
}
em { font-style: italic; color: var(--sky-deep); }

.section-title { font-size: clamp(2rem, 4.4vw, 3.1rem); }
.section-lede { max-width: 620px; color: var(--slate); font-size: 1.05rem; margin-bottom: 48px; }
section { position: relative; }
.section-pad { padding: 104px 0; }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 30px; border-radius: 999px;
  font-family: var(--label); font-size: 0.86rem; font-weight: 600;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
}
.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--navy);
  box-shadow: 0 10px 24px -10px rgba(200, 162, 39, 0.7);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -10px rgba(200, 162, 39, 0.85); }
.btn-outline { border-color: rgba(13,25,56,0.25); color: var(--navy); }
.btn-outline:hover { border-color: var(--sky-deep); color: var(--sky-deep); }
.btn-outline.on-dark { border-color: rgba(255,255,255,0.35); color: #fff; }
.btn-outline.on-dark:hover { border-color: var(--gold-light); color: var(--gold-light); }

.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* ==========================================================================
   Topbar + Nav
   ========================================================================== */
.topbar {
  background: var(--navy);
  color: rgba(255,255,255,0.75);
  font-family: var(--label);
  font-size: 0.78rem;
}
.topbar .wrap {
  display: flex; justify-content: space-between; align-items: center;
  padding: 9px 24px; flex-wrap: wrap; gap: 8px;
}
.topbar a { color: rgba(255,255,255,0.85); }
.topbar a:hover { color: var(--gold-light); }
.topbar-left { display: flex; gap: 24px; flex-wrap: wrap; align-items: center; }
.topbar-left span { display: inline-flex; align-items: center; gap: 6px; }
.topbar-badge {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--gold-light); font-weight: 600; letter-spacing: 0.04em;
}
.topbar-social { display: flex; gap: 14px; }

/* ==========================================================================
   Announcement bar
   ========================================================================== */
.announce-bar {
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold-light) 50%, var(--gold) 100%);
  background-size: 200% 100%;
  animation: announce-shift 6s ease infinite;
}
@keyframes announce-shift { 0% { background-position: 0% 50%; } 100% { background-position: 200% 50%; } }
.announce-inner { padding: 10px 24px; text-align: center; }
.announce-bar a {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  flex-wrap: wrap; color: var(--navy); font-family: var(--label); font-size: 0.82rem; font-weight: 600;
}
.announce-pill {
  background: var(--navy); color: var(--gold-light); border-radius: 999px;
  padding: 3px 12px; font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 700;
}
.announce-arrow { transition: transform 0.25s ease; }
.announce-bar a:hover .announce-arrow { transform: translateX(4px); }
@media (max-width: 620px) { .announce-inner { padding: 9px 20px; } .announce-bar a { font-size: 0.74rem; gap: 7px; } }

#site-nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 250, 245, 0.9);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; padding: 8px 0; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 96px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a {
  font-family: var(--label); font-size: 0.84rem; font-weight: 600;
  color: var(--navy-2); position: relative; padding: 4px 0;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -3px; height: 2px; width: 0;
  background: var(--gold); transition: width 0.25s ease;
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; padding: 6px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--navy); }

@media (max-width: 980px) {
  .brand img { height: 68px; }
  .nav-links {
    position: fixed; top: 112px; left: 0; right: 0; background: var(--ivory);
    flex-direction: column; gap: 0; border-bottom: 1px solid var(--line);
    max-height: 0; overflow: hidden; opacity: 0; pointer-events: none;
    transition: max-height 0.35s ease, opacity 0.25s ease; padding: 0;
  }
  .nav-links.open {
    max-height: 80vh; overflow-y: auto; opacity: 1; pointer-events: auto; padding: 6px 0;
  }
  .nav-links a { width: 100%; padding: 15px 24px; border-bottom: 1px solid var(--line); }
  .nav-toggle { display: flex; }
  .topbar-left span:nth-child(2) { display: none; }
}
@media (max-width: 480px) {
  .brand img { height: 56px; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
#hero { position: relative; min-height: 92vh; display: flex; align-items: center; overflow: hidden; }
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }
.hero-media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(13,25,56,0.94) 20%, rgba(13,25,56,0.55) 62%, rgba(13,25,56,0.3) 100%),
              linear-gradient(0deg, rgba(13,25,56,0.5), transparent 40%);
}
.hero-content { position: relative; z-index: 2; padding: 150px 0 90px; color: #fff; max-width: 700px; }
.hero-motto {
  font-family: var(--display); font-style: italic; font-weight: 500;
  font-size: 1.25rem; color: var(--gold-light); margin-bottom: 10px;
}
.hero-title { font-size: clamp(2.6rem, 6vw, 4.4rem); color: #fff; margin-bottom: 18px; }
.hero-sub { font-size: 1.12rem; color: rgba(255,255,255,0.85); max-width: 560px; margin-bottom: 38px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 60px; }
.hero-stats { display: flex; gap: 42px; flex-wrap: wrap; border-top: 1px solid rgba(255,255,255,0.2); padding-top: 26px; }
.hero-stats div strong {
  display: block; font-family: var(--display); font-size: 2.1rem; color: var(--gold-light);
}
.hero-stats div span {
  font-family: var(--label); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em;
  color: rgba(255,255,255,0.7);
}
.accred-seal {
  position: absolute; z-index: 3; right: 48px; bottom: 48px;
  width: 116px; height: 116px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, var(--gold-light), var(--gold) 70%);
  display: flex; align-items: center; justify-content: center; text-align: center;
  color: var(--navy); font-family: var(--label); font-weight: 800; font-size: 0.62rem;
  letter-spacing: 0.06em; text-transform: uppercase; line-height: 1.3;
  box-shadow: 0 14px 34px -10px rgba(0,0,0,0.5), 0 0 0 6px rgba(255,255,255,0.12);
  border: 2px dashed rgba(13,25,56,0.35);
}
@media (max-width: 720px) { .accred-seal { display: none; } }

/* ==========================================================================
   Why Nonqoma
   ========================================================================== */
.why-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 20px; align-items: stretch; }
.why-lead {
  background: var(--navy);
  border-radius: var(--radius);
  padding: 42px 38px;
  color: #fff;
  display: flex; flex-direction: column; justify-content: center;
}
.why-lead h3 { color: #fff; font-size: 1.7rem; }
.why-lead p { color: rgba(255,255,255,0.78); margin-bottom: 26px; }
.why-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.why-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px;
}
.why-card .num {
  font-family: var(--display); font-size: 0.85rem; color: var(--gold);
  font-weight: 700; margin-bottom: 14px; display: block;
}
.why-card h4 { font-size: 1.1rem; margin-bottom: 10px; }
.why-card p { font-size: 0.9rem; color: var(--slate); margin: 0; }

@media (max-width: 900px) {
  .why-grid { grid-template-columns: 1fr; }
  .why-cards { grid-template-columns: 1fr; }
}

/* ==========================================================================
   About
   ========================================================================== */
#about { background: var(--paper); }
.about-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 64px; align-items: center; }
.about-visual { position: relative; }
.about-visual img { border-radius: var(--radius); width: 100%; }
.about-visual .ribbon {
  position: absolute; top: -18px; left: -18px;
  background: var(--navy); color: #fff;
  padding: 14px 20px; border-radius: 10px;
  font-family: var(--display); font-style: italic;
  font-size: 0.95rem; box-shadow: 0 12px 26px -10px rgba(13,25,56,0.5);
}
.about-copy p { color: var(--slate); margin-bottom: 20px; font-size: 1.02rem; }
.mission-list { display: grid; gap: 20px; margin-top: 30px; }
.mission-list li { display: flex; gap: 18px; align-items: flex-start; }
.mission-list .ic {
  width: 46px; height: 46px; border-radius: 50%; flex-shrink: 0;
  background: var(--sky-tint); color: var(--sky-deep);
  display: flex; align-items: center; justify-content: center; font-size: 1.15rem;
}
.mission-list h5 { margin: 0 0 6px; font-family: var(--display); font-size: 1.08rem; color: var(--navy); }
.mission-list p { margin: 0; font-size: 0.92rem; color: var(--slate); }

@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   Stats band
   ========================================================================== */
#stats { background: var(--navy); padding: 64px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stats-grid div strong {
  display: block; font-family: var(--display); font-size: 2.6rem; color: var(--gold-light);
}
.stats-grid div span { font-family: var(--label); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(255,255,255,0.7); }
@media (max-width: 720px) { .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 34px; } }

/* ==========================================================================
   Courses (certificate cards)
   ========================================================================== */
.course-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.course-card {
  position: relative;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 28px 28px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.course-card:hover { transform: translateY(-6px); box-shadow: 0 24px 50px -24px rgba(13,25,56,0.35); }
.course-card::before {
  content: "";
  position: absolute; top: 0; right: 0; width: 90px; height: 90px;
  background: linear-gradient(135deg, transparent 50%, var(--sky-tint) 50%);
}
.course-card .seal {
  width: 50px; height: 50px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--navy); display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; margin-bottom: 20px; position: relative; z-index: 1;
}
.course-card h3 { font-size: 1.22rem; margin-bottom: 10px; }
.course-card p { font-size: 0.9rem; color: var(--slate); margin: 0 0 18px; }
.course-card .tag {
  font-family: var(--label); font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--sky-deep); font-weight: 700;
}
@media (max-width: 980px) { .course-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .course-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   Specials / Johannesburg opening
   ========================================================================== */
.specials-section {
  position: relative;
  background: linear-gradient(175deg, var(--navy) 0%, var(--navy-2) 60%, var(--navy-3) 100%);
  overflow: hidden;
}
.specials-glow {
  position: absolute; top: -180px; right: -120px; width: 520px; height: 520px; border-radius: 50%;
  background: radial-gradient(circle, rgba(200,162,39,0.28), transparent 70%);
  pointer-events: none;
}
.specials-head { max-width: 700px; margin-bottom: 48px; }
.section-title.on-dark { color: #fff; }
.section-lede.on-dark { color: rgba(255,255,255,0.75); }

.specials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; position: relative; z-index: 1; }
.specials-card {
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius); padding: 28px 26px 26px;
  backdrop-filter: blur(6px);
  display: flex; flex-direction: column; gap: 10px;
  transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}
.specials-card:hover { transform: translateY(-6px); background: rgba(255,255,255,0.1); border-color: rgba(232,207,122,0.5); }
.specials-card-wide { grid-column: span 3; flex-direction: row; align-items: center; gap: 24px; background: linear-gradient(120deg, rgba(200,162,39,0.22), rgba(255,255,255,0.06)); border-color: rgba(232,207,122,0.5); }
.specials-card-wide > div,
.specials-card-wide h4 { flex: 1; }
.specials-num {
  width: 36px; height: 36px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, var(--gold-light), var(--gold)); color: var(--navy);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--display); font-weight: 700; font-size: 0.95rem;
}
.specials-card h4 { color: #fff; font-size: 1.05rem; margin: 0 0 4px; line-height: 1.3; }
.specials-card p { color: rgba(255,255,255,0.65); font-size: 0.86rem; margin: 0; flex: 1; }
.specials-price {
  align-self: flex-start; font-family: var(--display); font-weight: 700; font-size: 1.5rem;
  color: var(--gold-light);
}
.specials-card-wide .specials-price { align-self: center; flex: none; }

.specials-footer {
  margin-top: 48px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 24px;
  border-top: 1px solid rgba(255,255,255,0.14); padding-top: 32px; position: relative; z-index: 1;
}
.specials-location { display: flex; gap: 16px; align-items: flex-start; max-width: 420px; }
.specials-location .ic {
  width: 44px; height: 44px; border-radius: 50%; background: rgba(232,207,122,0.15); color: var(--gold-light);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 1rem;
}
.specials-location h4 { color: #fff; font-size: 0.95rem; margin: 0 0 4px; }
.specials-location p { color: rgba(255,255,255,0.65); font-size: 0.86rem; margin: 0; }
.specials-note { text-align: right; max-width: 380px; }
.specials-note p { color: rgba(255,255,255,0.55); font-size: 0.78rem; margin: 0 0 14px; }

@media (max-width: 980px) {
  .specials-grid { grid-template-columns: repeat(2, 1fr); }
  .specials-card-wide { grid-column: span 2; }
}
@media (max-width: 720px) {
  .specials-grid { grid-template-columns: 1fr; }
  .specials-card-wide { grid-column: span 1; flex-direction: column; align-items: flex-start; }
  .specials-card-wide .specials-price { align-self: flex-start; }
  .specials-footer { flex-direction: column; align-items: flex-start; }
  .specials-note { text-align: left; }
}

/* ==========================================================================
   Clinical training tabs
   ========================================================================== */
#clinical { background: var(--paper); }
.clinical-layout { display: grid; grid-template-columns: 0.9fr 2fr; gap: 40px; align-items: start; }
.clinical-tabs { display: flex; flex-direction: column; gap: 8px; }
.clinical-tab {
  text-align: left; background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 16px 18px; font-family: var(--label); font-size: 0.88rem; font-weight: 600; color: var(--navy-2);
  transition: all 0.25s ease;
}
.clinical-tab.active { background: var(--navy); color: #fff; border-color: var(--navy); }
.clinical-tab:hover:not(.active) { border-color: var(--sky-deep); color: var(--sky-deep); }
.clinical-panel { display: none; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 40px; }
.clinical-panel.active { display: grid; grid-template-columns: 1.4fr 1fr; gap: 34px; align-items: center; animation: fade-in 0.4s ease; }
@keyframes fade-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.clinical-panel h3 { font-size: 1.5rem; }
.clinical-panel .lede { font-style: italic; color: var(--sky-deep); margin-bottom: 16px; font-size: 1rem; }
.clinical-panel p { color: var(--slate); }
.clinical-panel img { border-radius: 12px; width: 100%; }
.clinical-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.clinical-tags span {
  background: var(--sky-tint); color: var(--sky-deep); font-family: var(--label);
  font-size: 0.76rem; font-weight: 600; padding: 6px 13px; border-radius: 999px;
}
@media (max-width: 900px) {
  .clinical-layout { grid-template-columns: 1fr; }
  .clinical-tabs { flex-direction: row; overflow-x: auto; }
  .clinical-panel.active { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Campus life
   ========================================================================== */
.campus-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.campus-card { display: flex; gap: 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; align-items: flex-start; }
.campus-card img { width: 96px; height: 96px; border-radius: 12px; object-fit: cover; flex-shrink: 0; }
.campus-card h4 { font-size: 1.12rem; margin-bottom: 8px; }
.campus-card p { font-size: 0.9rem; color: var(--slate); margin: 0; }
@media (max-width: 720px) { .campus-grid { grid-template-columns: 1fr; } }

.campus-locations { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 28px; }
.campus-loc-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px;
  position: relative;
}
.campus-loc-tag {
  display: inline-block; font-family: var(--label); font-size: 0.65rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em; color: var(--sky-deep); background: var(--sky-tint);
  padding: 3px 10px; border-radius: 999px; margin-bottom: 10px;
}
.campus-loc-tag-new { color: var(--navy); background: linear-gradient(135deg, var(--gold-light), var(--gold)); }
.campus-loc-card h4 { font-size: 1.05rem; margin: 0 0 6px; }
.campus-loc-card p { font-size: 0.86rem; color: var(--slate); margin: 0; }
.campus-loc-new { border-color: var(--gold); box-shadow: 0 14px 30px -18px rgba(200,162,39,0.6); }
@media (max-width: 720px) { .campus-locations { grid-template-columns: 1fr; } }

/* ==========================================================================
   Gallery
   ========================================================================== */
#gallery { background: var(--navy); }
#gallery .eyebrow, #gallery .section-title, #gallery .section-lede { color: #fff; }
#gallery .section-lede { color: rgba(255,255,255,0.7); }
.gallery-grid { columns: 4 260px; column-gap: 14px; }
.gallery-grid figure {
  break-inside: avoid; margin: 0 0 14px; border-radius: 10px; overflow: hidden;
  position: relative; cursor: zoom-in;
}
.gallery-grid img { width: 100%; display: block; transition: transform 0.5s ease; }
.gallery-grid figure:hover img { transform: scale(1.06); }
.gallery-grid figure::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(13,25,56,0.85));
  opacity: 0; transition: opacity 0.3s ease;
}
.gallery-grid figure:hover::after { opacity: 1; }
.lightbox {
  position: fixed; inset: 0; z-index: 200; background: rgba(6,10,22,0.94);
  display: none; align-items: center; justify-content: center; padding: 40px;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 90vw; max-height: 86vh; border-radius: 8px; box-shadow: 0 30px 80px rgba(0,0,0,0.6); }
.lightbox-close {
  position: absolute; top: 24px; right: 30px; background: none;
  border: 1px solid rgba(255,255,255,0.3); color: #fff; width: 42px; height: 42px;
  border-radius: 50%; font-size: 1.2rem;
}

/* ==========================================================================
   Contact
   ========================================================================== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; }
.contact-row { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.contact-row:last-child { border-bottom: none; }
.contact-row .ic {
  width: 44px; height: 44px; border-radius: 50%; background: var(--sky-tint); color: var(--sky-deep);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 1rem;
}
.contact-row h4 { margin: 0 0 4px; font-size: 0.72rem; font-family: var(--label); text-transform: uppercase; letter-spacing: 0.1em; color: var(--gold); font-weight: 700; }
.contact-row p { margin: 0; color: var(--slate); font-size: 0.95rem; }
.contact-row a { color: var(--navy-2); }
.map-col { display: flex; flex-direction: column; gap: 12px; }
.map-tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.map-tab {
  background: #fff; border: 1px solid var(--line); color: var(--navy-2); padding: 8px 16px;
  border-radius: 999px; font-family: var(--label); font-size: 0.78rem; font-weight: 600;
  transition: all 0.2s ease;
}
.map-tab:hover { border-color: var(--sky-deep); color: var(--sky-deep); }
.map-tab.active { background: var(--navy); color: #fff; border-color: var(--navy); }
.map-shell { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); min-height: 340px; flex: 1; }
.map-shell iframe { width: 100%; height: 100%; border: 0; min-height: 340px; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 24px; }
.form-grid .full { grid-column: 1 / -1; }
.form-grid input, .form-grid textarea {
  width: 100%; border: 1px solid var(--line); border-radius: 10px; padding: 13px 16px;
  font-family: var(--body); font-size: 0.94rem; background: var(--paper);
}
.form-grid input:focus, .form-grid textarea:focus { outline: none; border-color: var(--sky-deep); background: #fff; }

@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   Footer
   ========================================================================== */
#site-footer { background: var(--navy); color: rgba(255,255,255,0.75); padding: 76px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 50px; padding-bottom: 46px; border-bottom: 1px solid rgba(255,255,255,0.12); }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.footer-brand img { height: 84px; width: auto; }
.footer-brand span { font-family: var(--display); font-size: 1.15rem; color: #fff; }
#site-footer p { color: rgba(255,255,255,0.65); font-size: 0.92rem; max-width: 320px; }
.footer-col h4 { font-family: var(--label); text-transform: uppercase; font-size: 0.75rem; letter-spacing: 0.1em; color: var(--gold-light); margin-bottom: 18px; font-weight: 700; }
.footer-col ul li { margin-bottom: 12px; color: rgba(255,255,255,0.68); font-size: 0.92rem; }
.footer-col ul li a:hover { color: var(--gold-light); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
  padding: 24px 0; font-family: var(--label); font-size: 0.75rem; color: rgba(255,255,255,0.55);
}
.footer-bottom a { color: rgba(255,255,255,0.7); }
.footer-bottom a:hover { color: var(--gold-light); }

@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   Floating chat widget
   ========================================================================== */
#chat-launcher {
  position: fixed; bottom: 24px; right: 24px; z-index: 300;
  width: 62px; height: 62px; border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--navy-3));
  border: 2px solid var(--gold);
  box-shadow: 0 10px 30px -6px rgba(13,25,56,0.5);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold-light); font-size: 1.4rem;
  transition: transform 0.25s ease;
}
#chat-launcher:hover { transform: scale(1.07); }
#chat-launcher .ping {
  position: absolute; top: -3px; right: -3px; width: 15px; height: 15px; border-radius: 50%;
  background: var(--sky); box-shadow: 0 0 0 3px var(--ivory);
}

#chat-window {
  position: fixed; bottom: 100px; right: 24px; z-index: 300;
  width: 370px; max-width: calc(100vw - 32px); height: 510px; max-height: calc(100vh - 140px);
  background: #fff; border: 1px solid var(--line); border-radius: 18px;
  display: none; flex-direction: column; overflow: hidden;
  box-shadow: 0 30px 80px rgba(13,25,56,0.3);
}
#chat-window.open { display: flex; animation: chat-pop 0.3s ease; }
@keyframes chat-pop { from { opacity: 0; transform: translateY(16px) scale(0.97); } to { opacity: 1; transform: translateY(0) scale(1); } }

.chat-head {
  background: linear-gradient(120deg, var(--navy), var(--navy-3));
  padding: 18px 20px; display: flex; align-items: center; gap: 12px;
}
.chat-head img { width: 40px; height: 40px; border-radius: 50%; background: #fff; padding: 6px; object-fit: contain; }
.chat-head h4 { margin: 0; font-family: var(--display); font-size: 1.02rem; color: #fff; }
.chat-head span { display: block; font-family: var(--label); font-size: 0.68rem; color: var(--sky); text-transform: uppercase; letter-spacing: 0.08em; }
.chat-close { margin-left: auto; background: none; border: none; color: rgba(255,255,255,0.7); font-size: 1.2rem; }

.chat-body { flex: 1; overflow-y: auto; padding: 18px; display: flex; flex-direction: column; gap: 12px; background: var(--paper); }
.chat-body::-webkit-scrollbar { width: 6px; }
.chat-body::-webkit-scrollbar-thumb { background: var(--line); border-radius: 3px; }

.msg { max-width: 84%; padding: 11px 15px; border-radius: 14px; font-size: 0.88rem; line-height: 1.5; }
.msg.bot { align-self: flex-start; background: #fff; border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.msg.user { align-self: flex-end; background: linear-gradient(135deg, var(--navy), var(--navy-3)); color: #fff; font-weight: 500; border-bottom-right-radius: 4px; }
.msg a { color: var(--gold); font-weight: 700; }
.msg.bot a { color: var(--sky-deep); }

.chat-chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 18px 14px; background: var(--paper); }
.chip { background: #fff; border: 1px solid var(--line); color: var(--navy-2); padding: 7px 13px; border-radius: 999px; font-size: 0.74rem; font-family: var(--label); font-weight: 600; }
.chip:hover { border-color: var(--gold); color: var(--sky-deep); }

.chat-input-row { display: flex; gap: 8px; padding: 14px; border-top: 1px solid var(--line); background: #fff; }
.chat-input-row input {
  flex: 1; background: var(--paper); border: 1px solid var(--line); border-radius: 999px;
  padding: 11px 16px; color: var(--ink); font-family: var(--body); font-size: 0.88rem;
}
.chat-input-row input:focus { outline: none; border-color: var(--sky-deep); }
.chat-input-row button { background: var(--navy); border: none; color: var(--gold-light); width: 42px; height: 42px; border-radius: 50%; font-size: 1rem; flex-shrink: 0; }

@media (max-width: 480px) {
  #chat-window { width: calc(100vw - 24px); right: 12px; bottom: 88px; }
  #chat-launcher { right: 16px; bottom: 16px; }
}
