﻿/* ============================================================================
   Secure Services — site.css
   Complete design system ported from the original Next.js site:
   - CSS-variable theme engine: 2 modes (dark/light) × 8 accent presets
     applied via <body data-theme-mode data-accent>
   - Premium glass cards, gold gradients, grid patterns, marquee
   ========================================================================== */

/* ------------------------------ theme tokens ------------------------------ */

:root {
  /* neutrals — DARK mode ramp (navy) */
  --navy-950: #04080f;
  --navy-900: #060c17;
  --navy-850: #0a1424;
  --navy-800: #0e1d31;
  --navy-700: #14273f;
  --navy-600: #1c3355;
  --navy-500: #27436b;

  /* accent — GOLD preset (dark ramp) */
  --gold-200: #fde68a;
  --gold-300: #fcd34d;
  --gold-400: #fbbf24;
  --gold-500: #f59e0b;
  --gold-600: #d97706;
  --gold-700: #b45309;

  /* semantic */
  --ink: #f1f5f9;          /* headings */
  --ink-body: #cbd5e1;     /* body text */
  --ink-soft: #94a3b8;     /* secondary text */
  --ink-mute: #64748b;     /* faint text */
  --line: rgba(148, 163, 184, 0.14);
  --line-strong: rgba(148, 163, 184, 0.2);
  --on-accent: var(--navy-950);
  --bg-page: var(--navy-950);
  --bg-alt: var(--navy-900);
  --glass-bg: rgba(255, 255, 255, 0.028);
  --glass-border: rgba(148, 163, 184, 0.14);
  --hero-scrim: rgba(4, 8, 15, 0.9);
  --focus-ring: rgba(245, 158, 11, 0.35);

  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-display: "Sora", "Inter", -apple-system, sans-serif;

  --radius: 14px;
  --radius-lg: 20px;
  --container: 1280px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------------- light mode (flips neutrals to ink-tinted surfaces) ---------------- */

body[data-theme-mode="light"] {
  --navy-950: #f6f8fc;
  --navy-900: #ffffff;
  --navy-850: #ffffff;
  --navy-800: #e7edf6;
  --navy-700: #dce4f0;
  --navy-600: #c8d4e7;
  --navy-500: #b3c2da;

  --gold-200: #4a2a0c;
  --gold-300: #6b3d0a;
  --gold-400: #a16207;
  --gold-500: #b45309;
  --gold-600: #713f12;
  --gold-700: #5c3310;

  --ink: #101a2c;
  --ink-body: #2b3850;
  --ink-soft: #53617a;
  --ink-mute: #6a7791;
  --line: rgba(16, 26, 44, 0.12);
  --line-strong: rgba(16, 26, 44, 0.16);
  --on-accent: #ffffff;
  --glass-bg: rgba(255, 255, 255, 0.78);
  --glass-border: rgba(16, 26, 44, 0.12);
  --hero-scrim: rgba(10, 18, 32, 0.55);
  --focus-ring: rgba(180, 83, 9, 0.3);
}

/* ---------------- accent presets (dark ramps) ---------------- */

body[data-accent="emerald"] { --gold-200:#a7f3d0; --gold-300:#6ee7b7; --gold-400:#34d399; --gold-500:#10b981; --gold-600:#059669; --gold-700:#047857; }
body[data-accent="ruby"]    { --gold-200:#fecdd3; --gold-300:#fda4af; --gold-400:#fb7185; --gold-500:#f43f5e; --gold-600:#e11d48; --gold-700:#be123c; }
body[data-accent="copper"]  { --gold-200:#fed7aa; --gold-300:#fdba74; --gold-400:#fb923c; --gold-500:#f97316; --gold-600:#ea580c; --gold-700:#c2410c; }
body[data-accent="teal"]    { --gold-200:#99f6e4; --gold-300:#5eead4; --gold-400:#2dd4bf; --gold-500:#14b8a6; --gold-600:#0d9488; --gold-700:#0f766e; }
body[data-accent="violet"]  { --gold-200:#ddd6fe; --gold-300:#c4b5fd; --gold-400:#a78bfa; --gold-500:#8b5cf6; --gold-600:#7c3aed; --gold-700:#6d28d9; }
body[data-accent="platinum"]{ --gold-200:#f1f5f9; --gold-300:#e2e8f0; --gold-400:#cbd5e1; --gold-500:#94a3b8; --gold-600:#64748b; --gold-700:#475569; }
body[data-accent="rosegold"]{ --gold-200:#f5d5d8; --gold-300:#f0b8bd; --gold-400:#e89ba3; --gold-500:#d4808a; --gold-600:#b76e79; --gold-700:#96565f; }

/* ---------------- accent presets (light ramps — deep accents for contrast) ---------------- */

body[data-theme-mode="light"][data-accent="gold"]     { --gold-200:#4a2a0c; --gold-300:#6b3d0a; --gold-400:#a16207; --gold-500:#b45309; --gold-600:#713f12; --gold-700:#5c3310; }
body[data-theme-mode="light"][data-accent="emerald"]  { --gold-200:#064e3b; --gold-300:#065f46; --gold-400:#047857; --gold-500:#059669; --gold-600:#065f46; --gold-700:#064e3b; }
body[data-theme-mode="light"][data-accent="ruby"]     { --gold-200:#881337; --gold-300:#9f1239; --gold-400:#be123c; --gold-500:#e11d48; --gold-600:#9f1239; --gold-700:#881337; }
body[data-theme-mode="light"][data-accent="copper"]   { --gold-200:#7c2d12; --gold-300:#9a3412; --gold-400:#c2410c; --gold-500:#ea580c; --gold-600:#9a3412; --gold-700:#7c2d12; }
body[data-theme-mode="light"][data-accent="teal"]     { --gold-200:#134e4a; --gold-300:#115e59; --gold-400:#0f766e; --gold-500:#0d9488; --gold-600:#115e59; --gold-700:#134e4a; }
body[data-theme-mode="light"][data-accent="violet"]   { --gold-200:#4c1d95; --gold-300:#5b21b6; --gold-400:#6d28d9; --gold-500:#7c3aed; --gold-600:#5b21b6; --gold-700:#4c1d95; }
body[data-theme-mode="light"][data-accent="platinum"] { --gold-200:#1e293b; --gold-300:#334155; --gold-400:#475569; --gold-500:#64748b; --gold-600:#334155; --gold-700:#1e293b; }
body[data-theme-mode="light"][data-accent="rosegold"] { --gold-200:#6b343c; --gold-300:#7d4450; --gold-400:#96565f; --gold-500:#a8707a; --gold-600:#7a454e; --gold-700:#5c3238; }

/* ---------------------------------- base ---------------------------------- */

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-body);
  background: var(--bg-page);
  -webkit-font-smoothing: antialiased;
  transition: background 0.35s ease, color 0.35s ease;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* The HTML5 [hidden] attribute must ALWAYS win over any class display rule
   (e.g. .mobile-menu / .btn-spinner set display:flex) — without !important
   those elements would be visible even while "hidden". */
[hidden] { display: none !important; }
button { font-family: inherit; }
h1, h2, h3, h4 { color: var(--ink); font-family: var(--font-display); margin: 0; line-height: 1.2; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

::selection { background: var(--gold-500); color: var(--on-accent); }

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg-page); }
::-webkit-scrollbar-thumb { background: var(--navy-600); border-radius: 999px; border: 2px solid var(--bg-page); }
::-webkit-scrollbar-thumb:hover { background: var(--gold-400); }

:focus-visible { outline: 2px solid var(--gold-400); outline-offset: 2px; border-radius: 4px; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--gold-500); color: var(--on-accent);
  padding: 10px 18px; border-radius: 0 0 10px 0; font-weight: 600;
}
.skip-link:focus { left: 0; }

/* ------------------------------ layout helpers ----------------------------- */

.page-shell { display: flex; flex-direction: column; min-height: 100vh; }
main { flex: 1 0 auto; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.rel { position: relative; }
.overflow { overflow: hidden; }
.narrow { max-width: 820px; }
.center { text-align: center; }
.left { text-align: left; }
.mx-auto { margin-left: auto; margin-right: auto; }
.nowrap { white-space: nowrap; }
.mono { font-family: ui-monospace, "Cascadia Code", Consolas, monospace; letter-spacing: 0.04em; }
.mt-6 { margin-top: 1.5rem; } .mt-8 { margin-top: 2rem; } .mt-10 { margin-top: 2.5rem; }
.mt-12 { margin-top: 3rem; } .mt-14 { margin-top: 3.5rem; } .mt-16 { margin-top: 4rem; }

.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 700px) { .grid-4 { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 900px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-2-lg { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 899px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }

.split { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 1024px) { .split { grid-template-columns: 1fr 1fr; } }
.split-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.5rem; }
.actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.25rem; }
.actions.center { justify-content: center; }

.clamp-1, .clamp-2, .clamp-3 {
  display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden;
}
.clamp-1 { -webkit-line-clamp: 1; }
.clamp-2 { -webkit-line-clamp: 2; }
.clamp-3 { -webkit-line-clamp: 3; }

/* ------------------------------- typography -------------------------------- */

.text-gold-gradient {
  background: linear-gradient(115deg, var(--gold-200) 0%, var(--gold-400) 38%, var(--gold-500) 68%, var(--gold-600) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

.t-gold-300 { color: var(--gold-300); }
.t-gold-400 { color: var(--gold-400); }
.ico-gold { color: var(--gold-500); flex-shrink: 0; }
.ico-gold-lg { color: var(--gold-400); }
.ico-gold-soft { color: rgba(148, 163, 184, 0.5); }
.ico-gold-soft-lg { color: var(--gold-500); opacity: 0.55; }
.on-accent-ico { color: var(--on-accent); }
.inline { display: inline-flex; vertical-align: middle; }
.inline-star { color: var(--gold-400); display: inline-flex; margin-right: 1px; }

.prose p { margin: 0 0 1rem; line-height: 1.8; color: var(--ink-soft); }
.prose strong { color: var(--gold-300); font-weight: 600; }

.link-accent {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--gold-400); font-weight: 600; transition: color 0.25s ease;
}
.link-accent:hover { color: var(--gold-300); }

/* --------------------------------- buttons --------------------------------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 12px 26px;
  border-radius: 999px; border: 1px solid transparent;
  font-size: 0.9rem; font-weight: 600; cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.3s ease, background 0.25s ease,
              border-color 0.25s ease, color 0.25s ease, filter 0.25s ease;
  text-align: center;
}
.btn:active { transform: scale(0.98); }
.btn .btn-arrow { transition: transform 0.3s ease; }
.btn:hover .btn-arrow { transform: translateX(4px); }
.btn svg { flex-shrink: 0; }

.btn-accent {
  background: linear-gradient(to right, var(--gold-400), var(--gold-600));
  color: var(--on-accent);
  box-shadow: 0 10px 26px -10px var(--gold-500);
}
.btn-accent:hover { filter: brightness(1.1); box-shadow: 0 14px 34px -10px var(--gold-500); }

.btn-outline {
  border-color: var(--gold-500);
  border-color: color-mix(in srgb, var(--gold-500) 55%, transparent);
  color: var(--gold-300);
  background: transparent;
}
.btn-outline:hover { background: color-mix(in srgb, var(--gold-500) 10%, transparent); }

.btn-ghost { color: var(--ink-body); background: transparent; }
.btn-ghost:hover { color: var(--gold-300); background: color-mix(in srgb, var(--ink) 5%, transparent); }

.btn-block { width: 100%; }
.btn-sm { min-height: 38px; padding: 8px 16px; font-size: 0.82rem; }
.btn-danger {
  background: linear-gradient(to right, #dc2626, #b91c1c); color: #fff;
  box-shadow: 0 10px 26px -10px rgba(220, 38, 38, 0.6);
}
.btn-danger:hover { filter: brightness(1.1); }

.btn-spinner, .btn-label { display: inline-flex; align-items: center; gap: 8px; justify-content: center; }
.spin { animation: spin 0.9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* --------------------------- premium surfaces ------------------------------ */

.glass-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
body[data-theme-mode="light"] .glass-card {
  box-shadow: 0 1px 2px rgba(16, 26, 44, 0.05), 0 10px 30px -18px rgba(16, 26, 44, 0.18);
}

.glass-card-hover { transition: border-color 0.35s ease, background 0.35s ease, transform 0.35s ease, box-shadow 0.35s ease; }
.glass-card-hover:hover {
  border-color: color-mix(in srgb, var(--gold-500) 40%, transparent);
  background: color-mix(in srgb, var(--gold-500) 4.5%, var(--glass-bg));
  transform: translateY(-4px);
  box-shadow: 0 18px 40px -18px color-mix(in srgb, var(--gold-500) 25%, transparent);
}

.gold-ring {
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--gold-500) 35%, transparent),
              0 8px 32px -8px color-mix(in srgb, var(--gold-500) 35%, transparent);
}

.bg-grid-gold {
  background-image:
    linear-gradient(color-mix(in srgb, var(--gold-500) 4.5%, transparent) 1px, transparent 1px),
    linear-gradient(90deg, color-mix(in srgb, var(--gold-500) 4.5%, transparent) 1px, transparent 1px);
  background-size: 46px 46px;
}

.gold-radial-glow {
  background: radial-gradient(ellipse 60% 50% at 70% 20%,
    color-mix(in srgb, var(--gold-500) 12%, transparent), transparent 65%);
}

.glow-blob { position: absolute; width: 500px; height: 500px; border-radius: 50%; pointer-events: none; }
.glow-tr { top: -160px; right: -160px; background: color-mix(in srgb, var(--gold-500) 10%, transparent); filter: blur(90px); }
.glow-tl { top: 80px; left: -160px; width: 400px; height: 400px; background: color-mix(in srgb, var(--gold-500) 8%, transparent); filter: blur(90px); }

.rounded-xl { border-radius: var(--radius-lg); }
.border-accent { border: 1px solid color-mix(in srgb, var(--gold-500) 25%, transparent); }
.shadow-xl { box-shadow: 0 30px 60px -25px rgba(0, 0, 0, 0.55); }
body[data-theme-mode="light"] .shadow-xl { box-shadow: 0 30px 60px -30px rgba(16, 26, 44, 0.4); }

.section-grid { position: absolute; inset: 0; opacity: 0.4; pointer-events: none; }
.section-grid-soft { position: absolute; inset: 0; opacity: 0.28; pointer-events: none; }

/* -------------------------------- sections --------------------------------- */

.section { position: relative; padding: 84px 0; }
@media (min-width: 640px) { .section { padding: 96px 0; } }
.sec-a { background: var(--bg-alt); }
.sec-b { background: var(--bg-page); }

.section-head { max-width: 720px; margin: 0 auto; text-align: center; }
.section-head.left { margin: 0; text-align: left; }
.section-head h2 { font-size: 1.9rem; font-weight: 700; margin-top: 1rem; line-height: 1.25; }
@media (min-width: 640px) { .section-head h2 { font-size: 2.35rem; } }
.section-head p { margin-top: 1rem; color: var(--ink-soft); line-height: 1.7; }

.subhead { font-size: 1.5rem; font-weight: 700; }
.subhead.sm { font-size: 1.2rem; }
@media (min-width: 640px) { .subhead { font-size: 1.75rem; } }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 16px; border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--gold-500) 30%, transparent);
  background: color-mix(in srgb, var(--gold-500) 10%, transparent);
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold-400);
}
.eyebrow-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold-400); }

/* --------------------------------- header ---------------------------------- */

.topbar {
  position: relative; z-index: 50;
  border-bottom: 1px solid var(--line);
  background: var(--navy-950);
  padding: 6px 0; font-size: 0.78rem; color: var(--ink-soft);
  display: none;
}
@media (min-width: 1024px) { .topbar { display: block; } }
body[data-theme-mode="light"] .topbar { background: var(--navy-850); }

.topbar-inner { display: flex; align-items: center; justify-content: space-between; }
.topbar-links { display: flex; align-items: center; gap: 20px; }
.topbar-link { display: inline-flex; align-items: center; gap: 6px; transition: color 0.25s ease; }
.topbar-link:hover { color: var(--gold-300); }

.gst-badge {
  display: inline-flex; align-items: center;
  padding: 3px 12px; border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--gold-500) 25%, transparent);
  background: color-mix(in srgb, var(--gold-500) 10%, transparent);
  color: var(--gold-400); font-weight: 500; letter-spacing: 0.04em;
  font-family: ui-monospace, Consolas, monospace; font-size: 0.72rem;
}

.site-header {
  position: sticky; top: 0; z-index: 40; width: 100%;
  border-bottom: 1px solid transparent;
  background: color-mix(in srgb, var(--navy-950) 55%, transparent);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  transition: box-shadow 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}
.site-header.scrolled {
  border-bottom-color: color-mix(in srgb, var(--gold-500) 15%, transparent);
  background: color-mix(in srgb, var(--navy-950) 90%, transparent);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 8px 32px -12px color-mix(in srgb, var(--navy-950) 60%, transparent);
}
body[data-theme-mode="light"] .site-header.scrolled {
  box-shadow: 0 8px 32px -12px rgba(16, 26, 44, 0.25);
}

.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 12px; }

.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 12px;
  border: 1px solid color-mix(in srgb, var(--gold-500) 40%, transparent);
  background: var(--navy-900); flex-shrink: 0; overflow: hidden;
  box-shadow: 0 0 24px -6px color-mix(in srgb, var(--gold-500) 45%, transparent);
}
.brand-mark.lg { width: 56px; height: 56px; border-radius: 16px; }
.brand-icon { color: var(--gold-400); }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-name { font-family: var(--font-display); font-weight: 800; font-size: 1.1rem; letter-spacing: 0.02em; color: var(--ink); }
.brand-sub {
  display: none; font-size: 0.6rem; font-weight: 500; text-transform: uppercase;
  letter-spacing: 0.22em; color: var(--ink-soft); margin-top: 2px;
}
@media (min-width: 640px) { .brand-sub { display: block; } }

.nav { display: none; align-items: center; gap: 26px; }
@media (min-width: 1024px) { .nav { display: flex; } }

.nav-link {
  position: relative; padding: 8px 0;
  font-size: 0.88rem; font-weight: 500; color: var(--ink-body);
  transition: color 0.25s ease;
}
.nav-link:hover { color: var(--ink); }
.nav-link.active { color: var(--gold-300); }
.nav-link::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  height: 2px; width: 0; border-radius: 2px;
  background: linear-gradient(90deg, var(--gold-400), var(--gold-600));
  transition: width 0.3s ease;
}
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

.btn-nav { min-height: 44px; padding: 10px 24px; box-shadow: 0 8px 22px -10px var(--gold-500); }

.phone-chip {
  display: inline-flex; align-items: center; gap: 8px;
  height: 44px; padding: 0 14px; border-radius: 12px;
  border: 1px solid color-mix(in srgb, var(--gold-500) 30%, transparent);
  background: color-mix(in srgb, var(--gold-500) 10%, transparent);
  color: var(--gold-300); font-size: 0.85rem; font-weight: 600;
  transition: border-color 0.25s ease, background 0.25s ease;
}
.phone-chip:hover { border-color: var(--gold-500); background: color-mix(in srgb, var(--gold-500) 20%, transparent); }
.phone-chip-num { display: none; white-space: nowrap; }
@media (min-width: 640px) { .phone-chip-num { display: inline; } }
@media (min-width: 1024px) { .phone-chip { display: none; } }

.burger {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: color-mix(in srgb, var(--ink) 5%, transparent);
  color: var(--ink-body); cursor: pointer;
}
@media (min-width: 1024px) { .burger { display: none; } }

.mobile-menu {
  border-top: 1px solid var(--line);
  background: color-mix(in srgb, var(--navy-950) 96%, transparent);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  padding: 8px 16px 24px;
  display: flex; flex-direction: column; gap: 4px;
}
.mobile-menu .nav-link { padding: 12px 16px; border-radius: 12px; font-size: 1rem; }
.mobile-menu .nav-link:hover { background: color-mix(in srgb, var(--ink) 5%, transparent); }
.mobile-menu .nav-link.active { background: color-mix(in srgb, var(--gold-500) 10%, transparent); }
.mobile-menu .btn { margin-top: 14px; min-height: 48px; }
/* Never show the mobile menu on desktop viewports, even if it was left open
   before resizing (the [hidden] guard above handles the collapsed state). */
@media (min-width: 1024px) { .mobile-menu { display: none !important; } }
.mobile-contacts {
  display: flex; flex-direction: column; gap: 10px;
  margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line);
  font-size: 0.9rem; color: var(--ink-soft);
}
.mobile-contacts a { display: inline-flex; align-items: center; gap: 8px; }
.mobile-contacts a:hover { color: var(--gold-300); }

