/* ══════════════════════════════════════════════════════
   TWOBOX — styles.css
   Ultra-premium dark logistics site
══════════════════════════════════════════════════════ */

/* ── VARIABLES ──────────────────────────────────────── */
:root {
  --bg:       #080808;
  --bg2:      #0e0e0e;
  --text:     #f0ede6;
  --dim:      #555;
  --dimmer:   #2a2a2a;
  --accent:   #ff7a3e;
  --accent2:  #ff5500;
  --card:     #111111;
  --border:   rgba(255,255,255,0.07);
  --border2:  rgba(255,255,255,0.12);

  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-circ: cubic-bezier(0, 0.55, 0.45, 1);
}

/* ── RESET ──────────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: auto; background: var(--bg); }
body {
  font-family: 'Manrope', sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  cursor: none;
  -webkit-font-smoothing: antialiased;
}
a { cursor: none; }
button { cursor: none; }
.overflow-hidden { overflow: hidden; }
.accent { color: var(--accent); }

/* ── GRAIN OVERLAY ──────────────────────────────────── */
.grain {
  position: fixed;
  inset: -50%;
  width: 200%;
  height: 200%;
  pointer-events: none;
  z-index: 9000;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  background-size: 256px 256px;
  animation: grainAnim 0.5s steps(2) infinite;
}
@keyframes grainAnim {
  0%   { transform: translate(0,    0); }
  25%  { transform: translate(-2%,  1%); }
  50%  { transform: translate(1%,  -2%); }
  75%  { transform: translate(2%,   1%); }
  100% { transform: translate(-1%,  2%); }
}

/* ── CUSTOM CURSOR ──────────────────────────────────── */
.cursor {
  position: fixed;
  width: 10px; height: 10px;
  background: var(--accent);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  mix-blend-mode: normal;
  transition: width 0.25s var(--ease-out-expo),
              height 0.25s var(--ease-out-expo),
              background 0.25s;
}
.cursor.is-hovering {
  width: 6px; height: 6px;
  background: var(--accent);
}
.cursor-ring {
  position: fixed;
  width: 44px; height: 44px;
  border: 1px solid rgba(255,122,62,0.3);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: width 0.4s var(--ease-out-expo),
              height 0.4s var(--ease-out-expo),
              border-color 0.3s,
              opacity 0.3s;
}
.cursor-ring.is-hovering {
  width: 72px; height: 72px;
  border-color: rgba(255,122,62,0.6);
}
.cursor-text {
  position: fixed;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .08em;
  color: var(--text);
  pointer-events: none;
  z-index: 9997;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.2s;
  white-space: nowrap;
}
.cursor-text.visible { opacity: 1; }

/* ── PROGRESS BAR ───────────────────────────────────── */
.progress-bar {
  position: fixed;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 2px;
  height: 120px;
  background: var(--dimmer);
  z-index: 500;
  border-radius: 2px;
  overflow: hidden;
}
.progress-bar::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%;
  height: var(--pct, 0%);
  background: var(--accent);
  border-radius: 2px;
  transition: height 0.1s linear;
}

/* ── LOADER ─────────────────────────────────────────── */
#loader {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
#loaderCanvas {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  opacity: 0.4;
}
.loader-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.loader-logo {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 56px;
  letter-spacing: -0.04em;
  display: flex;
  gap: 0;
}
.loader-logo .ll {
  display: inline-block;
  color: var(--accent);
  opacity: 0;
  transform: translateY(30px);
}
.loader-track {
  width: 180px;
  height: 1px;
  background: var(--dimmer);
  margin-top: 32px;
  position: relative;
  overflow: hidden;
}
.loader-fill {
  position: absolute;
  left: 0; top: 0;
  width: 0%;
  height: 100%;
  background: var(--accent);
  transition: width 0.08s linear;
}
.loader-meta {
  margin-top: 14px;
  font-family: 'Syne', sans-serif;
  font-size: 13px;
  color: var(--dim);
  letter-spacing: .06em;
}
.loader-sym { color: var(--accent); }

