/* ==========================================================================
   Aiyova — Global Cinematic Stylesheet
   Palette: deep-black / off-white / gold / cinematic-red
   ========================================================================== */

:root {
  --bg: #0a0a0a;
  --bg-2: #121212;
  --bg-3: #1a1a1a;
  --ink: #f5f2ea;
  --ink-dim: #b8b3a7;
  --ink-mute: #7a7568;
  --gold: #c9a961;
  --gold-2: #e8c785;
  --gold-3: #8c6f35;
  --red: #8b1e1e;
  --red-2: #b83030;
  --line: rgba(245, 242, 234, 0.08);
  --line-strong: rgba(245, 242, 234, 0.16);

  --font-serif: 'Playfair Display', 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --nav-h: 76px;
  --container: 1240px;
  --radius: 4px;
  --radius-lg: 12px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 0.6s;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, video, svg { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration: none; transition: color .3s var(--ease); }
a:hover { color: var(--gold-2); }

button { font: inherit; background: none; border: none; color: inherit; cursor: pointer; }

/* Selection */
::selection { background: var(--gold); color: var(--bg); }

/* Scrollbar (subtle) */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg-2); }
::-webkit-scrollbar-thumb { background: var(--bg-3); border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold-3); }

/* ------------------------------------------------------------------
   Typography
   ------------------------------------------------------------------ */
h1, h2, h3, h4, h5 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--ink);
}

h1 { font-size: clamp(2.4rem, 5.4vw, 4.6rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); }
h3 { font-size: clamp(1.4rem, 2.2vw, 1.85rem); }
h4 { font-size: 1.2rem; }
h5 { font-size: 1rem; }

p { color: var(--ink-dim); }

.eyebrow {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-block;
  margin-bottom: 1rem;
}

.eyebrow::before {
  content: '';
  display: inline-block;
  width: 28px;
  height: 1px;
  background: var(--gold);
  vertical-align: middle;
  margin-right: 12px;
  margin-top: -2px;
}

.italic-serif { font-family: var(--font-serif); font-style: italic; color: var(--gold-2); }

/* ------------------------------------------------------------------
   Layout
   ------------------------------------------------------------------ */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

section { position: relative; padding: 120px 0; }
section.tight { padding: 80px 0; }
section.narrow { padding: 60px 0; }

@media (max-width: 768px) {
  section { padding: 72px 0; }
  section.tight { padding: 56px 0; }
  .container { padding: 0 20px; }
}

/* Letterbox bars around sections */
.letterbox { position: relative; }
.letterbox::before,
.letterbox::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  height: 40px;
  background: linear-gradient(180deg, var(--bg), transparent);
  pointer-events: none;
  z-index: 1;
}
.letterbox::before { top: 0; }
.letterbox::after { bottom: 0; background: linear-gradient(0deg, var(--bg), transparent); }

/* Film grain overlay */
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.06;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='0.7'/></svg>");
}

