/* ================================
   Scholar SAS — Marketing site
   Shared stylesheet
   ================================ */

:root {
  --navy-950: #070c17;
  --navy-900: #0f172a;
  --navy-800: #16213a;
  --navy-700: #24324d;
  --navy-600: #33455f;
  --gold-700: #9a6f0c;
  --gold-600: #b8860b;
  --gold-500: #d4af37;
  --gold-400: #e3c465;
  --gold-100: #fbf1d6;
  --bg: #fcfcfb;
  --surface: #ffffff;
  --ink: #0f172a;
  --ink-soft: #33415580;
  --muted: #5b6474;
  --border: #e6e8ee;
  --border-hover: #d8dce6;
  --text-soft: var(--navy-700);
  --nav-bg: rgba(252, 252, 251, 0.85);
  --input-bg: #fbfbfd;
  --chip-bg: #eef1f6;
  --chip-ink: var(--navy-700);
  --alt-grad-1: #f6f7fb;
  --alt-grad-2: #fcfcfb;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 24px 64px rgba(15, 23, 42, 0.14);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --container: 1160px;
}

/* Dark theme: overrides the adaptive tokens above. Anything built from
   navy-*/gold-* directly (hero, footer, cta-band, mockup, price-card.featured)
   is already dark and stays as-is in both modes on purpose. */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0b0f1a;
    --surface: #121a2c;
    --ink: #e7ebf3;
    --ink-soft: #e7ebf380;
    --muted: #94a1bf;
    --border: #232c42;
    --border-hover: #33405c;
    --text-soft: #aab4cc;
    --nav-bg: rgba(11, 15, 26, 0.85);
    --input-bg: #161f34;
    --chip-bg: #1a2338;
    --chip-ink: #b7c2de;
    --alt-grad-1: #121a2c;
    --alt-grad-2: #0b0f1a;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.35);
    --shadow-lg: 0 24px 64px rgba(0, 0, 0, 0.45);
  }
}
:root[data-theme="dark"] {
  --bg: #0b0f1a;
  --surface: #121a2c;
  --ink: #e7ebf3;
  --ink-soft: #e7ebf380;
  --muted: #94a1bf;
  --border: #232c42;
  --border-hover: #33405c;
  --text-soft: #aab4cc;
  --nav-bg: rgba(11, 15, 26, 0.85);
  --input-bg: #161f34;
  --chip-bg: #1a2338;
  --chip-ink: #b7c2de;
  --alt-grad-1: #121a2c;
  --alt-grad-2: #0b0f1a;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 24px 64px rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1, h2, h3, h4 {
  margin: 0;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

p {
  margin: 0;
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold-700);
  background: var(--gold-100);
  padding: 6px 14px;
  border-radius: 999px;
}

.section {
  padding: 88px 0;
}
.section--tight {
  padding: 64px 0;
}
.section--alt {
  background: linear-gradient(180deg, var(--alt-grad-1) 0%, var(--alt-grad-2) 100%);
}

.section-head {
  max-width: 680px;
  margin: 0 auto 56px;
  text-align: center;
}
.section-head h2 {
  font-size: clamp(28px, 3.6vw, 40px);
  margin-top: 14px;
}
.section-head p {
  margin-top: 16px;
  color: var(--muted);
  font-size: 17px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
  white-space: nowrap;
}
.btn:hover {
  transform: translateY(-2px);
}
.btn-gold {
  background: linear-gradient(135deg, var(--gold-400), var(--gold-600));
  color: var(--navy-950);
  box-shadow: 0 10px 24px rgba(184, 134, 11, 0.35);
}
.btn-gold:hover {
  box-shadow: 0 14px 30px rgba(184, 134, 11, 0.45);
}
.btn-navy {
  background: var(--navy-900);
  color: #fff;
}
.btn-navy:hover {
  background: var(--navy-800);
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--border);
}
.btn-ghost:hover {
  border-color: var(--navy-600);
}
.btn-ghost-light {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.25);
}
.btn-ghost-light:hover {
  background: rgba(255, 255, 255, 0.16);
}
.btn-lg {
  padding: 16px 32px;
  font-size: 16px;
}
.btn-block {
  width: 100%;
}