/* ── HEADER ─────────────────────────────────────────── */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  padding: 24px 48px;
  display: flex;
  align-items: center;
  gap: 40px;
  transition: transform 0.6s var(--ease-out-expo),
              background 0.4s;
}
header.hidden { transform: translateY(-110%); }
header.scrolled {
  background: rgba(8,8,8,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.header-logo {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 20px;
  color: var(--accent);
  letter-spacing: -0.03em;
  margin-right: auto;
}
.header-nav {
  display: flex;
  gap: 28px;
}
.header-nav a {
  text-decoration: none;
  color: var(--dim);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: color 0.25s;
  position: relative;
}
.header-nav a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 1px;
  background: var(--accent);
  transition: width 0.3s var(--ease-out-expo);
}
.header-nav a:hover { color: var(--text); }
.header-nav a:hover::after { width: 100%; }
.header-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: var(--dim);
  letter-spacing: .1em;
  text-transform: uppercase;
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 7px 14px;
}
.badge-dot {
  width: 6px; height: 6px;
  background: #4ade80;
  border-radius: 50%;
  animation: blink 2s ease infinite;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

/* ── BURGER MENU ────────────────────────────────────── */
.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px; height: 40px;
  background: none;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0;
  z-index: 601;
  transition: border-color 0.25s;
}
.burger:hover { border-color: rgba(255,122,62,0.4); }
.burger-line {
  display: block;
  width: 18px; height: 1.5px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.4s var(--ease-out-expo), opacity 0.3s;
}
.burger.active .burger-line:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.burger.active .burger-line:nth-child(2) { opacity: 0; }
.burger.active .burger-line:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ── MOBILE NAV OVERLAY ─────────────────────────────── */
#mobileNav {
  position: fixed;
  inset: 0;
  background: rgba(8,8,8,0.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  z-index: 600;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease-out-expo);
}
#mobileNav.open {
  opacity: 1;
  pointer-events: auto;
}
#mobileNav a {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: clamp(28px, 7vw, 48px);
  letter-spacing: -0.03em;
  color: var(--dim);
  text-decoration: none;
  padding: 12px 0;
  transform: translateY(20px);
  opacity: 0;
  transition: color 0.25s, transform 0.5s var(--ease-out-expo), opacity 0.5s var(--ease-out-expo);
}
#mobileNav.open a {
  transform: translateY(0);
  opacity: 1;
}
#mobileNav a:nth-child(1) { transition-delay: 0.05s; }
#mobileNav a:nth-child(2) { transition-delay: 0.1s; }
#mobileNav a:nth-child(3) { transition-delay: 0.15s; }
#mobileNav a:nth-child(4) { transition-delay: 0.2s; }
#mobileNav a:nth-child(5) { transition-delay: 0.25s; }
#mobileNav a:nth-child(6) { transition-delay: 0.3s; }
#mobileNav a:nth-child(7) { transition-delay: 0.35s; }
#mobileNav a:hover { color: var(--accent); }

/* ── SECTION LABELS ─────────────────────────────────── */
.section-label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.sl-num {
  font-family: 'Syne', sans-serif;
  font-size: 11px;
  color: var(--accent);
  letter-spacing: .1em;
}
.sl-text {
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--dim);
}

/* ── SECTION TITLE ──────────────────────────────────── */
.section-title {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: var(--text);
}

/* ── HERO ───────────────────────────────────────────── */
.hero {
  height: 230vh;
  position: relative;
}
.hero-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
#heroCanvas {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  z-index: 0;
  opacity: 0.7;
}
.hero-decor-num {
  position: absolute;
  top: 32px; right: 52px;
  font-family: 'Syne', sans-serif;
  font-size: 11px;
  color: var(--dimmer);
  letter-spacing: .2em;
}
.hero-eyebrow {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 28px;
  opacity: 0;
}
.eye-line {
  display: inline-block;
  width: 36px;
  height: 1px;
  background: var(--accent);
}
.hero-title {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-style: italic;
  font-size: clamp(38px, 5.8vw, 84px);
  line-height: 0.95;
  letter-spacing: -0.04em;
  text-align: center;
  position: relative;
  z-index: 2;
  overflow: visible;
}
.word-row { display: block; }
.word-inner {
  display: block;
  will-change: transform;
  padding: 0 0.08em 0.04em;
}
.accent-row .word-inner { color: var(--accent); }
.hero-sub {
  font-size: 17px;
  color: var(--dim);
  margin-top: 32px;
  max-width: 520px;
  text-align: center;
  line-height: 1.65;
  font-weight: 300;
  position: relative;
  z-index: 2;
  opacity: 0;
}
.hero-cta-row {
  display: flex;
  gap: 14px;
  margin-top: 36px;
  position: relative;
  z-index: 2;
  opacity: 0;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 14px 30px;
  border-radius: 100px;
  font-family: 'Manrope', sans-serif;
  font-size: 15px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: box-shadow 0.3s, transform 0.3s;
  will-change: transform;
}
.btn-primary svg { width: 16px; height: 16px; flex-shrink: 0; }
.btn-primary:hover { box-shadow: 0 16px 40px rgba(255,122,62,0.35); }
.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border2);
  padding: 14px 30px;
  border-radius: 100px;
  font-family: 'Manrope', sans-serif;
  font-size: 15px;
  font-weight: 400;
  transition: border-color 0.3s, color 0.3s, transform 0.3s;
  will-change: transform;
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

.hero-stat-cluster {
  position: absolute;
  bottom: 50px; left: 52px;
  display: flex;
  align-items: center;
  gap: 20px;
  z-index: 2;
  opacity: 0;
}
.hs-num {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 52px;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--text);
}
.hs-plus { color: var(--accent); }
.hs-divider {
  width: 1px; height: 44px;
  background: var(--border2);
}
.hs-label {
  font-size: 12px;
  color: var(--dim);
  text-transform: uppercase;
  letter-spacing: .1em;
  line-height: 1.5;
}
.hero-scroll-hint {
  position: absolute;
  bottom: 50px; right: 52px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--dim);
  z-index: 2;
}
.scroll-line {
  width: 1px; height: 60px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scrollAnim 2s ease-in-out infinite;
  transform-origin: top;
}
@keyframes scrollAnim {
  0% { transform: scaleY(0); opacity: 0; }
  30% { opacity: 1; }
  70% { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(1); opacity: 0; }
}

