/* ==========================================================================
   Sarvani Software Solutions — Design System
   Palette derived from brand mark: deep navy, gold, teal
   ========================================================================== */

:root {
  --navy-950: #060c1c;
  --navy-900: #0a1128;
  --navy-800: #0f1a38;
  --navy-700: #16234a;
  --navy-600: #1e2f5c;
  --navy-border: #253463;

  --gold-400: #ffd873;
  --gold-500: #f2b705;
  --gold-600: #d99e00;

  --teal-300: #7de3d6;
  --teal-400: #45cdbb;
  --teal-500: #2ec4b6;

  --ink-100: #f5f7ff;
  --ink-300: #c4cbe6;
  --ink-500: #8b93bd;
  --ink-700: #5c6491;

  /* Theme-aware helpers — dark-mode values; overridden under [data-theme="light"] */
  --glass: 255, 255, 255;
  --heading-color: #ffffff;
  --header-scrolled-bg: rgba(6, 12, 28, 0.85);
  --error-bg: rgba(242, 5, 42, 0.1);
  --error-border: #ff6b6b;
  --error-text: #ff9b9b;

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 28px;

  --shadow-soft: 0 20px 50px -20px rgba(0, 0, 0, 0.55);
  --shadow-glow-gold: 0 0 0 1px rgba(242, 183, 5, 0.25), 0 20px 40px -18px rgba(242, 183, 5, 0.35);
  --shadow-glow-teal: 0 0 0 1px rgba(46, 196, 182, 0.25), 0 20px 40px -18px rgba(46, 196, 182, 0.35);

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --container: 1200px;
}

[data-theme="light"] {
  --navy-950: #eef1f8;
  --navy-900: #f7f8fc;
  --navy-800: #ffffff;
  --navy-700: #e7eaf5;
  --navy-600: #d7dcee;
  --navy-border: #dde1f0;

  --gold-400: #d69e00;
  --gold-500: #b8860b;
  --gold-600: #8a6508;

  --teal-300: #0f9488;
  --teal-400: #0d8f83;
  --teal-500: #0f766e;

  --ink-100: #10152b;
  --ink-300: #454b6b;
  --ink-500: #6b7290;
  --ink-700: #9096b3;

  --glass: 10, 17, 40;
  --heading-color: #10152b;
  --header-scrolled-bg: rgba(255, 255, 255, 0.85);
  --error-bg: rgba(220, 38, 38, 0.08);
  --error-border: #dc2626;
  --error-text: #b91c1c;

  --shadow-soft: 0 20px 50px -20px rgba(30, 41, 82, 0.16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  background: var(--navy-900);
  color: var(--ink-100);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background-color 0.3s ease, color 0.3s ease;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 { font-family: "Sora", "Segoe UI", sans-serif; line-height: 1.15; margin: 0 0 0.5em; letter-spacing: -0.01em; }
p { margin: 0 0 1em; color: var(--ink-300); }

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

section { position: relative; padding: 120px 0; }
@media (max-width: 768px) { section { padding: 80px 0; } }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-500);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: linear-gradient(90deg, var(--teal-400), var(--gold-500));
  border-radius: 2px;
}

.section-head { max-width: 640px; margin: 0 auto 64px; text-align: center; }
.section-head h2 { font-size: clamp(1.9rem, 3.5vw, 2.75rem); color: var(--heading-color); }
.section-head p { font-size: 1.05rem; }

.gradient-text {
  background: linear-gradient(100deg, var(--gold-400) 10%, var(--teal-300) 60%, var(--teal-400) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), background 0.35s var(--ease-out), color .35s var(--ease-out);
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(120deg, var(--gold-500), var(--gold-400));
  color: var(--navy-950);
  box-shadow: var(--shadow-glow-gold);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 24px 45px -16px rgba(242, 183, 5, 0.55); }

.btn-ghost {
  background: rgba(var(--glass), 0.04);
  border-color: var(--navy-border);
  color: var(--ink-100);
  backdrop-filter: blur(6px);
}
.btn-ghost:hover { border-color: var(--teal-400); color: var(--teal-300); transform: translateY(-3px); }

.btn-block { width: 100%; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 18px 0;
  transition: background 0.4s var(--ease-out), padding 0.4s var(--ease-out), box-shadow .4s var(--ease-out), backdrop-filter .4s;
}
.site-header.scrolled {
  padding: 10px 0;
  background: var(--header-scrolled-bg);
  backdrop-filter: blur(14px);
  box-shadow: 0 10px 30px -18px rgba(0,0,0,0.6);
  border-bottom: 1px solid var(--navy-border);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; max-width: 1480px; }

.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 40px; width: auto; }
.brand-name { font-family: "Sora", sans-serif; font-weight: 700; font-size: 1.05rem; color: var(--heading-color); letter-spacing: -0.01em; }
.brand-name span { color: var(--gold-500); }

.main-nav ul { display: flex; align-items: center; gap: 19px; flex-wrap: nowrap; }
.main-nav a {
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--ink-300);
  position: relative;
  padding: 6px 0;
  white-space: nowrap;
  transition: color 0.3s;
}
.main-nav a::after {
  content: "";
  position: absolute; left: 0; bottom: -2px;
  width: 0; height: 2px;
  background: linear-gradient(90deg, var(--gold-500), var(--teal-400));
  transition: width 0.3s var(--ease-out);
}
.main-nav a:hover, .main-nav a.active { color: var(--heading-color); }
.main-nav a:hover::after, .main-nav a.active::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 16px; }
.header-actions .btn-primary.desktop-only { padding: 11px 22px; font-size: 0.85rem; }
.theme-toggle {
  display: flex;
  width: 44px; height: 44px;
  flex-shrink: 0;
  border-radius: 12px;
  border: 1px solid var(--navy-border);
  background: rgba(var(--glass), 0.04);
  align-items: center; justify-content: center;
  cursor: pointer;
  transition: border-color 0.3s, background 0.3s;
}
.theme-toggle:hover { border-color: var(--gold-500); }
.theme-toggle svg { width: 20px; height: 20px; color: var(--heading-color); }
.theme-toggle .icon-moon { display: none; }
[data-theme="light"] .theme-toggle .icon-sun { display: none; }
[data-theme="light"] .theme-toggle .icon-moon { display: block; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border-radius: 12px;
  border: 1px solid var(--navy-border);
  background: rgba(var(--glass),0.04);
  align-items: center; justify-content: center;
  cursor: pointer;
}
.nav-toggle span, .nav-toggle::before, .nav-toggle::after { display:none; }
.nav-toggle svg { width: 20px; height: 20px; stroke: var(--heading-color); }