/* ---------- Navbar ---------- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--nav-bg);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 18px;
  color: var(--ink);
}
.brand img {
  height: 36px;
  width: 36px;
  object-fit: contain;
  border-radius: 8px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
}
.nav-links a {
  font-weight: 600;
  font-size: 14.5px;
  color: var(--text-soft);
  position: relative;
  padding: 6px 0;
}
.nav-links a.active,
.nav-links a:hover {
  color: var(--ink);
}
.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  background: var(--gold-500);
  border-radius: 2px;
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
}

@media (max-width: 900px) {
  .nav-links {
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 8px 24px 20px;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
  }
  .nav-links a {
    width: 100%;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
  }
  body.nav-open .nav-links {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
  .nav-toggle {
    display: flex;
  }
  .nav-actions .btn-ghost {
    display: none;
  }
}

@media (max-width: 420px) {
  .container { padding: 0 14px; }
  .navbar .container { gap: 6px; }
  .brand { font-size: 14px; gap: 4px; }
  .brand img { height: 26px; width: 26px; }
  .nav-actions { gap: 6px; }
  .nav-actions .btn-gold { padding: 8px 12px; font-size: 12px; }
  .theme-toggle { width: 32px; height: 32px; font-size: 13px; }
  .nav-toggle { padding: 6px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: radial-gradient(120% 140% at 15% -10%, #1c2b4a 0%, var(--navy-900) 45%, var(--navy-950) 100%);
  color: #fff;
  overflow: hidden;
  padding: 100px 0 120px;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(212, 175, 55, 0.18) 1px, transparent 1px);
  background-size: 26px 26px;
  opacity: 0.5;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.6), transparent 70%);
}
.hero .container {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(34px, 4.6vw, 56px);
  font-weight: 800;
}
.hero h1 .accent {
  background: linear-gradient(135deg, var(--gold-400), var(--gold-600));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero p.lead {
  margin-top: 22px;
  font-size: 18px;
  color: #c8d0e0;
  max-width: 560px;
}
.hero-ctas {
  margin-top: 34px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.hero-meta {
  margin-top: 28px;
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  font-size: 13.5px;
  color: #9fabc4;
}
.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.hero-meta .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold-500);
}

/* ---------- Hero mockup illustration ---------- */
.mockup {
  position: relative;
  border-radius: var(--radius-lg);
  background: linear-gradient(155deg, #1a2740, #0f1729);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: var(--shadow-lg);
  padding: 22px;
}
.mockup-bar {
  display: flex;
  gap: 6px;
  margin-bottom: 16px;
}
.mockup-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
}
.mockup-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 14px;
}
.mockup-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 14px;
}
.mockup-card .k {
  font-size: 11px;
  color: #93a0bd;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.mockup-card .v {
  margin-top: 8px;
  font-size: 20px;
  font-weight: 800;
  color: #fff;
}
.mockup-card .v.gold { color: var(--gold-400); }
.mockup-chart {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 16px;
  height: 132px;
  display: flex;
  align-items: flex-end;
  gap: 8px;
}
.mockup-chart .bar {
  flex: 1;
  border-radius: 5px 5px 0 0;
  background: linear-gradient(180deg, var(--gold-400), var(--gold-700));
  animation: rise 1.1s ease-out both;
}
@keyframes rise {
  from { transform: scaleY(0); transform-origin: bottom; }
  to { transform: scaleY(1); transform-origin: bottom; }
}