/* ── MARQUEE ─────────────────────────────────────────── */
.marquee-wrap {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg2);
  padding: 16px 0;
  overflow: hidden;
}
.marquee-track {
  display: flex;
  white-space: nowrap;
  animation: marqueeMove 28s linear infinite;
  will-change: transform;
}
.marquee-item {
  font-family: 'Syne', sans-serif;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--dim);
  padding: 0 28px;
  transition: color 0.25s;
}
.marquee-item:hover { color: var(--accent); }
.marquee-sep { color: var(--accent); margin: 0 4px; }
@keyframes marqueeMove {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── ABOUT ───────────────────────────────────────────── */
.about { padding: 160px 52px; max-width: 1400px; margin: 0 auto; }
.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: start;
}
.about-heading {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: clamp(54px, 8vw, 110px);
  line-height: 0.92;
  letter-spacing: -0.045em;
  margin-top: 20px;
}
.ah-line { display: block; }
.ah-inner { display: block; }

.about-para {
  font-size: 16px;
  color: var(--dim);
  line-height: 1.8;
  font-weight: 300;
  margin-bottom: 24px;
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease-out-expo), transform 0.7s var(--ease-out-expo);
}
.about-para.revealed {
  opacity: 1;
  transform: none;
}
.about-para--lead {
  font-size: 18px;
  color: var(--text);
  line-height: 1.65;
}
.about-para--closing {
  border-left: 2px solid var(--accent);
  padding-left: 20px;
  color: rgba(240,237,230,0.75);
}
.about-para strong { color: var(--text); font-weight: 500; }
.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s var(--ease-out-expo) 0.5s, transform 0.7s var(--ease-out-expo) 0.5s;
}
.tag-cloud.revealed { opacity: 1; transform: none; }
.tag {
  display: inline-block;
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 8px 18px;
  font-size: 13px;
  color: var(--dim);
  letter-spacing: .04em;
  transition: border-color 0.25s, color 0.25s, transform 0.25s;
  will-change: transform;
}
.tag:hover { border-color: var(--accent); color: var(--accent); }

/* ── STATS STRIP ─────────────────────────────────────── */
.stats-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 80px 52px;
  max-width: 1400px;
  margin: 0 auto;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  gap: 0;
}
.stat-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}
.stat-item.revealed { opacity: 1; transform: none; }
.stat-sep {
  width: 1px;
  height: 70px;
  background: linear-gradient(to bottom, transparent, rgba(255,122,62,0.3), transparent);
  flex-shrink: 0;
}
.stat-val {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: clamp(44px, 5.5vw, 72px);
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--text);
}
.sv-plus { color: var(--accent); }
.stat-desc {
  font-size: 13px;
  color: var(--dim);
  letter-spacing: .04em;
  text-transform: uppercase;
}

/* ── ADVANTAGES BENTO ────────────────────────────────── */
.adv-section { padding: 120px 52px; max-width: 1400px; margin: 0 auto; }
.adv-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 56px;
}
.adv-bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 12px;
}
.bento-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 40px 36px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.35s, transform 0.1s;
  will-change: transform;
  opacity: 0;
  transform: translateY(50px);
}
.bento-card.revealed { opacity: 1; transform: none; }
.bento-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--mx,50%) var(--my,50%), rgba(255,122,62,.06), transparent 65%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}
.bento-card:hover::before { opacity: 1; }
.bento-card:hover { border-color: rgba(255,122,62,0.25); }

.bento-wide { grid-column: span 2; }
.bento-tall { grid-row: span 2; }
.bento-accent {
  background: var(--bg2);
  display: flex;
  align-items: center;
  justify-content: center;
}
.bc-num {
  font-family: 'Syne', sans-serif;
  font-size: 11px;
  letter-spacing: .12em;
  margin-bottom: 24px;
  opacity: 0.8;
}
.bento-card h3 {
  font-family: 'Syne', sans-serif;
  font-weight: 600;
  font-size: 22px;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  color: var(--text);
}
.bento-card p { font-size: 14px; color: var(--dim); line-height: 1.7; }
.bc-deco {
  position: absolute;
  right: 30px; bottom: 30px;
  opacity: 0.8;
}
.bc-deco .deco-svg { width: 100px; height: 100px; }
.bc-body { position: relative; z-index: 1; }
.bc-big-word {
  font-family: 'Syne', sans-serif;
  font-size: 72px;
  font-weight: 800;
  line-height: 1;
  color: var(--accent);
  letter-spacing: -0.05em;
  text-align: center;
}

/* ── SERVICES HORIZONTAL ─────────────────────────────── */
#servicesOuter { overflow: hidden; }
.svc-sticky {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 20px;
}
.svc-head {
  padding: 0 52px;
  display: flex;
  align-items: flex-end;
  gap: 48px;
  margin-bottom: 40px;
}
.svc-head .section-title { margin: 0; flex-shrink: 0; }
.svc-hint {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--dim);
  margin-bottom: 6px;
  flex-shrink: 0;
  margin-left: auto;
}
.svc-hint svg { width: 18px; height: 18px; }
.svc-viewport { padding: 0 52px; overflow: visible; }
.svc-track {
  display: flex;
  gap: 16px;
  width: max-content;
  will-change: transform;
}
.svc-card {
  width: 380px;
  height: 460px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 44px 38px;
  display: flex;
  flex-direction: column;
  gap: 0;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
  transition: border-color 0.35s;
  will-change: transform;
}
.svc-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-out-expo);
}
.svc-card:hover::after { transform: scaleX(1); }
.svc-card:hover { border-color: rgba(255,122,62,0.3); }
.sc-num {
  font-family: 'Syne', sans-serif;
  font-size: 11px;
  color: var(--accent);
  letter-spacing: .12em;
  margin-bottom: auto;
}
.sc-icon {
  margin-bottom: 28px;
}
.sc-icon svg {
  width: 44px; height: 44px;
  color: var(--dim);
  transition: color 0.25s;
}
.svc-card:hover .sc-icon svg { color: var(--accent); }
.svc-card h3 {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 24px;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 14px;
  line-height: 1.15;
}
.svc-card p { font-size: 14px; color: var(--dim); line-height: 1.65; }