@media (max-width: 1400px) {
  .main-nav { position: fixed; top: 0; right: -100%; width: min(340px, 85vw); height: 100vh;
    background: var(--navy-800); border-left: 1px solid var(--navy-border);
    padding: 100px 32px 40px; transition: right 0.45s var(--ease-out); box-shadow: -30px 0 60px rgba(0,0,0,0.4); overflow-y: auto; }
  .main-nav.open { right: 0; }
  .main-nav ul { flex-direction: column; align-items: flex-start; gap: 22px; flex-wrap: wrap; }
  .main-nav a { font-size: 1.05rem; white-space: normal; }
  .nav-toggle { display: flex; z-index: 1100; }
  .header-actions .btn-primary.desktop-only { display: none; }
}

.nav-scrim {
  position: fixed; inset: 0; background: rgba(6,12,28,0.6); backdrop-filter: blur(2px);
  opacity: 0; pointer-events: none; transition: opacity 0.4s; z-index: 1050;
}
.nav-scrim.open { opacity: 1; pointer-events: auto; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  padding: 190px 0 140px;
  position: relative;
  background:
    radial-gradient(60% 55% at 82% 12%, rgba(46, 196, 182, 0.16), transparent 60%),
    radial-gradient(50% 45% at 8% 92%, rgba(242, 183, 5, 0.14), transparent 60%),
    linear-gradient(180deg, var(--navy-950), var(--navy-900) 40%, var(--navy-900));
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(var(--glass),0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(var(--glass),0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(60% 60% at 50% 30%, black, transparent 80%);
  opacity: 0.5;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 60px;
  align-items: center;
}
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; text-align: center; } }

.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 18px 8px 8px;
  border-radius: 999px;
  border: 1px solid var(--navy-border);
  background: rgba(var(--glass),0.03);
  font-size: 0.82rem; font-weight: 600; color: var(--ink-300);
  margin-bottom: 28px;
}
.hero-badge .dot-stack { display: flex; }
.hero-badge img { width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--navy-900); margin-left: -8px; }
.hero-badge img:first-child { margin-left: 0; }

.hero h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); color: var(--heading-color); margin-bottom: 22px; }
.hero-lede { font-size: 1.15rem; max-width: 560px; margin-bottom: 36px; }
@media (max-width: 960px) { .hero-lede { margin-left: auto; margin-right: auto; } }

.hero-actions { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-bottom: 56px; }
@media (max-width: 960px) { .hero-actions { justify-content: center; } }

.hero-stats { display: flex; gap: 44px; flex-wrap: wrap; }
@media (max-width: 960px) { .hero-stats { justify-content: center; } }
.hero-stats .stat-num { font-family: "Sora", sans-serif; font-size: 2rem; font-weight: 700; color: var(--heading-color); }
.hero-stats .stat-num .unit { color: var(--gold-500); }
.hero-stats .stat-label { font-size: 0.85rem; color: var(--ink-500); }

.hero-visual { position: relative; display: flex; justify-content: center; align-items: center; }
.orbit-ring {
  position: absolute;
  border: 1px dashed var(--navy-border);
  border-radius: 50%;
  animation: spin 40s linear infinite;
}
.orbit-ring.r1 { width: 420px; height: 420px; }
.orbit-ring.r2 { width: 320px; height: 320px; animation-duration: 30s; animation-direction: reverse; }
@keyframes spin { to { transform: rotate(360deg); } }

.hero-card {
  position: relative;
  width: min(400px, 90vw);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  background: linear-gradient(160deg, rgba(var(--glass),0.06), rgba(var(--glass),0.015));
  border: 1px solid var(--navy-border);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-soft);
  animation: float 6s ease-in-out infinite;
}
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
.hero-card .logo-mark { width: 64px; height: 64px; margin-bottom: 20px; }
.hero-card h3 { color: var(--heading-color); font-size: 1.2rem; }
.hero-card ul { display: flex; flex-direction: column; gap: 14px; margin-top: 20px; }
.hero-card li { display: flex; align-items: center; gap: 12px; font-size: 0.92rem; color: var(--ink-300); }
.hero-card li svg { width: 20px; height: 20px; flex-shrink: 0; color: var(--teal-400); }

.floating-chip {
  position: absolute;
  display: flex; align-items: center; gap: 10px;
  padding: 12px 16px;
  background: var(--navy-800);
  border: 1px solid var(--navy-border);
  border-radius: var(--radius-md);
  font-size: 0.82rem; font-weight: 600;
  box-shadow: var(--shadow-soft);
  animation: float 7s ease-in-out infinite;
}
.floating-chip.chip-1 { top: 6%; left: -6%; animation-delay: .3s; }
.floating-chip.chip-2 { bottom: 8%; right: -8%; animation-delay: 1.2s; }
.floating-chip .chip-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold-500); box-shadow: 0 0 12px var(--gold-500); }
@media (max-width: 640px) { .floating-chip { display: none; } }