/* ---------------------------------- hero ----------------------------------- */

.hero { position: relative; min-height: calc(100svh - 72px); display: flex; align-items: center; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; }
.hero-img { width: 100%; height: 100%; object-fit: cover; }
.hero-scrim-x { position: absolute; inset: 0; background: linear-gradient(to right, rgba(4,8,15,0.95), rgba(4,8,15,0.7) 55%, rgba(4,8,15,0.4)); }
.hero-scrim-y { position: absolute; inset: 0; background: linear-gradient(to top, var(--navy-950), transparent 40%, rgba(4,8,15,0.6)); }
body[data-theme-mode="light"] .hero-scrim-x { background: linear-gradient(to right, rgba(240,244,250,0.96), rgba(240,244,250,0.8) 55%, rgba(240,244,250,0.45)); }
body[data-theme-mode="light"] .hero-scrim-y { background: linear-gradient(to top, var(--navy-950), transparent 40%, rgba(240,244,250,0.35)); }
.hero-grid { position: absolute; inset: 0; opacity: 0.6; }

.hero-content { position: relative; width: 100%; padding-top: 72px; padding-bottom: 88px; }
.hero-inner { max-width: 760px; }

.hero-badge {
  display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px;
  padding: 8px 16px; border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--gold-500) 30%, transparent);
  background: color-mix(in srgb, var(--gold-500) 10%, transparent);
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--gold-300); backdrop-filter: blur(8px);
}