.svc-card--cta {
  background: var(--accent);
  border-color: var(--accent);
  justify-content: flex-end;
}
.svc-card--cta .sc-num { color: rgba(255,255,255,0.6); }
.svc-card--cta h3 { color: #fff; font-size: 28px; }
.svc-card--cta p { color: rgba(255,255,255,0.7); }
.svc-card--cta::after { background: #fff; }
.scc-btn {
  display: inline-block;
  border: 1px solid rgba(255,255,255,0.5);
  color: #fff;
  padding: 12px 24px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 500;
  margin-top: 24px;
  align-self: flex-start;
  transition: background 0.25s, border-color 0.25s;
}
.svc-card--cta:hover .scc-btn {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.7);
}

/* ── PRICING ─────────────────────────────────────────── */
.pricing {
  padding: 120px 52px;
  background: var(--bg2);
  border-top: 1px solid var(--border);
}
.pricing-inner {
  max-width: 1400px;
  margin: 0 auto;
}
.pricing-sub {
  font-size: 17px;
  color: var(--dim);
  line-height: 1.7;
  font-weight: 300;
  max-width: 560px;
  margin-top: 16px;
  margin-bottom: 60px;
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.price-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px 30px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.35s, transform 0.15s;
  will-change: transform;
  opacity: 0;
  transform: translateY(40px);
}
.price-card.revealed {
  opacity: 1;
  transform: none;
}
.price-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--mx,50%) var(--my,50%), rgba(255,122,62,.05), transparent 65%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}
.price-card:hover::before { opacity: 1; }
.price-card:hover { border-color: rgba(255,122,62,0.25); }
.price-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-out-expo);
}
.price-card:hover::after { transform: scaleX(1); }

.price-card--accent {
  border-color: rgba(255,122,62,0.2);
  background: rgba(255,122,62,0.04);
}
.price-card--accent::after { transform: scaleX(1); opacity: 0.7; }

.price-card--wide { grid-column: span 2; }

.pc-icon-wrap {
  flex-shrink: 0;
  width: 44px; height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,122,62,0.08);
  border-radius: 10px;
  color: var(--accent);
}
.pc-icon-wrap svg { width: 22px; height: 22px; }

.pc-content {
  flex: 1;
  min-width: 0;
}
.pc-name {
  font-family: 'Syne', sans-serif;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -0.01em;
  color: var(--text);
  margin-bottom: 10px;
  line-height: 1.3;
}
.pc-tag {
  display: inline-block;
  background: rgba(255,122,62,0.15);
  color: var(--accent);
  font-size: 10px;
  font-family: 'Manrope', sans-serif;
  font-weight: 400;
  letter-spacing: .08em;
  padding: 2px 8px;
  border-radius: 100px;
  text-transform: uppercase;
  margin-left: 6px;
  vertical-align: middle;
}
.pc-price-row {
  display: flex;
  align-items: baseline;
  gap: 4px;
  flex-wrap: wrap;
}
.pc-from {
  font-size: 12px;
  color: var(--dim);
  text-transform: uppercase;
  letter-spacing: .06em;
}
.pc-num {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: clamp(22px, 2.5vw, 32px);
  letter-spacing: -0.03em;
  color: var(--accent);
  line-height: 1;
}
.pc-unit {
  font-size: 13px;
  color: var(--dim);
}
.pc-note {
  font-size: 12px;
  line-height: 1.5;
  margin-top: 6px;
  margin-bottom: 8px;
  color: rgba(255,255,255,0.3);
}

.pricing-note {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 40px;
  padding: 20px 24px;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 14px;
  color: var(--dim);
  line-height: 1.5;
  max-width: 680px;
}
.pricing-note svg {
  width: 18px; height: 18px;
  flex-shrink: 0;
  color: var(--accent);
}

/* ── CALCULATOR SECTION ──────────────────────────────── */
.calc-section {
  padding: 120px 52px;
  border-top: 1px solid var(--border);
}
.calc-inner {
  max-width: 900px;
  margin: 0 auto;
}
.calc-sub {
  font-size: 17px;
  color: var(--dim);
  line-height: 1.7;
  font-weight: 300;
  margin-top: 14px;
  margin-bottom: 56px;
}
.calc-form {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.calc-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.field-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.field-group label {
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--dim);
}
.field-input {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px 20px;
  color: var(--text);
  font-family: 'Manrope', sans-serif;
  font-size: 15px;
  outline: none;
  transition: border-color 0.25s;
  width: 100%;
}
.field-input:focus { border-color: rgba(255,122,62,0.5); }
.field-input::placeholder { color: rgba(255,255,255,0.2); }