/* ---------- Stats ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: -56px;
  position: relative;
  z-index: 2;
}
.stat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: 26px 22px;
  text-align: center;
}
.stat-card .num {
  font-size: 34px;
  font-weight: 800;
  color: var(--ink);
}
.stat-card .num .suffix {
  color: var(--gold-600);
}
.stat-card .label {
  margin-top: 6px;
  font-size: 13.5px;
  color: var(--muted);
}

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

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

@media (max-width: 960px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .hero .container { grid-template-columns: 1fr; }
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-hover);
}
.card .icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--navy-800), var(--navy-900));
  color: var(--gold-400);
  margin-bottom: 18px;
  font-size: 20px;
}
.card h3 {
  font-size: 17px;
  margin-bottom: 10px;
}
.card p {
  color: var(--muted);
  font-size: 14.5px;
}
.card ul {
  margin-top: 14px;
  display: grid;
  gap: 8px;
}
.card ul li {
  font-size: 13.5px;
  color: var(--muted);
  padding-left: 20px;
  position: relative;
}
.card ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--gold-600);
  font-weight: 800;
}

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

/* ---------- Steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  counter-reset: step;
}
.step {
  position: relative;
  padding: 30px 24px 24px;
  border-radius: var(--radius-md);
  border: 1px dashed var(--border);
}
.step .n {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--navy-900);
  color: var(--gold-400);
  font-weight: 800;
  margin-bottom: 16px;
}
.step h3 { font-size: 16.5px; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 14px; }

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

/* ---------- Pricing ---------- */
.billing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 44px;
}
.switch {
  position: relative;
  width: 52px;
  height: 28px;
  border-radius: 999px;
  background: var(--navy-800);
  cursor: pointer;
  border: none;
}
.switch::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.2s ease;
}
.switch.on::after {
  transform: translateX(24px);
}
.billing-toggle .save-badge {
  font-size: 12px;
  font-weight: 700;
  color: var(--gold-700);
  background: var(--gold-100);
  padding: 3px 10px;
  border-radius: 999px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: stretch;
}
@media (max-width: 1100px) {
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .pricing-grid { grid-template-columns: 1fr; }
}
.price-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 26px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
}
.price-card.featured {
  background: linear-gradient(160deg, var(--navy-900), var(--navy-950));
  color: #fff;
  border-color: var(--navy-900);
  box-shadow: var(--shadow-lg);
  transform: scale(1.03);
}
.price-card .tier-name {
  font-weight: 800;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--gold-600);
}
.price-card.featured .tier-name { color: var(--gold-400); }
.price-card .tier-desc {
  margin-top: 8px;
  font-size: 13.5px;
  color: var(--muted);
}
.price-card.featured .tier-desc { color: #b6c0d6; }
.price-card .price {
  margin-top: 22px;
  font-size: 40px;
  font-weight: 800;
}
.price-card .price small {
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
}
.price-card.featured .price small { color: #9fabc4; }
.price-card ul {
  margin-top: 22px;
  margin-bottom: 26px;
  display: grid;
  gap: 10px;
  flex: 1;
}
.price-card ul li {
  font-size: 13.5px;
  padding-left: 22px;
  position: relative;
}
.price-card ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--gold-600);
  font-weight: 800;
}
.price-card.featured ul li::before { color: var(--gold-400); }

/* ---------- FAQ accordion ---------- */
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 22px 4px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--ink);
}
.faq-q .plus {
  font-size: 20px;
  color: var(--gold-600);
  transition: transform 0.25s ease;
}
.faq-item.open .plus { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.28s ease, padding 0.28s ease;
  color: var(--muted);
  font-size: 14.5px;
  padding: 0 4px;
}
.faq-item.open .faq-a {
  max-height: 400px;
  padding: 0 4px 22px;
}

/* ---------- Testimonial / status banner ---------- */
.status-banner {
  border: 1px solid var(--border);
  background: var(--gold-100);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 14.5px;
  color: var(--navy-900);
}
.status-banner .dotpulse {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold-600);
  flex-shrink: 0;
  animation: pulse 1.8s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(184,134,11,0.4); }
  50% { box-shadow: 0 0 0 7px rgba(184,134,11,0); }
}