.logo-strip { border-top: 1px solid var(--navy-border); border-bottom: 1px solid var(--navy-border); padding: 36px 0; background: var(--navy-950); }
.logo-strip .container { display: flex; align-items: center; gap: 40px; flex-wrap: wrap; justify-content: space-between; }
.logo-strip p { margin: 0; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--ink-700); white-space: nowrap; }
.logo-strip .brands { display: flex; gap: 20px; flex-wrap: wrap; align-items: center; }

/* Partner logo chips — a white plate behind each mark so brand colors (including
   dark text like AWS's navy wordmark) stay legible against the dark theme. */
.brand-logo-chip {
  display: flex; align-items: center; justify-content: center;
  height: 44px; padding: 0 18px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 6px 16px -8px rgba(0,0,0,0.35);
  transition: transform 0.3s var(--ease-out);
}
.brand-logo-chip:hover { transform: translateY(-2px); }
.brand-logo-chip img { height: 20px; width: auto; display: block; }
.brand-logo-chip.chip-tall img { height: 26px; }

/* ==========================================================================
   About
   ========================================================================== */
.about-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 70px; align-items: center; }
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; } }

.about-visual { position: relative; }
.about-panel {
  border-radius: var(--radius-lg);
  padding: 4px;
  background: linear-gradient(150deg, var(--gold-500), var(--teal-500));
}
.about-panel-inner {
  border-radius: calc(var(--radius-lg) - 4px);
  background: var(--navy-800);
  padding: 44px 36px;
}
.about-panel-inner .big-icon { width: 72px; height: 72px; margin-bottom: 24px; }
.about-panel-inner h3 { color: var(--heading-color); font-size: 1.4rem; }

.mini-stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 30px; }
.mini-stat { background: rgba(var(--glass),0.03); border: 1px solid var(--navy-border); border-radius: var(--radius-sm); padding: 18px; }
.mini-stat b { display: block; font-family: "Sora", sans-serif; font-size: 1.5rem; color: var(--gold-500); }
.mini-stat span { font-size: 0.8rem; color: var(--ink-500); }

.about-copy h2 { font-size: clamp(1.9rem, 3.2vw, 2.6rem); color: var(--heading-color); }
.check-list { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 24px; margin: 30px 0 36px; }
@media (max-width: 560px) { .check-list { grid-template-columns: 1fr; } }
.check-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.95rem; color: var(--ink-100); font-weight: 500; }
.check-list svg { width: 20px; height: 20px; color: var(--teal-400); flex-shrink: 0; margin-top: 2px; }

/* ==========================================================================
   Services
   ========================================================================== */
.services { background: var(--navy-950); }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 1080px) { .service-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .service-grid { grid-template-columns: 1fr; } }

.service-card {
  position: relative;
  padding: 34px 26px;
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, rgba(var(--glass),0.035), rgba(var(--glass),0.01));
  border: 1px solid var(--navy-border);
  transition: transform 0.4s var(--ease-out), border-color 0.4s, background 0.4s;
  overflow: hidden;
}
.service-card::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(120px 120px at 20% 0%, rgba(46,196,182,0.16), transparent 70%);
  opacity: 0; transition: opacity 0.4s;
}
.service-card:hover { transform: translateY(-8px); border-color: var(--teal-400); }
.service-card:hover::before { opacity: 1; }
.service-icon {
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 14px;
  background: linear-gradient(140deg, rgba(242,183,5,0.18), rgba(46,196,182,0.14));
  margin-bottom: 20px;
  position: relative; z-index: 1;
}
.service-icon svg { width: 26px; height: 26px; color: var(--gold-500); }
.service-card h3 { position: relative; z-index: 1; font-size: 1.08rem; color: var(--heading-color); }
.service-card p { position: relative; z-index: 1; font-size: 0.9rem; margin-bottom: 0; }
.service-num { position: absolute; top: 20px; right: 26px; font-family: "Sora", sans-serif; font-size: 0.75rem; color: var(--ink-700); font-weight: 700; }

/* ==========================================================================
   Process
   ========================================================================== */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; counter-reset: step; }
@media (max-width: 900px) { .process-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .process-grid { grid-template-columns: 1fr; } }
.process-step { position: relative; padding-top: 10px; }
.process-step .step-num {
  counter-increment: step;
  font-family: "Sora", sans-serif; font-weight: 800; font-size: 2.6rem;
  background: linear-gradient(160deg, var(--gold-400), var(--teal-400));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  opacity: 0.55; margin-bottom: 10px; display: block;
}
.process-step h3 { color: var(--heading-color); font-size: 1.1rem; }
.process-step p { font-size: 0.92rem; }
.process-connector { display: none; }
@media (min-width: 901px) {
  .process-step:not(:last-child)::after {
    content: "";
    position: absolute; top: 34px; left: calc(100% + 4px);
    width: calc(30px - 8px); height: 2px;
    background: linear-gradient(90deg, var(--teal-400), transparent);
  }
}

/* ==========================================================================
   Industries
   ========================================================================== */
.industries { background: var(--navy-950); }
.industry-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 900px) { .industry-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .industry-grid { grid-template-columns: 1fr; } }
.industry-card {
  padding: 26px 22px; border-radius: var(--radius-md);
  border: 1px solid var(--navy-border);
  background: rgba(var(--glass),0.02);
  display: flex; align-items: center; gap: 16px;
  transition: background 0.3s, border-color 0.3s, transform 0.3s;
}
.industry-card:hover { background: rgba(var(--glass),0.045); border-color: var(--gold-500); transform: translateY(-4px); }
.industry-card svg { width: 28px; height: 28px; color: var(--teal-400); flex-shrink: 0; }
.industry-card span { font-weight: 600; font-size: 0.95rem; color: var(--ink-100); }

