/* ============================================================
   SRS WORLD SCHOOL — Premium Website Stylesheet
   ============================================================ */

/* ---------- Design Tokens ---------- */
:root {
  --navy-950: #06182e;
  --navy-900: #0a2540;
  --navy-800: #0f3257;
  --navy-700: #16406e;
  --blue-500: #1f6feb;
  --gold-500: #d4a017;
  --gold-400: #e6b93a;
  --gold-300: #f2d27a;
  --cream: #fbf8f3;
  --white: #ffffff;
  --ink: #14202e;
  --muted: #5b6b80;
  --line: #e6e1d8;
  --success: #16a34a;
  --danger: #dc2626;

  --bg: var(--white);
  --surface: #ffffff;
  --surface-2: #f6f4ef;
  --text: var(--ink);
  --text-muted: var(--muted);
  --border: var(--line);
  --header-bg: rgba(255, 255, 255, 0.92);
  --shadow-sm: 0 2px 10px rgba(10, 37, 64, 0.07);
  --shadow-md: 0 10px 34px rgba(10, 37, 64, 0.11);
  --shadow-lg: 0 24px 60px rgba(10, 37, 64, 0.16);

  --radius: 16px;
  --radius-lg: 26px;
  --maxw: 1220px;

  --font-display: "Fraunces", "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

html[data-theme="dark"] {
  --bg: #0b1420;
  --surface: #111c2b;
  --surface-2: #162334;
  --text: #e9eef6;
  --text-muted: #9fb0c6;
  --border: #23324a;
  --header-bg: rgba(11, 20, 32, 0.9);
  --cream: #0b1420;
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 10px 34px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.6);
}

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

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background 0.35s ease, color 0.35s ease;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { padding: 0; margin: 0; list-style: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.16;
  color: var(--text);
  margin: 0 0 0.5em;
  font-weight: 600;
  letter-spacing: -0.01em;
}

p { margin: 0 0 1rem; }

.container {
  width: min(100% - 2.5rem, var(--maxw));
  margin-inline: auto;
}

.section { padding: 84px 0; position: relative; }
.section.tight { padding: 58px 0; }
.section.alt { background: var(--surface-2); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.85rem 1.7rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-3px); }
.btn:active { transform: translateY(-1px); }

.btn-primary {
  background: linear-gradient(135deg, var(--gold-400), var(--gold-500));
  color: #241a00;
  box-shadow: 0 10px 26px rgba(212, 160, 23, 0.32);
}
.btn-primary:hover { box-shadow: 0 16px 34px rgba(212, 160, 23, 0.42); }

.btn-outline {
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(6px);
}
.btn-outline:hover { background: #fff; color: var(--navy-900); }

.btn-navy {
  background: var(--navy-900);
  color: #fff;
  box-shadow: 0 10px 26px rgba(10, 37, 64, 0.25);
}
.btn-navy:hover { background: var(--navy-800); }

.btn-ghost {
  border-color: var(--border);
  color: var(--text);
  background: transparent;
}
.btn-ghost:hover { border-color: var(--gold-500); color: var(--gold-500); }

.btn-sm { padding: 0.6rem 1.2rem; font-size: 0.87rem; }
.btn-lg { padding: 1rem 2.2rem; font-size: 1.02rem; }
.btn-block { width: 100%; justify-content: center; }

/* ---------- Top Bar ---------- */
.topbar {
  background: linear-gradient(90deg, var(--navy-950), var(--navy-800));
  color: #d9e4f2;
  font-size: 0.83rem;
  position: relative;
  z-index: 60;
}
.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 42px;
  flex-wrap: wrap;
}
.topbar-left, .topbar-right { display: flex; align-items: center; gap: 1.1rem; flex-wrap: wrap; }
.topbar a { display: inline-flex; align-items: center; gap: 0.4rem; opacity: 0.9; }
.topbar a:hover { opacity: 1; color: var(--gold-300); }
.topbar-divider { width: 1px; height: 14px; background: rgba(255, 255, 255, 0.22); }

