/* ============================================================
   AIMargam — professional business site (light only, vanilla)
   ============================================================ */

:root {
  --bg: #FAFAF8;
  --surface: #FFFFFF;
  --surface-2: #F4F3EF;
  --surface-3: #EDECE7;
  --ink: #0E1116;
  --ink-2: #2A2D34;
  --muted: #5C6068;
  --muted-2: #8A8E96;
  --line: #E6E4DD;
  --line-strong: #D6D3CB;

  /* Single confident corporate accent — deep blue */
  --accent: #1F3A8A;
  --accent-2: #2C4FC5;
  --accent-soft: #EEF1FA;
  --accent-soft-2: #DCE3F4;
  --accent-ink: #16265E;

  /* Secondary accent — warm gold (used in hero wordmark) */
  --accent-gold: #B8862E;
  --accent-gold-ink: #8C631D;

  --font-sans: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 16px;
  --r-xl: 22px;

  --shadow-sm: 0 1px 0 rgba(14, 17, 22, 0.04), 0 1px 2px rgba(14, 17, 22, 0.04);
  --shadow-md: 0 6px 24px -8px rgba(14, 17, 22, 0.10), 0 1px 2px rgba(14, 17, 22, 0.04);
  --shadow-lg: 0 24px 56px -16px rgba(14, 17, 22, 0.18), 0 2px 6px rgba(14, 17, 22, 0.05);

  --max-w: 1280px;
  --gutter: 32px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

::selection { background: var(--accent); color: #fff; }

a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; background: transparent; border: 0; color: inherit; }

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

/* ============================================================
   Layout primitives
   ============================================================ */

.shell {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section { padding: clamp(72px, 9vw, 128px) 0; }
.section.tight { padding: clamp(48px, 6vw, 80px) 0; }
.section.dark-band {
  background: var(--ink);
  color: var(--bg);
}
.section.dark-band .muted { color: rgba(255,255,255,0.6); }

/* ============================================================
   Scroll reveal
   ============================================================ */

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s cubic-bezier(0.2, 0.7, 0.2, 1),
              transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
  will-change: opacity, transform;
}
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal[data-delay="1"] { transition-delay: 0.06s; }
.reveal[data-delay="2"] { transition-delay: 0.12s; }
.reveal[data-delay="3"] { transition-delay: 0.18s; }
.reveal[data-delay="4"] { transition-delay: 0.24s; }
.reveal[data-delay="5"] { transition-delay: 0.30s; }

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

/* ============================================================
   Navigation
   ============================================================ */

.nav {
  position: sticky;
  top: 0;
  z-index: 30;
  background: color-mix(in oklab, var(--bg) 92%, transparent);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, background 0.2s;
}
.nav.scrolled {
  border-bottom-color: var(--line);
  background: color-mix(in oklab, var(--bg) 96%, transparent);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px var(--gutter);
  max-width: var(--max-w);
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.brand-mark {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  display: grid; place-items: center;
  flex: 0 0 auto;
}
.brand-mark svg { width: 22px; height: 22px; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text .name { font-size: 16px; letter-spacing: -0.01em; }
.brand-text .sub {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-top: 4px;
}

.nav-links {
  display: flex;
  gap: 32px;
  font-size: 14px;
  color: var(--muted);
}
.nav-links a {
  position: relative;
  padding: 6px 0;
  transition: color 0.15s;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a.active { color: var(--ink); }
.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  bottom: -2px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

.nav-cta {
  background: var(--ink);
  color: var(--bg);
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: transform 0.15s, background 0.2s;
}
.nav-cta:hover { transform: translateY(-1px); background: var(--accent); }

.nav-mobile-toggle {
  display: none;
  width: 40px; height: 40px;
  border-radius: 8px;
  border: 1px solid var(--line-strong);
  align-items: center;
  justify-content: center;
}
.nav-mobile-toggle svg { width: 18px; height: 18px; }

@media (max-width: 880px) {
  .nav-links, .nav-cta { display: none; }
  .nav-mobile-toggle { display: inline-flex; }
}

/* Mobile menu drawer */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 40;
  padding: 80px 32px 32px;
  display: none;
  flex-direction: column;
  gap: 4px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  padding: 18px 4px;
  font-size: 22px;
  letter-spacing: -0.01em;
  border-bottom: 1px solid var(--line);
}
.mobile-menu .cta {
  margin-top: 24px;
  background: var(--ink);
  color: var(--bg);
  padding: 16px 20px;
  border-radius: 999px;
  text-align: center;
  font-size: 15px;
}
.mobile-close {
  position: absolute;
  top: 18px; right: 24px;
  width: 40px; height: 40px;
  border-radius: 8px;
  border: 1px solid var(--line-strong);
  display: grid; place-items: center;
}

/* ============================================================
   Buttons
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  border: 1px solid transparent;
  transition: transform 0.15s, background 0.2s, border-color 0.2s, color 0.2s;
  cursor: pointer;
  white-space: nowrap;
}
.btn-primary { background: var(--ink); color: var(--bg); }
.btn-primary:hover { transform: translateY(-1px); background: var(--accent); }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { transform: translateY(-1px); background: var(--accent-ink); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn-ghost:hover { border-color: var(--ink); }
.btn .arrow { transition: transform 0.15s; display: inline-block; }
.btn:hover .arrow { transform: translateX(3px); }

/* ============================================================
   Hero
   ============================================================ */

.hero {
  padding: clamp(80px, 11vw, 152px) 0 clamp(60px, 9vw, 112px);
  position: relative;
  overflow: hidden;
}

/* Subtle decorative grid background */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, var(--line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--line) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at top right, #000 0%, transparent 60%);
  -webkit-mask-image: radial-gradient(ellipse at top right, #000 0%, transparent 60%);
  opacity: 0.5;
  pointer-events: none;
}
.hero > * { position: relative; }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 7px 14px;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  margin-bottom: 32px;
}
.hero-eyebrow::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(31, 58, 138, 0.15);
}

.hero h1 {
  font-size: clamp(40px, 6vw, 80px);
  line-height: 1.0;
  letter-spacing: -0.035em;
  font-weight: 500;
  margin: 0 0 24px;
  max-width: 16ch;
  text-wrap: balance;
}
.hero h1 .accent { color: var(--accent); }
.hero h1 .accent-gold { color: var(--accent-gold); }

.hero-lede {
  font-size: clamp(17px, 1.35vw, 19px);
  color: var(--muted);
  max-width: 58ch;
  line-height: 1.55;
  margin: 0 0 36px;
}

.hero-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Hero stats — animated counters */
.hero-stats {
  margin-top: 72px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stat {
  padding: 28px 28px 28px 0;
  border-right: 1px solid var(--line);
}
.stat:last-child { border-right: 0; }
.stat .k {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.stat .v {
  font-size: clamp(28px, 3.2vw, 40px);
  letter-spacing: -0.025em;
  margin-top: 10px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  display: flex;
  align-items: baseline;
  gap: 4px;
}
.stat .v small {
  font-size: 0.5em;
  color: var(--muted);
  letter-spacing: 0.04em;
  font-weight: 400;
}
@media (max-width: 760px) {
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .hero-stats .stat:nth-child(2) { border-right: 0; }
  .hero-stats .stat:nth-child(1),
  .hero-stats .stat:nth-child(2) { border-bottom: 1px solid var(--line); }
}

/* ============================================================
   Section header
   ============================================================ */

.sec-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px 64px;
  align-items: end;
  margin-bottom: 56px;
}
.sec-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.sec-head h2 {
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 500;
  margin: 0;
  max-width: 18ch;
  text-wrap: balance;
}
.sec-head .blurb {
  max-width: 44ch;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
  margin: 0;
}
@media (max-width: 820px) {
  .sec-head { grid-template-columns: 1fr; gap: 20px; }
}

/* ============================================================
   Outcomes (pillars)
   ============================================================ */

.outcomes {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: var(--surface);
}
.outcome {
  padding: 40px 32px;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  transition: background 0.2s;
}
.outcome:last-child { border-right: 0; }
.outcome:hover { background: var(--surface-2); }
.outcome-num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.12em;
}
.outcome-glyph {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: var(--accent-soft);
  display: grid; place-items: center;
  color: var(--accent);
}
.outcome h3 {
  font-size: 19px;
  margin: 0;
  font-weight: 500;
  letter-spacing: -0.015em;
}
.outcome p {
  margin: 0;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.55;
}
@media (max-width: 920px) {
  .outcomes { grid-template-columns: repeat(2, 1fr); }
  .outcome:nth-child(2) { border-right: 0; }
  .outcome:nth-child(1), .outcome:nth-child(2) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 540px) {
  .outcomes { grid-template-columns: 1fr; }
  .outcome { border-right: 0; border-bottom: 1px solid var(--line); }
  .outcome:last-child { border-bottom: 0; }
}

/* ============================================================
   Catalog (filters + service rows)
   ============================================================ */

.filters {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 24px;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
}
.filter-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.filter-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  min-width: 76px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--ink-2);
  font-size: 13px;
  white-space: nowrap;
  transition: all 0.15s ease;
  cursor: pointer;
}
.chip:hover { border-color: var(--ink); }
.chip.active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--bg);
}
.chip .count {
  font-family: var(--font-mono);
  font-size: 10px;
  opacity: 0.65;
}