/* ==========================================================================
   Testimonials
   ========================================================================== */
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
@media (max-width: 960px) { .testimonial-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .testimonial-grid { grid-template-columns: 1fr; } }
.testimonial-card {
  padding: 30px 26px;
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, rgba(var(--glass),0.035), rgba(var(--glass),0.01));
  border: 1px solid var(--navy-border);
}
.testimonial-stars { display: flex; gap: 4px; margin-bottom: 16px; }
.testimonial-stars svg { width: 16px; height: 16px; color: var(--gold-500); }
.testimonial-card p { color: var(--ink-100); font-size: 0.96rem; }
.testimonial-person { display: flex; align-items: center; gap: 12px; margin-top: 20px; }
.avatar-badge {
  width: 42px; height: 42px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(140deg, var(--gold-500), var(--teal-500));
  font-family: "Sora", sans-serif; font-weight: 700; color: var(--navy-950);
}
.testimonial-person b { display: block; color: var(--heading-color); font-size: 0.9rem; }
.testimonial-person span { font-size: 0.78rem; color: var(--ink-500); }

/* ==========================================================================
   CTA
   ========================================================================== */
.cta {
  padding: 90px 0;
  background: linear-gradient(120deg, var(--navy-800), var(--navy-700));
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(50% 90% at 90% 50%, rgba(46,196,182,0.18), transparent 70%);
}
.cta-inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.cta-inner h2 { color: var(--heading-color); font-size: clamp(1.6rem, 3vw, 2.2rem); max-width: 560px; margin-bottom: 8px; }
.cta-inner p { margin-bottom: 0; }
.cta-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* ==========================================================================
   Contact
   ========================================================================== */
.contact-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 50px; }
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-info-card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--navy-border);
  background: linear-gradient(180deg, rgba(var(--glass),0.035), rgba(var(--glass),0.01));
  padding: 40px 34px;
}
.contact-info-card h3 { color: var(--heading-color); font-size: 1.3rem; }
.contact-item { display: flex; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--navy-border); }
.contact-item:last-of-type { border-bottom: none; }
.contact-item .ic {
  width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0;
  background: rgba(242,183,5,0.12); display: flex; align-items: center; justify-content: center;
}
.contact-item .ic svg { width: 20px; height: 20px; color: var(--gold-500); }
.contact-item b { display: block; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-500); margin-bottom: 4px; }
.contact-item span, .contact-item a { color: var(--ink-100); font-size: 0.98rem; font-weight: 500; }

.social-row { display: flex; gap: 12px; margin-top: 24px; }
.social-row a {
  width: 40px; height: 40px; border-radius: 10px;
  border: 1px solid var(--navy-border);
  display: flex; align-items: center; justify-content: center;
  transition: border-color 0.3s, transform 0.3s, background 0.3s;
}
.social-row a svg { width: 17px; height: 17px; color: var(--ink-300); }
.social-row a:hover { border-color: var(--teal-400); transform: translateY(-3px); background: rgba(46,196,182,0.08); }

.contact-form-card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--navy-border);
  background: var(--navy-800);
  padding: 44px 40px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.field { margin-bottom: 20px; }
.field label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--ink-300); margin-bottom: 8px; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--navy-border);
  background: rgba(var(--glass),0.03);
  color: var(--heading-color);
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color 0.3s, background 0.3s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--teal-400); background: rgba(46,196,182,0.05);
}
.field input::placeholder, .field textarea::placeholder { color: var(--ink-700); }
.hp-field { position: absolute; left: -9999px; opacity: 0; }
.form-msg { margin-top: 18px; padding: 14px 16px; border-radius: var(--radius-sm); font-size: 0.9rem; display: none; }
.form-msg.show { display: block; }
.form-msg.ok { background: rgba(46,196,182,0.12); border: 1px solid var(--teal-400); color: var(--teal-300); }
.form-msg.err { background: var(--error-bg); border: 1px solid var(--error-border); color: var(--error-text); }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--navy-950); border-top: 1px solid var(--navy-border); padding: 70px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 50px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand .brand { margin-bottom: 16px; }
.footer-brand p { font-size: 0.92rem; max-width: 320px; }
.footer-col h4 { color: var(--heading-color); font-size: 0.92rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 20px; }
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col a { font-size: 0.92rem; color: var(--ink-300); transition: color 0.3s; }
.footer-col a:hover { color: var(--teal-300); }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px;
  padding-top: 28px; border-top: 1px solid var(--navy-border);
  font-size: 0.85rem; color: var(--ink-700);
}
.footer-bottom a { color: var(--ink-500); }
.footer-bottom a:hover { color: var(--gold-500); }

/* Back to top */
.back-to-top {
  position: fixed; right: 26px; bottom: 26px; z-index: 900;
  width: 48px; height: 48px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-500), var(--teal-500));
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-soft);
  opacity: 0; pointer-events: none; transform: translateY(10px);
  transition: opacity 0.35s, transform 0.35s;
  cursor: pointer; border: none;
}
.back-to-top.show { opacity: 1; pointer-events: auto; transform: translateY(0); }
.back-to-top svg { width: 20px; height: 20px; color: var(--navy-950); }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out); }
.reveal.in-view { opacity: 1; transform: translateY(0); }
.reveal-stagger.in-view > * { animation: none; }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

/* ==========================================================================
   Dropdown / Mega Menu Navigation
   ========================================================================== */
.main-nav .caret { width: 14px; height: 14px; margin-left: 4px; vertical-align: -2px; transition: transform 0.3s; }
.has-dropdown { position: relative; }
.has-dropdown > a { display: flex; align-items: center; }

.dropdown {
  position: absolute;
  top: calc(100% + 18px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 240px;
  background: var(--navy-800);
  border: 1px solid var(--navy-border);
  border-radius: var(--radius-md);
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  box-shadow: var(--shadow-soft);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s var(--ease-out), transform 0.25s var(--ease-out);
  z-index: 500;
}
.dropdown a {
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ink-300);
  white-space: nowrap;
  transition: background 0.2s, color 0.2s;
}
.dropdown a:hover { background: rgba(var(--glass),0.05); color: var(--heading-color); }