.ticker {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--gold-300);
  font-weight: 600;
  letter-spacing: 0.03em;
}
.ticker-badge {
  background: var(--gold-500);
  color: #241a00;
  padding: 1px 9px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.ticker-track { overflow: hidden; width: 340px; max-width: 44vw; height: 20px; position: relative; flex: 0 0 auto; }
/* All three messages are absolutely stacked on the SAME spot. They only look
   right with staggered delays, otherwise every message renders on top of the
   others at once. 9s / 3 messages = one 3s slot each; the keyframe keeps each
   message on screen for ~3.3s of its slot, so exactly one is ever visible. */
.ticker-track span {
  position: absolute;
  left: 0;
  top: 0;
  white-space: nowrap;
  line-height: 20px;
  opacity: 0;
  transform: translateY(6px);
  animation: tickerUp 9s infinite both;
}
.ticker-track span:nth-child(1) { animation-delay: 0s; }
.ticker-track span:nth-child(2) { animation-delay: 3s; }
.ticker-track span:nth-child(3) { animation-delay: 6s; }
@keyframes tickerUp {
  0%    { opacity: 0; transform: translateY(6px); }
  4%    { opacity: 1; transform: translateY(0); }
  34%   { opacity: 1; transform: translateY(0); }
  37%   { opacity: 0; transform: translateY(-6px); }
  100%  { opacity: 0; transform: translateY(-6px); }
}

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: var(--header-bg);
  backdrop-filter: blur(14px) saturate(160%);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.3s, border-color 0.3s, background 0.3s;
}
.site-header.scrolled {
  box-shadow: var(--shadow-md);
  border-color: var(--border);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  min-height: 78px;
}
.brand { display: flex; align-items: center; gap: 0.75rem; }
.brand-mark {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  border-radius: 14px;
  background: linear-gradient(140deg, var(--navy-800), var(--navy-950));
  display: grid;
  place-items: center;
  color: var(--gold-300);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.03em;
  box-shadow: inset 0 0 0 1.5px rgba(230, 185, 58, 0.5);
  transition: transform 0.3s;
}
.brand:hover .brand-mark { transform: rotate(-6deg) scale(1.05); }
.brand-text { line-height: 1.1; }
.brand-name {
  font-family: var(--font-display);
  font-size: 1.22rem;
  font-weight: 700;
  color: var(--navy-900);
  letter-spacing: 0.01em;
  display: block;
}
html[data-theme="dark"] .brand-name { color: #fff; }
.brand-tag {
  font-size: 0.66rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-500);
  font-weight: 700;
}

.main-nav { display: flex; align-items: center; gap: 0.15rem; }
.main-nav > li { position: relative; }
.main-nav > li > a {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.7rem 0.85rem;
  font-size: 0.93rem;
  font-weight: 600;
  color: var(--text);
  border-radius: 10px;
  transition: color 0.2s, background 0.2s;
}
.main-nav > li > a:hover { color: var(--gold-500); background: rgba(212, 160, 23, 0.08); }
.main-nav > li > a.active { color: var(--gold-500); }
.main-nav > li > a.active::after {
  content: "";
  position: absolute;
  left: 0.85rem;
  right: 0.85rem;
  bottom: 0.34rem;
  height: 2px;
  background: var(--gold-500);
  border-radius: 2px;
}
.caret {
  width: 0; height: 0;
  border-left: 4.5px solid transparent;
  border-right: 4.5px solid transparent;
  border-top: 5px solid currentColor;
  opacity: 0.65;
  transition: transform 0.25s;
}
.has-drop:hover .caret { transform: rotate(180deg); }

.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 244px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  padding: 0.55rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all 0.24s ease;
}
.has-drop:hover .dropdown,
.has-drop:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown::before {
  content: "";
  position: absolute;
  top: -6px; left: 26px;
  width: 12px; height: 12px;
  background: var(--surface);
  border-left: 1px solid var(--border);
  border-top: 1px solid var(--border);
  transform: rotate(45deg);
}
.dropdown li a {
  display: block;
  padding: 0.6rem 0.8rem;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.18s;
}
.dropdown li a:hover { background: rgba(212, 160, 23, 0.1); color: var(--gold-500); padding-left: 1.05rem; }
.dropdown li a small { display: block; font-size: 0.74rem; color: var(--text-muted); font-weight: 400; }

.nav-actions { display: flex; align-items: center; gap: 0.6rem; }

.icon-btn {
  width: 40px; height: 40px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: all 0.22s;
  font-size: 1rem;
}
.icon-btn:hover { border-color: var(--gold-500); color: var(--gold-500); transform: translateY(-2px); }

.hamburger { display: none; flex-direction: column; gap: 5px; }
.hamburger span {
  width: 24px; height: 2.4px;
  background: var(--text);
  border-radius: 3px;
  transition: all 0.3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7.4px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7.4px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 640px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--navy-950);
}
.hero-slides { position: absolute; inset: 0; }
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease, transform 6s linear;
  transform: scale(1.06);
  background-size: cover;
  background-position: center;
}
.hero-slide.active { opacity: 1; transform: scale(1); }
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(6, 24, 46, 0.94) 8%, rgba(6, 24, 46, 0.76) 46%, rgba(6, 24, 46, 0.35) 100%),
    radial-gradient(circle at 78% 24%, rgba(212, 160, 23, 0.28), transparent 46%);
}
.hero-inner { position: relative; z-index: 3; padding: 110px 0 96px; }
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(230, 185, 58, 0.14);
  border: 1px solid rgba(230, 185, 58, 0.45);
  color: var(--gold-300);
  padding: 0.42rem 1.1rem;
  border-radius: 999px;
  font-size: 0.79rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 1.4rem;
}
.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  color: #fff;
  margin-bottom: 1.1rem;
  max-width: 16ch;
}
.hero h1 .accent {
  background: linear-gradient(120deg, var(--gold-300), var(--gold-500));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-style: italic;
}
.hero-lead {
  color: #cfdcec;
  font-size: clamp(1rem, 1.5vw, 1.16rem);
  max-width: 58ch;
  margin-bottom: 2rem;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-bottom: 2.6rem; }