.search-wrap {
  position: relative;
  flex: 1;
  min-width: 220px;
}
.search-wrap input {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  padding: 11px 14px 11px 40px;
  font: inherit;
  font-size: 14px;
  color: var(--ink);
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.search-wrap input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.search-wrap input::placeholder { color: var(--muted-2); }
.search-icon {
  position: absolute;
  left: 13px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  pointer-events: none;
  width: 16px; height: 16px;
}

.results-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 14px 4px 12px;
}
.results-meta button {
  font: inherit;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.results-meta button:hover { color: var(--accent-ink); }

/* Service list */
.service-list {
  border-top: 1px solid var(--line);
}
.service {
  border-bottom: 1px solid var(--line);
  background: var(--surface);
  transition: background 0.2s, box-shadow 0.2s;
}
.service:hover { background: var(--surface-2); }
.service.open { background: var(--surface); box-shadow: var(--shadow-md); }

.service-head {
  display: grid;
  grid-template-columns: 56px 1fr 200px 160px 44px;
  align-items: center;
  gap: 24px;
  padding: 22px 24px;
  cursor: pointer;
  user-select: none;
}
.service.open .service-head { padding-bottom: 14px; }

.service-num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.05em;
}
.service-title { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.service-title .name {
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.service-title .scope {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.45;
}

.service-cat {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.service-cat::before {
  content: "";
  width: 8px; height: 8px;
  background: var(--cat-color, var(--accent));
  border-radius: 2px;
  flex: 0 0 auto;
}

.service-dur {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-2);
  letter-spacing: 0.03em;
}

.service-chev {
  width: 32px; height: 32px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  display: grid; place-items: center;
  color: var(--ink-2);
  transition: all 0.2s;
}
.service:hover .service-chev { border-color: var(--ink); }
.service.open .service-chev {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  transform: rotate(45deg);
}

/* Smooth height animation for accordion body — height is set by JS via scrollHeight */
.service-body {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.35s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.service-body-inner {
  padding: 8px 24px 28px 104px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 220px;
  gap: 40px;
}

.detail-block .k {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.detail-block .v {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink-2);
}
.detail-block ul {
  margin: 0;
  padding-left: 16px;
  line-height: 1.7;
}
.detail-block ul li::marker { color: var(--accent); }

.detail-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.detail-actions .btn { justify-content: center; }

.timeline-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: var(--accent-soft);
  color: var(--accent-ink);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 12px;
}

@media (max-width: 980px) {
  .service-head { grid-template-columns: 44px 1fr 36px; padding: 20px; }
  .service-cat, .service-dur { display: none; }
  .service-body-inner { grid-template-columns: 1fr; padding: 8px 20px 24px 64px; gap: 24px; }
}
@media (max-width: 640px) {
  .service-body-inner { padding: 8px 20px 24px 20px; }
}

.empty-state {
  padding: 80px 24px;
  text-align: center;
  color: var(--muted);
  background: var(--surface);
  border: 1px dashed var(--line-strong);
  border-radius: 14px;
}
.empty-state .big {
  font-size: 22px;
  color: var(--ink);
  margin-bottom: 8px;
  font-weight: 500;
  letter-spacing: -0.01em;
}

/* ============================================================
   Approach (process steps)
   ============================================================ */

.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: var(--surface);
}
.process-step {
  padding: 36px 28px;
  border-right: 1px solid var(--line);
  position: relative;
}
.process-step:last-child { border-right: 0; }
.process-step .n {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--accent);
  margin-bottom: 28px;
}
.process-step h3 {
  font-size: 24px;
  margin: 0 0 12px;
  letter-spacing: -0.02em;
  font-weight: 500;
}
.process-step p {
  margin: 0;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.55;
}
.process-step::after {
  content: "";
  position: absolute;
  right: -8px;
  top: 56px;
  width: 16px;
  height: 16px;
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-right: 1px solid var(--line);
  transform: rotate(45deg);
  z-index: 1;
}
.process-step:last-child::after { display: none; }