.mega-panel { min-width: 620px; left: 0; transform: translateY(8px); }
.mega-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px; }

@media (min-width: 1401px) {
  /* Dropdown visibility is driven by JS (.show-dropdown) with a close-delay grace
     period, not raw :hover — a plain :hover chain closes the instant the cursor
     crosses the gap between the nav link and the panel below it. :focus-within
     stays as a keyboard-navigation fallback. */
  .has-dropdown.show-dropdown .dropdown,
  .has-dropdown:focus-within .dropdown {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
  }
  .mega-panel, .has-dropdown.show-dropdown .mega-panel, .has-dropdown:focus-within .mega-panel {
    transform: translateY(0);
  }
  .has-dropdown.show-dropdown .caret, .has-dropdown:focus-within .caret { transform: rotate(180deg); }

  /* Invisible bridge so the hit area is continuous from link to panel — belt and
     braces alongside the JS delay. */
  .has-dropdown::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 100%;
    transform: translateX(-50%);
    width: 100%;
    height: 18px;
  }
}

@media (max-width: 1400px) {
  .has-dropdown > a { justify-content: space-between; width: 100%; }
  .dropdown, .mega-panel {
    position: static;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    display: none;
    min-width: 0;
    width: 100%;
    box-shadow: none;
    border: none;
    background: rgba(var(--glass),0.02);
    margin-top: 6px;
    margin-bottom: 6px;
  }
  .mega-grid { grid-template-columns: 1fr; }
  .has-dropdown.open .dropdown,
  .has-dropdown.open .mega-panel { display: flex; }
  .has-dropdown.open .caret { transform: rotate(180deg); }
  .main-nav ul { width: 100%; }
  .has-dropdown { width: 100%; }
}

/* ==========================================================================
   Inner Page Hero + Breadcrumbs
   ========================================================================== */
.inner-hero {
  padding: 170px 0 70px;
  background:
    radial-gradient(55% 60% at 85% 0%, rgba(46, 196, 182, 0.14), transparent 60%),
    radial-gradient(45% 45% at 5% 100%, rgba(242, 183, 5, 0.12), transparent 60%),
    linear-gradient(180deg, var(--navy-950), var(--navy-900));
  border-bottom: 1px solid var(--navy-border);
}
.breadcrumbs { font-size: 0.85rem; color: var(--ink-500); margin-bottom: 20px; }
.breadcrumbs a { color: var(--ink-500); transition: color 0.2s; }
.breadcrumbs a:hover { color: var(--teal-300); }
.breadcrumbs .sep { margin: 0 8px; color: var(--ink-700); }
.breadcrumbs .current { color: var(--gold-500); }
.inner-hero-title { font-size: clamp(2rem, 4vw, 2.9rem); color: var(--heading-color); max-width: 780px; }
.inner-hero-subtitle { font-size: 1.08rem; max-width: 640px; margin-bottom: 0; }

/* ==========================================================================
   Detail pages (Solutions / Industries / Business Challenges)
   ========================================================================== */
.detail-section { padding-top: 90px; }
.detail-grid { display: grid; grid-template-columns: 1.3fr 0.9fr; gap: 60px; align-items: start; }
@media (max-width: 900px) { .detail-grid { grid-template-columns: 1fr; } }
.detail-copy p { font-size: 1.02rem; }
.hero-card-list { display: flex; flex-direction: column; gap: 14px; margin-top: 20px; }
.hero-card-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.92rem; color: var(--ink-100); font-weight: 500; }
.hero-card-list li svg { width: 18px; height: 18px; color: var(--teal-400); flex-shrink: 0; margin-top: 2px; }
.related-section { background: var(--navy-950); }

/* ==========================================================================
   Hub pages (Solutions / Industries / Business Challenges / Resources index)
   ========================================================================== */
.hub-intro { max-width: 720px; margin: 0 auto 60px; text-align: center; }

/* ==========================================================================
   Team / Careers / Partners / Reviews / Why Us
   ========================================================================== */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
@media (max-width: 960px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .team-grid { grid-template-columns: 1fr; } }
.team-card { padding: 30px 24px; text-align: center; border-radius: var(--radius-md); border: 1px solid var(--navy-border); background: rgba(var(--glass),0.02); }
.team-avatar {
  width: 84px; height: 84px; border-radius: 50%; margin: 0 auto 18px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(140deg, var(--gold-500), var(--teal-500));
  font-family: "Sora", sans-serif; font-weight: 800; font-size: 1.6rem; color: var(--navy-950);
}
.team-card h3 { color: var(--heading-color); font-size: 1.05rem; margin-bottom: 2px; }
.team-card .role { color: var(--gold-500); font-size: 0.82rem; font-weight: 600; margin-bottom: 12px; display: block; }
.team-card p { font-size: 0.88rem; margin-bottom: 0; }

.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
@media (max-width: 900px) { .value-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .value-grid { grid-template-columns: 1fr; } }
.value-card { padding: 30px 26px; border-radius: var(--radius-md); border: 1px solid var(--navy-border); background: linear-gradient(180deg, rgba(var(--glass),0.035), rgba(var(--glass),0.01)); }
.value-card h3 { color: var(--heading-color); font-size: 1.05rem; }
.value-card p { font-size: 0.92rem; margin-bottom: 0; }

.job-list { display: flex; flex-direction: column; gap: 16px; }
.job-card {
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  padding: 24px 28px; border-radius: var(--radius-md); border: 1px solid var(--navy-border);
  background: rgba(var(--glass),0.02); transition: border-color 0.3s, transform 0.3s;
}
.job-card:hover { border-color: var(--gold-500); transform: translateY(-3px); }
.job-card h3 { color: var(--heading-color); font-size: 1.05rem; margin-bottom: 4px; }
.job-card .job-meta { font-size: 0.85rem; color: var(--ink-500); }
.job-meta span:not(:last-child)::after { content: "·"; margin: 0 8px; color: var(--ink-700); }