.hero-badges { display: flex; flex-wrap: wrap; gap: 1.6rem; }
.hero-badge { display: flex; align-items: center; gap: 0.7rem; color: #e6eef9; }
.hero-badge .num {
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--gold-300);
  line-height: 1;
}
.hero-badge .lbl { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; color: #a9bcd4; }

.hero-dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  gap: 9px;
}
.hero-dots button {
  width: 30px; height: 5px;
  border: none;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.32);
  cursor: pointer;
  transition: all 0.3s;
  padding: 0;
}
.hero-dots button.active { background: var(--gold-400); width: 52px; }

.scroll-hint {
  position: absolute;
  right: 40px;
  bottom: 40px;
  z-index: 5;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  display: flex;
  align-items: center;
  gap: 12px;
}
.scroll-hint::after {
  content: "";
  width: 1px; height: 56px;
  background: linear-gradient(var(--gold-400), transparent);
  animation: scrollLine 1.8s infinite;
}
@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ---------- Quick links strip ---------- */
.quickstrip {
  position: relative;
  z-index: 8;
  margin-top: -58px;
}
.quickstrip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.quick-item {
  padding: 1.55rem 1.4rem;
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  border-right: 1px solid var(--border);
  transition: background 0.25s;
}
.quick-item:last-child { border-right: none; }
.quick-item:hover { background: rgba(212, 160, 23, 0.07); }
.quick-ico {
  width: 44px; height: 44px;
  flex: 0 0 44px;
  border-radius: 13px;
  background: rgba(31, 111, 235, 0.1);
  color: var(--navy-700);
  display: grid;
  place-items: center;
  font-size: 1.2rem;
}
html[data-theme="dark"] .quick-ico { color: var(--gold-300); background: rgba(230,185,58,.12); }
.quick-item h4 { font-size: 1rem; margin-bottom: 0.18rem; }
.quick-item p { font-size: 0.83rem; color: var(--text-muted); margin: 0; }

/* ---------- Section headings ---------- */
.sec-head { max-width: 760px; margin-bottom: 2.8rem; }
.sec-head.center { margin-inline: auto; text-align: center; }
.eyebrow {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-500);
  margin-bottom: 0.85rem;
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 26px; height: 2px;
  background: var(--gold-500);
  vertical-align: middle;
  margin-right: 0.6rem;
}
.sec-head.center .eyebrow::before { display: none; }
.sec-title { font-size: clamp(1.9rem, 3.6vw, 2.75rem); margin-bottom: 0.8rem; }
.sec-title em { color: var(--gold-500); font-style: italic; }
.sec-sub { color: var(--text-muted); font-size: 1.03rem; margin: 0; }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 1.6rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.9rem;
  transition: transform 0.32s ease, box-shadow 0.32s ease, border-color 0.32s;
  position: relative;
  overflow: hidden;
}
.card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow-md);
  border-color: rgba(212, 160, 23, 0.5);
}
.card h3 { font-size: 1.2rem; margin-bottom: 0.5rem; }
.card p { color: var(--text-muted); font-size: 0.94rem; margin-bottom: 0; }

.card-ico {
  width: 56px; height: 56px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  margin-bottom: 1.1rem;
  background: linear-gradient(140deg, rgba(31, 111, 235, 0.14), rgba(212, 160, 23, 0.16));
  color: var(--navy-700);
  transition: transform 0.3s;
}
html[data-theme="dark"] .card-ico { color: var(--gold-300); }
.card:hover .card-ico { transform: rotate(-8deg) scale(1.08); }

.card-num {
  position: absolute;
  right: 18px; top: 8px;
  font-family: var(--font-display);
  font-size: 3.4rem;
  font-weight: 700;
  color: rgba(212, 160, 23, 0.13);
  line-height: 1;
}

/* Feature list with checks */
.check-list li {
  position: relative;
  padding-left: 1.85rem;
  margin-bottom: 0.7rem;
  color: var(--text-muted);
  font-size: 0.97rem;
}
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0; top: 1px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: rgba(22, 163, 74, 0.14);
  color: var(--success);
  font-size: 0.72rem;
  font-weight: 800;
  display: grid;
  place-items: center;
}

/* ---------- About split ---------- */
.split {
  display: grid;
  grid-template-columns: 1.02fr 1fr;
  gap: 3.6rem;
  align-items: center;
}
.media-stack { position: relative; padding-bottom: 44px; }
.media-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3.2;
  background: linear-gradient(135deg, var(--navy-700), var(--navy-950));
}
.media-main img { width: 100%; height: 100%; object-fit: cover; }
.media-float {
  position: absolute;
  right: -14px; bottom: 0;
  width: 56%;
  border-radius: 20px;
  overflow: hidden;
  border: 7px solid var(--surface);
  box-shadow: var(--shadow-md);
  aspect-ratio: 4/3;
  background: var(--navy-800);
}
.media-float img { width: 100%; height: 100%; object-fit: cover; }
.exp-badge {
  position: absolute;
  left: -12px; top: 26px;
  background: linear-gradient(140deg, var(--gold-400), var(--gold-500));
  color: #2a1e00;
  border-radius: 18px;
  padding: 0.85rem 1.15rem;
  box-shadow: var(--shadow-md);
  text-align: center;
  z-index: 3;
}
.exp-badge b { display: block; font-family: var(--font-display); font-size: 1.75rem; line-height: 1; }
.exp-badge span { font-size: 0.66rem; text-transform: uppercase; letter-spacing: 0.1em; font-weight: 700; }