.hero-title {
  margin-top: 24px; font-size: 2.4rem; font-weight: 800; line-height: 1.08; color: #ffffff;
}
@media (min-width: 640px) { .hero-title { font-size: 3rem; } }
@media (min-width: 1024px) { .hero-title { font-size: 3.7rem; } }
body[data-theme-mode="light"] .hero-title { color: #ffffff; }

.hero-subtitle { margin-top: 24px; max-width: 560px; font-size: 1rem; line-height: 1.75; color: #e2e8f0; }
@media (min-width: 640px) { .hero-subtitle { font-size: 1.1rem; } }
body[data-theme-mode="light"] .hero-subtitle { color: #f1f5f9; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 36px; }

.hero-stats {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px;
  max-width: 640px; margin-top: 56px; padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}
@media (min-width: 640px) { .hero-stats { grid-template-columns: repeat(4, 1fr); } }

.stat { text-align: center; }
.stat-value { font-family: var(--font-display); font-size: 2.2rem; font-weight: 700; }
@media (min-width: 640px) { .stat-value { font-size: 2.9rem; } }
.stat-label { margin-top: 8px; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: #cbd5e1; }

/* -------------------------------- marquee ---------------------------------- */

.marquee-section { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-page); padding: 24px 0; }
.marquee-mask {
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, black 12%, black 88%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 12%, black 88%, transparent);
}
.marquee-track { display: flex; align-items: center; gap: 48px; width: max-content; padding-right: 48px; animation: marquee-scroll 32s linear infinite; }
.marquee-track:hover { animation-play-state: paused; }
.marquee-item { display: flex; align-items: center; gap: 48px; white-space: nowrap; }
.marquee-brand { font-family: var(--font-display); font-size: 0.85rem; font-weight: 700; letter-spacing: 0.25em; color: var(--ink-mute); transition: color 0.25s ease; }
.marquee-brand:hover { color: var(--gold-400); }
.marquee-dot { width: 4px; height: 4px; border-radius: 50%; background: color-mix(in srgb, var(--gold-500) 50%, transparent); }
@keyframes marquee-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* -------------------------------- clients ---------------------------------- */

.clients-marquee { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-alt); padding: 56px 0; }
.clients-marquee .section-head h2 { font-size: 1.9rem; }
.clients-marquee-link { color: var(--gold-400); font-weight: 600; font-size: 0.9rem; display: inline-flex; align-items: center; gap: 6px; }
.clients-marquee-link:hover { color: var(--gold-300); }
.clients-track { animation-duration: 45s; }
.client-chip {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 10px 18px; min-height: 60px; border-radius: 14px;
  background: var(--glass-bg); border: 1px solid var(--glass-border);
}
.client-chip img { height: 36px; width: auto; max-width: 180px; object-fit: contain; }
.client-chip-name { font-family: var(--font-display); font-size: 0.95rem; font-weight: 700; color: var(--ink-body); white-space: nowrap; }

.client-grid { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .client-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .client-grid { grid-template-columns: repeat(3, 1fr); } }
.client-card { display: flex; flex-direction: column; padding: 26px; }
.client-logo-row { display: flex; align-items: center; gap: 16px; }
.client-logo-box {
  width: 76px; height: 56px; flex: 0 0 76px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 12px; background: color-mix(in srgb, var(--ink) 5%, transparent); border: 1px solid var(--line);
}
.client-logo-box img { max-width: 68px; max-height: 46px; width: auto; height: auto; }
.client-initials {
  width: 48px; height: 48px; flex: 0 0 48px; border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; font-size: 1.05rem;
  color: var(--gold-400); background: color-mix(in srgb, var(--gold-500) 12%, transparent);
}
.client-logo-meta h3 { font-size: 1.05rem; }
.client-loc-line { margin-top: 4px; font-size: 0.8rem; color: var(--ink-soft); display: flex; align-items: center; gap: 6px; }
.client-meta { margin-top: 14px; }
.client-tag {
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 999px;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--gold-300); background: color-mix(in srgb, var(--gold-500) 10%, transparent);
}
.client-desc { margin-top: 14px; font-size: 0.88rem; line-height: 1.7; color: var(--ink-soft); }
.client-site { margin-top: auto; padding-top: 16px; font-size: 0.8rem; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; color: var(--gold-400); }
.client-site:hover { color: var(--gold-300); }