.scheme-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.scheme-opt {
  display: none;
}
.scheme-label {
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 18px 22px;
  cursor: none;
  transition: border-color 0.25s, background 0.25s;
}
.scheme-opt:checked + .scheme-label {
  border-color: var(--accent);
  background: rgba(255,122,62,0.06);
}
.sl-name {
  font-family: 'Syne', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
}
.sl-desc {
  font-size: 12px;
  color: var(--dim);
  line-height: 1.5;
}

.ship-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}
.ship-opt {
  display: none;
}
.ship-label {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 8px;
  font-size: 11px;
  color: var(--dim);
  letter-spacing: .02em;
  line-height: 1.4;
  cursor: none;
  transition: border-color 0.25s, color 0.25s, background 0.25s;
}
.ship-opt:checked + .ship-label {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(255,122,62,0.06);
}

.calc-submit {
  align-self: flex-start;
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 18px 44px;
  border-radius: 100px;
  font-family: 'Manrope', sans-serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .02em;
  transition: box-shadow 0.3s, transform 0.25s;
  will-change: transform;
}
.calc-submit:hover {
  box-shadow: 0 16px 40px rgba(255,122,62,0.35);
  transform: translateY(-2px);
}
.calc-submit:active { transform: translateY(0); }

.form-success,
.form-error {
  display: none;
  align-items: center;
  gap: 14px;
  padding: 20px 28px;
  border-radius: 12px;
  font-size: 15px;
  line-height: 1.5;
  margin-top: 8px;
}
.form-success {
  background: rgba(74,222,128,0.08);
  border: 1px solid rgba(74,222,128,0.25);
  color: #4ade80;
}
.form-error {
  background: rgba(255,99,71,0.08);
  border: 1px solid rgba(255,99,71,0.25);
  color: #ff6347;
}
.form-success.visible,
.form-error.visible {
  display: flex;
}

/* ── MEDIA SECTION ───────────────────────────────────── */
.media-section {
  padding: 120px 52px;
  border-top: 1px solid var(--border);
}
.media-inner {
  max-width: 1400px;
  margin: 0 auto;
}
.media-sub {
  font-size: 17px;
  color: var(--dim);
  line-height: 1.7;
  font-weight: 300;
  margin-top: 14px;
  margin-bottom: 48px;
}
.media-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.media-item {
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  aspect-ratio: 4/3;
  background: var(--card);
}
.media-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s var(--ease-out-expo);
}
.media-item:hover img { transform: scale(1.05); }
.media-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8,8,8,0.5), transparent 50%);
  opacity: 0;
  transition: opacity 0.4s;
}
.media-item:hover .media-overlay { opacity: 1; }

/* ── FAQ ─────────────────────────────────────────────── */
.faq {
  padding: 120px 52px;
  background: var(--bg2);
  border-top: 1px solid var(--border);
}
.faq-inner {
  max-width: 900px;
  margin: 0 auto;
}
.faq-inner .section-title {
  margin-bottom: 56px;
}
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.faq-item {
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.faq-item:first-child {
  border-top: 1px solid var(--border);
}
.faq-q {
  width: 100%;
  background: none;
  border: none;
  padding: 28px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  text-align: left;
  font-family: 'Syne', sans-serif;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text);
  transition: color 0.25s;
}
.faq-q:hover { color: var(--accent); }
.faq-q span { flex: 1; }
.faq-icon {
  width: 32px; height: 32px;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--accent);
  transition: border-color 0.25s, transform 0.4s var(--ease-out-expo), background 0.25s;
}
.faq-icon svg {
  width: 14px; height: 14px;
  transition: transform 0.4s var(--ease-out-expo);
}
.faq-item.open .faq-icon {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.faq-item.open .faq-icon svg {
  transform: rotate(45deg);
}
.faq-a-wrap {
  height: 0;
  overflow: hidden;
  transition: height 0.5s var(--ease-out-expo);
}
.faq-a {
  padding: 0 0 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.faq-a p {
  font-size: 15px;
  color: var(--dim);
  line-height: 1.75;
  font-weight: 300;
}

/* ── CONTACTS ────────────────────────────────────────── */
.contacts { padding: 160px 52px 80px; max-width: 1400px; margin: 0 auto; }
.contacts-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  margin-bottom: 100px;
}
.contacts-heading {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: clamp(52px, 8vw, 108px);
  line-height: 0.92;
  letter-spacing: -0.045em;
  margin-top: 20px;
}
.ch-line { display: block; }
.ch-line.accent .ch-inner { color: var(--accent); }
.ch-inner { display: block; position: relative; }
.contacts-body {
  font-size: 18px;
  color: var(--dim);
  line-height: 1.7;
  font-weight: 300;
  margin-bottom: 48px;
}
.contact-links { display: flex; flex-direction: column; gap: 0; }
.clink {
  display: flex;
  align-items: center;
  gap: 18px;
  text-decoration: none;
  color: var(--text);
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
  transition: border-color 0.25s;
  will-change: transform;
}
.clink:hover { border-color: rgba(255,122,62,0.35); }
.clink-ico {
  width: 42px; height: 42px;
  background: var(--bg2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--accent);
  transition: background 0.25s;
}
.clink-ico svg { width: 16px; height: 16px; }
.clink:hover .clink-ico { background: rgba(255,122,62,0.12); }
.clink-name {
  font-family: 'Syne', sans-serif;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.clink-sub { font-size: 13px; color: var(--dim); }
.clink-arrow {
  width: 20px; height: 20px;
  margin-left: auto;
  color: var(--dim);
  flex-shrink: 0;
  transition: color 0.25s, transform 0.3s;
}
.clink:hover .clink-arrow { color: var(--accent); transform: translateX(4px); }

/* ── CONTACTS CTA ────────────────────────────────────── */
.contacts-cta {
  border-top: 1px solid var(--border);
  padding-top: 60px;
  text-align: center;
}
.big-cta-link {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: clamp(38px, 6vw, 84px);
  letter-spacing: -0.04em;
  color: var(--text);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.25em;
  transition: color 0.25s;
  position: relative;
}
.big-cta-link:hover { color: var(--accent); }
.big-cta-link::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease-out-expo);
}
.big-cta-link:hover::after { transform: scaleX(1); }
.cta-text { display: inline-block; }
.cta-arrow {
  display: inline-block;
  transform: translateX(0);
  transition: transform 0.35s var(--ease-out-expo);
  color: var(--accent);
}
.big-cta-link:hover .cta-arrow { transform: translateX(10px); }