/* ---------- Stats ---------- */
.stats {
  background:
    linear-gradient(rgba(6, 24, 46, 0.93), rgba(6, 24, 46, 0.95)),
    var(--navy-950);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.stats::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(230, 185, 58, 0.13) 1px, transparent 1px);
  background-size: 26px 26px;
  opacity: 0.6;
}
.stats .container { position: relative; z-index: 2; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.stat {
  text-align: center;
  padding: 1.4rem 1rem;
  border-right: 1px dashed rgba(255, 255, 255, 0.18);
}
.stat:last-child { border-right: none; }
.stat .value {
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 4.4vw, 3.3rem);
  font-weight: 700;
  color: var(--gold-300);
  line-height: 1;
  display: block;
}
.stat .value .suf { font-size: 0.6em; }
.stat .label {
  display: block;
  margin-top: 0.55rem;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #b7c7dd;
}

/* ---------- Program / course cards ---------- */
.prog-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.32s, box-shadow 0.32s;
  display: flex;
  flex-direction: column;
}
.prog-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.prog-top {
  height: 168px;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 1.2rem;
  background-size: cover;
  background-position: center;
}
.prog-top::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 25%, rgba(6, 24, 46, 0.9));
}
.prog-tag {
  position: relative;
  z-index: 2;
  background: var(--gold-400);
  color: #2a1e00;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
}
.prog-body { padding: 1.5rem 1.5rem 1.7rem; flex: 1; display: flex; flex-direction: column; }
.prog-body h3 { font-size: 1.25rem; }
.prog-body p { font-size: 0.93rem; color: var(--text-muted); }
.prog-meta {
  display: flex;
  gap: 1rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  border-top: 1px dashed var(--border);
  padding-top: 0.9rem;
  margin-top: auto;
}
.prog-meta span { display: flex; align-items: center; gap: 0.35rem; }