/* ------------------------------ service cards ------------------------------ */

.svc-card { display: block; height: 100%; border-radius: var(--radius-lg); overflow: hidden; }
.svc-card article { display: flex; flex-direction: column; height: 100%; }
.svc-card.wide { border-radius: var(--radius-lg); }

.svc-media { position: relative; height: 176px; overflow: hidden; }
.svc-media.tall { height: 208px; }
.svc-media img, .proj-media img, .post-media img, .featured-post-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.svc-card:hover .svc-media img, .proj-card:hover .proj-media img,
.post-card:hover .post-media img, .featured-post:hover .featured-post-media img { transform: scale(1.05); }

.svc-media-fallback {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(to bottom right, var(--navy-800), var(--navy-850), var(--navy-700));
}
.svc-media-fallback.big { height: 100%; min-height: 320px; }

.svc-scrim, .proj-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(to top, color-mix(in srgb, var(--navy-950) 85%, transparent), transparent 55%);
}

.svc-icon-chip {
  position: absolute; bottom: 12px; left: 16px;
  display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 12px;
  border: 1px solid color-mix(in srgb, var(--gold-500) 40%, transparent);
  background: color-mix(in srgb, var(--navy-950) 80%, transparent);
  backdrop-filter: blur(8px); color: var(--gold-400);
}
.svc-icon-chip.lg { position: static; width: 48px; height: 48px; }

.svc-media-bar { position: absolute; bottom: 16px; left: 20px; right: 20px; display: flex; align-items: center; gap: 12px; }
.svc-media-title { display: block; font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; color: #fff; }
.svc-media-tag { display: block; font-size: 0.68rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-400); }

.svc-body { padding: 24px; display: flex; flex-direction: column; gap: 0; flex: 1; }
.svc-body h3 { font-size: 1.1rem; font-weight: 700; transition: color 0.25s ease; }
.svc-card:hover h3 { color: var(--gold-300); }
.svc-tagline { margin-top: 4px; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: color-mix(in srgb, var(--gold-500) 80%, transparent); }
.svc-desc { margin-top: 12px; font-size: 0.88rem; line-height: 1.65; color: var(--ink-soft); }
.svc-more {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 20px;
  font-size: 0.88rem; font-weight: 600; color: var(--gold-400);
}

.chip-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 12px; border-radius: 999px;
  background: color-mix(in srgb, var(--ink) 5%, transparent);
  font-size: 0.74rem; color: var(--ink-body);
}
.chip-accent { background: color-mix(in srgb, var(--gold-500) 10%, transparent); color: var(--gold-300); }

/* ------------------------- split media / solar ------------------------------ */