/* ------------------------------------------------------------------
   Buttons
   ------------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 32px;
  font-family: var(--font-sans);
  font-size: 0.86rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: all .35s var(--ease);
  cursor: pointer;
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: var(--gold);
  color: var(--bg);
  border-color: var(--gold);
}
.btn-primary:hover {
  background: var(--gold-2);
  border-color: var(--gold-2);
  color: var(--bg);
  transform: translateY(-1px);
  box-shadow: 0 12px 32px rgba(201, 169, 97, 0.24);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn-ghost:hover {
  background: rgba(245, 242, 234, 0.06);
  color: var(--gold-2);
  border-color: var(--gold);
}

.btn-red {
  background: var(--red);
  color: var(--ink);
  border-color: var(--red);
}
.btn-red:hover { background: var(--red-2); border-color: var(--red-2); }

.btn-lg { padding: 18px 42px; font-size: 0.92rem; }

.btn .arrow {
  transition: transform .3s var(--ease);
}
.btn:hover .arrow { transform: translateX(4px); }

/* ------------------------------------------------------------------
   Navigation
   ------------------------------------------------------------------ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 500;
  background: transparent;
  transition: background .35s var(--ease), border-color .35s var(--ease), backdrop-filter .35s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(10, 10, 10, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}

.nav-inner {
  height: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.nav-logo { display: flex; align-items: center; height: 100%; }
.nav-logo svg { height: 30px; width: auto; }

.nav-links {
  display: flex;
  gap: 34px;
  align-items: center;
  list-style: none;
}
.nav-links > li { position: relative; }
.nav-links a {
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
  padding: 8px 0;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width .35s var(--ease);
}
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
.nav-links a.active { color: var(--gold); }

/* Dropdown */
.dropdown { position: relative; }
.dropdown-menu {
  position: absolute;
  top: calc(100% + 16px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  background: rgba(18, 18, 18, 0.98);
  backdrop-filter: blur(12px);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  min-width: 300px;
  padding: 14px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s .3s;
  list-style: none;
}
.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  transition-delay: 0s;
}
.dropdown-menu li a {
  display: block;
  padding: 12px 16px;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  border-radius: var(--radius);
  transition: background .25s var(--ease), color .25s var(--ease);
}
.dropdown-menu li a::after { display: none; }
.dropdown-menu li a:hover {
  background: rgba(201, 169, 97, 0.08);
  color: var(--gold-2);
}
.dropdown-menu li a small {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: none;
  color: var(--ink-mute);
  margin-top: 3px;
}

.nav-cta { display: inline-flex; }

/* Hamburger */
.nav-toggle {
  display: none;
  width: 36px; height: 36px;
  position: relative;
  z-index: 501;
}
.nav-toggle span {
  display: block;
  height: 1.5px;
  background: var(--ink);
  margin: 6px 0;
  transition: transform .35s var(--ease), opacity .35s var(--ease);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* Mobile drawer */
.nav-drawer {
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 10, 0.98);
  z-index: 490;
  padding: calc(var(--nav-h) + 24px) 32px 40px;
  transform: translateX(100%);
  transition: transform .45s var(--ease);
  overflow-y: auto;
  display: none;
}
.nav-drawer.open { transform: translateX(0); }
.nav-drawer ul { list-style: none; }
.nav-drawer > ul > li { border-bottom: 1px solid var(--line); }
.nav-drawer > ul > li > a,
.nav-drawer > ul > li > .drawer-group-title {
  display: block;
  padding: 20px 0;
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--ink);
  letter-spacing: 0.02em;
}
.nav-drawer .drawer-group-title { color: var(--ink-mute); font-size: 0.78rem; letter-spacing: 0.24em; text-transform: uppercase; font-family: var(--font-sans); padding-bottom: 8px; padding-top: 20px; }
.nav-drawer .drawer-sub { padding-left: 0; padding-bottom: 12px; }
.nav-drawer .drawer-sub li a {
  display: block;
  padding: 10px 0;
  font-size: 0.95rem;
  color: var(--ink-dim);
}

@media (max-width: 960px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: block; }
  .nav-drawer { display: block; }
}

/* ------------------------------------------------------------------
   Hero
   ------------------------------------------------------------------ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-h) + 40px) 0 100px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse at 20% 25%, rgba(201, 169, 97, 0.22) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 75%, rgba(139, 30, 30, 0.28) 0%, transparent 55%),
    radial-gradient(ellipse at 50% 50%, #1a140c 0%, #0a0a0a 70%);
}
.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='0.7'/></svg>");
  opacity: 0.08;
  mix-blend-mode: overlay;
}
.hero-bg video,
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 40%, transparent 0%, rgba(10,10,10,0.55) 60%, rgba(10,10,10,0.92) 100%),
    linear-gradient(180deg, rgba(10,10,10,0.55) 0%, rgba(10,10,10,0.35) 40%, rgba(10,10,10,0.98) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 880px;
}
.hero-tagline {
  font-family: var(--font-serif);
  font-size: clamp(2.6rem, 6.2vw, 5.4rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0.5rem 0 1.6rem;
}
.hero-sub {
  font-size: clamp(1.02rem, 1.4vw, 1.2rem);
  line-height: 1.65;
  color: var(--ink-dim);
  max-width: 620px;
  margin-bottom: 2.6rem;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* Sub-page hero (shorter) */