/* ---------- Tabs ---------- */
.tabs { display: flex; gap: 0.6rem; flex-wrap: wrap; margin-bottom: 1.8rem; }
.tab-btn {
  padding: 0.65rem 1.4rem;
  border-radius: 999px;
  border: 1.5px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.25s;
}
.tab-btn:hover { border-color: var(--gold-500); color: var(--gold-500); }
.tab-btn.active {
  background: var(--navy-900);
  border-color: var(--navy-900);
  color: #fff;
}
html[data-theme="dark"] .tab-btn.active { background: var(--gold-500); border-color: var(--gold-500); color: #241a00; }
.tab-panel { display: none; }
.tab-panel.active { display: block; animation: fadeUp 0.45s ease; }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

/* ---------- Notices & events ---------- */
.notice-wrap {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.7rem;
  box-shadow: var(--shadow-sm);
}
.notice-item {
  display: flex;
  gap: 1rem;
  padding: 0.95rem 0;
  border-bottom: 1px dashed var(--border);
}
.notice-item:last-child { border-bottom: none; }
.notice-date {
  flex: 0 0 62px;
  text-align: center;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.4rem 0.2rem;
  height: fit-content;
}
.notice-date b {
  display: block;
  font-family: var(--font-display);
  font-size: 1.3rem;
  line-height: 1;
  color: var(--navy-700);
}
html[data-theme="dark"] .notice-date b { color: var(--gold-300); }
.notice-date span { font-size: 0.68rem; text-transform: uppercase; color: var(--text-muted); letter-spacing: 0.08em; }
.notice-body h4 { font-size: 0.99rem; margin-bottom: 0.15rem; font-family: var(--font-body); font-weight: 650; }
.notice-body p { font-size: 0.85rem; color: var(--text-muted); margin: 0; }
.pill {
  display: inline-block;
  font-size: 0.66rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  padding: 0.14rem 0.55rem;
  border-radius: 999px;
  margin-bottom: 0.35rem;
}
.pill.gold { background: rgba(212, 160, 23, 0.16); color: var(--gold-500); }
.pill.blue { background: rgba(31, 111, 235, 0.14); color: var(--blue-500); }
.pill.green { background: rgba(22, 163, 74, 0.15); color: var(--success); }
.pill.red { background: rgba(220, 38, 38, 0.14); color: var(--danger); }

.event-item {
  display: flex;
  gap: 1.1rem;
  padding: 1rem 1.1rem;
  border: 1px solid var(--border);
  border-radius: 16px;
  margin-bottom: 0.9rem;
  transition: all 0.25s;
  background: var(--surface);
}
.event-item:hover { border-color: var(--gold-500); transform: translateX(6px); }
.event-ico {
  width: 46px; height: 46px;
  flex: 0 0 46px;
  border-radius: 13px;
  background: linear-gradient(140deg, var(--navy-700), var(--navy-950));
  color: var(--gold-300);
  display: grid;
  place-items: center;
  font-size: 1.2rem;
}
.event-item h4 { font-size: 1rem; font-family: var(--font-body); margin-bottom: 0.15rem; }
.event-item p { font-size: 0.84rem; color: var(--text-muted); margin: 0; }

/* ---------- Testimonials ---------- */
.testi-slider { position: relative; overflow: hidden; }
.testi-track { display: flex; transition: transform 0.6s cubic-bezier(.4,0,.2,1); }
.testi {
  min-width: 100%;
  padding: 0 0.5rem;
}
.testi-inner {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.6rem;
  text-align: center;
  position: relative;
  box-shadow: var(--shadow-sm);
}
.testi-inner::before {
  content: "“";
  position: absolute;
  top: 6px; left: 26px;
  font-family: var(--font-display);
  font-size: 6rem;
  color: rgba(212, 160, 23, 0.2);
  line-height: 1;
}
.testi-inner p {
  font-size: 1.09rem;
  font-style: italic;
  color: var(--text);
  line-height: 1.8;
  max-width: 66ch;
  margin: 0 auto 1.5rem;
}
.testi-who { display: flex; align-items: center; justify-content: center; gap: 0.85rem; }
.testi-av {
  width: 54px; height: 54px;
  border-radius: 50%;
  background: linear-gradient(140deg, var(--gold-400), var(--navy-700));
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-family: var(--font-display);
  font-size: 1.15rem;
}
.testi-who b { display: block; font-size: 0.98rem; }
.testi-who span { font-size: 0.82rem; color: var(--text-muted); }
.stars { color: var(--gold-500); letter-spacing: 3px; font-size: 0.95rem; margin-bottom: 1rem; }
.testi-nav { display: flex; justify-content: center; gap: 0.6rem; margin-top: 1.7rem; }
.testi-nav button {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  background: var(--surface);
  cursor: pointer;
  color: var(--text);
  transition: all 0.25s;
  font-size: 1rem;
}
.testi-nav button:hover { background: var(--navy-900); color: #fff; border-color: var(--navy-900); }

/* ---------- Gallery ---------- */
.filter-bar { display: flex; flex-wrap: wrap; gap: 0.55rem; justify-content: center; margin-bottom: 2rem; }
.filter-btn {
  padding: 0.55rem 1.25rem;
  border-radius: 999px;
  border: 1.5px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s;
}
.filter-btn:hover, .filter-btn.active {
  background: var(--gold-500);
  border-color: var(--gold-500);
  color: #2a1e00;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.gitem {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 4/3.3;
  cursor: pointer;
  background: linear-gradient(140deg, var(--navy-700), var(--navy-950));
  transition: transform 0.35s;
}
.gitem.tall { grid-row: span 2; aspect-ratio: auto; }
.gitem img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.gitem::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 40%, rgba(6, 24, 46, 0.86));
  opacity: 0;
  transition: opacity 0.35s;
}
.gitem:hover img { transform: scale(1.1); }
.gitem:hover::after { opacity: 1; }
.gitem .gcap {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 3;
  padding: 1rem;
  transform: translateY(14px);
  opacity: 0;
  transition: all 0.35s;
}
.gitem:hover .gcap { transform: none; opacity: 1; }
.gcap b { color: #fff; font-size: 0.95rem; display: block; }
.gcap span { color: var(--gold-300); font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.1em; }
.gitem.hide { display: none; }

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(4, 12, 24, 0.95);
  z-index: 200;
  display: none;
  place-items: center;
  padding: 24px;
  backdrop-filter: blur(6px);
}
.lightbox.open { display: grid; animation: fadeUp 0.3s ease; }
.lightbox figure { max-width: 980px; width: 100%; margin: 0; text-align: center; }
.lightbox img {
  max-height: 76vh;
  width: auto;
  max-width: 100%;
  margin-inline: auto;
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
}
.lightbox figcaption { color: #e8eef7; margin-top: 1rem; font-size: 0.95rem; }
.lb-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px; height: 52px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 1.4rem;
  cursor: pointer;
  transition: background 0.25s;
}
.lb-btn:hover { background: var(--gold-500); color: #241a00; }
.lb-prev { left: 24px; }
.lb-next { right: 24px; }
.lb-close {
  position: absolute;
  top: 22px; right: 26px;
  width: 46px; height: 46px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 1.3rem;
  cursor: pointer;
}
.lb-close:hover { background: var(--danger); }

/* ---------- Accordion (FAQ) ---------- */
.acc-item {
  border: 1px solid var(--border);
  border-radius: 15px;
  margin-bottom: 0.85rem;
  background: var(--surface);
  overflow: hidden;
  transition: border-color 0.25s;
}
.acc-item.open { border-color: var(--gold-500); }
.acc-head {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 1.15rem 1.35rem;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 650;
  color: var(--text);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.acc-head:hover { color: var(--gold-500); }
.acc-sign {
  width: 28px; height: 28px;
  flex: 0 0 28px;
  border-radius: 50%;
  background: rgba(212, 160, 23, 0.15);
  color: var(--gold-500);
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  transition: transform 0.3s;
}
.acc-item.open .acc-sign { transform: rotate(45deg); background: var(--gold-500); color: #2a1e00; }
.acc-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.acc-body div {
  padding: 0 1.35rem 1.25rem;
  color: var(--text-muted);
  font-size: 0.94rem;
}

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.3rem; counter-reset: step; }
.step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.7rem 1.4rem;
  position: relative;
  transition: all 0.3s;
}
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--gold-500); }
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  color: rgba(212, 160, 23, 0.35);
  display: block;
  margin-bottom: 0.5rem;
  line-height: 1;
}
.step h4 { font-size: 1.06rem; margin-bottom: 0.4rem; }
.step p { font-size: 0.88rem; color: var(--text-muted); margin: 0; }