/* ── FOOTER ──────────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--border);
  padding: 28px 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-logo {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 18px;
  color: var(--accent);
  letter-spacing: -0.03em;
}
.footer-mid {
  font-size: 12px;
  color: var(--dimmer);
  letter-spacing: .06em;
  text-transform: uppercase;
}
.footer-copy { font-size: 12px; color: var(--dimmer); }

/* ── FLOATING CTA ────────────────────────────────────── */
.fcta {
  position: fixed;
  bottom: 36px; right: 36px;
  z-index: 600;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}
.fcta-bubble {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-end;
  opacity: 0;
  transform: translateY(16px) scale(0.95);
  pointer-events: none;
  transition: all 0.45s var(--ease-out-expo);
}
.fcta.open .fcta-bubble {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.fb-link {
  background: var(--card);
  border: 1px solid var(--border2);
  color: var(--text);
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 100px;
  font-size: 14px;
  white-space: nowrap;
  transition: border-color 0.25s, color 0.25s;
}
.fb-link:hover { border-color: var(--accent); color: var(--accent); }
.fcta-btn {
  width: 58px; height: 58px;
  background: var(--accent);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 16px 40px rgba(255,122,62,.3);
  transition: box-shadow 0.3s, transform 0.3s;
  will-change: transform;
}
.fcta-btn:hover { box-shadow: 0 20px 50px rgba(255,122,62,.45); }
.fcta-icon { display: flex; align-items: center; justify-content: center; }
.icon-plus {
  width: 22px; height: 22px;
  transition: transform 0.4s var(--ease-out-expo);
}
.fcta.open .icon-plus { transform: rotate(45deg); }

/* ══════════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════════ */

/* ── TABLET (≤ 1024px) ──────────────────────────────── */
@media (max-width: 1024px) {
  header { padding: 20px 28px; gap: 20px; }
  .header-nav { display: none; }
  .header-badge { display: none; }
  .burger { display: flex; }

  .hero-title { font-size: clamp(34px, 6vw, 62px); }
  .hero-stat-cluster { left: 28px; bottom: 32px; }
  .hero-scroll-hint { right: 28px; bottom: 32px; }

  .about { padding: 100px 28px; }
  .about-inner { grid-template-columns: 1fr; gap: 48px; }

  .stats-strip { padding: 60px 28px; }

  .adv-section { padding: 80px 28px; }
  .adv-bento { grid-template-columns: repeat(2, 1fr); }
  .bento-tall { grid-row: span 1; }

  .svc-head { padding: 0 28px; }
  .svc-viewport { padding: 0 28px; }

  .pricing { padding: 80px 28px; }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .price-card--wide { grid-column: span 2; }

  .calc-section { padding: 80px 28px; }
  .ship-grid { grid-template-columns: repeat(3, 1fr); }

  .media-section { padding: 80px 28px; }

  .faq { padding: 80px 28px; }

  .contacts { padding: 100px 28px 60px; }
  .contacts-inner { grid-template-columns: 1fr; gap: 48px; }

  .footer { padding: 24px 28px; }
  .footer-mid { display: none; }

  .fcta { bottom: 24px; right: 24px; }
  .progress-bar { display: none; }
}

/* ── MOBILE (≤ 768px) ───────────────────────────────── */
@media (max-width: 768px) {
  body { cursor: auto; }
  a { cursor: auto; }
  button { cursor: auto; }
  .cursor, .cursor-ring, .cursor-text { display: none; }

  header { padding: 16px 20px; gap: 12px; }

  .hero { height: 150vh; }
  .hero-title { font-size: clamp(30px, 8vw, 48px); }
  .hero-sub { font-size: 15px; padding: 0 16px; }
  .hero-cta-row { flex-direction: column; align-items: center; }
  .hero-stat-cluster { display: none; }
  .hero-scroll-hint { display: none; }
  .hero-decor-num { display: none; }

  .marquee-wrap { padding: 12px 0; }

  .about { padding: 72px 20px; }
  .about-heading { font-size: clamp(42px, 10vw, 72px); }

  .stats-strip { padding: 48px 20px; flex-direction: column; gap: 32px; }
  .stat-sep { width: 60px; height: 1px; }

  .adv-section { padding: 64px 20px; }
  .adv-bento { grid-template-columns: 1fr; }
  .bento-wide { grid-column: span 1; }
  .bc-big-word { font-size: 54px; }

  #servicesOuter .svc-sticky {
    height: auto;
    padding: 64px 0 32px;
  }
  .svc-head { padding: 0 20px; flex-direction: column; align-items: flex-start; gap: 12px; }
  .svc-hint { margin-left: 0; }
  .svc-viewport { padding: 0 20px; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .svc-track { padding-right: 20px; }
  .svc-card { width: 300px; height: auto; min-height: 380px; padding: 32px 28px; }

  .pricing { padding: 64px 20px; }
  .pricing-grid { grid-template-columns: 1fr; }
  .price-card--wide { grid-column: span 1; }

  .calc-section { padding: 64px 20px; }
  .calc-row { grid-template-columns: 1fr; gap: 16px; }
  .scheme-grid { grid-template-columns: 1fr; }
  .ship-grid { grid-template-columns: repeat(2, 1fr); }
  .calc-submit { align-self: stretch; text-align: center; }

  .media-section { padding: 64px 20px; }
  .media-grid { grid-template-columns: 1fr; }

  .faq { padding: 64px 20px; }
  .faq-q { font-size: 16px; padding: 22px 0; }

  .contacts { padding: 72px 20px 48px; }
  .contacts-inner { gap: 36px; }
  .contacts-heading { font-size: clamp(38px, 10vw, 72px); }
  .contacts-body { font-size: 16px; }

  .footer { padding: 20px; flex-direction: column; gap: 8px; text-align: center; }

  .fcta { bottom: 20px; right: 20px; }
  .fcta-btn { width: 50px; height: 50px; }

  .big-cta-link { font-size: clamp(28px, 8vw, 52px); }
}

/* ── MODALS ──────────────────────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(8,8,8,0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease-out-expo);
}
.modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}
.modal-box {
  background: var(--card);
  border: 1px solid var(--border2);
  border-radius: 16px;
  padding: 48px 44px;
  width: 100%;
  max-width: 480px;
  position: relative;
  transform: translateY(24px) scale(0.97);
  transition: transform 0.45s var(--ease-out-expo);
  max-height: 90vh;
  overflow-y: auto;
}
.modal-box--wide { max-width: 680px; }
.modal-overlay.open .modal-box {
  transform: translateY(0) scale(1);
}
.modal-close {
  position: absolute;
  top: 20px; right: 20px;
  width: 36px; height: 36px;
  background: none;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dim);
  transition: border-color 0.25s, color 0.25s;
}
.modal-close:hover { border-color: var(--accent); color: var(--accent); }
.modal-close svg { width: 14px; height: 14px; }
.modal-title {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 28px;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 8px;
  margin-top: 12px;
}
.modal-sub {
  font-size: 14px;
  color: var(--dim);
  line-height: 1.65;
  margin-bottom: 32px;
}
.modal-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.mc-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
}
.field-label {
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 8px;
  display: block;
}
.field-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' stroke='%23555' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
  padding-right: 40px;
}
.scheme-option { display: contents; }
.scheme-option input[type="radio"] { display: none; }
.scheme-card {
  display: flex;
  flex-direction: column;
  gap: 3px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 18px;
  cursor: none;
  transition: border-color 0.25s, background 0.25s;
}
.scheme-option input:checked + .scheme-card {
  border-color: var(--accent);
  background: rgba(255,122,62,0.06);
}
.scheme-title {
  font-family: 'Syne', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}
.scheme-sub { font-size: 11px; color: var(--dim); }
.ship-option {
  display: contents;
}
.ship-option input[type="radio"] { display: none; }
.ship-option span {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 6px;
  font-size: 11px;
  color: var(--dim);
  line-height: 1.4;
  cursor: none;
  transition: border-color 0.25s, color 0.25s, background 0.25s;
}
.ship-option input:checked + span {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(255,122,62,0.06);
}
.req { color: var(--accent); }

@media (max-width: 768px) {
  .modal-box { padding: 32px 24px; }
  .mc-row { grid-template-columns: 1fr; }
  .modal-box--wide { max-width: 100%; }
  .scheme-grid { grid-template-columns: 1fr 1fr; }
  .ship-grid { grid-template-columns: repeat(2, 1fr); }
}
/* HEADER CTA BUTTONS */
.header-cta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: 8px;
}