.page-hero {
  position: relative;
  padding: calc(var(--nav-h) + 100px) 0 100px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse at 20% 30%, rgba(201, 169, 97, 0.14) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 70%, rgba(139, 30, 30, 0.18) 0%, transparent 55%),
    var(--bg);
}
.page-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/></svg>");
  opacity: 0.08;
  mix-blend-mode: overlay;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { margin-bottom: 1.4rem; }
.page-hero p { max-width: 720px; font-size: 1.05rem; }
.page-hero .breadcrumb {
  font-size: 0.76rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 1.6rem;
}
.page-hero .breadcrumb a { color: var(--ink-mute); }
.page-hero .breadcrumb a:hover { color: var(--gold); }
.page-hero .breadcrumb .sep { margin: 0 10px; color: var(--gold-3); }

/* ------------------------------------------------------------------
   Section headings
   ------------------------------------------------------------------ */
.section-head { max-width: 780px; margin-bottom: 64px; }
.section-head.center { text-align: center; margin-left: auto; margin-right: auto; }
.section-head h2 { margin-bottom: 1rem; }
.section-head p { font-size: 1.05rem; }

/* ------------------------------------------------------------------
   Service cards (grid on Home + Solutions)
   ------------------------------------------------------------------ */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.service-card {
  position: relative;
  padding: 40px 32px 36px;
  background: linear-gradient(180deg, var(--bg-2) 0%, var(--bg) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform .5s var(--ease), border-color .5s var(--ease), box-shadow .5s var(--ease);
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .6s var(--ease);
}
.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(201, 169, 97, 0.35);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}
.service-card:hover::before { transform: scaleX(1); }

.service-card .num {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1rem;
  color: var(--gold);
  margin-bottom: 10px;
  display: block;
}
.service-card h3 {
  margin-bottom: 12px;
  transition: color .3s var(--ease);
}
.service-card:hover h3 { color: var(--gold-2); }
.service-card p { font-size: 0.95rem; margin-bottom: 22px; }
.service-card .card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}
.service-card .card-link:hover { color: var(--gold-2); }

.service-card .card-icon {
  width: 46px; height: 46px;
  margin-bottom: 22px;
  color: var(--gold);
}

/* ------------------------------------------------------------------
   Stats strip
   ------------------------------------------------------------------ */
.stats-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  padding: 56px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stat { text-align: center; }
.stat-num {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 4.6vw, 3.6rem);
  color: var(--gold);
  line-height: 1;
  margin-bottom: 10px;
}
.stat-num .plus { color: var(--gold-2); }
.stat-label {
  font-size: 0.76rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

/* ------------------------------------------------------------------
   Advantages
   ------------------------------------------------------------------ */
.advantage-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 40px;
}
.advantage {
  padding-top: 24px;
  border-top: 1px solid var(--line-strong);
}
.advantage .adv-num {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.9rem;
  color: var(--gold);
  margin-bottom: 12px;
  display: block;
}
.advantage h4 { margin-bottom: 12px; font-size: 1.35rem; }
.advantage p { font-size: 0.94rem; }

/* ------------------------------------------------------------------
   Showcase / Video grid
   ------------------------------------------------------------------ */