/* ---------- Tables ---------- */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}
table.data {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.93rem;
  min-width: 560px;
}
table.data thead { background: var(--navy-900); color: #fff; }
table.data th, table.data td {
  padding: 0.9rem 1.15rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
table.data th {
  font-weight: 650;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
table.data tbody tr:last-child td { border-bottom: none; }
table.data tbody tr:hover { background: rgba(212, 160, 23, 0.06); }
table.data td strong { color: var(--gold-500); }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.1rem; }
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field.full { grid-column: 1 / -1; }
.field label {
  font-size: 0.84rem;
  font-weight: 650;
  color: var(--text);
  letter-spacing: 0.02em;
}
.field label .req { color: var(--danger); }
.field input,
.field select,
.field textarea {
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 0.82rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  color: var(--text);
  transition: border-color 0.22s, box-shadow 0.22s;
  width: 100%;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold-500);
  box-shadow: 0 0 0 4px rgba(212, 160, 23, 0.15);
}
.field textarea { resize: vertical; min-height: 130px; }
.field .err { font-size: 0.78rem; color: var(--danger); display: none; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--danger); }
.field.invalid .err { display: block; }

.form-note { font-size: 0.83rem; color: var(--text-muted); }
.form-ok {
  display: none;
  background: rgba(22, 163, 74, 0.12);
  border: 1px solid rgba(22, 163, 74, 0.4);
  color: var(--success);
  padding: 0.9rem 1.1rem;
  border-radius: 12px;
  font-size: 0.92rem;
  margin-bottom: 1.1rem;
}
.form-ok.show { display: block; animation: fadeUp 0.35s ease; }

.form-err {
  display: none;
  background: rgba(220, 38, 38, 0.10);
  border: 1px solid rgba(220, 38, 38, 0.42);
  color: var(--danger, #dc2626);
  padding: 0.9rem 1.1rem;
  border-radius: 12px;
  font-size: 0.92rem;
  margin-bottom: 1.1rem;
}
.form-err.show { display: block; animation: fadeUp 0.35s ease; }

.form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  box-shadow: var(--shadow-md);
}

/* ---------- Contact info ---------- */
.info-tile {
  display: flex;
  gap: 1rem;
  padding: 1.35rem;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--surface);
  transition: all 0.3s;
  height: 100%;
}
.info-tile:hover { border-color: var(--gold-500); transform: translateY(-5px); box-shadow: var(--shadow-md); }
.info-ico {
  width: 50px; height: 50px; flex: 0 0 50px;
  border-radius: 14px;
  background: linear-gradient(140deg, var(--navy-800), var(--navy-950));
  color: var(--gold-300);
  display: grid;
  place-items: center;
  font-size: 1.25rem;
}
.info-tile h4 { font-size: 1.02rem; margin-bottom: 0.25rem; font-family: var(--font-body); font-weight: 650; }
.info-tile p { font-size: 0.9rem; color: var(--text-muted); margin: 0; }
.info-tile a:hover { color: var(--gold-500); }

.map-frame {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  filter: saturate(1.05);
}
.map-frame iframe { width: 100%; height: 420px; border: 0; display: block; }