.hdr-btn {
  font-family: 'Manrope', sans-serif;
  font-size: 13px;
  font-weight: 500;
  padding: 8px 18px;
  border-radius: 100px;
  transition: all 0.25s;
  white-space: nowrap;
}

.hdr-btn--ghost {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.15);
  color: rgba(240,237,230,0.7);
}

.hdr-btn--ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.hdr-btn--primary {
  background: var(--accent);
  border: 1px solid var(--accent);
  color: #fff;
}

.hdr-btn--primary:hover {
  box-shadow: 0 8px 24px rgba(255,122,62,0.3);
}

@media (max-width: 1024px) {
  .header-cta { display: none; }
}

/* scc-btn in services CTA card */
.scc-btn {
  display: inline-block;
  border: 1px solid rgba(255,255,255,0.5);
  color: #fff;
  padding: 12px 24px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 500;
  margin-top: 24px;
  align-self: flex-start;
  transition: background 0.25s, border-color 0.25s;
  cursor: pointer;
  background: transparent;
  font-family: inherit;
}

.svc-card--cta:hover .scc-btn {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.7);
}

/* modal calc form submit button */
#calcSubmit {
  position: relative;
}
/* ================================================
   CAROUSEL
================================================ */
.media-carousel {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
}

.carousel-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.carousel-slide {
  flex: 0 0 100%;
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  border-radius: 16px;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.carousel-slide:hover img {
  transform: scale(1.05);
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  background: rgba(8,8,8,0.7);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  cursor: pointer;
  z-index: 5;
  opacity: 0;
  transition: opacity 0.3s, background 0.25s, border-color 0.25s;
  margin-top: -20px;
}

.carousel-btn svg {
  width: 20px;
  height: 20px;
}

.media-carousel:hover .carousel-btn {
  opacity: 1;
}

.carousel-btn:hover {
  background: rgba(255,122,62,0.8);
  border-color: var(--accent);
}

.carousel-btn--prev { left: 20px; }
.carousel-btn--next { right: 20px; }

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  cursor: pointer;
  transition: all 0.3s;
}