.showcase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}
.showcase-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  background: var(--bg-2);
  border: 1px solid var(--line);
  transition: transform .5s var(--ease), border-color .5s var(--ease);
  aspect-ratio: 16 / 10;
}
.showcase-card.tall { aspect-ratio: 9 / 16; }
.showcase-card.square { aspect-ratio: 1 / 1; }
.showcase-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold-3);
}
.showcase-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s var(--ease), filter .5s var(--ease);
}
.showcase-card:hover .showcase-poster {
  transform: scale(1.06);
  filter: brightness(0.55);
}
.showcase-play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) scale(0.85);
  width: 68px; height: 68px;
  border-radius: 50%;
  background: rgba(10, 10, 10, 0.55);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(201, 169, 97, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity .4s var(--ease), transform .4s var(--ease);
  z-index: 2;
}
.showcase-play svg { width: 22px; height: 22px; color: var(--gold-2); margin-left: 3px; }
.showcase-card:hover .showcase-play {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}
.showcase-meta {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 22px 22px 20px;
  background: linear-gradient(0deg, rgba(10, 10, 10, 0.92) 0%, transparent 100%);
  z-index: 2;
}
.showcase-meta .tag {
  display: inline-block;
  font-size: 0.66rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}
.showcase-meta h4 {
  color: var(--ink);
  font-size: 1.15rem;
  margin-bottom: 3px;
}
.showcase-meta small {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  color: var(--ink-mute);
}

/* Filters */
.filters {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.filter-group {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}
.filter-group .filter-label {
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-right: 8px;
}
.filter-chip {
  padding: 8px 16px;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: var(--ink-dim);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  cursor: pointer;
  transition: all .3s var(--ease);
}
.filter-chip:hover { color: var(--ink); border-color: var(--gold-3); }
.filter-chip.active {
  background: var(--gold);
  color: var(--bg);
  border-color: var(--gold);
}

/* ------------------------------------------------------------------
   Client logo wall
   ------------------------------------------------------------------ */
.client-wall {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.client-wall .client {
  aspect-ratio: 2 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-2);
  color: var(--ink-mute);
  font-family: var(--font-serif);
  font-size: 1.1rem;
  letter-spacing: 0.04em;
  transition: color .3s var(--ease), background .3s var(--ease);
  padding: 12px;
  text-align: center;
  border: 1px solid var(--line);
}
.client-wall .client:hover {
  color: var(--gold);
  background: var(--bg-3);
}
.client-wall .client .client-tag {
  font-family: var(--font-sans);
  display: block;
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-top: 3px;
}

/* ------------------------------------------------------------------
   Workflow
   ------------------------------------------------------------------ */
.workflow {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
  position: relative;
}
.workflow::before {
  content: '';
  position: absolute;
  top: 26px;
  left: 4%;
  right: 4%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-3), transparent);
  z-index: 0;
}
.wf-step { position: relative; z-index: 1; text-align: center; }
.wf-step .step-num {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--gold);
  color: var(--gold);
  font-family: var(--font-serif);
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}
.wf-step h4 { margin-bottom: 8px; font-size: 1.1rem; }
.wf-step p { font-size: 0.9rem; }

@media (max-width: 768px) {
  .workflow::before { display: none; }
}

/* ------------------------------------------------------------------
   Capabilities list (service detail)
   ------------------------------------------------------------------ */
.cap-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  list-style: none;
}
.cap-item {
  display: flex;
  gap: 18px;
  padding: 24px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: border-color .35s var(--ease);
}
.cap-item:hover { border-color: var(--gold-3); }
.cap-icon {
  flex-shrink: 0;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(201, 169, 97, 0.1);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
}
.cap-icon svg { width: 20px; height: 20px; }
.cap-item h4 { margin-bottom: 6px; font-family: var(--font-sans); font-size: 1rem; font-weight: 600; letter-spacing: 0.02em; }
.cap-item p { font-size: 0.9rem; }

/* ------------------------------------------------------------------
   Scenarios (service detail)
   ------------------------------------------------------------------ */
.scenario-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.scenario {
  padding: 32px 28px;
  background: linear-gradient(180deg, var(--bg-2), var(--bg));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: transform .4s var(--ease), border-color .4s var(--ease);
}
.scenario:hover { transform: translateY(-4px); border-color: var(--gold-3); }
.scenario .scenario-tag {
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
  display: block;
}
.scenario h4 { margin-bottom: 10px; }
.scenario p { font-size: 0.92rem; }