.badge-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
@media (max-width: 900px) { .badge-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .badge-grid { grid-template-columns: 1fr; } }
.badge-card {
  padding: 28px 20px; text-align: center; border-radius: var(--radius-md);
  border: 1px solid var(--navy-border); background: rgba(var(--glass),0.02);
}
.badge-card .badge-icon { width: 48px; height: 48px; margin: 0 auto 14px; color: var(--gold-500); }
.badge-card h4 { color: var(--heading-color); font-size: 0.95rem; margin-bottom: 4px; }
.badge-card span { font-size: 0.8rem; color: var(--ink-500); }

.stat-banner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; text-align: center; }
@media (max-width: 700px) { .stat-banner { grid-template-columns: 1fr 1fr; } }
.stat-banner b { display: block; font-family: "Sora", sans-serif; font-size: 2.2rem; color: var(--gold-500); }
.stat-banner span { font-size: 0.85rem; color: var(--ink-500); }

/* ==========================================================================
   Case Studies / Blog
   ========================================================================== */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
@media (max-width: 960px) { .card-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .card-grid { grid-template-columns: 1fr; } }

.content-card {
  border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--navy-border);
  background: rgba(var(--glass),0.02); transition: transform 0.35s var(--ease-out), border-color 0.35s;
  display: flex; flex-direction: column;
}
.content-card:hover { transform: translateY(-6px); border-color: var(--teal-400); }
.content-card .card-cover {
  height: 160px;
  background: linear-gradient(135deg, var(--navy-700), var(--navy-800));
  position: relative; display: flex; align-items: center; justify-content: center;
}
.content-card .card-cover svg { width: 40px; height: 40px; color: var(--gold-500); opacity: 0.8; }
.content-card .card-tag {
  position: absolute; top: 14px; left: 14px; font-size: 0.72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.06em; color: var(--navy-950);
  background: var(--gold-500); padding: 4px 10px; border-radius: 999px;
}
.content-card .card-body { padding: 22px 24px 26px; flex: 1; display: flex; flex-direction: column; }
.content-card h3 { color: var(--heading-color); font-size: 1.05rem; }
.content-card p { font-size: 0.9rem; flex: 1; }
.content-card .card-meta { font-size: 0.78rem; color: var(--ink-700); margin-bottom: 10px; }
.content-card .card-link { font-size: 0.86rem; font-weight: 700; color: var(--teal-400); }

/* ==========================================================================
   FAQ Accordion
   ========================================================================== */
.faq-list { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.faq-item { border: 1px solid var(--navy-border); border-radius: var(--radius-md); background: rgba(var(--glass),0.02); overflow: hidden; }
.faq-question {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 24px; cursor: pointer; font-weight: 600; color: var(--heading-color); font-size: 0.98rem;
}
.faq-question svg { width: 20px; height: 20px; color: var(--gold-500); flex-shrink: 0; transition: transform 0.3s; }
.faq-item.open .faq-question svg { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s var(--ease-out); }
.faq-answer-inner { padding: 0 24px 22px; }
.faq-answer-inner p { font-size: 0.92rem; margin-bottom: 0; }

/* ==========================================================================
   Simple content pages (Terms / Privacy / Client Support)
   ========================================================================== */
.prose { max-width: 800px; margin: 0 auto; }
.prose h2 { color: var(--heading-color); font-size: 1.4rem; margin-top: 40px; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { font-size: 0.96rem; }
.prose ul { padding-left: 20px; list-style: disc; margin-bottom: 1em; }
.prose li { margin-bottom: 6px; color: var(--ink-300); }

.support-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
@media (max-width: 900px) { .support-grid { grid-template-columns: 1fr; } }
.support-card { padding: 32px 28px; border-radius: var(--radius-md); border: 1px solid var(--navy-border); background: rgba(var(--glass),0.02); text-align: center; }
.support-card .service-icon { margin: 0 auto 18px; }
.support-card h3 { color: var(--heading-color); font-size: 1.05rem; }
.support-card p { font-size: 0.9rem; }

.footer-grid-wide { grid-template-columns: 1.2fr 1fr 1fr 1fr 1fr; }
@media (max-width: 900px) { .footer-grid-wide { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid-wide { grid-template-columns: 1fr; } }

/* ==========================================================================
   Leadership Message (MD note on Team page)
   ========================================================================== */
.leader-card {
  padding: 48px 52px 46px;
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(var(--glass),0.045), rgba(var(--glass),0.015));
  border: 1px solid var(--navy-border);
}
@media (max-width: 640px) { .leader-card { padding: 36px 26px 32px; } }

.leader-topline {
  display: flex; align-items: center; gap: 20px;
  margin-bottom: 32px; padding-bottom: 28px;
  border-bottom: 1px solid var(--navy-border);
}
@media (max-width: 560px) { .leader-topline { flex-direction: column; text-align: center; } }
.leader-avatar {
  width: 72px; height: 72px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(140deg, var(--gold-500), var(--teal-500));
  font-family: "Sora", sans-serif; font-weight: 800; font-size: 1.5rem; color: var(--navy-950);
}
.leader-topline .eyebrow { margin-bottom: 6px; }
.leader-topline h3 { color: var(--heading-color); font-size: 1.15rem; margin-bottom: 2px; }
.leader-topline span.role { font-size: 0.85rem; color: var(--ink-500); font-weight: 600; }

.leader-mission {
  position: relative;
  padding: 6px 0 6px 26px;
  border-left: 3px solid var(--gold-500);
  margin-bottom: 30px;
}
.leader-mission p {
  font-family: "Sora", sans-serif;
  font-size: clamp(1.2rem, 2.4vw, 1.6rem);
  font-weight: 600;
  line-height: 1.4;
  color: var(--heading-color);
  margin-bottom: 0;
}
.leader-mission .gradient-text { font-weight: 700; }

.leader-message p { font-size: 1.02rem; color: var(--ink-300); }

.value-tags { display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0 6px; }
.value-tag {
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--navy-border);
  background: rgba(var(--glass),0.03);
  font-size: 0.82rem; font-weight: 600; color: var(--ink-100);
}
.value-tag .dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--teal-400); margin-right: 8px; }