.split-media { position: relative; }
.media-glow {
  position: absolute; inset: -12px; border-radius: 26px;
  background: linear-gradient(to top right, color-mix(in srgb, var(--gold-500) 25%, transparent), transparent 65%);
  filter: blur(22px); pointer-events: none;
}
.split-media img { position: relative; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

.solar-stat {
  position: absolute; bottom: -22px; right: -14px;
  display: none; align-items: center; gap: 12px;
  padding: 16px 24px; border-radius: 16px;
  border: 1px solid color-mix(in srgb, var(--gold-500) 30%, transparent);
  background: color-mix(in srgb, var(--navy-900) 95%, transparent);
}
@media (min-width: 640px) { .solar-stat { display: flex; } }
.solar-stat-value { font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; }
.solar-stat-label { font-size: 0.72rem; color: var(--ink-soft); }

/* ------------------------------- feature list ------------------------------- */

.feat-list { display: flex; flex-direction: column; gap: 20px; margin-top: 32px; }
.feat { display: flex; gap: 16px; }
.feat-icon {
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 10px; flex-shrink: 0;
  background: color-mix(in srgb, var(--gold-500) 15%, transparent); color: var(--gold-400);
}
.feat h3 { font-size: 1rem; font-weight: 700; }
.feat p { margin-top: 4px; font-size: 0.88rem; line-height: 1.65; color: var(--ink-soft); }

/* ------------------------------ icon cards ---------------------------------- */

.icon-card { padding: 24px; border-radius: var(--radius-lg); text-align: center; height: 100%; }
.icon-card.big { padding: 32px; text-align: left; }
.icon-card-icon {
  display: flex; align-items: center; justify-content: center;
  width: 56px; height: 56px; border-radius: 16px;
  background: linear-gradient(to bottom right, color-mix(in srgb, var(--gold-500) 20%, transparent), color-mix(in srgb, var(--gold-600) 10%, transparent));
  color: var(--gold-400);
}
.icon-card h3 { margin-top: 20px; font-size: 1rem; font-weight: 700; }
.icon-card.big h2 { margin-top: 24px; font-size: 1.5rem; }
.icon-card p { margin-top: 12px; font-size: 0.88rem; line-height: 1.65; color: var(--ink-soft); }
.icon-card.big p { font-size: 0.95rem; margin-top: 12px; }

/* -------------------------------- process ----------------------------------- */

.step { position: relative; }
.step-connector {
  position: absolute; left: 100%; top: 32px; width: 32px; height: 1px;
  background: linear-gradient(to right, color-mix(in srgb, var(--gold-500) 50%, transparent), transparent);
}
@media (max-width: 1023px) { .step-connector { display: none; } }
.step-icon {
  display: flex; align-items: center; justify-content: center;
  width: 64px; height: 64px; border-radius: 16px;
  border: 1px solid color-mix(in srgb, var(--gold-500) 30%, transparent);
  background: linear-gradient(to bottom right, var(--navy-800), var(--navy-900));
  color: var(--gold-400);
}
.step-number {
  margin-top: 20px; font-family: var(--font-display); font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: color-mix(in srgb, var(--gold-500) 70%, transparent);
}
.step h3 { margin-top: 8px; font-size: 1rem; font-weight: 700; }
.step p { margin-top: 8px; font-size: 0.88rem; line-height: 1.65; color: var(--ink-soft); }

/* ------------------------------ project cards -------------------------------- */

.proj-card { border-radius: var(--radius-lg); overflow: hidden; }
.proj-media { position: relative; height: 208px; overflow: hidden; }
.proj-media.tall { height: 224px; }
.proj-badges { position: absolute; top: 16px; left: 16px; display: flex; gap: 8px; }
.proj-category {
  display: inline-block; padding: 5px 12px; border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--gold-500) 40%, transparent);
  background: color-mix(in srgb, var(--navy-950) 80%, transparent);
  backdrop-filter: blur(8px);
  font-size: 0.72rem; font-weight: 600; color: var(--gold-300);
}
.proj-featured {
  display: inline-flex; align-items: center; gap: 4px; padding: 5px 12px; border-radius: 999px;
  background: linear-gradient(to right, var(--gold-400), var(--gold-600));
  color: var(--on-accent); font-size: 0.72rem; font-weight: 700;
}
.proj-meta {
  position: absolute; bottom: 12px; left: 16px; right: 16px;
  display: flex; align-items: center; justify-content: space-between;
  font-size: 0.75rem; color: #e2e8f0;
}
.proj-meta > span:first-child { display: inline-flex; align-items: center; gap: 6px; }
.proj-year { padding: 2px 8px; border-radius: 6px; background: rgba(255, 255, 255, 0.12); backdrop-filter: blur(6px); }
.proj-body { padding: 24px; }
.proj-body h3 { font-size: 1rem; font-weight: 700; line-height: 1.4; }
.proj-body p { margin-top: 12px; font-size: 0.88rem; line-height: 1.65; color: var(--ink-soft); }

.filter-row { display: flex; flex-wrap: wrap; gap: 10px; }
.filter-chip {
  min-height: 44px; padding: 10px 20px; border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: color-mix(in srgb, var(--navy-950) 60%, transparent);
  color: var(--ink-soft); font-size: 0.88rem; font-weight: 500; cursor: pointer;
  transition: all 0.25s ease;
}
.filter-chip:hover { border-color: color-mix(in srgb, var(--gold-500) 40%, transparent); color: var(--gold-300); }
.filter-chip.active {
  border-color: transparent;
  background: linear-gradient(to right, var(--gold-400), var(--gold-600));
  color: var(--on-accent);
  box-shadow: 0 10px 24px -10px var(--gold-500);
}
a.filter-chip { display: inline-flex; align-items: center; }

.empty-note { margin-top: 64px; text-align: center; color: var(--ink-mute); }

/* ----------------------------- testimonials ---------------------------------- */

.tst-viewport { overflow: hidden; margin-top: 48px; }
.tst-carousel {
  display: flex; gap: 16px;
  overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: none; padding: 4px;
}
.tst-carousel::-webkit-scrollbar { display: none; }
.tst-card {
  flex: 0 0 100%; scroll-snap-align: start;
  padding: 28px; border-radius: var(--radius-lg);
}
/* 2 cards per view on tablets, 3 on desktop (full-width section). The gap is
   16px, so N cards need calc((100% - (N-1)*16px) / N). The prev/next buttons
   in site.js scroll by the live card width and adapt automatically. */
@media (min-width: 768px) { .tst-card { flex: 0 0 calc((100% - 16px) / 2); } }
@media (min-width: 1024px) { .tst-card { flex: 0 0 calc((100% - 32px) / 3); } }
.tst-card blockquote { margin-top: 16px; font-size: 0.92rem; line-height: 1.75; color: var(--ink-body); }
.tst-card figcaption {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line);
}
.tst-avatar {
  display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(to bottom right, var(--gold-400), var(--gold-600));
  color: var(--on-accent); font-family: var(--font-display); font-size: 0.8rem; font-weight: 700;
}
.tst-avatar.lg { width: 56px; height: 56px; font-size: 1.05rem; }
.tst-who { min-width: 0; flex: 1; }
.tst-name { display: block; font-size: 0.9rem; font-weight: 700; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tst-role { display: block; font-size: 0.75rem; color: var(--ink-mute); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.stars { display: flex; gap: 2px; }
.star.filled { color: var(--gold-400); fill: var(--gold-400); }
.star.empty { color: var(--navy-600); fill: var(--navy-700); }
.tst-controls { display: flex; justify-content: flex-end; gap: 10px; margin-top: 18px; }
.tst-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 12px; cursor: pointer;
  border: 1px solid color-mix(in srgb, var(--gold-500) 30%, transparent);
  background: var(--bg-alt); color: var(--gold-300);
  transition: background 0.25s ease;
}
.tst-btn:hover { background: color-mix(in srgb, var(--gold-500) 10%, transparent); }

/* -------------------------------- post cards --------------------------------- */

.post-card { display: block; height: 100%; border-radius: var(--radius-lg); overflow: hidden; }
.post-card article { display: flex; flex-direction: column; height: 100%; }
.post-media { position: relative; height: 176px; overflow: hidden; }
.post-media.short { height: 144px; }
.post-body { padding: 24px; flex: 1; }
.post-body h3 { margin-top: 12px; font-size: 1rem; font-weight: 700; line-height: 1.45; transition: color 0.25s ease; }
.post-card:hover h3 { color: var(--gold-300); }
.post-body p { margin-top: 12px; font-size: 0.88rem; line-height: 1.65; color: var(--ink-soft); }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; font-size: 0.75rem; color: var(--ink-mute); }
.post-meta.lg { font-size: 0.8rem; margin-bottom: 12px; }
.post-meta.lg span { display: inline-flex; align-items: center; gap: 6px; }
.post-date { color: var(--gold-400); font-weight: 500; }
.post-tag {
  padding: 2px 10px; border-radius: 999px;
  background: color-mix(in srgb, var(--gold-500) 10%, transparent);
  color: var(--gold-300); font-weight: 500;
}
.post-tag-inline { display: inline-flex; align-items: center; gap: 6px; }