/* ------------------------------------------------------------------
   FAQ
   ------------------------------------------------------------------ */
.faq-list { max-width: 860px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--line-strong);
}
.faq-q {
  width: 100%;
  padding: 26px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  text-align: left;
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--ink);
  cursor: pointer;
  transition: color .3s var(--ease);
}
.faq-q:hover { color: var(--gold-2); }
.faq-q .plus {
  flex-shrink: 0;
  width: 24px; height: 24px;
  position: relative;
  color: var(--gold);
}
.faq-q .plus::before,
.faq-q .plus::after {
  content: '';
  position: absolute;
  top: 50%; left: 0;
  width: 100%; height: 1.5px;
  background: currentColor;
  transform: translateY(-50%);
  transition: transform .4s var(--ease);
}
.faq-q .plus::after { transform: translateY(-50%) rotate(90deg); }
.faq-item.open .faq-q .plus::after { transform: translateY(-50%) rotate(0deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .5s var(--ease), padding .3s var(--ease);
}
.faq-item.open .faq-a { max-height: 800px; padding-bottom: 26px; }
.faq-a p { font-size: 0.98rem; line-height: 1.75; }

/* ------------------------------------------------------------------
   Testimonials / Quote
   ------------------------------------------------------------------ */
.quote {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}
.quote blockquote {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 2.6vw, 2.2rem);
  font-style: italic;
  line-height: 1.4;
  color: var(--ink);
  margin-bottom: 32px;
}
.quote blockquote::before {
  content: '\201C';
  display: block;
  font-size: 5rem;
  line-height: 0.6;
  color: var(--gold);
  margin-bottom: 10px;
}
.quote-author {
  font-size: 0.8rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.quote-author strong { color: var(--gold); font-weight: 500; }

/* ------------------------------------------------------------------
   Lead form
   ------------------------------------------------------------------ */
.lead-section {
  background:
    radial-gradient(ellipse at 30% 20%, rgba(201, 169, 97, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 80%, rgba(139, 30, 30, 0.10) 0%, transparent 60%),
    var(--bg);
  border-top: 1px solid var(--line);
}

.lead-form {
  max-width: 780px;
  margin: 0 auto;
  padding: 44px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

@media (max-width: 640px) {
  .lead-form { padding: 32px 24px; }
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}
.form-row.single { grid-template-columns: 1fr; }

@media (max-width: 640px) {
  .form-row { grid-template-columns: 1fr; }
}

.form-group { display: flex; flex-direction: column; }
.form-group label {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 10px;
}
.form-group label .req { color: var(--red-2); margin-left: 4px; }

.form-group input,
.form-group select,
.form-group textarea {
  background: var(--bg);
  border: 1px solid var(--line-strong);
  color: var(--ink);
  padding: 14px 16px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  border-radius: var(--radius);
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: var(--bg-3);
}
.form-group textarea { resize: vertical; min-height: 130px; }
.form-group.has-error input,
.form-group.has-error select,
.form-group.has-error textarea { border-color: var(--red-2); }
.form-group .error-msg {
  display: none;
  color: var(--red-2);
  font-size: 0.78rem;
  margin-top: 6px;
}
.form-group.has-error .error-msg { display: block; }

.checkbox-group {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
  margin-top: 8px;
}
.checkbox-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: var(--bg);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all .3s var(--ease);
  font-size: 0.86rem;
}
.checkbox-item:hover { border-color: var(--gold-3); }
.checkbox-item input { accent-color: var(--gold); }
.checkbox-item.checked { border-color: var(--gold); background: rgba(201, 169, 97, 0.06); }

.consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 22px 0 24px;
  font-size: 0.85rem;
  color: var(--ink-dim);
}
.consent input { margin-top: 4px; accent-color: var(--gold); }
.consent a { color: var(--gold-2); text-decoration: underline; text-underline-offset: 3px; }

.form-submit {
  width: 100%;
  justify-content: center;
}
.form-submit .spinner {
  display: none;
  width: 16px; height: 16px;
  border: 2px solid rgba(10,10,10,0.3);
  border-top-color: var(--bg);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
.form-submit.loading .spinner { display: inline-block; }
.form-submit.loading .btn-text { opacity: 0.7; }

@keyframes spin { to { transform: rotate(360deg); } }

/* ------------------------------------------------------------------
   Toast
   ------------------------------------------------------------------ */
.toast {
  position: fixed;
  top: 28px;
  right: 28px;
  z-index: 1000;
  min-width: 300px;
  max-width: 420px;
  padding: 20px 24px;
  background: var(--bg-3);
  border: 1px solid var(--gold);
  border-radius: var(--radius-lg);
  color: var(--ink);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  transform: translateX(120%);
  transition: transform .5s var(--ease);
}
.toast.show { transform: translateX(0); }
.toast .toast-title { font-family: var(--font-serif); font-size: 1.1rem; color: var(--gold); margin-bottom: 4px; }
.toast .toast-msg { font-size: 0.9rem; color: var(--ink-dim); }

/* ------------------------------------------------------------------
   Success modal (form submission acknowledgement)
   ------------------------------------------------------------------ */
.success-modal {
  position: fixed;
  inset: 0;
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .38s var(--ease), visibility 0s .38s;
}
.success-modal.open {
  opacity: 1;
  visibility: visible;
  transition-delay: 0s;
}
.success-card {
  max-width: 520px;
  width: 100%;
  padding: 56px 44px 48px;
  background: linear-gradient(180deg, var(--bg-2) 0%, var(--bg) 100%);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  text-align: center;
  position: relative;
  overflow: hidden;
  transform: translateY(24px) scale(0.96);
  opacity: 0;
  transition: transform .5s var(--ease), opacity .4s var(--ease);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}
.success-modal.open .success-card {
  transform: translateY(0) scale(1);
  opacity: 1;
}
.success-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.success-icon {
  width: 84px; height: 84px;
  margin: 0 auto 26px;
  border-radius: 50%;
  background: rgba(201, 169, 97, 0.10);
  border: 1px solid var(--gold);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.success-icon::before {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 1px solid var(--gold-3);
  opacity: 0.5;
  animation: successRing 2.4s var(--ease) infinite;
}
@keyframes successRing {
  0%   { transform: scale(0.9); opacity: 0.55; }
  70%  { transform: scale(1.25); opacity: 0; }
  100% { transform: scale(1.25); opacity: 0; }
}
.success-icon svg { width: 38px; height: 38px; }
.success-icon svg path {
  stroke-dasharray: 32;
  stroke-dashoffset: 32;
}
.success-modal.open .success-icon svg path {
  animation: successCheck .55s .18s var(--ease) forwards;
}
@keyframes successCheck { to { stroke-dashoffset: 0; } }

.success-eyebrow {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.success-title {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3vw, 2rem);
  line-height: 1.2;
  margin-bottom: 14px;
}
.success-title .italic-serif { color: var(--gold-2); }
.success-msg {
  font-size: 0.98rem;
  color: var(--ink-dim);
  line-height: 1.65;
  margin-bottom: 32px;
}
.success-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.success-close-x {
  position: absolute;
  top: 18px; right: 18px;
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  color: var(--ink-mute);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color .3s var(--ease), border-color .3s var(--ease);
}
.success-close-x:hover { color: var(--gold); border-color: var(--gold); }
.success-close-x svg { width: 14px; height: 14px; }

@media (max-width: 560px) {
  .success-card { padding: 44px 24px 36px; }
  .success-icon { width: 72px; height: 72px; margin-bottom: 20px; }
  .success-icon svg { width: 32px; height: 32px; }
}

/* Error toast variant */
.toast.toast-error { border-color: var(--red-2); }
.toast.toast-error .toast-title { color: var(--red-2); }

/* ------------------------------------------------------------------
   Modal (video)
   ------------------------------------------------------------------ */
.modal {
  position: fixed;
  inset: 0;
  z-index: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  background: rgba(10, 10, 10, 0.94);
  backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .35s var(--ease), visibility 0s .35s;
}
.modal.open { opacity: 1; visibility: visible; transition-delay: 0s; }
.modal-content {
  max-width: 1100px;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  transform: scale(0.94);
  transition: transform .4s var(--ease);
}
.modal.open .modal-content { transform: scale(1); }
.modal-content video { width: 100%; height: 100%; }
.modal-close {
  position: absolute;
  top: -44px; right: 0;
  width: 40px; height: 40px;
  color: var(--ink);
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .3s var(--ease);
}
.modal-close:hover { color: var(--gold); border-color: var(--gold); }
.modal-close svg { width: 18px; height: 18px; }

/* ------------------------------------------------------------------
   Floating contact button
   ------------------------------------------------------------------ */
.float-contact {
  position: fixed;
  bottom: 32px; right: 32px;
  width: 60px; height: 60px;
  background: var(--gold);
  color: var(--bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 40px rgba(201, 169, 97, 0.3);
  z-index: 400;
  transition: transform .35s var(--ease), background .35s var(--ease);
}
.float-contact:hover { transform: translateY(-3px) scale(1.05); background: var(--gold-2); color: var(--bg); }
.float-contact svg { width: 22px; height: 22px; }

/* Back to top */
.back-top {
  position: fixed;
  bottom: 32px; left: 32px;
  width: 44px; height: 44px;
  border: 1px solid var(--line-strong);
  color: var(--ink);
  border-radius: 50%;
  background: rgba(18, 18, 18, 0.8);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 400;
  opacity: 0;
  visibility: hidden;
  transition: opacity .35s var(--ease), visibility 0s .35s, transform .3s var(--ease), color .3s var(--ease);
}
.back-top.show { opacity: 1; visibility: visible; transition-delay: 0s; }
.back-top:hover { color: var(--gold); border-color: var(--gold); }
.back-top svg { width: 16px; height: 16px; }

@media (max-width: 640px) {
  .float-contact { width: 52px; height: 52px; bottom: 24px; right: 20px; }
  .back-top { display: none; }
}

/* ------------------------------------------------------------------
   Cookie banner
   ------------------------------------------------------------------ */
.cookie-banner {
  position: fixed;
  bottom: 20px; left: 50%;
  transform: translateX(-50%) translateY(120%);
  z-index: 700;
  max-width: 720px;
  width: calc(100% - 40px);
  padding: 22px 28px;
  background: var(--bg-3);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  display: flex;
  gap: 20px;
  align-items: center;
  transition: transform .5s var(--ease);
}
.cookie-banner.show { transform: translateX(-50%) translateY(0); }
.cookie-banner p { font-size: 0.86rem; margin: 0; flex: 1; }
.cookie-banner p a { color: var(--gold-2); text-decoration: underline; }
.cookie-banner .cookie-actions { display: flex; gap: 10px; flex-shrink: 0; }
.cookie-banner .btn { padding: 10px 20px; font-size: 0.72rem; }

@media (max-width: 640px) {
  .cookie-banner { flex-direction: column; align-items: stretch; }
  .cookie-banner .cookie-actions { justify-content: stretch; }
  .cookie-banner .cookie-actions .btn { flex: 1; justify-content: center; }
}

/* ------------------------------------------------------------------
   Footer
   ------------------------------------------------------------------ */
.footer {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  padding: 80px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(4, 1fr);
  gap: 48px;
  margin-bottom: 56px;
}
@media (max-width: 960px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
}

.footer-brand { max-width: 340px; }
.footer-brand svg { height: 32px; margin-bottom: 20px; width: auto; }
.footer-brand p { font-size: 0.92rem; margin-bottom: 24px; }
.footer-social { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.footer-social a {
  flex: 0 0 auto;
  position: relative;
  width: 40px;
  height: 40px;
  box-sizing: border-box;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--ink-dim);
  transition: color .3s var(--ease), border-color .3s var(--ease);
  font-size: 0;
  line-height: 0;
  overflow: hidden;
}
.footer-social a:hover { color: var(--gold); border-color: var(--gold); }
.footer-social svg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 16px;
  height: 16px;
  display: block;
}

.footer-col h5 {
  font-family: var(--font-sans);
  font-size: 0.74rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 22px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul li a {
  font-size: 0.9rem;
  color: var(--ink-dim);
}
.footer-col ul li a:hover { color: var(--gold-2); }

.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 0.82rem;
  color: var(--ink-mute);
}
.footer-bottom a { color: var(--ink-mute); }
.footer-bottom a:hover { color: var(--gold); }
.footer-bottom .footer-legal-links { display: flex; gap: 20px; flex-wrap: wrap; }

/* ------------------------------------------------------------------
   Motion utility
   ------------------------------------------------------------------ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.reveal.in { opacity: 1; transform: translateY(0); }

.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }

/* ------------------------------------------------------------------
   Utility
   ------------------------------------------------------------------ */
.text-center { text-align: center; }
.text-gold { color: var(--gold); }
.text-dim { color: var(--ink-dim); }
.mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; } .mt-4 { margin-top: 32px; } .mt-6 { margin-top: 48px; }
.mb-1 { margin-bottom: 8px; } .mb-2 { margin-bottom: 16px; } .mb-3 { margin-bottom: 24px; } .mb-4 { margin-bottom: 32px; } .mb-6 { margin-bottom: 48px; }

.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-strong), transparent);
  margin: 40px 0;
}