.carousel-dot.active {
  background: var(--accent);
  width: 24px;
  border-radius: 4px;
}

.media-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8,8,8,0.6) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.4s;
  display: flex;
  align-items: flex-end;
  padding: 24px;
}

.carousel-slide:hover .media-overlay {
  opacity: 1;
}

.media-overlay span {
  font-size: 16px;
  color: #fff;
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* ================================================
   LIGHTBOX
================================================ */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.95);
  backdrop-filter: blur(20px);
  z-index: 9000;
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s;
}

.lightbox.open {
  display: flex;
  opacity: 1;
}

.lightbox-img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 40px 80px rgba(0,0,0,0.5);
  transform: scale(0.9);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.lightbox.open .lightbox-img {
  transform: scale(1);
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  cursor: pointer;
  transition: background 0.25s, border-color 0.25s;
}

.lightbox-close:hover {
  background: rgba(255,122,62,0.6);
  border-color: var(--accent);
}

.lightbox-close svg { width: 20px; height: 20px; }

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  cursor: pointer;
  transition: background 0.25s, border-color 0.25s;
  margin-top: -26px;
}

.lightbox-nav:hover {
  background: rgba(255,122,62,0.6);
  border-color: var(--accent);
}

.lightbox-nav svg { width: 20px; height: 20px; }
.lightbox-nav--prev { left: 24px; }
.lightbox-nav--next { right: 24px; }

/* ================================================
   TYPING ANIMATION
================================================ */
.ch-type {
  display: inline-block;
  position: relative;
  min-width: 1px;
}

.ch-type {
  display: inline-block;
  position: relative;
}

/* Cursor after text, at end */
.ch-type::after {
  content: '';
  position: absolute;
  left: auto;
  right: -3px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--accent);
  animation: blink 1.1s step-end infinite;
}

/* Only show cursor on current line */
.ch-line {
  display: block;
}

.ch-type {
  display: inline-block;
}

.ch-type::after {
  display: none;
}

.ch-line.active .ch-type::after {
  display: block;
}

.ch-line.active .ch-type {
  position: relative;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* ================================================
   POPUP FORM
================================================ */
#popupForm {
  position: fixed;
  bottom: 36px;
  left: 36px;
  z-index: 700;
  width: 380px;
  background: var(--card);
  border: 1px solid var(--border2);
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 24px 64px rgba(0,0,0,0.4);
  transform: translateY(calc(100% + 60px));
  opacity: 0;
  pointer-events: none;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.6s;
}

#popupForm.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.popup-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

.popup-tag::before {
  content: '';
  width: 6px;
  height: 6px;
  background: #4ade80;
  border-radius: 50%;
  animation: blink 2s ease infinite;
}

.popup-title {
  font-family: 'Syne', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
  margin-bottom: 8px;
  line-height: 1.2;
}

.popup-sub {
  font-size: 14px;
  color: var(--dim);
  line-height: 1.6;
  margin-bottom: 20px;
}

.popup-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.popup-form .field-input {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 16px;
  color: var(--text);
  font-family: 'Manrope', sans-serif;
  font-size: 14px;
  outline: none;
  transition: border-color 0.25s;
  width: 100%;
}

.popup-form .field-input:focus {
  border-color: rgba(255,122,62,0.5);
}

.popup-form .field-input::placeholder {
  color: rgba(255,255,255,0.2);
}

.popup-submit {
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 14px;
  border-radius: 10px;
  font-family: 'Manrope', sans-serif;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: box-shadow 0.3s, transform 0.25s;
  margin-top: 4px;
}

.popup-submit:hover {
  box-shadow: 0 12px 28px rgba(255,122,62,0.35);
  transform: translateY(-1px);
}

.popup-success {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 14px;
  background: rgba(74,222,128,0.1);
  border: 1px solid rgba(74,222,128,0.2);
  border-radius: 10px;
  color: #4ade80;
  font-size: 14px;
}

.popup-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 28px;
  height: 28px;
  background: none;
  border: none;
  color: var(--dim);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: color 0.25s, background 0.25s;
  font-size: 18px;
}

.popup-close:hover {
  color: var(--text);
  background: rgba(255,255,255,0.08);
}

#popupForm.success .popup-form { display: none; }
#popupForm.success .popup-success { display: flex; }

@media (max-width: 768px) {
  #popupForm {
    left: 16px;
    right: 16px;
    width: auto;
    bottom: 80px;
  }
}