.featured-post { display: grid; border-radius: 26px; overflow: hidden; }
@media (min-width: 1024px) { .featured-post { grid-template-columns: 1fr 1fr; } }
.featured-post-media { position: relative; height: 256px; overflow: hidden; }
@media (min-width: 1024px) { .featured-post-media { height: auto; min-height: 320px; } }
.featured-post-badge {
  position: absolute; top: 16px; left: 16px;
  padding: 6px 16px; border-radius: 999px;
  background: linear-gradient(to right, var(--gold-400), var(--gold-600));
  color: var(--on-accent); font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em;
}
.featured-post-body { padding: 32px; }
.featured-post-body h2 { margin-top: 16px; font-size: 1.4rem; line-height: 1.35; transition: color 0.25s ease; }
@media (min-width: 640px) { .featured-post-body h2 { font-size: 1.6rem; } }
.featured-post:hover h2 { color: var(--gold-300); }
.featured-post-excerpt { margin-top: 16px; color: var(--ink-soft); font-size: 0.92rem; line-height: 1.7; }
.featured-post .svc-more { margin-top: 24px; }

/* ----------------------------------- blog ------------------------------------ */

.article-container { max-width: 880px; }
.article-cover-wrap { position: relative; }
.cover-glow {
  position: absolute; inset: -8px; border-radius: 26px;
  background: linear-gradient(to top right, color-mix(in srgb, var(--gold-500) 15%, transparent), transparent 70%);
  filter: blur(16px); pointer-events: none;
}
.article-cover { position: relative; width: 100%; aspect-ratio: 16 / 8; object-fit: cover; border-radius: 26px; border: 1px solid var(--line); box-shadow: 0 30px 60px -25px rgba(0,0,0,0.5); }

.post-title { margin-top: 16px; font-size: 1.55rem; font-weight: 800; line-height: 1.3; }
@media (min-width: 640px) { .post-title { font-size: 2.2rem; } }
.post-excerpt { margin-top: 16px; color: var(--ink-soft); line-height: 1.75; }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }

.author-card { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; padding: 24px; border-radius: var(--radius-lg); margin-top: 48px; }
.author-text { flex: 1; min-width: 200px; }
.author-name { font-family: var(--font-display); font-size: 0.9rem; font-weight: 700; color: var(--ink); }
.author-card p { margin-top: 4px; font-size: 0.88rem; color: var(--ink-soft); }

/* markdown content */
.blog-content { font-size: 1rem; }
.blog-content h1 { font-size: 1.9rem; font-weight: 700; margin: 0 0 1rem; color: var(--ink); font-family: var(--font-display); }
.blog-content h2 {
  font-size: 1.45rem; font-weight: 700; margin: 2rem 0 0.85rem;
  color: var(--ink); font-family: var(--font-display);
  position: relative; padding-left: 0.9rem;
}
.blog-content h2::before {
  content: ""; position: absolute; left: 0; top: 0.3rem; bottom: 0.3rem; width: 4px;
  border-radius: 4px; background: linear-gradient(180deg, var(--gold-400), var(--gold-600));
}
.blog-content h3 { font-size: 1.15rem; font-weight: 600; margin: 1.5rem 0 0.6rem; color: var(--ink); }
.blog-content p { margin: 0 0 1.1rem; line-height: 1.85; color: var(--ink-body); }
.blog-content ul, .blog-content ol { margin: 0 0 1.2rem 1.4rem; color: var(--ink-body); line-height: 1.9; }
.blog-content ul { list-style: disc; }
.blog-content ol { list-style: decimal; }
.blog-content li::marker { color: var(--gold-500); }
.blog-content strong { color: var(--gold-400); font-weight: 600; }
.blog-content a { color: var(--gold-400); text-decoration: underline; text-underline-offset: 3px; }
.blog-content blockquote {
  border-left: 3px solid var(--gold-500);
  background: color-mix(in srgb, var(--gold-500) 6%, transparent);
  padding: 0.8rem 1.2rem; border-radius: 0 10px 10px 0;
  margin: 0 0 1.2rem; color: var(--ink-body); font-style: italic;
}
.blog-content hr { border: none; border-top: 1px solid var(--line); margin: 2rem 0; }

/* ------------------------------------ FAQ ------------------------------------- */

.faq-list { display: flex; flex-direction: column; gap: 12px; margin-top: 40px; }
.faq { border-radius: 12px; padding: 4px 20px; transition: border-color 0.25s ease; }
.faq[open] { border-color: color-mix(in srgb, var(--gold-500) 40%, transparent); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 16px 0; cursor: pointer; list-style: none;
  font-size: 0.92rem; font-weight: 600; color: var(--ink);
  transition: color 0.25s ease;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--gold-300); }
.faq-chevron { color: var(--ink-mute); transition: transform 0.3s ease; flex-shrink: 0; }
.faq[open] .faq-chevron { transform: rotate(90deg); color: var(--gold-400); }
.faq-answer { padding: 0 0 16px; font-size: 0.9rem; line-height: 1.75; color: var(--ink-soft); }

/* ---------------------------------- quote form --------------------------------- */

.quote-wrap { position: relative; }
.quote-form { padding: 26px; border-radius: var(--radius-lg); }
@media (min-width: 640px) { .quote-form { padding: 30px; } }

.quote-head { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.quote-head-icon {
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 10px;
  background: linear-gradient(to bottom right, var(--gold-400), var(--gold-600));
  color: var(--on-accent);
}
.quote-title { font-family: var(--font-display); font-size: 1.15rem; font-weight: 700; color: var(--ink); }
.quote-sub { font-size: 0.75rem; color: var(--ink-soft); margin-top: 2px; }

.field-grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .field-grid { grid-template-columns: 1fr 1fr; } }