.leader-signoff {
  margin-top: 26px; padding-top: 22px;
  border-top: 1px solid var(--navy-border);
  font-style: italic; color: var(--ink-300); font-size: 0.98rem;
}
.leader-signoff b { font-style: normal; color: var(--heading-color); font-family: "Sora", sans-serif; }

/* ==========================================================================
   Admin Panel
   ========================================================================== */
body:has(.admin-center), body:has(.admin-main) { background: var(--navy-950); }

.admin-center {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
}
.admin-login-card {
  width: 100%; max-width: 400px;
  padding: 40px 36px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--navy-border);
  background: linear-gradient(160deg, rgba(var(--glass),0.045), rgba(var(--glass),0.015));
}
.admin-login-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 26px; }
.admin-login-brand img { width: 36px; height: 36px; }
.admin-login-brand span { font-family: "Sora", sans-serif; font-weight: 700; color: var(--heading-color); }
.admin-login-card h1 { font-family: "Sora", sans-serif; color: var(--heading-color); font-size: 1.5rem; margin-bottom: 8px; }
.admin-login-card > p { margin-bottom: 24px; }
.admin-login-card form { margin-top: 20px; }

.admin-topbar { border-bottom: 1px solid var(--navy-border); background: var(--navy-900); padding: 18px 0; }
.admin-topbar-inner { max-width: 1280px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; }
.admin-main { padding: 44px 0 80px; }
.admin-container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }

.admin-table-wrap { overflow-x: auto; border: 1px solid var(--navy-border); border-radius: var(--radius-md); }
.admin-table { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
.admin-table th, .admin-table td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--navy-border); vertical-align: top; }
.admin-table thead th {
  background: rgba(var(--glass),0.04);
  color: var(--ink-500); font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.06em; font-weight: 700;
  white-space: nowrap;
}
.admin-table tbody tr:last-child td { border-bottom: none; }
.admin-table tbody tr:hover { background: rgba(var(--glass),0.03); }
.admin-table td { color: var(--ink-100); }
.admin-table td a { color: var(--teal-400); }
.admin-table .nowrap { white-space: nowrap; }
.admin-msg-cell { min-width: 260px; max-width: 420px; color: var(--ink-300); }

.admin-badge { display: inline-block; padding: 4px 10px; border-radius: 999px; font-size: 0.76rem; font-weight: 700; white-space: nowrap; }
.admin-badge-ok { background: rgba(46,196,182,0.14); color: var(--teal-300); }
.admin-badge-no { background: rgba(242,5,42,0.1); color: var(--error-text); }
.admin-status-new { background: rgba(242,183,5,0.14); color: var(--gold-500); }
.admin-status-read { background: rgba(var(--glass),0.08); color: var(--ink-300); }
.admin-status-archived { background: rgba(var(--glass),0.04); color: var(--ink-500); }
.admin-row-new td:first-child { box-shadow: inset 3px 0 0 var(--gold-500); }

/* Topbar tabs + user chip */
.admin-topbar-right { display: flex; align-items: center; gap: 14px; }
.admin-user-chip { font-size: 0.85rem; font-weight: 600; color: var(--ink-300); }
.admin-tabs { border-top: 1px solid var(--navy-border); }
.admin-tabs-inner { max-width: 1280px; margin: 0 auto; padding: 0 24px; display: flex; gap: 4px; overflow-x: auto; }
.admin-tab {
  padding: 13px 18px; font-size: 0.88rem; font-weight: 600; color: var(--ink-500);
  border-bottom: 2px solid transparent; white-space: nowrap; transition: color 0.2s, border-color 0.2s;
}
.admin-tab:hover { color: var(--ink-100); }
.admin-tab.active { color: var(--gold-500); border-bottom-color: var(--gold-500); }

/* Filter bar */
.admin-filter-bar { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-bottom: 24px; }
.admin-filter-bar input[type="text"] {
  flex: 1; min-width: 220px; padding: 12px 16px; border-radius: var(--radius-sm);
  border: 1px solid var(--navy-border); background: rgba(var(--glass),0.03); color: var(--heading-color); font-family: inherit; font-size: 0.92rem;
}
.admin-filter-bar select {
  padding: 12px 16px; border-radius: var(--radius-sm); border: 1px solid var(--navy-border);
  background: rgba(var(--glass),0.03); color: var(--heading-color); font-family: inherit; font-size: 0.92rem;
}
.admin-export-btn { margin-left: auto; }

.admin-sort-link { color: var(--ink-500); display: inline-flex; align-items: center; gap: 4px; }
.admin-sort-link:hover { color: var(--heading-color); }
.admin-action-link { color: var(--teal-400); font-weight: 600; }

.admin-pagination {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  margin-top: 20px; font-size: 0.86rem; color: var(--ink-500);
}
.admin-pagination-links { display: flex; gap: 10px; }
.admin-pagination-links .btn { padding: 8px 16px; font-size: 0.85rem; }

.admin-back-link { display: inline-block; font-size: 0.9rem; color: var(--ink-500); }
.admin-back-link:hover { color: var(--teal-400); }