/* ---------- CTA band ---------- */
.cta-band {
  background:
    linear-gradient(115deg, rgba(6, 24, 46, 0.95), rgba(15, 50, 87, 0.9)),
    var(--navy-950);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cta-band::after {
  content: "";
  position: absolute;
  right: -80px; top: -80px;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 160, 23, 0.4), transparent 65%);
}
.cta-inner {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.4rem;
  flex-wrap: wrap;
}
.cta-inner h2 { color: #fff; font-size: clamp(1.7rem, 3.4vw, 2.5rem); margin-bottom: 0.5rem; }
.cta-inner p { color: #c2d1e5; margin: 0; }
.cta-actions { display: flex; gap: 0.85rem; flex-wrap: wrap; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  background:
    linear-gradient(100deg, rgba(6, 24, 46, 0.95) 20%, rgba(6, 24, 46, 0.7)),
    var(--navy-950);
  color: #fff;
  padding: 78px 0 66px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(230, 185, 58, 0.14) 1px, transparent 1px);
  background-size: 30px 30px;
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; font-size: clamp(2.1rem, 5vw, 3.4rem); margin-bottom: 0.7rem; }
.page-hero p { color: #c6d4e7; max-width: 62ch; margin: 0; font-size: 1.05rem; }
.breadcrumb {
  display: flex;
  gap: 0.55rem;
  align-items: center;
  font-size: 0.83rem;
  color: #9fb2cc;
  margin-top: 1.35rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.breadcrumb a:hover { color: var(--gold-300); }
.breadcrumb span { color: var(--gold-300); }

/* ---------- Timeline ---------- */
.timeline { position: relative; padding-left: 34px; }
.timeline::before {
  content: "";
  position: absolute;
  left: 9px; top: 6px; bottom: 6px;
  width: 2px;
  background: linear-gradient(var(--gold-500), var(--border));
}
.tl-item { position: relative; padding-bottom: 1.9rem; }
.tl-item::before {
  content: "";
  position: absolute;
  left: -34px; top: 5px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--surface);
  border: 4px solid var(--gold-500);
}
.tl-item h4 { font-size: 1.06rem; margin-bottom: 0.2rem; }
.tl-year {
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--gold-500);
  text-transform: uppercase;
}
.tl-item p { font-size: 0.92rem; color: var(--text-muted); margin: 0.3rem 0 0; }

/* ---------- Message block ---------- */
.msg-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.1rem;
  position: relative;
  height: 100%;
}
.msg-card .quote {
  font-family: var(--font-display);
  font-size: 3rem;
  color: rgba(212, 160, 23, 0.3);
  line-height: 0.7;
  display: block;
  margin-bottom: 0.7rem;
}
.msg-card p { font-size: 0.95rem; color: var(--text-muted); }
.msg-sign {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-top: 1.3rem;
  padding-top: 1.15rem;
  border-top: 1px dashed var(--border);
}
.msg-av {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: linear-gradient(140deg, var(--gold-400), var(--navy-800));
  display: grid;
  place-items: center;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
}
.msg-sign b { display: block; font-size: 0.98rem; }
.msg-sign span { font-size: 0.8rem; color: var(--gold-500); text-transform: uppercase; letter-spacing: 0.09em; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-950);
  color: #a9bad2;
  padding-top: 70px;
  position: relative;
}
.site-footer::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold-500), var(--blue-500), var(--gold-500));
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.35fr;
  gap: 2.4rem;
  padding-bottom: 48px;
}
.footer-brand .brand-name { color: #fff; font-size: 1.3rem; }
.footer-crest { width: 84px; height: auto; display: block; margin-bottom: 1.1rem; filter: drop-shadow(0 6px 18px rgba(0,0,0,.35)); }
.footer-brand p { font-size: 0.92rem; margin-top: 1rem; color: #93a6c0; }
.footer h4 {
  color: #fff;
  font-size: 1.02rem;
  margin-bottom: 1.15rem;
  position: relative;
  padding-bottom: 0.6rem;
}
.footer h4::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 34px; height: 2.5px;
  background: var(--gold-500);
  border-radius: 3px;
}
.footer-links li { margin-bottom: 0.6rem; }
.footer-links a {
  font-size: 0.92rem;
  color: #a9bad2;
  transition: all 0.22s;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.footer-links a::before { content: "›"; color: var(--gold-500); opacity: 0; transition: opacity 0.2s, transform 0.2s; transform: translateX(-6px); }
.footer-links a:hover { color: var(--gold-300); padding-left: 4px; }
.footer-links a:hover::before { opacity: 1; transform: none; }

.footer-contact li {
  display: flex;
  gap: 0.8rem;
  margin-bottom: 0.95rem;
  font-size: 0.92rem;
  line-height: 1.55;
}
.footer-contact .fi {
  width: 34px; height: 34px; flex: 0 0 34px;
  border-radius: 10px;
  background: rgba(230, 185, 58, 0.13);
  color: var(--gold-300);
  display: grid;
  place-items: center;
  font-size: 0.9rem;
}
.footer-contact a:hover { color: var(--gold-300); }

.social-row { display: flex; gap: 0.6rem; margin-top: 1.3rem; }
.social-row a {
  width: 40px; height: 40px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.07);
  display: grid;
  place-items: center;
  color: #cfdcec;
  font-size: 0.92rem;
  font-weight: 700;
  transition: all 0.25s;
}
.social-row a:hover { background: var(--gold-500); color: #241a00; transform: translateY(-4px); }

.newsletter { display: flex; gap: 0.5rem; margin-top: 0.9rem; }
.newsletter input {
  flex: 1;
  min-width: 0;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  padding: 0.72rem 0.95rem;
  border-radius: 11px;
  font-size: 0.89rem;
}
.newsletter input::placeholder { color: #8fa2bc; }
.newsletter input:focus { outline: none; border-color: var(--gold-500); }
.newsletter button {
  border: none;
  background: var(--gold-500);
  color: #241a00;
  font-weight: 700;
  padding: 0 1.1rem;
  border-radius: 11px;
  cursor: pointer;
  transition: background 0.25s;
}
.newsletter button:hover { background: var(--gold-300); }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: #8ba0bd;
}
.footer-bottom a:hover { color: var(--gold-300); }
.footer-bottom .links { display: flex; gap: 1.2rem; flex-wrap: wrap; }

/* ---------- Floating action buttons ---------- */
.float-stack {
  position: fixed;
  right: 20px;
  bottom: 24px;
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  align-items: flex-end;
}
.fab {
  width: 52px; height: 52px;
  border-radius: 50%;
  border: none;
  display: grid;
  place-items: center;
  cursor: pointer;
  font-size: 1.2rem;
  color: #fff;
  box-shadow: var(--shadow-md);
  transition: transform 0.25s, opacity 0.25s;
  position: relative;
}
.fab:hover { transform: translateY(-4px) scale(1.06); }
.fab-wa { background: #25d366; }
.fab-call { background: var(--blue-500); }
.fab-top {
  background: var(--navy-900);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
}
.fab-top.show { opacity: 1; pointer-events: auto; transform: none; }
.fab .tip {
  position: absolute;
  right: 62px;
  top: 50%;
  transform: translateY(-50%) translateX(6px);
  background: var(--navy-950);
  color: #fff;
  font-size: 0.76rem;
  padding: 0.35rem 0.7rem;
  border-radius: 8px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: all 0.25s;
}
.fab:hover .tip { opacity: 1; transform: translateY(-50%); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity 0.75s ease, transform 0.75s ease; }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.1s; }
.reveal.d2 { transition-delay: 0.2s; }
.reveal.d3 { transition-delay: 0.3s; }
.reveal.d4 { transition-delay: 0.4s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.mt-2 { margin-top: 1.4rem; }
.mt-3 { margin-top: 2rem; }
.mb-0 { margin-bottom: 0; }
.lead { font-size: 1.06rem; color: var(--text-muted); }
.surface-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
}
.hl {
  background: linear-gradient(transparent 62%, rgba(212, 160, 23, 0.35) 0);
  padding: 0 2px;
}
.divider-gold { width: 64px; height: 4px; background: var(--gold-500); border-radius: 4px; margin: 1.1rem 0 1.5rem; }

.badge-row { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.badge-row .b {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.42rem 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
}
.badge-row .b i { color: var(--gold-500); font-style: normal; margin-right: 0.35rem; }

.inline-list { display: flex; flex-wrap: wrap; gap: 0.7rem 1.5rem; }
.inline-list li { display: flex; align-items: center; gap: 0.5rem; font-size: 0.94rem; color: var(--text-muted); }
.inline-list li::before { content: "◆"; color: var(--gold-500); font-size: 0.6rem; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .quickstrip-grid { grid-template-columns: repeat(2, 1fr); }
  .quick-item:nth-child(2) { border-right: none; }
  .quick-item:nth-child(-n+2) { border-bottom: 1px solid var(--border); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 940px) {
  .main-nav {
    position: fixed;
    top: 0; right: -100%;
    width: min(86vw, 380px);
    height: 100vh;
    background: var(--surface);
    flex-direction: column;
    align-items: stretch;
    padding: 92px 1.3rem 2rem;
    gap: 0;
    box-shadow: var(--shadow-lg);
    transition: right 0.38s cubic-bezier(.4,0,.2,1);
    overflow-y: auto;
    z-index: 95;
  }
  .main-nav.open { right: 0; }
  .main-nav > li > a { padding: 0.9rem 0.7rem; border-bottom: 1px solid var(--border); border-radius: 0; font-size: 1rem; }
  .main-nav > li > a.active::after { display: none; }
  .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    background: var(--surface-2);
    display: none;
    min-width: 0;
    margin: 0.3rem 0 0.6rem;
  }
  .dropdown::before { display: none; }
  .has-drop.expanded .dropdown { display: block; animation: fadeUp 0.3s; }
  .has-drop > a .caret { margin-left: auto; }
  .nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(4, 12, 24, 0.55);
    backdrop-filter: blur(3px);
    z-index: 94;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
  }
  .nav-overlay.show { opacity: 1; visibility: visible; }
  .hamburger { display: flex; z-index: 96; }
  .nav-cta { display: none; }
  .split { grid-template-columns: 1fr; gap: 2.4rem; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: none; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .topbar .container { justify-content: center; }
  .topbar-right { display: none; }
  /* right-hand links are hidden here, so give the messages the full width
     instead of clipping them at 44vw */
  .ticker-track { width: min(66vw, 340px); max-width: none; }
}

@media (max-width: 680px) {
  body { font-size: 16px; }
  .section { padding: 60px 0; }
  .hero { min-height: 560px; }
  .hero-inner { padding: 84px 0 74px; }
  .scroll-hint { display: none; }
  .quickstrip { margin-top: -34px; }
  .quickstrip-grid { grid-template-columns: 1fr; }
  .quick-item { border-right: none; border-bottom: 1px solid var(--border); }
  .quick-item:last-child { border-bottom: none; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gitem.tall { grid-row: span 1; aspect-ratio: 4/3.3; }
  .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .form-grid { grid-template-columns: 1fr; }
  .form-card { padding: 1.5rem; }
  .card, .msg-card, .surface-box { padding: 1.5rem; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .media-float { position: relative; right: auto; bottom: auto; width: 100%; margin-top: -30px; border-width: 5px; }
  .media-stack { padding-bottom: 0; }
  .exp-badge { left: 10px; top: 10px; }
  .brand-name { font-size: 1.02rem; }
  .brand-tag { font-size: 0.58rem; letter-spacing: 0.16em; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .lb-prev { left: 8px; } .lb-next { right: 8px; }
}

@media (max-width: 420px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .stat { border-right: none; border-bottom: 1px dashed rgba(255,255,255,.18); }
  .hero-badges { gap: 1rem; }
}

/* ---------- Print ---------- */
@media print {
  .topbar, .site-header, .float-stack, .hero-dots, .cta-band, .site-footer { display: none !important; }
}
