/* ==========================================================================
   Vacanti Trade Services — Design System (DARK / MODERN / BOLD)
   Near-black navy canvas · elevated cards · bright accents · big type
   ========================================================================== */

:root {
  /* Surfaces (dark) */
  --bg: #090d15;
  --bg-2: #0d1320;
  --panel: #111a2c;       /* elevated band */
  --surface: #131d30;     /* cards */
  --surface-2: #1a2740;   /* inputs / hover */
  --dark: #06090f;        /* footer / stripe */

  /* Lines */
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.18);

  /* Text */
  --ink: #f5f8fc;         /* headings */
  --text: #c4cdda;        /* body */
  --muted: #93a0b4;
  --muted-2: #6d7b91;

  /* Brand */
  --brand: #3f8fd6;
  --brand-600: #2f7ec5;
  --brand-700: #245f96;
  --brand-300: #84b8ea;
  --brand-tint: rgba(63, 143, 214, 0.14);
  --accent: #f2843a;
  --accent-600: #e3742a;
  --accent-tint: rgba(242, 132, 58, 0.16);

  /* Type */
  --font-head: "Bodoni Moda", "Times New Roman", Georgia, serif;
  --font-display: "Hanken Grotesk", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --font-body: "Hanken Grotesk", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --font-script: "Great Vibes", "Segoe Script", "Brush Script MT", cursive;

  /* Radii */
  --r-sm: 8px; --r: 14px; --r-lg: 20px; --r-xl: 28px; --r-pill: 999px;

  /* Shadows (deep, for dark) */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow: 0 10px 26px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 30px 70px -20px rgba(0, 0, 0, 0.75);
  --shadow-brand: 0 18px 44px -12px rgba(63, 143, 214, 0.55);
  --shadow-accent: 0 16px 36px -10px rgba(242, 132, 58, 0.55);
  --glow: 0 0 0 1px rgba(255, 255, 255, 0.04);

  /* Layout */
  --container: 1200px;
  --container-narrow: 820px;
  --gutter: clamp(20px, 5vw, 56px);
  --section-y: clamp(64px, 9vw, 132px);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ------------------------------ Reset ----------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 1.0625rem;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
ul[class] { list-style: none; padding: 0; }
::selection { background: var(--brand); color: #fff; }
:focus-visible { outline: 3px solid var(--brand-300); outline-offset: 3px; border-radius: 4px; }

/* ------------------------------ Type ------------------------------------ */
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; line-height: 1.06; letter-spacing: -0.015em; color: var(--ink); }
h1 { font-size: clamp(2.6rem, 6.4vw, 4.8rem); font-weight: 700; }
h2 { font-size: clamp(2rem, 4.4vw, 3.3rem); }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.65rem); letter-spacing: -0.01em; }
p { color: var(--muted); }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.32rem); color: #cfd8e4; line-height: 1.6; }

/* ----------------------------- Layout ----------------------------------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); }
.section--tight { padding-block: clamp(48px, 6vw, 84px); }
.bg-alt { background: var(--bg-2); }
.bg-ink { background: linear-gradient(180deg, var(--panel), #0d1525); position: relative; }
.bg-ink::before { content: ""; position: absolute; inset: 0; background: radial-gradient(900px 400px at 80% -10%, rgba(63,143,214,0.14), transparent 70%); pointer-events: none; }
.bg-ink > * { position: relative; }

/* Material textures (wood / tile) as subtle, darkened section backgrounds */
.bg-wood, .bg-tile { position: relative; isolation: isolate; }
.bg-wood::before, .bg-tile::before { content: ""; position: absolute; inset: 0; z-index: -1; background-size: cover; background-position: center; }
.bg-wood::before { background-image: linear-gradient(180deg, rgba(9, 13, 21, 0.7), rgba(9, 13, 21, 0.82)), url("../assets/img/textures/wood.webp"); }
.bg-tile::before { background-image: linear-gradient(180deg, rgba(9, 13, 21, 0.68), rgba(9, 13, 21, 0.8)), url("../assets/img/textures/tile.webp"); }
.bg-brand { background: linear-gradient(135deg, var(--brand-700), var(--brand)); color: #eaf2fb; }

/* Textured bands — wood / tile for a warm, hands-on craftsman feel.
   Large image + cover (no tiling = no seams) behind a darkening overlay. */
.bg-wood, .bg-tile { position: relative; isolation: isolate; }
.bg-wood::before, .bg-tile::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-size: cover; background-position: center;
}
.bg-wood::before {
  background-image: linear-gradient(180deg, rgba(9, 13, 21, 0.55), rgba(9, 13, 21, 0.74)), url("../assets/img/textures/wood.webp");
}
.bg-tile::before {
  background-image: linear-gradient(180deg, rgba(9, 13, 21, 0.50), rgba(9, 13, 21, 0.70)), url("../assets/img/textures/tile.webp");
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.55em;
  font-family: var(--font-display); font-weight: 600; font-size: 0.8rem;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--brand-300);
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--accent); border-radius: 2px; }