@media (max-width: 920px) {
  .process { grid-template-columns: repeat(2, 1fr); }
  .process-step:nth-child(2) { border-right: 0; }
  .process-step:nth-child(1), .process-step:nth-child(2) { border-bottom: 1px solid var(--line); }
  .process-step:nth-child(2)::after { display: none; }
  .process-step:nth-child(1)::after { right: -8px; }
}
@media (max-width: 540px) {
  .process { grid-template-columns: 1fr; }
  .process-step { border-right: 0; border-bottom: 1px solid var(--line); }
  .process-step:last-child { border-bottom: 0; }
  .process-step::after { display: none; }
}

/* ============================================================
   Industries strip
   ============================================================ */

.industries {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 36px;
}
.industry-tag {
  padding: 10px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 13.5px;
  color: var(--ink-2);
  background: var(--surface);
  transition: border-color 0.15s, color 0.15s, transform 0.15s;
}
.industry-tag:hover {
  border-color: var(--accent);
  color: var(--accent-ink);
  transform: translateY(-1px);
}

/* ============================================================
   Support grid
   ============================================================ */

.support-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}
.support-card {
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 168px;
  background: var(--surface);
  transition: background 0.2s, transform 0.2s;
  cursor: default;
}
.support-card:hover { background: var(--surface-2); }
.support-num {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  color: var(--accent);
}
.support-card h4 {
  font-size: 15px;
  font-weight: 500;
  margin: 0;
  letter-spacing: -0.005em;
  line-height: 1.3;
}
.support-card p {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}
@media (max-width: 1080px) { .support-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px)  { .support-grid { grid-template-columns: repeat(2, 1fr); } }