/* ------------------------------------------------------------------
   Legal page styles
   ------------------------------------------------------------------ */
.legal-wrap {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 60px;
  align-items: start;
}
@media (max-width: 900px) {
  .legal-wrap { grid-template-columns: 1fr; }
}
.legal-toc {
  position: sticky;
  top: calc(var(--nav-h) + 20px);
  padding: 20px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  max-height: calc(100vh - var(--nav-h) - 40px);
  overflow-y: auto;
}
@media (max-width: 900px) {
  .legal-toc { position: relative; top: 0; max-height: none; }
}
.legal-toc h4 {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.legal-toc ol {
  list-style: none;
  counter-reset: toc;
}
.legal-toc ol li {
  counter-increment: toc;
  margin-bottom: 8px;
}
.legal-toc ol li a {
  font-size: 0.86rem;
  color: var(--ink-dim);
  display: block;
  padding: 4px 0;
}
.legal-toc ol li a::before {
  content: counter(toc, decimal-leading-zero) '.';
  color: var(--gold-3);
  margin-right: 8px;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.82rem;
}
.legal-toc ol li a:hover { color: var(--gold-2); }

.legal-body {
  max-width: 780px;
}
.legal-body .last-updated {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mute);
  padding: 14px 18px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  margin-bottom: 40px;
}
.legal-body h2 {
  font-size: 1.6rem;
  margin-top: 56px;
  margin-bottom: 20px;
  scroll-margin-top: calc(var(--nav-h) + 20px);
}
.legal-body h2:first-of-type { margin-top: 0; }
.legal-body h3 { font-size: 1.2rem; margin-top: 28px; margin-bottom: 12px; }
.legal-body p, .legal-body ul, .legal-body ol {
  color: var(--ink-dim);
  font-size: 0.98rem;
  line-height: 1.8;
  margin-bottom: 20px;
}
.legal-body ul, .legal-body ol { padding-left: 22px; }
.legal-body li { margin-bottom: 10px; }
.legal-body strong { color: var(--ink); font-weight: 600; }
.legal-body a { color: var(--gold-2); text-decoration: underline; text-underline-offset: 3px; }
.legal-body .callout {
  padding: 20px 24px;
  border-left: 3px solid var(--gold);
  background: rgba(201, 169, 97, 0.05);
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 24px 0;
}
.legal-body .callout p:last-child { margin-bottom: 0; }