.section-head { max-width: 760px; margin-bottom: clamp(34px, 5vw, 58px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head p { margin-top: 16px; font-size: 1.12rem; }

/* ----------------------------- Buttons ---------------------------------- */
.btn {
  --btn-bg: var(--brand); --btn-fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6em;
  padding: 0.95em 1.65em; border-radius: var(--r-pill);
  font-family: var(--font-display); font-weight: 600; font-size: 1rem; line-height: 1;
  background: var(--btn-bg); color: var(--btn-fg);
  border: 0; cursor: pointer; white-space: nowrap;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.2s ease;
  box-shadow: var(--shadow-sm);
}
.btn svg { width: 1.1em; height: 1.1em; }
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-brand); }
.btn:active { transform: translateY(0); }
.btn--accent { --btn-bg: var(--accent); }
.btn--accent:hover { background: var(--accent-600); box-shadow: var(--shadow-accent); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line-strong); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--brand); color: var(--brand-300); background: var(--brand-tint); }
.btn--white { --btn-bg: #fff; --btn-fg: #0c1424; }
.btn--white:hover { box-shadow: var(--shadow-lg); }
.btn--lg { padding: 1.12em 2.05em; font-size: 1.06rem; }
.btn--block { width: 100%; }

.link-arrow { display: inline-flex; align-items: center; gap: 0.4em; font-family: var(--font-display); font-weight: 600; color: var(--brand-300); }
.link-arrow svg { width: 1.05em; height: 1.05em; transition: transform 0.25s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ----------------------------- Header ----------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  transition: background 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
  padding-block: 16px;
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-header.scrolled {
  background: rgba(9, 13, 21, 0.82);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  box-shadow: 0 1px 0 var(--line), 0 10px 30px rgba(0, 0, 0, 0.5);
  padding-block: 9px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; font-family: var(--font-display); }
.brand__mark { width: 42px; height: 42px; color: var(--brand-300); flex: none; transition: transform 0.4s var(--ease); }
.brand:hover .brand__mark { transform: translateY(-2px) rotate(-2deg); }
.brand__logo { height: clamp(42px, 5vw, 52px); width: auto; display: block; transition: transform 0.4s var(--ease); }
.brand:hover .brand__logo { transform: translateY(-2px); }
.brand--footer .brand__logo { height: 68px; }
.brand__mark-img { height: 44px; width: auto; display: block; flex: none; transition: transform 0.4s var(--ease); }
.brand:hover .brand__mark-img { transform: translateY(-2px); }
.brand__title { display: flex; flex-direction: column; line-height: 1.02; }
.brand__title b { font-family: var(--font-head); font-weight: 600; font-size: clamp(1.12rem, 1.6vw, 1.36rem); letter-spacing: 0.005em; color: #fff; }
.brand__title > span { font-family: var(--font-display); font-size: 0.6rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted-2); font-weight: 600; margin-top: 4px; }
@media (max-width: 560px) { .brand__title > span { display: none; } .brand__mark-img { height: 38px; } }
.brand__name { display: flex; flex-direction: column; line-height: 1.04; }
.brand__name b { font-weight: 700; font-size: 1.16rem; letter-spacing: -0.02em; color: #fff; }
.brand__name span { font-size: 0.66rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted-2); font-weight: 600; }

.nav { display: flex; align-items: center; gap: 6px; }
.nav a { position: relative; padding: 10px 14px; font-family: var(--font-display); font-weight: 500; font-size: 0.97rem; color: #cdd6e3; border-radius: var(--r-sm); transition: color 0.2s; }
.nav a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 6px; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform 0.28s var(--ease); border-radius: 2px; }
.nav a:hover, .nav a.active { color: #fff; }
.nav a:hover::after, .nav a.active::after { transform: scaleX(1); }
.nav a.btn { color: #fff; }
.nav a.btn::after { display: none; }

.header-cta { display: flex; align-items: center; gap: 14px; }
.header-phone { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 600; color: #fff; }
.header-phone svg { width: 18px; height: 18px; color: var(--brand-300); }

.nav-toggle { display: none; width: 46px; height: 46px; border-radius: var(--r-sm); background: var(--surface); box-shadow: var(--shadow-sm); border: 1px solid var(--line); cursor: pointer; padding: 0; place-items: center; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { content: ""; display: block; width: 20px; height: 2px; background: #fff; border-radius: 2px; transition: transform 0.3s var(--ease), opacity 0.2s; position: relative; }
.nav-toggle span::before { position: absolute; top: -6px; } .nav-toggle span::after { position: absolute; top: 6px; }
body.nav-open .nav-toggle span { background: transparent; }
body.nav-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
body.nav-open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

/* ----------------------------- Hero (full-bleed) ------------------------ */
.hero { position: relative; min-height: min(92vh, 880px); display: flex; align-items: center; overflow: hidden; padding-block: clamp(90px, 14vw, 150px); }
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(100deg, rgba(7,10,17,0.97) 0%, rgba(7,10,17,0.86) 38%, rgba(7,10,17,0.45) 72%, rgba(7,10,17,0.25) 100%),
    linear-gradient(0deg, rgba(7,10,17,0.92) 2%, transparent 32%);
}
.hero__inner { position: relative; z-index: 2; width: 100%; }
.hero__copy { max-width: 660px; }
.hero__eyebrow { margin-bottom: 22px; }
.hero h1 { margin-bottom: 24px; font-size: clamp(2.7rem, 7vw, 5.2rem); line-height: 1.0; }
.hero__name { font-family: var(--font-script); font-weight: 400; font-size: clamp(3.4rem, 9vw, 6.6rem); line-height: 1.04; letter-spacing: 0.01em; color: #fff; margin-bottom: 14px; padding-bottom: 0.1em; text-shadow: 0 2px 34px rgba(0, 0, 0, 0.5); }
.hero__name .hl { color: var(--brand-300); }
.hero h1 .hl { color: var(--brand-300); display: inline-block; }
.hero__lead { max-width: 44ch; margin-bottom: 34px; color: #d4dce8; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 38px; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 16px 30px; }
.trust-item { display: flex; align-items: center; gap: 10px; font-size: 0.95rem; color: #cdd6e3; font-weight: 500; }
.trust-item svg { width: 22px; height: 22px; color: var(--brand-300); flex: none; }

.hero__badge {
  position: absolute; z-index: 3; bottom: clamp(24px, 5vw, 48px); right: clamp(24px, 5vw, 56px);
  background: rgba(19, 29, 48, 0.72); border: 1px solid var(--line-strong);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border-radius: var(--r-lg); padding: 16px 22px; display: flex; align-items: center; gap: 14px; max-width: 270px;
  box-shadow: var(--shadow-lg);
}
.hero__badge .num { font-family: var(--font-display); font-weight: 700; font-size: 1.9rem; color: var(--accent); line-height: 1; }
.hero__badge .lbl { font-size: 0.82rem; color: #aeb9c8; line-height: 1.3; }
.hero__blob { display: none; }

/* --------------------------- Marquee / stripe --------------------------- */
.stripe { background: var(--dark); color: #8e9bb0; padding-block: 18px; overflow: hidden; border-block: 1px solid var(--line); }
.stripe__track { display: flex; gap: 56px; white-space: nowrap; align-items: center; width: max-content; animation: marquee 32s linear infinite; }
.stripe__track span { font-family: var(--font-display); font-weight: 500; letter-spacing: 0.02em; display: inline-flex; align-items: center; gap: 12px; }
.stripe__track span::before { content: "◆"; color: var(--accent); font-size: 0.6em; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .stripe__track { animation: none; } }

/* ----------------------------- Stats ------------------------------------ */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { text-align: center; padding: 8px; }
.stat__num { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.3rem, 4vw, 3.4rem); color: #fff; line-height: 1; letter-spacing: -0.03em; }
.stat__num .suffix { color: var(--accent); }
.stat__label { margin-top: 8px; font-size: 0.95rem; color: var(--muted); font-weight: 500; }

/* ---------------------------- Services ---------------------------------- */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.svc-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 32px 28px; position: relative; overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.3s, background 0.3s;
}
.svc-card::before { content: ""; position: absolute; inset: 0 auto auto 0; width: 100%; height: 3px; background: linear-gradient(90deg, var(--brand), var(--accent)); transform: scaleX(0); transform-origin: left; transition: transform 0.4s var(--ease); }
.svc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--line-strong); background: var(--surface-2); }
.svc-card:hover::before { transform: scaleX(1); }
.svc-card__icon { width: 56px; height: 56px; border-radius: var(--r); display: grid; place-items: center; background: var(--brand-tint); color: var(--brand-300); margin-bottom: 22px; transition: background 0.3s, color 0.3s; }
.svc-card:hover .svc-card__icon { background: var(--brand); color: #fff; }
.svc-card__icon svg { width: 28px; height: 28px; }
.svc-card h3 { margin-bottom: 10px; }
.svc-card p { font-size: 0.98rem; }

/* ----------------------------- Feature row ------------------------------ */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 76px); align-items: center; }
.feature--reverse .feature__media { order: 2; }
.feature__media { position: relative; }
.feature__media img { width: 100%; border-radius: var(--r-xl); box-shadow: var(--shadow-lg); aspect-ratio: 5/4; object-fit: cover; border: 1px solid var(--line); }
.feature__media .float-card { position: absolute; right: -18px; bottom: -18px; background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--r); padding: 14px 18px; box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 12px; max-width: 240px; }
.feature__media .float-card svg { width: 34px; height: 34px; color: var(--brand-300); flex: none; }
.feature__media .float-card b { font-family: var(--font-display); display: block; color: #fff; }
.feature__media .float-card small { color: var(--muted); }

.check-list { display: grid; gap: 14px; margin-top: 26px; }
.check-list li { display: flex; gap: 13px; align-items: flex-start; color: var(--text); }
.check-list svg { width: 24px; height: 24px; color: var(--brand-300); flex: none; margin-top: 1px; }
.check-list b { font-family: var(--font-display); color: var(--ink); font-weight: 600; }

/* ----------------------------- Process ---------------------------------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.step { position: relative; padding: 30px 26px; background: var(--surface); border-radius: var(--r-lg); border: 1px solid var(--line); transition: transform 0.35s var(--ease), border-color 0.3s; }
.step:hover { transform: translateY(-4px); border-color: var(--line-strong); }
.step__n { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, var(--brand), var(--brand-700)); color: #fff; margin-bottom: 20px; box-shadow: var(--shadow-brand); }
.step h3 { font-size: 1.2rem; margin-bottom: 8px; }
.step p { font-size: 0.96rem; }
.step:not(:last-child)::after { content: ""; position: absolute; top: 52px; right: -14px; width: 24px; height: 2px; background: var(--line-strong); }

/* ----------------------------- Gallery ---------------------------------- */
.gallery-controls { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 38px; }
.filter-btn {
  padding: 0.62em 1.3em; border-radius: var(--r-pill); border: 1px solid var(--line-strong);
  background: var(--surface); color: var(--text); font-family: var(--font-display); font-weight: 500; font-size: 0.95rem;
  cursor: pointer; transition: all 0.22s var(--ease);
}
.filter-btn:hover { border-color: var(--brand); color: #fff; }
.filter-btn.active { background: var(--brand); color: #fff; border-color: var(--brand); box-shadow: var(--shadow-brand); }

.masonry { columns: 3; column-gap: 18px; }
.masonry .tile { break-inside: avoid; margin-bottom: 18px; }
.tile {
  position: relative; border-radius: var(--r); overflow: hidden; cursor: pointer;
  background: var(--surface); box-shadow: var(--shadow-sm); border: 1px solid var(--line);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.tile img { width: 100%; transition: transform 0.6s var(--ease); }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(6,9,15,0.78), transparent 55%); opacity: 0; transition: opacity 0.3s; }
.tile__tag { position: absolute; z-index: 2; left: 14px; bottom: 12px; color: #fff; font-family: var(--font-display); font-weight: 600; font-size: 0.9rem; transform: translateY(8px); opacity: 0; transition: all 0.3s var(--ease); }
.tile__zoom { position: absolute; z-index: 2; top: 12px; right: 12px; width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,0.92); display: grid; place-items: center; opacity: 0; transform: scale(0.8); transition: all 0.3s var(--ease); }
.tile__zoom svg { width: 18px; height: 18px; color: #0c1424; }
.tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--line-strong); }
.tile:hover img { transform: scale(1.06); }
.tile:hover::after, .tile:hover .tile__tag, .tile:hover .tile__zoom { opacity: 1; }
.tile:hover .tile__tag { transform: translateY(0); }
.tile:hover .tile__zoom { transform: scale(1); }
.gallery-more { text-align: center; margin-top: 44px; }

/* ----------------------- Gallery tabs + Before/After -------------------- */
.gallery-tabs { display: flex; justify-content: center; gap: 8px; margin-bottom: 32px; }
.gtab { padding: 0.72em 1.5em; border-radius: var(--r-pill); border: 1px solid var(--line-strong); background: transparent; color: var(--muted); font-family: var(--font-display); font-weight: 600; font-size: 0.98rem; cursor: pointer; transition: color 0.2s, background 0.2s, border-color 0.2s, box-shadow 0.2s; }
.gtab:hover { color: #fff; border-color: var(--brand); }
.gtab.active { background: var(--brand); color: #fff; border-color: var(--brand); box-shadow: var(--shadow-brand); }

.ba-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(440px, 100%), 1fr)); gap: 28px; }
.ba-solo { max-width: 520px; margin-inline: auto; }
.ba-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); }
.ba-compare { position: relative; width: 100%; aspect-ratio: 4 / 3; overflow: hidden; --pos: 50%; cursor: ew-resize; touch-action: none; user-select: none; background: #06090f; }
.ba-compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; -webkit-user-drag: none; }
.ba-compare .ba-before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba-divider { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; background: #fff; transform: translateX(-1.5px); pointer-events: none; box-shadow: 0 0 14px rgba(0, 0, 0, 0.55); }
.ba-divider::after { content: ""; position: absolute; top: 50%; left: 50%; width: 46px; height: 46px; border-radius: 50%; background: #fff; transform: translate(-50%, -50%); box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5); }
.ba-divider svg { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 26px; height: 26px; color: #0c1424; z-index: 1; }
.ba-tag { position: absolute; bottom: 14px; z-index: 2; padding: 0.42em 0.9em; border-radius: var(--r-pill); font-family: var(--font-display); font-weight: 600; font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: #fff; background: rgba(6, 9, 15, 0.72); border: 1px solid var(--line-strong); backdrop-filter: blur(4px); pointer-events: none; }
.ba-tag--before { left: 14px; }
.ba-tag--after { right: 14px; }
.ba-meta { padding: 18px 22px; }
.ba-meta b { font-family: var(--font-head); font-weight: 600; font-size: 1.2rem; color: var(--ink); display: block; }
.ba-meta span { color: var(--muted); font-size: 0.95rem; }
@media (max-width: 760px) { .ba-grid { grid-template-columns: 1fr; } }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 200; display: none; place-items: center; padding: 24px; background: rgba(4, 7, 12, 0.94); backdrop-filter: blur(8px); }
.lightbox.open { display: grid; animation: fade 0.25s ease; }
.lightbox img { max-width: min(94vw, 1100px); max-height: 86vh; border-radius: var(--r); box-shadow: var(--shadow-lg); }
.lightbox__close, .lightbox__nav { position: absolute; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.22); color: #fff; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; transition: background 0.2s; }
.lightbox__close:hover, .lightbox__nav:hover { background: rgba(255,255,255,0.22); }
.lightbox__close { top: 22px; right: 22px; }
.lightbox__close svg, .lightbox__nav svg { width: 22px; height: 22px; }
.lightbox__nav { top: 50%; transform: translateY(-50%); }
.lightbox__nav.prev { left: 22px; } .lightbox__nav.next { right: 22px; }
.lightbox__counter { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); color: #aeb9c8; font-family: var(--font-display); font-weight: 500; font-size: 0.9rem; }
@keyframes fade { from { opacity: 0; } }

/* --------------------------- Testimonials ------------------------------- */
.tst-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.tst {
  background: var(--surface); border-radius: var(--r-lg); padding: 32px 28px; border: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 18px; position: relative; transition: transform 0.35s var(--ease), border-color 0.3s;
}
.tst:hover { transform: translateY(-4px); border-color: var(--line-strong); }
.tst__stars { display: flex; gap: 3px; color: var(--accent); }
.tst__stars svg { width: 20px; height: 20px; }
.tst p { color: #d2dae6; font-size: 1.04rem; line-height: 1.6; }
.tst__who { display: flex; align-items: center; gap: 13px; margin-top: auto; }
.tst__avatar { width: 46px; height: 46px; border-radius: 50%; background: linear-gradient(135deg, var(--brand), var(--brand-700)); color: #fff; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; }
.tst__who b { font-family: var(--font-display); color: #fff; display: block; font-size: 0.98rem; }
.tst__who small { color: var(--muted); }
.tst__quote { position: absolute; top: 18px; right: 24px; font-family: var(--font-display); font-size: 4rem; line-height: 1; color: rgba(63,143,214,0.16); z-index: 0; }

/* ---------------------------- Service area ------------------------------ */
.areas { display: flex; flex-wrap: wrap; gap: 10px; }
.area-chip { display: inline-flex; align-items: center; gap: 7px; padding: 0.55em 1.05em; border-radius: var(--r-pill); background: rgba(255,255,255,0.04); border: 1px solid var(--line); font-size: 0.95rem; color: #cdd6e3; transition: border-color 0.2s, background 0.2s; }
.area-chip:hover { border-color: var(--brand); background: var(--brand-tint); }
.area-chip svg { width: 15px; height: 15px; color: var(--brand-300); }

/* ------------------------------- CTA ------------------------------------ */
.cta-band { position: relative; overflow: hidden; border-radius: var(--r-xl); padding: clamp(40px, 6vw, 72px); background: linear-gradient(120deg, var(--brand-700), var(--brand)); color: #fff; box-shadow: var(--shadow-lg); border: 1px solid var(--line-strong); }
.cta-band__inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.4fr 1fr; gap: 34px; align-items: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #d9e7f7; margin-top: 14px; font-size: 1.12rem; }
.cta-band .actions { display: flex; flex-direction: column; gap: 12px; }
.cta-band__glow { position: absolute; width: 540px; height: 540px; border-radius: 50%; background: radial-gradient(circle, rgba(242,132,58,0.5), transparent 70%); top: -200px; right: -120px; z-index: 1; }

/* ------------------------------ Forms ----------------------------------- */
.form-card { background: var(--surface); border-radius: var(--r-xl); padding: clamp(26px, 4vw, 44px); box-shadow: var(--shadow-lg); border: 1px solid var(--line-strong); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 18px; }
.field label { font-family: var(--font-display); font-weight: 600; font-size: 0.92rem; color: var(--ink); }
.field label .req { color: var(--accent); }
.field input, .field select, .field textarea {
  padding: 0.85em 1em; border-radius: var(--r-sm); border: 1.5px solid var(--line-strong);
  background: var(--bg); color: var(--ink); transition: border-color 0.2s, box-shadow 0.2s; width: 100%;
}
.field input::placeholder, .field textarea::placeholder { color: var(--muted-2); }
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-tint); }
.field select option { background: var(--surface); color: var(--ink); }
.form-note { font-size: 0.86rem; color: var(--muted); margin-top: 6px; }
.form-status { margin-top: 14px; padding: 14px 16px; border-radius: var(--r-sm); font-size: 0.95rem; display: none; }
.form-status.show { display: block; }
.form-status.ok { background: rgba(46, 160, 92, 0.15); color: #6ee7a0; border: 1px solid rgba(46,160,92,0.4); }
.form-status.err { background: rgba(220, 70, 60, 0.14); color: #ff9b92; border: 1px solid rgba(220,70,60,0.4); }

.contact-split { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 5vw, 60px); align-items: start; }
.contact-info { display: grid; gap: 16px; }
.contact-line { display: flex; gap: 16px; align-items: flex-start; padding: 18px 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); transition: transform 0.3s var(--ease), box-shadow 0.3s, border-color 0.3s; }
.contact-line:hover { transform: translateX(4px); box-shadow: var(--shadow); border-color: var(--line-strong); }
.contact-line__icon { width: 48px; height: 48px; border-radius: var(--r-sm); background: var(--brand-tint); color: var(--brand-300); display: grid; place-items: center; flex: none; }
.contact-line__icon svg { width: 24px; height: 24px; }
.contact-line b { font-family: var(--font-display); color: #fff; display: block; }
.contact-line a, .contact-line span { color: var(--muted); }
.contact-line a:hover { color: var(--brand-300); }

/* ------------------------------ Footer ---------------------------------- */
.site-footer { background: var(--dark); color: #8a97ab; padding-top: clamp(56px, 7vw, 88px); border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 48px; }
.site-footer .brand__name b { color: #fff; }
.site-footer .brand__mark { color: var(--brand-300); }
.footer-about p { margin-top: 18px; font-size: 0.96rem; max-width: 34ch; }
.footer-social { display: flex; gap: 12px; margin-top: 22px; }
.footer-social a { width: 42px; height: 42px; border-radius: var(--r-sm); background: rgba(255,255,255,0.06); display: grid; place-items: center; transition: background 0.25s, transform 0.25s; }
.footer-social a:hover { background: var(--brand); transform: translateY(-3px); }
.footer-social svg { width: 20px; height: 20px; color: #fff; }
.footer-col h4 { color: #fff; font-size: 1.02rem; margin-bottom: 18px; font-family: var(--font-display); }
.footer-col ul { display: grid; gap: 11px; }
.footer-col a { font-size: 0.96rem; transition: color 0.2s, padding 0.2s; }
.footer-col a:hover { color: #fff; padding-left: 4px; }
.footer-bottom { border-top: 1px solid var(--line); padding-block: 22px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 0.88rem; color: var(--muted-2); }
.footer-bottom a:hover { color: #fff; }

/* --------------------------- Reveal anims ------------------------------- */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out); transition-delay: var(--d, 0ms); will-change: opacity, transform; }
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal="zoom"] { transform: scale(0.94); }
[data-reveal="left"] { transform: translateX(-32px); }
[data-reveal="right"] { transform: translateX(32px); }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ----------------------------- Misc ------------------------------------- */
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--brand); color: #fff; padding: 10px 16px; border-radius: var(--r-sm); z-index: 999; }
.skip-link:focus { left: 8px; }
.hidden { display: none !important; }

/* --------------------------- Responsive --------------------------------- */
@media (max-width: 980px) {
  .svc-grid, .tst-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step:not(:last-child)::after { display: none; }
  .feature, .feature--reverse .feature__media { grid-template-columns: 1fr; }
  .feature--reverse .feature__media { order: 0; }
  .cta-band__inner, .contact-split { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .masonry { columns: 2; }
  .hero__badge { display: none; }
}
@media (max-width: 760px) {
  .nav, .header-phone { display: none; }
  .nav-toggle { display: grid; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 30px 16px; }
  .form-row { grid-template-columns: 1fr; }
  body { font-size: 1.02rem; }

  .nav { position: fixed; inset: 0 0 0 auto; width: min(82vw, 340px); background: var(--panel);
    flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 4px;
    padding: 92px 22px 30px; box-shadow: var(--shadow-lg); transform: translateX(100%);
    transition: transform 0.36s var(--ease); display: flex; z-index: 90; border-left: 1px solid var(--line); }
  body.nav-open .nav { transform: translateX(0); }
  .nav a { padding: 14px 12px; font-size: 1.1rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav a::after { display: none; }
  .nav .btn { margin-top: 18px; }
  .nav-backdrop { position: fixed; inset: 0; background: rgba(4,7,12,0.6); opacity: 0; visibility: hidden; transition: opacity 0.3s; z-index: 80; }
  body.nav-open .nav-backdrop { opacity: 1; visibility: visible; }
}
@media (max-width: 540px) {
  .svc-grid, .tst-grid, .steps, .footer-grid { grid-template-columns: 1fr; }
  .masonry { columns: 1; }
  .cta-band .actions { width: 100%; }
}