/* ============================================================
   CTA + Contact band
   ============================================================ */

.cta-band {
  background: var(--ink);
  color: #fff;
  padding: clamp(80px, 11vw, 144px) 0;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at bottom left, #000, transparent 65%);
  -webkit-mask-image: radial-gradient(ellipse at bottom left, #000, transparent 65%);
  pointer-events: none;
}
.cta-band > * { position: relative; }

.cta-inner {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 80px;
  align-items: center;
}
.cta-band h2 {
  font-size: clamp(40px, 5.4vw, 72px);
  line-height: 1.0;
  letter-spacing: -0.035em;
  font-weight: 500;
  margin: 0 0 18px;
  text-wrap: balance;
}
.cta-band h2 .accent { color: #8FA6E8; }
.cta-tag {
  font-size: 18px;
  color: rgba(255,255,255,0.65);
  margin: 0 0 32px;
}
.cta-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.cta-band .btn-primary { background: #fff; color: var(--ink); }
.cta-band .btn-primary:hover { background: var(--accent); color: #fff; }
.cta-band .btn-ghost { color: #fff; border-color: rgba(255,255,255,0.25); }
.cta-band .btn-ghost:hover { border-color: #fff; }

.contact-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 16px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  backdrop-filter: blur(8px);
}
.contact-row {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 14.5px;
}
.contact-row .ic {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.08);
  display: grid; place-items: center;
  color: rgba(255,255,255,0.75);
  flex: 0 0 auto;
}
.contact-row .ic svg { width: 16px; height: 16px; }
.contact-row .label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  display: block;
  margin-bottom: 2px;
}
.contact-row .val { font-weight: 500; color: #fff; }

@media (max-width: 880px) {
  .cta-inner { grid-template-columns: 1fr; gap: 40px; }
}

/* ============================================================
   Footer
   ============================================================ */

.footer {
  border-top: 1px solid var(--line);
  padding: 36px 0;
  font-size: 13px;
  color: var(--muted);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-meta {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ============================================================
   Booking modal
   ============================================================ */

.modal-back {
  position: fixed;
  inset: 0;
  background: rgba(14, 17, 22, 0.5);
  backdrop-filter: blur(6px);
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  transition: opacity 0.2s;
}
.modal-back.open { display: flex; opacity: 1; }
.modal {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 36px;
  width: 100%;
  max-width: 540px;
  box-shadow: var(--shadow-lg);
  position: relative;
  transform: translateY(8px) scale(0.98);
  opacity: 0;
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.2s;
}
.modal-back.open .modal { transform: translateY(0) scale(1); opacity: 1; }
.modal h3 {
  font-size: 28px;
  margin: 0 0 8px;
  letter-spacing: -0.02em;
  font-weight: 500;
}
.modal .sub {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.5;
}
.modal-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.modal-form .full { grid-column: 1 / -1; }
.field label {
  display: block;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}
.field input, .field select, .field textarea {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  padding: 11px 12px;
  font: inherit;
  font-size: 14px;
  color: var(--ink);
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.field textarea { resize: vertical; min-height: 84px; }
.modal-foot {
  margin-top: 22px;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}
.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px; height: 32px;
  border-radius: 999px;
  background: var(--surface-2);
  display: grid;
  place-items: center;
  transition: background 0.15s;
}
.modal-close:hover { background: var(--line); }

.success {
  text-align: center;
  padding: 12px 0 4px;
}
.success .check {
  width: 60px; height: 60px;
  margin: 0 auto 18px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid;
  place-items: center;
}
.success .check svg { width: 30px; height: 30px; }

/* ============================================================
   Toast
   ============================================================ */

.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--ink);
  color: var(--bg);
  padding: 12px 18px;
  border-radius: 999px;
  font-size: 13px;
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s, transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
  box-shadow: var(--shadow-lg);
}
.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ============================================================
   Misc helpers
   ============================================================ */
.mono { font-family: var(--font-mono); }
.muted { color: var(--muted); }