/* ---------- CTA band ---------- */
.cta-band {
  background: radial-gradient(120% 160% at 85% 0%, #223357 0%, var(--navy-900) 55%, var(--navy-950) 100%);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 56px;
  text-align: center;
}
.cta-band h2 {
  font-size: clamp(24px, 3vw, 34px);
}
.cta-band p {
  margin-top: 14px;
  color: #c3ccdf;
  font-size: 16px;
}
.cta-band .hero-ctas { justify-content: center; margin-top: 30px; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-950);
  color: #aab4cc;
  padding: 64px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-grid .brand { color: #fff; }
.footer-grid p.tag {
  margin-top: 14px;
  font-size: 14px;
  color: #8996b3;
  max-width: 280px;
}
.footer-col h4 {
  color: #fff;
  font-size: 13.5px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}
.footer-col ul {
  display: grid;
  gap: 10px;
}
.footer-col a {
  font-size: 14px;
  color: #aab4cc;
}
.footer-col a:hover { color: #fff; }
.footer-bottom {
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: #6e7996;
  flex-wrap: wrap;
  gap: 12px;
}

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
  .cta-band { padding: 40px 24px; }
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  background: linear-gradient(180deg, var(--navy-900), var(--navy-950));
  color: #fff;
  padding: 76px 0 64px;
  text-align: center;
}
.page-hero h1 {
  font-size: clamp(30px, 4vw, 46px);
}
.page-hero p {
  margin: 18px auto 0;
  max-width: 640px;
  color: #c3ccdf;
  font-size: 16.5px;
}

/* ---------- Feature detail blocks ---------- */
.feature-block {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: center;
  padding: 56px 0;
  border-bottom: 1px solid var(--border);
}
.feature-block:last-child { border-bottom: none; }
.feature-block:nth-child(even) {
  direction: rtl;
}
.feature-block:nth-child(even) > * {
  direction: ltr;
}
.feature-block .tag {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--gold-700);
  background: var(--gold-100);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.feature-block h3 {
  font-size: 24px;
  margin-bottom: 14px;
}
.feature-block p.desc {
  color: var(--muted);
  font-size: 15px;
  margin-bottom: 18px;
}
.feature-block .chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.feature-block .chips span {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--chip-ink);
  background: var(--chip-bg);
  border: 1px solid var(--border);
  padding: 6px 12px;
  border-radius: 999px;
}
.feature-visual {
  background: linear-gradient(160deg, var(--navy-900), var(--navy-950));
  border-radius: var(--radius-lg);
  min-height: 220px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  padding: 20px;
}
.feature-visual .cell {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
}
.feature-visual .cell .t { font-size: 11px; color: #93a0bd; text-transform: uppercase; letter-spacing: .05em; }
.feature-visual .cell .b { font-size: 17px; font-weight: 800; color: #fff; }
.feature-visual .cell .b.gold { color: var(--gold-400); }

@media (max-width: 860px) {
  .feature-block, .feature-block:nth-child(even) {
    grid-template-columns: 1fr;
    direction: ltr;
  }
}

/* ---------- About page ---------- */
.value-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 900px) { .value-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .value-grid { grid-template-columns: 1fr; } }

.pull-quote {
  border-left: 4px solid var(--gold-500);
  padding: 4px 0 4px 26px;
  font-size: 21px;
  font-weight: 600;
  color: var(--ink);
  margin: 10px 0;
}

/* ---------- Contact page ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: start;
}
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
}
.contact-info .item {
  display: flex;
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}
.contact-info .item .icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--gold-100);
  color: var(--gold-700);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: 17px;
}
.contact-info .item h4 { font-size: 14.5px; margin-bottom: 4px; }
.contact-info .item p, .contact-info .item a { color: var(--muted); font-size: 14px; }

.form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-md);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.field { margin-bottom: 18px; display: flex; flex-direction: column; gap: 7px; }
.field label { font-size: 13.5px; font-weight: 700; color: var(--text-soft); }
.field input, .field select, .field textarea {
  font-family: var(--font);
  font-size: 14.5px;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--input-bg);
  color: var(--ink);
  resize: vertical;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--gold-500);
  box-shadow: 0 0 0 3px rgba(212,175,55,0.18);
}
.form-note {
  margin-top: 14px;
  font-size: 12.5px;
  color: var(--muted);
}
.form-success {
  display: none;
  margin-top: 16px;
  background: var(--gold-100);
  color: var(--navy-900);
  border-radius: 10px;
  padding: 14px 16px;
  font-size: 13.5px;
  font-weight: 600;
}
.form-success.show { display: block; }
.form-error {
  display: none;
  margin-top: 16px;
  background: #fbe2e2;
  color: #8a1f1f;
  border-radius: 10px;
  padding: 14px 16px;
  font-size: 13.5px;
  font-weight: 600;
}
.form-error.show { display: block; }

/* ---------- Theme toggle ---------- */
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--ink);
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease;
}
.theme-toggle:hover { border-color: var(--navy-600); }

/* ---------- Back to top ---------- */
.back-to-top {
  position: fixed;
  left: 24px;
  bottom: 24px;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: var(--navy-900);
  color: #fff;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  z-index: 999;
}
.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover { background: var(--navy-800); }

/* ---------- Floating chat widget ---------- */
.chat-toggle {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 56px;
  height: 56px;
  border: none;
  border-radius: 50%;
  background: var(--gold-500);
  color: var(--navy-900);
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  z-index: 999;
}
.chat-panel {
  position: fixed;
  right: 24px;
  bottom: 92px;
  width: 320px;
  max-width: calc(100vw - 48px);
  max-height: calc(100vh - 120px);
  overflow-y: auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 20px;
  z-index: 998;
  display: none;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.chat-panel.open {
  display: block;
  opacity: 1;
  transform: translateY(0);
}
.chat-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}
.chat-panel-header h4 { font-size: 16px; }
.chat-close {
  border: none;
  background: none;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  color: var(--muted);
  padding: 4px;
}
.chat-intro {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 16px;
}
.chat-panel .field { margin-bottom: 10px; }
.chat-panel .field input,
.chat-panel .field textarea {
  padding: 8px 12px;
  font-size: 13.5px;
}
.chat-panel .field input::placeholder,
.chat-panel .field textarea::placeholder { color: var(--muted); }
.chat-panel .form-note,
.chat-panel .form-success,
.chat-panel .form-error { font-size: 12.5px; }

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-40 { margin-top: 40px; }