.field { display: flex; flex-direction: column; margin-top: 16px; }
.field-grid .field { margin-top: 0; }
.field label {
  margin-bottom: 6px;
  font-size: 0.68rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink-soft);
}
.field input, .field select, .field textarea {
  min-height: 44px; width: 100%;
  padding: 10px 16px; border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: color-mix(in srgb, var(--navy-900) 70%, transparent);
  color: var(--ink); font-size: 0.9rem; font-family: inherit;
  outline: none; resize: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
body[data-theme-mode="light"] .field input,
body[data-theme-mode="light"] .field select,
body[data-theme-mode="light"] .field textarea { background: #fff; }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-mute); }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--gold-500);
  box-shadow: 0 0 0 3px var(--focus-ring);
}
.field select { appearance: none; }

.field-hint { margin-top: 6px; font-size: 0.72rem; color: var(--ink-mute); }

.captcha-row { display: flex; gap: 8px; align-items: stretch; }
.captcha-question {
  flex: 1; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  min-height: 44px; padding: 8px 16px; border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: color-mix(in srgb, var(--navy-900) 70%, transparent);
  user-select: none;
}
.captcha-text { font-family: ui-monospace, Consolas, monospace; font-size: 1rem; font-weight: 700; letter-spacing: 0.2em; color: var(--gold-300); }
.captcha-refresh {
  display: flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 8px; flex-shrink: 0;
  border: 1px solid var(--line-strong);
  background: color-mix(in srgb, var(--ink) 5%, transparent);
  color: var(--ink-soft); cursor: pointer;
  transition: border-color 0.25s ease, color 0.25s ease;
}
.captcha-refresh:hover { border-color: var(--gold-500); color: var(--gold-300); }
.captcha-refresh.spin svg { animation: spin 0.9s linear infinite; }
/* NOTE: the descendant selector is required - the bare ".captcha-input"
   class selector loses to ".field input" (higher specificity), which made the
   answer input stretch to width:100% and crush the question box. */
.captcha-row .captcha-input {
  width: 96px; flex-shrink: 0; text-align: center;
  font-family: ui-monospace, Consolas, monospace;
}

.quote-form .btn { margin-top: 24px; }
.quote-footnote { margin-top: 12px; text-align: center; font-size: 0.72rem; color: var(--ink-mute); }

.quote-success {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 40px; border-radius: var(--radius-lg); text-align: center;
}
.quote-success-icon {
  display: flex; align-items: center; justify-content: center;
  width: 64px; height: 64px; border-radius: 50%;
  background: color-mix(in srgb, var(--gold-500) 15%, transparent);
}
.quote-success h3 { margin-top: 20px; font-size: 1.5rem; font-weight: 700; }
.quote-success p { margin-top: 8px; max-width: 380px; font-size: 0.9rem; line-height: 1.7; color: var(--ink-soft); }
.quote-success .btn { margin-top: 24px; }

/* ----------------------------------- CTA -------------------------------------- */

.cta-points { display: flex; flex-direction: column; gap: 16px; margin-top: 32px; }
.cta-point { display: flex; align-items: center; gap: 12px; font-size: 0.9rem; color: var(--ink-body); }
.cta-call {
  display: inline-flex; align-items: center; gap: 12px;
  margin-top: 32px; padding: 16px 22px; border-radius: 16px;
  border: 1px solid color-mix(in srgb, var(--gold-500) 30%, transparent);
  background: color-mix(in srgb, var(--gold-500) 10%, transparent);
  font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; color: var(--gold-300);
  transition: background 0.25s ease;
}
.cta-call:hover { background: color-mix(in srgb, var(--gold-500) 15%, transparent); }

.cta-band { border-top: 1px solid var(--line); background: var(--bg-page); padding: 56px 0; }
.cta-band-inner {
  display: flex; flex-direction: column; align-items: center; gap: 24px; text-align: center;
}
@media (min-width: 1024px) { .cta-band-inner { flex-direction: row; justify-content: space-between; text-align: left; } }
.cta-band h2 { font-size: 1.5rem; }
@media (min-width: 640px) { .cta-band h2 { font-size: 1.85rem; } }
.cta-band p { margin-top: 8px; font-size: 0.88rem; color: var(--ink-soft); }

.stats-band {
  border-top: 1px solid color-mix(in srgb, var(--gold-500) 20%, transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--gold-500) 20%, transparent);
  background: linear-gradient(to right, color-mix(in srgb, var(--gold-500) 8%, transparent), var(--bg-alt), color-mix(in srgb, var(--gold-500) 8%, transparent));
  padding: 48px 0;
}

/* --------------------------------- about page ---------------------------------- */

.page-hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); background: var(--bg-page); padding: 64px 0; }
@media (min-width: 640px) { .page-hero { padding: 80px 0; } }
.page-hero.short { padding: 56px 0; }
.page-hero-title { margin-top: 20px; max-width: 760px; font-size: 2.2rem; font-weight: 800; line-height: 1.15; }
@media (min-width: 640px) { .page-hero-title { font-size: 2.9rem; } }
.page-hero-desc { margin-top: 20px; max-width: 640px; color: var(--ink-soft); line-height: 1.75; }

.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 0.75rem; color: var(--ink-mute); }
.breadcrumb a:hover { color: var(--gold-300); }
.breadcrumb svg { color: var(--ink-mute); }

.detail-split { margin-top: 32px; }
.detail-icon {
  display: flex; align-items: center; justify-content: center;
  width: 64px; height: 64px; border-radius: 16px;
  background: linear-gradient(to bottom right, color-mix(in srgb, var(--gold-500) 20%, transparent), color-mix(in srgb, var(--gold-600) 10%, transparent));
  color: var(--gold-400);
}
.detail-title { margin-top: 24px; font-size: 1.8rem; font-weight: 800; line-height: 1.2; }
@media (min-width: 640px) { .detail-title { font-size: 2.3rem; } }
.detail-tagline { margin-top: 12px; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-400); }
.detail-lead { margin-top: 20px; line-height: 1.75; color: var(--ink-soft); }

.detail-body { display: grid; gap: 48px; }
@media (min-width: 1024px) { .detail-body { grid-template-columns: 1fr 380px; } }
.detail-paragraphs { margin-top: 48px; }

.feature-grid { display: grid; gap: 16px; margin-top: 24px; }
@media (min-width: 640px) { .feature-grid { grid-template-columns: 1fr 1fr; } }
.feature-item {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 16px; border-radius: 12px;
}
.feature-check {
  display: flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 8px; flex-shrink: 0;
  background: color-mix(in srgb, var(--gold-500) 15%, transparent); color: var(--gold-400);
}
.feature-item span:last-child { font-size: 0.9rem; line-height: 1.6; color: var(--ink-body); }

.pill-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px; border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: color-mix(in srgb, var(--navy-950) 60%, transparent);
  font-size: 0.88rem; color: var(--ink-body);
  transition: border-color 0.25s ease, color 0.25s ease;
}
.pill:hover { border-color: color-mix(in srgb, var(--gold-500) 40%, transparent); color: var(--gold-300); }
.pill-arrow { opacity: 0; transition: all 0.25s ease; }
.pill:hover .pill-arrow { opacity: 1; transform: translateX(2px); }

.aside-sticky { }
@media (min-width: 1024px) { .aside-sticky { position: sticky; top: 100px; } }
.aside-card { margin-top: 20px; padding: 20px; border-radius: var(--radius-lg); }
.aside-card h3 { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.aside-card ul { margin-top: 16px; display: flex; flex-direction: column; gap: 12px; }
.aside-card li { display: flex; gap: 10px; font-size: 0.88rem; color: var(--ink-soft); }

.area-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 640px) { .area-grid { grid-template-columns: repeat(3, 1fr); } }
.area-chip {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 16px; border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: color-mix(in srgb, var(--navy-950) 60%, transparent);
  font-size: 0.88rem; color: var(--ink-body);
}
.area-badges { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.badge-accent {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 16px; border-radius: 12px;
  border: 1px solid color-mix(in srgb, var(--gold-500) 30%, transparent);
  background: color-mix(in srgb, var(--gold-500) 10%, transparent);
  font-size: 0.88rem; color: var(--gold-300);
}
.badge-accent.sm { padding: 5px 12px; border-radius: 999px; font-size: 0.72rem; }

.compliance-card { position: relative; overflow: hidden; padding: 48px 32px; border-radius: 26px; }
.compliance-icon {
  display: flex; align-items: center; justify-content: center;
  width: 64px; height: 64px; border-radius: 16px; margin: 0 auto;
  background: linear-gradient(to bottom right, var(--gold-400), var(--gold-600));
  color: var(--on-accent);
}
.compliance-card h2 { margin-top: 24px; font-size: 1.6rem; }
@media (min-width: 640px) { .compliance-card h2 { font-size: 1.9rem; } }
.compliance-card p { margin: 16px auto 0; max-width: 560px; color: var(--ink-soft); line-height: 1.75; }
.gst-chip {
  display: inline-flex; align-items: center; gap: 12px;
  margin-top: 24px; padding: 12px 24px; border-radius: 12px;
  border: 1px solid color-mix(in srgb, var(--gold-500) 30%, transparent);
  background: color-mix(in srgb, var(--navy-950) 70%, transparent);
  font-size: 0.9rem; color: var(--ink-body);
}
.trust-strip {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 12px 32px; margin-top: 32px; font-size: 0.88rem; color: var(--ink-soft);
}
.trust-strip span { display: inline-flex; align-items: center; gap: 8px; }

/* ---------------------------------- contact ------------------------------------ */

.contact-grid { display: grid; gap: 40px; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 380px 1fr; } }
.contact-cards { display: flex; flex-direction: column; gap: 20px; }
.contact-card { display: flex; gap: 16px; padding: 24px; border-radius: var(--radius-lg); }
.contact-icon {
  display: flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 12px; flex-shrink: 0;
  background: linear-gradient(to bottom right, var(--gold-400), var(--gold-600));
  color: var(--on-accent);
}
.contact-card h2 { font-size: 1rem; }
.contact-card p { margin-top: 4px; font-size: 0.88rem; line-height: 1.6; color: var(--ink-soft); }
.contact-action { display: inline-flex; margin-top: 12px; font-size: 0.88rem; font-weight: 600; color: var(--gold-400); }
.contact-action:hover { color: var(--gold-300); }
.contact-card.gst { border-color: color-mix(in srgb, var(--gold-500) 30%, transparent); align-items: center; }
.contact-card-hint { font-size: 0.72rem; color: var(--ink-mute); }