.admin-detail-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 40px; }
@media (max-width: 760px) { .admin-detail-grid { grid-template-columns: 1fr; } }
.admin-detail-row { display: flex; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--navy-border); font-size: 0.92rem; }
.admin-detail-row b { width: 90px; flex-shrink: 0; color: var(--ink-500); font-weight: 600; }
.admin-detail-row a, .admin-detail-row span { color: var(--ink-100); }
.admin-message-box {
  padding: 18px 20px; border-radius: var(--radius-sm); border: 1px solid var(--navy-border);
  background: rgba(var(--glass),0.02); color: var(--ink-100); font-size: 0.95rem; line-height: 1.7;
}
.admin-detail-actions { border-left: 1px solid var(--navy-border); padding-left: 40px; }
@media (max-width: 760px) { .admin-detail-actions { border-left: none; padding-left: 0; border-top: 1px solid var(--navy-border); padding-top: 24px; } }
.admin-danger-btn { color: var(--error-text); border-color: var(--error-border); }
.admin-danger-btn:hover { background: var(--error-bg); }

.admin-user-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.admin-inline-details { position: relative; }
.admin-inline-details summary {
  cursor: pointer; list-style: none; padding: 8px 14px; border-radius: 999px;
  border: 1px solid var(--navy-border); background: rgba(var(--glass),0.03); font-size: 0.82rem; font-weight: 600; color: var(--ink-300);
}
.admin-inline-details summary::-webkit-details-marker { display: none; }
.admin-inline-details[open] summary { color: var(--heading-color); border-color: var(--teal-400); }
.admin-inline-form {
  position: absolute; top: calc(100% + 6px); left: 0; z-index: 20;
  display: flex; gap: 8px; padding: 12px; border-radius: var(--radius-sm);
  border: 1px solid var(--navy-border); background: var(--navy-800); box-shadow: var(--shadow-soft);
}
.admin-inline-form input { padding: 8px 12px; border-radius: 8px; border: 1px solid var(--navy-border); background: rgba(var(--glass),0.04); color: var(--heading-color); font-size: 0.85rem; width: 160px; }
.admin-user-actions .btn { padding: 8px 14px; font-size: 0.8rem; }

/* ==========================================================================
   Language Selector (Google Website Translator, custom UI)
   Google's <select> cannot be styled where it matters — the open dropdown
   list is rendered natively by the OS, not the page. So it stays in the DOM
   (hidden) purely to drive Google's translation logic, and we build our own
   fully-styleable trigger + listbox on top, wired together in script.js.
   ========================================================================== */
.lang-select-wrap { position: relative; flex-shrink: 0; }

.lang-select-trigger {
  display: flex; align-items: center; gap: 8px;
  height: 44px; padding: 0 12px;
  border-radius: 12px;
  border: 1px solid var(--navy-border);
  background: rgba(var(--glass), 0.04);
  cursor: pointer;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 0.82rem; font-weight: 600; color: var(--heading-color);
  transition: border-color 0.3s var(--ease-out), background 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}
.lang-select-trigger:hover,
.lang-select-trigger:focus-visible { border-color: var(--gold-500); background: rgba(var(--glass), 0.07); transform: translateY(-2px); outline: none; }
.lang-select-wrap.open .lang-select-trigger { border-color: var(--teal-400); }

.lang-select-trigger #langSelectLabel { max-width: 90px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.lang-select-icon { width: 17px; height: 17px; flex-shrink: 0; color: var(--ink-500); transition: color 0.3s; }
.lang-select-trigger:hover .lang-select-icon { color: var(--gold-500); }
.lang-select-wrap.open .lang-select-icon { color: var(--teal-400); }

.lang-select-chevron { width: 13px; height: 13px; flex-shrink: 0; color: var(--ink-500); transition: color 0.3s, transform 0.25s var(--ease-out); }
.lang-select-trigger:hover .lang-select-chevron { color: var(--gold-500); }
.lang-select-wrap.open .lang-select-chevron { color: var(--teal-400); transform: rotate(180deg); }

.lang-select-menu {
  position: absolute; top: calc(100% + 10px); right: 0;
  width: max-content; min-width: 200px; max-width: 260px; max-height: 340px;
  overflow-y: auto;
  padding: 8px;
  border-radius: var(--radius-md);
  border: 1px solid var(--navy-border);
  background: var(--navy-800);
  box-shadow: var(--shadow-soft);
  opacity: 0; pointer-events: none; transform: translateY(6px);
  transition: opacity 0.2s var(--ease-out), transform 0.2s var(--ease-out);
  z-index: 600;
}
.lang-select-wrap.open .lang-select-menu { opacity: 1; pointer-events: auto; transform: translateY(0); }

.lang-select-option {
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 0.86rem; font-weight: 500; color: var(--ink-300);
  cursor: pointer; white-space: nowrap;
  transition: background 0.15s, color 0.15s;
}
.lang-select-option:hover,
.lang-select-option.is-active { background: rgba(var(--glass), 0.07); color: var(--heading-color); }
.lang-select-option.is-original { border-bottom: 1px solid var(--navy-border); margin-bottom: 6px; padding-bottom: 12px; font-weight: 700; color: var(--gold-500); }

/* Google's real widget — kept functional, never visible. */
.lang-select-native { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

@media (max-width: 1400px) { .lang-select-wrap { order: -1; } }
@media (max-width: 480px) {
  .lang-select-trigger { padding: 0 10px; gap: 6px; }
  .lang-select-trigger #langSelectLabel { max-width: 60px; }
  .lang-select-menu { right: -40px; }
}

/* Google's translate UI chrome (top banner + hover tooltip) — suppress everywhere. */
.goog-te-banner-frame,
.goog-te-banner-frame.skiptranslate,
iframe.goog-te-banner-frame,
#goog-gt-tt,
.goog-tooltip,
.goog-te-balloon-frame {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
}
.goog-tooltip:hover { display: none !important; }
html, body { top: 0 !important; margin-top: 0 !important; position: static !important; }
.goog-text-highlight { background: none !important; box-shadow: none !important; }