.map-frame { margin-top: 40px; border-radius: 26px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 30px 60px -25px rgba(0,0,0,0.5); }
.map-frame iframe { display: block; filter: grayscale(0.4) contrast(1.05) brightness(0.9); }

/* ---------------------------------- footer -------------------------------------- */

.footer { margin-top: auto; border-top: 1px solid color-mix(in srgb, var(--gold-500) 20%, transparent); background: var(--navy-950); }
body[data-theme-mode="light"] .footer { background: #eef2f9; }

.footer-cta {
  border-bottom: 1px solid var(--line);
  background: linear-gradient(to right, color-mix(in srgb, var(--gold-500) 10%, transparent), transparent, color-mix(in srgb, var(--gold-500) 10%, transparent));
}
.footer-cta-inner { display: flex; flex-direction: column; align-items: center; gap: 16px; padding: 24px 0; }
@media (min-width: 640px) { .footer-cta-inner { flex-direction: row; justify-content: space-between; } }
.footer-cta-text { font-family: var(--font-display); font-size: 1rem; font-weight: 600; color: var(--ink); text-align: center; }

.footer-grid { display: grid; gap: 40px; padding: 48px 0; }
@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.3fr; } }

.footer-brand-name { font-size: 1.1rem; }
.footer-tagline { margin-top: 16px; max-width: 380px; font-size: 0.88rem; line-height: 1.7; color: var(--ink-soft); }
.footer-gst {
  display: inline-flex; align-items: center; gap: 10px;
  margin-top: 20px; padding: 10px 14px; border-radius: 10px;
  border: 1px solid color-mix(in srgb, var(--gold-500) 25%, transparent);
  background: color-mix(in srgb, var(--gold-500) 10%, transparent);
  font-size: 0.75rem;
}
.footer-gst strong { display: block; color: var(--gold-300); }
.footer-gst-num { display: block; font-family: ui-monospace, Consolas, monospace; color: var(--ink-body); }

.footer-col h3 {
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink);
}
.footer-col ul { margin-top: 20px; display: flex; flex-direction: column; gap: 12px; }
.footer-col a { display: inline-flex; align-items: center; gap: 8px; font-size: 0.88rem; color: var(--ink-soft); transition: color 0.25s ease; }
.footer-col a:hover { color: var(--gold-300); }
.dot { width: 4px; height: 4px; border-radius: 50%; background: color-mix(in srgb, var(--gold-500) 60%, transparent); transition: width 0.25s ease; }
.footer-col a:hover .dot { width: 10px; }

.footer-contact li { display: flex; gap: 12px; font-size: 0.88rem; color: var(--ink-soft); line-height: 1.6; }
.footer-contact li svg { margin-top: 3px; }
.footer-address span { line-height: 1.65; }
.footer-phone { font-weight: 600; color: var(--ink-body); }

.footer-socials { display: flex; gap: 10px; margin-top: 20px; }
.footer-socials a {
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: color-mix(in srgb, var(--ink) 5%, transparent);
  color: var(--ink-body);
  transition: all 0.25s ease;
}
.footer-socials a:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--gold-500) 50%, transparent);
  background: color-mix(in srgb, var(--gold-500) 15%, transparent);
  color: var(--gold-300);
}

.footer-bottom { border-top: 1px solid var(--line); }
.footer-bottom-inner {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 20px 0; font-size: 0.75rem; color: var(--ink-mute);
}
@media (min-width: 640px) { .footer-bottom-inner { flex-direction: row; justify-content: space-between; } }
.footer-credit { display: inline-flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px; }
.footer-credit a { font-weight: 600; color: var(--gold-400); }
.footer-credit a:hover { color: var(--gold-300); }

/* --------------------------------- whatsapp / toast -------------------------------- */

.whatsapp-float {
  position: fixed; bottom: 20px; right: 20px; z-index: 50;
  display: flex; align-items: center; justify-content: center;
  width: 56px; height: 56px; border-radius: 50%;
  background: linear-gradient(to bottom right, var(--gold-400), var(--gold-600));
  color: var(--on-accent);
  box-shadow: 0 16px 36px -10px var(--gold-500);
  transition: transform 0.25s var(--ease);
}
.whatsapp-float:hover { transform: scale(1.1); }
.whatsapp-float:active { transform: scale(0.95); }
.whatsapp-ping {
  position: absolute; top: -4px; right: -4px;
  width: 16px; height: 16px; border-radius: 50%;
  background: #34d399; animation: ping 1.8s ease-out infinite;
}
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.55); } 75%, 100% { box-shadow: 0 0 0 12px rgba(52, 211, 153, 0); } }

.toast-stack {
  position: fixed; top: 20px; right: 20px; z-index: 120;
  display: flex; flex-direction: column; gap: 10px; max-width: 360px;
}
.toast {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 14px 18px; border-radius: 12px;
  background: var(--navy-850);
  border: 1px solid var(--line-strong);
  box-shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.6);
  color: var(--ink); font-size: 0.88rem; font-weight: 500;
  animation: toast-in 0.35s var(--ease);
}
.toast.success { border-color: color-mix(in srgb, #10b981 45%, transparent); }
.toast.success svg { color: #10b981; }
.toast.error { border-color: color-mix(in srgb, #f43f5e 45%, transparent); }
.toast.error svg { color: #f43f5e; }
.toast.out { opacity: 0; transform: translateX(16px); transition: all 0.3s ease; }
@keyframes toast-in { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: none; } }

/* --------------------------------- not found ------------------------------------- */

.notfound { display: flex; align-items: center; justify-content: center; min-height: 60vh; padding: 0 20px; }
.notfound-inner { text-align: center; }
.notfound-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 88px; height: 88px; border-radius: 24px;
  background: color-mix(in srgb, var(--gold-500) 12%, transparent);
}
.notfound-title { margin-top: 24px; font-size: 2rem; font-weight: 800; }
@media (min-width: 640px) { .notfound-title { font-size: 2.6rem; } }
.notfound-text { margin-top: 12px; color: var(--ink-soft); }
.notfound-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 28px; }

/* ------------------------------ reveal animations --------------------------------- */

.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.65s var(--ease), transform 0.65s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d-1 { transition-delay: 0.1s; }
.reveal.d-2 { transition-delay: 0.2s; }
.reveal.d-3 { transition-delay: 0.3s; }
.reveal.d-4 { transition-delay: 0.42s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee-track { animation: none; }
  html { scroll-behavior: auto; }
}

/* ------------------------------ inline forms -------------------------------------- */

.inline-form { display: inline-block; }
