/* ==========================================================================
   BULCOM RUSE – Refreshed redesign
   Light + technical · Navy #0f1e3d / Orange #e85d3c / Teal #2ba8b5
   ========================================================================== */

/* ---- Self-hosted fonts (Inter, Manrope, JetBrains Mono) ---- */
/* Cyrillic ranges loaded for Bulgarian content; latin for numbers + brand names. */
@font-face {
  font-family: 'Inter';
  src: url('/assets/fonts/inter/inter-cyrillic.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Inter';
  src: url('/assets/fonts/inter/inter-latin.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Manrope';
  src: url('/assets/fonts/manrope/manrope-cyrillic.woff2') format('woff2');
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Manrope';
  src: url('/assets/fonts/manrope/manrope-latin.woff2') format('woff2');
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'JetBrains Mono';
  src: url('/assets/fonts/jetbrains-mono/jetbrains-mono-cyrillic.woff2') format('woff2');
  font-weight: 100 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'JetBrains Mono';
  src: url('/assets/fonts/jetbrains-mono/jetbrains-mono-latin.woff2') format('woff2');
  font-weight: 100 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --c-navy:   #0f1e3d;
  --c-navy-2: #1b2f57;
  --c-orange: #e85d3c;
  --c-orange-2: #f08060;
  --c-orange-dark: #c94e30;
  --c-blue:   #2b6cb0;
  --c-teal:   #2ba8b5;
  --c-bg:     #ffffff;
  --c-bg-alt: #f6f8fb;
  --c-bg-soft:#eef2f7;
  --c-text:   #1a2438;
  --c-text-2: #5a6678;
  --c-line:   #e3e8ef;
  --c-line-2: #d5dce6;

  --radius-sm: 8px;
  --radius:    14px;
  --radius-lg: 22px;

  --shadow-sm: 0 1px 2px rgba(15,30,61,.06), 0 2px 8px rgba(15,30,61,.04);
  --shadow-md: 0 4px 10px rgba(15,30,61,.08), 0 12px 24px rgba(15,30,61,.06);
  --shadow-lg: 0 20px 60px rgba(15,30,61,.14);

  --t-fast: 160ms cubic-bezier(.2,.8,.2,1);
  --t-med:  260ms cubic-bezier(.2,.8,.2,1);

  --container: 1240px;

  --font-body:    'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --font-display: 'Manrope', 'Inter', system-ui, sans-serif;
  --font-mono:    'JetBrains Mono', 'IBM Plex Mono', ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
}

*,*::before,*::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 16px; line-height: 1.6;
  color: var(--c-text); background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--c-blue); text-decoration: none; transition: color var(--t-fast); }
a:hover { color: var(--c-orange); }
button { font: inherit; cursor: pointer; border: 0; background: transparent; color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }
h1,h2,h3,h4 { font-family: var(--font-display); color: var(--c-navy); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -0.015em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.7rem); font-weight: 800; letter-spacing: -0.025em; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 800; }
h3 { font-size: 1.25rem; font-weight: 700; }
p  { margin: 0 0 1em; color: var(--c-text-2); }

.container { max-width: var(--container); margin: 0 auto; padding: 0 28px; }

.section     { padding: 104px 0; }
.section--sm { padding: 72px 0; }
.section-alt { background: var(--c-bg-alt); }
.section-head { max-width: 760px; margin: 0 auto 56px; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--c-orange-dark);
  font-family: var(--font-mono);
}
.eyebrow::before { content: ""; width: 24px; height: 2px; background: var(--c-orange); }
.section-head .eyebrow { margin-bottom: 14px; }
.section-head h2 { margin-bottom: 14px; }
.section-head p { font-size: 1.05rem; max-width: 620px; margin-left: auto; margin-right: auto; }

/* ---- About full block (admin-driven, optional) ---- */
.about-full { max-width: 760px; margin: 0 auto; }
.about-full .eyebrow { margin-bottom: 18px; }
.about-full p { font-size: 1.05rem; line-height: 1.7; color: var(--c-text); margin: 0 0 16px; }
.about-full p:last-child { margin-bottom: 0; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 26px; border-radius: var(--radius-sm);
  font-weight: 600; font-size: 15px; line-height: 1;
  border: 1.5px solid transparent; white-space: nowrap;
  transition: transform var(--t-fast), box-shadow var(--t-fast),
              background var(--t-fast), color var(--t-fast), border-color var(--t-fast);
}
.btn svg { width: 16px; height: 16px; }
.btn--primary { background: var(--c-orange); color: #fff; }
.btn--primary:hover { background: var(--c-navy); color: #fff; box-shadow: 0 14px 28px rgba(15,30,61,.24); transform: translateY(-1px); }
.btn--ghost   { border-color: var(--c-line-2); color: var(--c-navy); background: #fff; }
.btn--ghost:hover { border-color: var(--c-navy); background: var(--c-navy); color: #fff; }
.btn--light   { background: #fff; color: var(--c-navy); }
.btn--light:hover { background: var(--c-orange); color: #fff; }
.btn--lg { padding: 18px 32px; font-size: 15.5px; }

/* ---- Header ---- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--c-line);
}
.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center; gap: 28px;
  min-height: 84px;
}
.logo { display: inline-flex; align-items: center; gap: 12px; color: var(--c-navy); }
.logo:hover { color: var(--c-navy); }
.logo img { height: 56px; width: auto; }
.logo-text {
  display: flex; flex-direction: column; line-height: 1;
}
.logo-text strong { font-family: var(--font-display); font-size: 17px; font-weight: 800; color: var(--c-navy); letter-spacing: -.01em; }
.logo-text small { font-family: var(--font-mono); font-size: 9.5px; color: var(--c-text-2); letter-spacing: .2em; text-transform: uppercase; margin-top: 4px; }

.site-nav { display: flex; gap: 2px; justify-content: center; flex-wrap: nowrap; }
.site-nav a {
  position: relative;
  display: inline-block; padding: 10px 16px;
  color: var(--c-text); font-weight: 600; font-size: 14.5px;
  text-decoration: none;
  border-radius: var(--radius-sm);
  border-radius: var(--radius-sm); position: relative;
  transition: color var(--t-fast), background var(--t-fast);
}
.site-nav a:hover { color: var(--c-navy); background: var(--c-bg-alt); }
.site-nav a.is-active { color: var(--c-navy); }
.site-nav a.is-active::after {
  content: ""; position: absolute; left: 16px; right: 16px; bottom: 4px;
  height: 2px; background: var(--c-orange); border-radius: 2px;
}
.header-cta { display: flex; gap: 10px; align-items: center; }
.header-phone {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--c-navy); font-weight: 700; font-size: 14.5px;
  padding: 10px 14px; border-radius: var(--radius-sm);
}
.header-phone span { font-family: var(--font-mono); font-weight: 600; font-size: 14px; }
.header-phone:hover { color: var(--c-orange); background: var(--c-bg-alt); }
.header-phone svg { color: var(--c-orange); }

/* ---- Hero ---- */
.hero {
  position: relative; overflow: hidden;
  padding: 88px 0 116px;
  background:
    radial-gradient(1100px 480px at 88% -10%, rgba(232,93,60,.12), transparent 62%),
    radial-gradient(900px 540px at -8% 50%, rgba(43,108,176,.10), transparent 60%),
    linear-gradient(180deg, #fff 0%, var(--c-bg-alt) 100%);
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(var(--c-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--c-line) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse at 75% 30%, #000 18%, transparent 72%);
          mask-image: radial-gradient(ellipse at 75% 30%, #000 18%, transparent 72%);
  opacity: .42;
}
.hero-grid {
  position: relative;
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px;
  align-items: center;
}
.hero h1 { margin: 18px 0 22px; }
.hero h1 em {
  font-style: normal; color: var(--c-orange); white-space: nowrap;
  background: linear-gradient(180deg, transparent 64%, rgba(232,93,60,.18) 64%);
  padding: 0 4px;
}
.hero p.lead {
  font-size: 1.14rem; line-height: 1.6; max-width: 540px; color: var(--c-text-2);
}
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }
.hero-meta {
  display: flex; flex-direction: column;
  gap: 14px; margin-top: 44px;
  padding-top: 28px; border-top: 1px solid var(--c-line);
  max-width: 540px;
}
.hero-meta-item {
  display: flex; flex-direction: column; gap: 14px;
}
.hero-meta-item .v {
  display: block; color: var(--c-navy); font-family: var(--font-display);
  font-size: 22px; font-weight: 800; letter-spacing: -.02em; line-height: 1.05;
}
.hero-meta-item .l {
  display: block; font-size: 12px; color: var(--c-text-2);
  text-transform: uppercase; letter-spacing: .12em;
  font-family: var(--font-mono); font-weight: 500;
  margin-top: 0;
}

/* Hero visual: CCTV preview */
.hero-visual { position: relative; width: 100%; aspect-ratio: 1/1.04; }
.hero-tile { position: absolute; border-radius: var(--radius); box-shadow: var(--shadow-md); overflow: hidden; }

.hero-tile--main {
  left: 0; right: 0; top: 0; height: 78%;
  background: #0a0d14; padding: 14px;
  display: flex; flex-direction: column;
}
.cctv-grid {
  flex: 1; display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: 1fr 1fr 1fr;
  gap: 8px;
}
.cctv-cell {
  position: relative; overflow: hidden;
  border-radius: 6px; background: #050810;
  border: 1px solid rgba(255,255,255,.06);
}
.cctv-cell--main { grid-row: span 3; }
.cctv-scene { position: absolute; inset: 0; }
.cctv-scene--1 {
  background:
    radial-gradient(ellipse at 50% 90%, rgba(232,93,60,.16), transparent 50%),
    linear-gradient(180deg, #1a2030 0%, #0d1320 50%, #050810 100%);
}
.cctv-scene--1::before {
  content: ""; position: absolute; inset: 50% 0 0 0;
  background:
    repeating-linear-gradient(90deg, transparent 0 12%, rgba(255,255,255,.05) 12% 12.4%);
  transform: perspective(300px) rotateX(55deg); transform-origin: top;
}
.cctv-scene--1::after {
  content: ""; position: absolute; left: 0; right: 0; top: 48%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.25), transparent);
}
.cctv-scene--2 {
  background: linear-gradient(180deg, #1c2436 0%, #0d1320 100%);
}
.cctv-scene--2::before {
  content: ""; position: absolute; inset: 60% 10% 18% 10%;
  background: repeating-linear-gradient(90deg, rgba(255,255,255,.10) 0 14%, transparent 14% 20%);
}
.cctv-scene--3 {
  background:
    radial-gradient(circle at 30% 30%, rgba(34,176,125,.18), transparent 55%),
    linear-gradient(135deg, #0f1828 0%, #060a14 100%);
}
.cctv-scene--3::after {
  content: ""; position: absolute; inset: 30% 20% 30% 20%;
  background: repeating-linear-gradient(0deg, rgba(255,255,255,.08) 0 6px, transparent 6px 12px);
}
.cctv-scene--4 { background: linear-gradient(180deg, #16203a 0%, #0a0f1c 100%); }
.cctv-scene--4::before {
  content: ""; position: absolute; inset: 20% 20% 20% 20%;
  border: 1px solid rgba(255,255,255,.10); background: linear-gradient(180deg, rgba(255,255,255,.04), transparent);
}
.cctv-scan {
  position: absolute; left: 0; right: 0; top: 0; height: 2px;
  background: linear-gradient(90deg, transparent, rgba(232,93,60,.7), transparent);
  animation: cctvScan 4s linear infinite; pointer-events: none;
}
@keyframes cctvScan { 0% { top: 0; } 100% { top: 100%; } }

.cctv-bbox {
  position: absolute;
  border: 1.5px solid var(--c-orange);
  box-shadow: 0 0 0 1px rgba(0,0,0,.4);
  animation: bboxPulse 2.4s ease-in-out infinite;
}
.cctv-bbox--alt { border-color: #fcd34d; animation-delay: .8s; }
.cctv-bbox span {
  position: absolute; top: -18px; left: -1px;
  font-family: var(--font-mono); font-size: 9px; font-weight: 700;
  background: var(--c-orange); color: #fff;
  padding: 2px 5px; letter-spacing: .04em; white-space: nowrap;
}
.cctv-bbox--alt span { background: #fcd34d; color: #1a1a1a; }
@keyframes bboxPulse { 0%,100% { opacity: 1; } 50% { opacity: .55; } }

.cctv-meta {
  position: absolute; left: 8px; right: 8px; bottom: 8px;
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .12em;
  color: rgba(255,255,255,.85);
}
.cctv-rec { display: inline-flex; align-items: center; gap: 6px; color: #fff; font-weight: 700; }
.cctv-rec i { width: 7px; height: 7px; border-radius: 50%; background: var(--c-orange); animation: blink 1.4s infinite; }
@keyframes blink { 50% { opacity: .25; } }
.cctv-cam, .cctv-time { color: rgba(255,255,255,.7); }
.cctv-cam-sm {
  position: absolute; left: 6px; bottom: 6px;
  font-family: var(--font-mono); font-size: 8.5px; letter-spacing: .12em;
  color: rgba(255,255,255,.6); font-weight: 600;
  z-index: 3;
}

/* ---- Enhanced CCTV scenes ---- */
.cctv-svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }

/* CAM 01 - Person walking animations */
.cctv-person { transform-box: fill-box; }
.cctv-person--1 { animation: walkP1 11s linear infinite; }
.cctv-person--2 { animation: walkP2 13s linear infinite; animation-delay: -4s; }
@keyframes walkP1 {
  0%   { transform: translate(40px, 80px) scale(.7); opacity: 0; }
  8%   { opacity: 1; }
  92%  { opacity: 1; }
  100% { transform: translate(195px, 150px) scale(1.7); opacity: 0; }
}
@keyframes walkP2 {
  0%   { transform: translate(165px, 82px) scale(.75); opacity: 0; }
  8%   { opacity: 1; }
  92%  { opacity: 1; }
  100% { transform: translate(15px, 152px) scale(1.7); opacity: 0; }
}
.cctv-legs { transform-origin: center top; }
.cctv-shadow--p1 { animation: shadow1 11s linear infinite; }
.cctv-shadow--p2 { animation: shadow2 13s linear infinite; animation-delay: -4s; }
@keyframes shadow1 {
  0%   { transform: translate(40px, 95px) scale(.7); opacity: 0; }
  8%   { opacity: .5; }
  92%  { opacity: .55; }
  100% { transform: translate(195px, 165px) scale(1.7); opacity: 0; }
}
@keyframes shadow2 {
  0%   { transform: translate(165px, 97px) scale(.75); opacity: 0; }
  8%   { opacity: .5; }
  92%  { opacity: .55; }
  100% { transform: translate(15px, 167px) scale(1.7); opacity: 0; }
}

/* AI bbox follows person - uses same animation as person */
.cctv-svgbbox { transform-box: fill-box; pointer-events: none; }
.cctv-svgbbox--p1 {
  animation: walkP1 11s linear infinite, bboxBlink 1.2s ease-in-out infinite;
}
.cctv-svgbbox--p2 {
  animation: walkP2 13s linear infinite, bboxBlink 1.2s ease-in-out infinite;
  animation-delay: -4s, 0s;
}
@keyframes bboxBlink {
  0%, 100% { opacity: 1; }
  50%      { opacity: .6; }
}

/* CAM 01 - top overlay HUD */
.cctv-overlay-top {
  position: absolute; top: 6px; right: 8px; left: 8px;
  display: flex; justify-content: space-between;
  font-family: var(--font-mono); font-size: 9px;
  color: rgba(255,255,255,.65); letter-spacing: .1em;
  pointer-events: none; z-index: 2;
}
.cctv-fps { color: #5af28a; font-weight: 700; }

/* CAM 02 - moving car drives down the lane between parked cars */
.cctv-car-move { animation: carDrive 8s linear infinite; }
@keyframes carDrive {
  0%   { transform: translate(45px, -12px) rotate(0deg); }
  100% { transform: translate(45px, 92px) rotate(0deg); }
}
.cctv-svgbbox--car {
  animation: carDrive 8s linear infinite, bboxBlink 1.2s ease-in-out infinite;
}

/* CAM 03 - motion detection ripple */
.cctv-motion {
  position: absolute; left: 28%; top: 60%;
  width: 14%; aspect-ratio: 1;
  border: 1.5px solid #5af28a; border-radius: 50%;
  animation: motionRipple 2.6s ease-out infinite;
  pointer-events: none;
}
.cctv-motion::before {
  content: "ДВИЖЕНИЕ"; position: absolute;
  top: -14px; left: 50%; transform: translateX(-50%);
  font-family: var(--font-mono); font-size: 8px; font-weight: 700;
  color: #5af28a; letter-spacing: .12em; white-space: nowrap;
}
@keyframes motionRipple {
  0%   { transform: scale(.6); opacity: 1; }
  100% { transform: scale(1.8); opacity: 0; }
}

/* CAM 04 - flickering city lights + status dot */
.cctv-city rect { animation: cityFlicker 4s ease-in-out infinite; }
.cctv-city rect:nth-child(2n) { animation-delay: -1.5s; }
.cctv-city rect:nth-child(3n) { animation-delay: -2.7s; }
@keyframes cityFlicker {
  0%, 100% { opacity: .95; }
  50%      { opacity: .55; }
}
.cctv-blink {
  position: absolute; right: 10px; top: 8px;
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--c-orange);
  box-shadow: 0 0 8px var(--c-orange);
  animation: blink 1.4s infinite;
}

.hero-tile--orange {
  right: 0; bottom: 0; width: 56%; height: 26%;
  background: var(--c-orange); color: #fff;
  padding: 16px 20px;
  display: flex; flex-direction: column; justify-content: center; gap: 4px;
}
.hero-tile--orange::before {
  content: ""; position: absolute; right: -30px; bottom: -30px; width: 120px; height: 120px;
  border: 1px solid rgba(255,255,255,.2); border-radius: 50%;
}
.hero-tile--orange::after {
  content: ""; position: absolute; right: -10px; bottom: -10px; width: 60px; height: 60px;
  border: 1px solid rgba(255,255,255,.3); border-radius: 50%;
}
.hero-tile--orange .lbl {
  font-family: var(--font-mono); font-size: 10.5px;
  text-transform: uppercase; letter-spacing: .18em;
  color: rgba(255,255,255,.85); font-weight: 700;
}
.hero-tile--orange h4 { color: #fff; margin: 2px 0 0; font-size: 1.15rem; line-height: 1.2; font-weight: 800; letter-spacing: -.01em; position: relative; z-index: 1; }
.hero-tile--orange p { margin: 0; font-size: 12px; color: rgba(255,255,255,.85); font-family: var(--font-mono); letter-spacing: .04em; position: relative; z-index: 1; }

.hero-tile--white {
  left: 0; bottom: 0; width: 42%; height: 26%;
  background: #fff; padding: 14px 16px;
  border: 1px solid var(--c-line);
  display: flex; flex-direction: column; gap: 8px; justify-content: center;
}
.hero-tile--white .row { display: flex; gap: 10px; align-items: center; }
.hero-tile--white .ic {
  width: 42px; height: 42px; border-radius: 10px; flex-shrink: 0;
  background: color-mix(in srgb, var(--c-navy) 8%, #fff);
  color: var(--c-navy); display: grid; place-items: center;
}
.hero-tile--white small { display: block; font-family: var(--font-mono); font-size: 10px; color: var(--c-orange); text-transform: uppercase; letter-spacing: .14em; font-weight: 700; }
.hero-tile--white strong { display: block; color: var(--c-navy); font-family: var(--font-display); font-size: 15px; font-weight: 800; line-height: 1.2; margin-top: 3px; letter-spacing: -.01em; }

/* ---- Brands strip ---- */
.brands {
  background: #fff; padding: 36px 0; border-top: 1px solid var(--c-line); border-bottom: 1px solid var(--c-line);
}
.brands-inner {
  display: flex; align-items: center; gap: 32px; flex-wrap: wrap;
  justify-content: space-between;
}
.brands-label {
  font-family: var(--font-mono); font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: .16em; color: var(--c-text-2);
  white-space: nowrap;
}
.brands-list {
  display: flex; gap: 40px; flex-wrap: wrap; align-items: center; flex: 1; justify-content: center;
}
.brands-list .brand-name {
  font-family: var(--font-display); font-size: 18px; font-weight: 700;
  color: var(--c-text-2); letter-spacing: -.01em;
  transition: color var(--t-fast);
}
.brands-list .brand-name:hover { color: var(--c-navy); }

/* ---- Services grid ---- */
.services-grid {
  display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px;
}
.svc-card {
  position: relative; grid-column: span 4;
  padding: 36px 32px 30px;
  background: #fff; border: 1px solid var(--c-line);
  border-radius: var(--radius);
  display: flex; flex-direction: column;
  transition: transform var(--t-fast), box-shadow var(--t-fast), border-color var(--t-fast);
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
}
.svc-card::before {
  content: attr(data-bgnum);
  position: absolute; right: -10px; top: -30px;
  font-family: var(--font-display); font-size: 220px; font-weight: 800;
  line-height: 1; letter-spacing: -.04em;
  color: var(--c-bg-alt);
  z-index: -1; pointer-events: none;
  transition: color var(--t-med), transform var(--t-med);
}
.svc-card:hover {
  transform: translateY(-3px);
  border-color: var(--c-navy);
  box-shadow: 0 18px 40px -22px rgba(11,18,32,.25);
}
.svc-card:hover::before {
  color: color-mix(in srgb, var(--accent, var(--c-orange)) 10%, var(--c-bg-alt));
  transform: scale(1.06) translateY(-4px);
}
.svc-num {
  font-family: var(--font-mono); font-size: 11px; font-weight: 700;
  color: var(--accent, var(--c-orange));
  letter-spacing: .18em; text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 10px;
}
.svc-num::before {
  content: ""; width: 24px; height: 1px;
  background: var(--accent, var(--c-orange));
}
.svc-icon {
  margin: 26px 0 22px;
  width: 56px; height: 56px;
  border-radius: 14px;
  background: color-mix(in srgb, var(--accent, var(--c-orange)) 12%, #fff);
  color: var(--accent, var(--c-orange));
  display: grid; place-items: center;
  transition: background 280ms cubic-bezier(.2,.8,.2,1),
              transform 280ms cubic-bezier(.2,.8,.2,1),
              box-shadow 280ms cubic-bezier(.2,.8,.2,1);
}
.svc-icon svg {
  transform-origin: center;
  animation: svcIconBreathe 2.8s ease-in-out infinite;
  transition: transform 280ms cubic-bezier(.2,.8,.2,1);
}
@keyframes svcIconBreathe {
  0%, 100% { transform: scale(1) rotate(0); }
  50%      { transform: scale(1.07) rotate(2deg); }
}
/* Stagger so the 4 icons don't pulse in unison */
.services-grid > .svc-card:nth-child(2) .svc-icon svg { animation-delay: -.7s; }
.services-grid > .svc-card:nth-child(3) .svc-icon svg { animation-delay: -1.4s; }
.services-grid > .svc-card:nth-child(4) .svc-icon svg { animation-delay: -2.1s; }
/* Hover: card lift, icon goes solid accent w/ white glyph, stop breathe */
.svc-card:hover .svc-icon {
  background: var(--accent, var(--c-orange));
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px -10px color-mix(in srgb, var(--accent, var(--c-orange)) 55%, transparent);
}
.svc-card:hover .svc-icon svg,
.svc-card:hover .svc-icon i {
  animation: none;
  transform: scale(1.16) rotate(-8deg);
}
.svc-card--hero:hover .svc-icon svg { transform: scale(1.1) rotate(-4deg); }

.svc-card h3 { color: var(--c-navy); margin: 0 0 10px; font-size: 1.25rem; line-height: 1.25; }
.svc-card p { color: var(--c-text-2); font-size: 14.5px; flex: 1; margin-bottom: 22px; line-height: 1.55; }
.svc-tags { display: flex; gap: 0; flex-wrap: wrap; margin-bottom: 22px; border-top: 1px solid var(--c-line); padding-top: 16px; }
.svc-tag {
  font-family: var(--font-mono); font-size: 10.5px; font-weight: 600;
  text-transform: uppercase; letter-spacing: .12em;
  color: var(--c-text-2);
  padding: 0 12px 0 0; margin-right: 12px;
  border-right: 1px solid var(--c-line);
  line-height: 1;
}
.svc-tag:last-child { border-right: none; padding-right: 0; margin-right: 0; }
.svc-link {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--c-navy); font-weight: 700; font-size: 14px; margin-top: auto;
  padding-top: 16px; border-top: 1px solid var(--c-line);
}
/* Stretched link pattern: link's ::before is absolutely positioned to fill
   the .svc-card (nearest positioned ancestor). Click anywhere on the card
   triggers navigation. Link itself stays position:static so ::before scopes
   to the card, not to the link bounds. */
.svc-link::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}
.svc-card { cursor: pointer; }
.svc-link svg { transition: transform var(--t-fast); position: relative; z-index: 2; }
.svc-card:hover .svc-link { color: var(--accent, var(--c-orange)); }
.svc-card:hover .svc-link svg { transform: translateX(4px); }

.svc-card--hero {
  grid-column: span 12;
  padding: 56px;
  background: linear-gradient(135deg, var(--c-navy), var(--c-navy-2));
  color: #fff; border: none; cursor: default;
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: center;
}
.svc-card--hero:hover { transform: none; box-shadow: var(--shadow-md); }
.svc-card--hero::before { display: none; }
.svc-card--hero::after {
  content: ""; position: absolute; right: -120px; top: -120px;
  width: 460px; height: 460px;
  background: radial-gradient(circle, rgba(232,93,60,.32), transparent 60%);
  pointer-events: none;
}
.svc-card--hero .svc-num { color: rgba(255,255,255,.55); }
.svc-card--hero .svc-icon {
  background: rgba(232,93,60,.18); color: #fff;
  width: 64px; height: 64px;
}
.svc-card--hero h3 { color: #fff; font-size: 1.85rem; line-height: 1.2; margin-bottom: 14px; }
.svc-card--hero p { color: rgba(255,255,255,.78); font-size: 16px; max-width: 480px; }
.svc-card--hero .svc-link { color: #fff; }
.svc-card--hero .hero-side {
  position: relative; z-index: 1;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius); padding: 26px;
}
.svc-card--hero .hero-side h4 {
  color: #fff; font-size: .92rem; margin: 0 0 16px;
  font-family: var(--font-mono); font-weight: 600;
  text-transform: uppercase; letter-spacing: .14em;
}
.svc-card--hero .hero-side ul li {
  display: flex; gap: 12px; align-items: flex-start;
  color: rgba(255,255,255,.85); font-size: 14.5px; padding: 8px 0;
}
.svc-card--hero .hero-side ul li::before {
  content: ""; flex: 0 0 6px; width: 6px; height: 6px; margin-top: 9px;
  border-radius: 50%; background: var(--c-orange);
}

@media (max-width: 960px) {
  .svc-card { grid-column: span 6; }
  .svc-card--hero { grid-column: span 12; grid-template-columns: 1fr; padding: 40px 32px; }
}
@media (max-width: 600px) {
  .svc-card { grid-column: span 12; text-align: center; }
  .svc-card .svc-num { justify-content: center; }
  .svc-card .svc-icon { margin-left: auto; margin-right: auto; }
  .svc-card .svc-link { justify-content: center; }
  .svc-card--hero { text-align: left; }
  .svc-card--hero .svc-icon { margin-left: 0; margin-right: 0; }
  .svc-card--hero .svc-num,
  .svc-card--hero .svc-link { justify-content: flex-start; }
}

/* ---- Process strip ---- */
.process {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  position: relative; counter-reset: pcount;
}
.process::before {
  content: ""; position: absolute; left: 8%; right: 8%; top: 32px;
  height: 1px; background: repeating-linear-gradient(90deg, var(--c-line-2) 0, var(--c-line-2) 6px, transparent 6px, transparent 12px);
  z-index: 0;
}
.process-step { position: relative; z-index: 1; padding: 0 4px; }
.process-step .num {
  width: 64px; height: 64px; border-radius: 50%;
  background: #fff; border: 1.5px solid var(--c-line-2);
  display: grid; place-items: center;
  font-family: var(--font-mono); font-weight: 700;
  color: var(--c-orange); font-size: 18px;
  margin-bottom: 22px;
}
.process-step:nth-child(1) .num { border-color: var(--c-orange); }
.process-step h4 { font-size: 1.05rem; margin-bottom: 8px; color: var(--c-navy); }
.process-step p { font-size: 14.5px; line-height: 1.55; margin: 0; }

@media (max-width: 760px) {
  .process { grid-template-columns: 1fr 1fr; }
  .process::before { display: none; }
  .process-step { text-align: center; }
  .process-step .num { margin-left: auto; margin-right: auto; margin-bottom: 14px; }
}

/* ---- Why Bulcom (split) ---- */
.why {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px;
  align-items: stretch;
}
.why-points { display: flex; flex-direction: column; gap: 4px; }
.why-point {
  display: grid; grid-template-columns: 56px 1fr; gap: 22px;
  align-items: start;
  padding: 22px 0; border-top: 1px solid var(--c-line);
}
.why-point:last-child { border-bottom: 1px solid var(--c-line); }
.why-point .ic {
  width: 56px; height: 56px; border-radius: 14px;
  background: var(--c-bg-alt); color: var(--c-orange);
  display: grid; place-items: center;
}
.why-point h4 { margin: 4px 0 6px; font-size: 1.1rem; }
.why-point p { font-size: 14.5px; margin: 0; }

.why-visual {
  position: relative; min-height: 100%; align-self: stretch;
  background: linear-gradient(180deg, #fff, var(--c-bg-alt));
  border-radius: var(--radius-lg); border: 1px solid var(--c-line);
  padding: 36px; overflow: hidden;
}
.why-visual::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--c-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--c-line) 1px, transparent 1px);
  background-size: 32px 32px; opacity: .6;
  -webkit-mask-image: radial-gradient(ellipse at 50% 40%, #000 30%, transparent 80%);
          mask-image: radial-gradient(ellipse at 50% 40%, #000 30%, transparent 80%);
}
.why-visual .stat {
  position: absolute; background: #fff;
  border: 1px solid var(--c-line); border-radius: var(--radius);
  padding: 18px 22px; box-shadow: var(--shadow-md);
}
.why-visual .stat .v {
  font-family: var(--font-display); font-size: 44px; font-weight: 800;
  color: var(--c-navy); line-height: 1; letter-spacing: -.03em;
}
.why-visual .stat .v em {
  font-style: normal; color: var(--c-orange);
}
.why-visual .stat .l {
  font-family: var(--font-mono); font-size: 11px;
  color: var(--c-text-2); text-transform: uppercase; letter-spacing: .12em;
  margin-top: 6px;
}
.why-visual .stat-1 { left: 6%; top: 8%; }
.why-visual .stat-2 { right: 8%; top: 32%; background: var(--c-navy); border: 0; }
.why-visual .stat-2 .v, .why-visual .stat-2 .v em { color: #fff; }
.why-visual .stat-2 .v em { color: var(--c-orange-2); }
.why-visual .stat-2 .l { color: rgba(255,255,255,.6); }
.why-visual .stat-3 { left: 12%; bottom: 10%; }
.why-visual .stat-4 { right: 6%; bottom: 22%; background: var(--c-orange); border: 0; }
.why-visual .stat-4 .v { color: #fff; }
.why-visual .stat-4 .l { color: rgba(255,255,255,.85); }
.why-visual .stat-5 { left: 38%; top: 50%; transform: translate(-50%, -50%); max-width: 220px; }
.why-visual .stat-5 .v { font-size: 24px; line-height: 1.15; }
.why-visual .stat-6 { left: 50%; top: 4%; transform: translateX(-50%); background: var(--c-teal); border: 0; max-width: 230px; }
.why-visual .stat-6 .v { color: #fff; font-size: 22px; line-height: 1.15; }
.why-visual .stat-6 .v em { color: rgba(255,255,255,.85); }
.why-visual .stat-6 .l { color: rgba(255,255,255,.85); }

@media (max-width: 900px) {
  .why { grid-template-columns: 1fr; gap: 44px; align-items: stretch; }
  .why-visual { min-height: 0; aspect-ratio: 16/12; }
}

/* ---- Trust / certificates strip ---- */
.cert-strip { padding: 64px 0; background: #fff; border-top: 1px solid var(--c-line); border-bottom: 1px solid var(--c-line); }
.cert-strip-head { text-align: center; margin-bottom: 36px; }
.cert-strip-head .eyebrow { justify-content: center; }
.cert-strip-head h3 { font-size: 1.5rem; margin: 12px 0 0; }
.cert-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 18px;
}
.cert-card {
  aspect-ratio: 4/3; border: 1px solid var(--c-line); border-radius: var(--radius);
  background: #fff; overflow: hidden; position: relative;
  padding: 10px;
  transition: transform var(--t-fast), box-shadow var(--t-fast);
  display: block;
}
.cert-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.cert-card .cert-thumb {
  width: 100%; height: 100%; object-fit: contain; display: block;
}

/* ---- CTA band (blueprint) ---- */
.cta-band {
  position: relative; isolation: isolate;
  background: #0a1628; color: #fff;
  padding: 110px 0 116px; overflow: hidden;
  border-top: 1px solid rgba(232,93,60,.28);
}
.cta-band::before {
  content: ""; position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 50%, #000 30%, transparent 92%);
          mask-image: radial-gradient(ellipse 90% 80% at 50% 50%, #000 30%, transparent 92%);
}
.cta-band::after {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  left: -6%; top: 18%; width: 540px; height: 380px;
  background: radial-gradient(ellipse at center, rgba(232,93,60,.55), transparent 65%);
  filter: blur(90px); opacity: .9;
}
.cta-band .container { position: relative; }
.cta-band .container::before, .cta-band .container::after {
  content: ""; position: absolute;
  width: 32px; height: 32px;
  border: 1.5px solid var(--c-orange);
  pointer-events: none; opacity: .85;
}
.cta-band .container::before { top: -38px; left: 24px; border-right: 0; border-bottom: 0; }
.cta-band .container::after  { bottom: -42px; right: 24px; border-left: 0; border-top: 0; }
.cta-band-inner {
  position: relative;
  display: grid; grid-template-columns: 1.4fr auto;
  gap: 56px; align-items: end;
}
.cta-band .eyebrow { color: var(--c-orange); }
.cta-band .eyebrow::before { background: var(--c-orange); }
.cta-band h2 {
  color: #fff; margin: 18px 0 0;
  font-size: clamp(2rem, 4.4vw, 3.1rem); font-weight: 800; line-height: 1.05; letter-spacing: -.025em;
}
.cta-band p { color: rgba(255,255,255,.68); font-size: 16.5px; line-height: 1.6; margin: 18px 0 0; max-width: 560px; }
.cta-band .btn {
  position: relative; overflow: hidden; isolation: isolate;
  background: transparent; color: #fff;
  border: 1.5px solid rgba(255,255,255,.28);
  padding: 18px 32px; font-size: 15px;
  transition: border-color var(--t-fast), color var(--t-fast), transform var(--t-fast);
}
.cta-band .btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--c-orange);
  transform: translateX(-101%); transform-origin: left;
  transition: transform .42s cubic-bezier(.4,0,.2,1);
}
.cta-band .btn:hover { border-color: var(--c-orange); transform: translateY(-1px); }
.cta-band .btn:hover::before { transform: translateX(0); }

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

/* ---- Footer ---- */
.site-footer { background: var(--c-navy); color: rgba(255,255,255,.82); }
.footer-grid {
  padding: 88px 0 56px;
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 52px;
}
.footer-col h4 {
  color: #fff; font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .14em; margin-bottom: 22px;
  font-family: var(--font-mono);
}
.footer-col a, .footer-col li {
  color: rgba(255,255,255,.7); display: block; padding: 1px 0; font-size: 14px; line-height: 1.5;
}
.footer-col a:hover { color: var(--c-orange-2); }
.footer-col .muted { color: rgba(255,255,255,.55); font-size: 14px; margin: 14px 0 0; max-width: 320px; line-height: 1.6; }
.footer-bottom {
  padding: 26px 0; border-top: 1px solid rgba(255,255,255,.08);
  font-size: 13px; color: rgba(255,255,255,.55);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.footer-bottom .powered a { color: rgba(255,255,255,.75); font-family: var(--font-mono); font-size: 12px; }
.footer-bottom .powered a:hover { color: var(--c-orange-2); }

@media (max-width: 800px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ---- WhatsApp float (left) + Scroll-to-top (right) ---- */
.wa-float {
  position: fixed; left: 22px; bottom: 22px; z-index: 70;
  width: 52px; height: 52px; border-radius: 50%;
  background: #25D366; color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 10px 28px rgba(37,211,102,.38), 0 2px 6px rgba(15,30,61,.18);
  transition: transform var(--t-fast), box-shadow var(--t-fast);
}
.wa-float svg { width: 24px; height: 24px; }
.wa-float:hover { color: #fff; transform: translateY(-2px) scale(1.05); }

.scroll-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 70;
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--c-navy); color: #fff;
  display: grid; place-items: center;
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 10px 28px rgba(15,30,61,.3), 0 2px 6px rgba(15,30,61,.18);
  cursor: pointer;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity 240ms cubic-bezier(.2,.8,.2,1),
              transform 240ms cubic-bezier(.2,.8,.2,1),
              background 240ms cubic-bezier(.2,.8,.2,1),
              visibility 0s linear 240ms;
}
.scroll-top.is-visible {
  opacity: 1; visibility: visible; transform: translateY(0);
  transition-delay: 0s;
}
.scroll-top:hover { background: var(--c-orange); transform: translateY(-2px) scale(1.05); }
.scroll-top svg { transition: transform var(--t-fast); }
.scroll-top:hover svg { transform: translateY(-2px); }
.wa-float::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(37,211,102,.45); animation: wa-pulse 2.2s infinite;
}
@keyframes wa-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(37,211,102,.5); }
  70%  { box-shadow: 0 0 0 18px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

/* ---- Page hero (non-home) ---- */
.page-hero {
  padding: 80px 0 64px;
  background: linear-gradient(180deg, var(--c-bg-alt), #fff);
  border-bottom: 1px solid var(--c-line);
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(var(--c-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--c-line) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse at 70% 30%, #000 12%, transparent 70%);
          mask-image: radial-gradient(ellipse at 70% 30%, #000 12%, transparent 70%);
  opacity: .4;
}
.page-hero .container { position: relative; }
.page-hero .crumbs { font-size: 13px; color: var(--c-text-2); margin-bottom: 18px; font-family: var(--font-mono); }
.page-hero .crumbs a { color: var(--c-text-2); }
.page-hero .crumbs a:hover { color: var(--c-orange-dark); }
.page-hero .crumbs span.sep { color: var(--c-line-2); margin: 0 8px; }
.page-hero h1 { margin: 8px 0 14px; max-width: 860px; }
.page-hero h1 em {
  font-style: normal; color: var(--c-orange);
  background: linear-gradient(180deg, transparent 64%, rgba(232,93,60,.18) 64%);
  padding: 0 4px;
}
.page-hero .lead { font-size: 1.1rem; max-width: 640px; color: var(--c-text-2); }
.page-hero .meta {
  display: flex; gap: 32px; flex-wrap: wrap; margin-top: 36px;
  padding-top: 24px; border-top: 1px solid var(--c-line);
  font-family: var(--font-mono); font-size: 13px; color: var(--c-text-2);
}
.page-hero .meta b { color: var(--c-navy); font-family: var(--font-display); font-weight: 700; }

/* ---- Service detail ---- */
.svc-detail { display: grid; grid-template-columns: 1fr 360px; gap: 56px; align-items: start; }
.svc-content h2 { margin: 36px 0 14px; font-size: 1.6rem; }
.svc-content h2:first-child { margin-top: 0; }
.svc-content ul { margin: 0 0 1.4em; padding: 0; }
.svc-content ul li {
  position: relative; padding: 8px 0 8px 28px;
  color: var(--c-text); border-bottom: 1px dashed var(--c-line);
}
.svc-content ul li:last-child { border-bottom: 0; }
.svc-content ul li::before {
  content: ""; position: absolute; left: 0; top: 16px;
  width: 12px; height: 12px; border-radius: 3px;
  background: var(--c-orange);
}
.svc-features {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
  margin-top: 36px;
}
.svc-feature {
  padding: 22px; border: 1px solid var(--c-line); border-radius: var(--radius);
  background: #fff;
}
.svc-feature .ic {
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--c-bg-alt); color: var(--c-orange);
  display: grid; place-items: center; margin-bottom: 14px;
}
.svc-feature h4 { font-size: 1rem; margin-bottom: 6px; }
.svc-feature p { font-size: 14px; margin: 0; line-height: 1.55; }

.svc-aside {
  position: sticky; top: 104px;
  background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius);
  padding: 32px 30px; box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.svc-aside::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0;
  height: 3px; background: var(--c-orange);
}
.svc-aside { position: sticky; top: 104px; }
.svc-aside .eyebrow { display: block; margin-bottom: 14px; }
.svc-aside h3 {
  font-family: var(--font-display); font-weight: 800;
  font-size: 1.45rem; line-height: 1.2; letter-spacing: -.02em;
  color: var(--c-navy); margin-bottom: 14px;
}
.svc-aside-lead {
  color: var(--c-text-2); font-size: 14.5px; line-height: 1.55;
  margin-bottom: 22px;
}
.svc-aside-actions { display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; }
.svc-aside-actions .btn { width: 100%; justify-content: center; }
.svc-aside-actions .btn svg { width: 16px; height: 16px; }

.svc-aside-list { padding-top: 22px; border-top: 1px solid var(--c-line); }
.svc-aside-list li {
  display: grid; grid-template-columns: 22px 1fr auto; align-items: center;
  gap: 10px; padding: 10px 0;
  font-size: 14px;
  border-bottom: 1px dashed var(--c-line);
}
.svc-aside-list li:last-child { border-bottom: 0; }
.svc-aside-list li .ic {
  display: grid; place-items: center;
  width: 22px; height: 22px; border-radius: 50%;
  background: color-mix(in srgb, var(--c-teal) 15%, #fff);
  color: var(--c-teal);
}
.svc-aside-list li .t { color: var(--c-text-2); }
.svc-aside-list li b { color: var(--c-navy); font-family: var(--font-mono); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }

.svc-aside-foot {
  margin-top: 22px; padding-top: 18px;
  border-top: 1px solid var(--c-line);
  display: flex; justify-content: space-between; align-items: baseline;
}
.svc-aside-foot .lbl {
  font-family: var(--font-mono); font-size: 11px;
  text-transform: uppercase; letter-spacing: .12em;
  color: var(--c-text-2);
}
.svc-aside-foot .val {
  font-family: var(--font-display); font-weight: 800;
  font-size: 1.05rem; color: var(--c-navy); letter-spacing: -.01em;
}

@media (max-width: 900px) {
  .svc-detail { grid-template-columns: 1fr; }
  .svc-aside { position: static; }
  .svc-features { grid-template-columns: 1fr; }
}

/* ---- Service list (uslugi page) - modern card grid ---- */
.svc-list-section { padding: 64px 0 96px; }
.svc-list-rows {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
.svc-row {
  --accent: var(--c-orange);
  position: relative; overflow: hidden;
  display: flex; flex-direction: column;
  padding: 36px 32px 28px;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  text-decoration: none;
  color: inherit;
  min-height: 320px;
  transition: transform var(--t-fast), border-color var(--t-fast), box-shadow var(--t-fast);
  isolation: isolate;
}
.svc-row::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0;
  height: 3px; background: var(--accent);
  transform: scaleX(.18); transform-origin: left;
  transition: transform var(--t-base);
}
.svc-row:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--accent) 40%, var(--c-line));
  box-shadow: 0 18px 40px -20px rgba(15,30,61,.18);
}
.svc-row:hover::before { transform: scaleX(1); }

.svc-row-bg {
  position: absolute; right: -40px; top: -20px;
  width: 240px; height: 240px;
  color: var(--accent);
  opacity: .55;
  pointer-events: none;
  z-index: 0;
  transition: transform var(--t-base), opacity var(--t-base);
}
.svc-row-bg svg { width: 100%; height: 100%; display: block; }
.svc-row:hover .svc-row-bg { transform: scale(1.08) rotate(-4deg); opacity: .9; }

.svc-row-head {
  position: relative; z-index: 1;
  display: flex; justify-content: space-between; align-items: flex-start;
  margin-bottom: 22px;
}
.svc-row .num {
  font-family: var(--font-mono); font-weight: 700;
  font-size: 13px; letter-spacing: .12em;
  color: var(--c-text-2);
  padding: 6px 10px; border: 1px solid var(--c-line); border-radius: 999px;
  background: #fff;
}
.svc-row .ic {
  width: 52px; height: 52px; border-radius: 12px;
  display: grid; place-items: center;
  background: color-mix(in srgb, var(--accent) 10%, #fff);
  color: var(--accent);
  border: 1px solid color-mix(in srgb, var(--accent) 18%, transparent);
}
.svc-row .name {
  position: relative; z-index: 1;
  font-family: var(--font-display); font-weight: 800;
  color: var(--c-navy); font-size: 1.55rem;
  line-height: 1.15; letter-spacing: -.02em;
  margin-bottom: 14px;
}
.svc-row .desc {
  position: relative; z-index: 1;
  color: var(--c-text-2); font-size: 14.5px; line-height: 1.55;
  margin-bottom: 22px;
  max-width: 92%;
}
.svc-row .tags {
  position: relative; z-index: 1;
  display: flex; gap: 6px; flex-wrap: wrap;
  margin-bottom: 22px;
}
.svc-row .tags span {
  font-family: var(--font-mono); font-size: 10.5px; font-weight: 600;
  text-transform: uppercase; letter-spacing: .1em;
  padding: 5px 10px; border-radius: 4px;
  background: var(--c-bg-alt); color: var(--c-text-2);
}
.svc-row-foot {
  position: relative; z-index: 1;
  margin-top: auto;
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 18px;
  border-top: 1px solid var(--c-line);
}
.svc-row .cta {
  font-family: var(--font-mono); font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .14em;
  color: var(--c-navy);
}
.svc-row .arrow {
  width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--c-bg-alt); color: var(--c-navy);
  transition: background var(--t-fast), color var(--t-fast), transform var(--t-fast);
}
.svc-row:hover .arrow {
  background: var(--accent); color: #fff;
  transform: translateX(4px);
}

@media (max-width: 900px) {
  .svc-list-rows { grid-template-columns: 1fr; gap: 16px; }
  .svc-row { min-height: 0; padding: 28px 24px 22px; }
  .svc-row .name { font-size: 1.3rem; }
  .svc-row-bg { width: 180px; height: 180px; right: -30px; top: -10px; }
}

/* ---- Certificates page ---- */
.cert-section { padding: 64px 0 96px; }
.cert-section .cert-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.cert-photo {
  display: flex; flex-direction: column; gap: 12px;
  border: 1px solid var(--c-line); border-radius: var(--radius);
  background: #fff; padding: 14px;
  text-decoration: none; color: inherit;
  transition: transform var(--t-fast), box-shadow var(--t-fast), border-color var(--t-fast);
  cursor: pointer;
}
.cert-photo:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--c-orange);
}
.cert-photo .ph {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--c-bg-alt);
  display: block;
}
.cert-photo .ph img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}
.cert-photo .cap {
  display: flex; flex-direction: column; gap: 4px;
  font-family: var(--font-display); font-weight: 700;
  font-size: 14px; color: var(--c-navy); line-height: 1.35;
}
.cert-photo .cap small {
  font-family: var(--font-mono); font-weight: 500;
  font-size: 10.5px; color: var(--c-text-2);
  text-transform: uppercase; letter-spacing: .12em;
}
.cert-brand-block { margin-bottom: 56px; }
.cert-brand-head {
  display: flex; align-items: baseline; gap: 16px;
  margin-bottom: 24px; padding-bottom: 16px;
  border-bottom: 1px solid var(--c-line);
}
.cert-brand-head .ix {
  font-family: var(--font-mono); font-size: 13px; color: var(--c-text-2);
}
.cert-brand-head .name {
  font-family: var(--font-display); font-weight: 800;
  font-size: 1.6rem; color: var(--c-navy); letter-spacing: -.01em;
}
.cert-brand-head .ct {
  font-family: var(--font-mono); font-size: 12px;
  color: var(--c-text-2); margin-left: auto;
  text-transform: uppercase; letter-spacing: .1em;
}

/* ---- Contact ---- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start; }
.contact-info h3 { font-size: 1.5rem; margin-bottom: 18px; }
.contact-info h3 em { font-style: normal; color: var(--c-orange); }
.contact-info .lead { color: var(--c-text-2); margin-bottom: 30px; max-width: 460px; }
.contact-list { margin-top: 30px; }
.contact-list .row {
  display: grid; grid-template-columns: 44px 1fr; gap: 16px;
  padding: 18px 0; border-bottom: 1px solid var(--c-line);
  align-items: center;
}
.contact-list .row:first-child { border-top: 1px solid var(--c-line); }
.contact-list .row:hover { color: inherit; }
.contact-list a.row:hover .val { color: var(--c-orange-dark); }
.contact-list .ic {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--c-bg-alt); color: var(--c-orange);
  display: grid; place-items: center;
}
.contact-list .lbl {
  display: block; font-family: var(--font-mono); font-size: 10.5px;
  color: var(--c-text-2); text-transform: uppercase; letter-spacing: .14em;
  font-weight: 500;
}
.contact-list .val {
  display: block; color: var(--c-navy); font-family: var(--font-display);
  font-size: 17px; font-weight: 700; margin-top: 4px;
  transition: color var(--t-fast);
}
.contact-list .val small { display: block; font-family: var(--font-body); font-weight: 400; font-size: 13px; color: var(--c-text-2); margin-top: 4px; }

.contact-form {
  background: #fff; border: 1px solid var(--c-line);
  border-radius: var(--radius); padding: 36px;
  box-shadow: var(--shadow-sm);
}
.contact-form .eyebrow { margin-bottom: 8px; }
.contact-form h3 { font-size: 1.5rem; margin-bottom: 22px; }
.fg { margin-bottom: 16px; }
.fg.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.fg.row2 .fg { margin-bottom: 0; }
.fg label {
  display: block; font-size: 12px; font-weight: 600;
  color: var(--c-navy); margin-bottom: 6px;
  font-family: var(--font-mono); text-transform: uppercase; letter-spacing: .1em;
}
.fg label .req { color: var(--c-orange); }
.fg input, .fg select, .fg textarea {
  width: 100%; padding: 13px 14px;
  border: 1.5px solid var(--c-line); border-radius: var(--radius-sm);
  background: #fff; font: inherit; color: var(--c-text);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.fg input:focus, .fg select:focus, .fg textarea:focus {
  outline: none; border-color: var(--c-orange);
  box-shadow: 0 0 0 4px rgba(232,93,60,.14);
}
.fg textarea { min-height: 130px; resize: vertical; }
.contact-form .alert {
  padding: 14px 16px; border-radius: var(--radius-sm); margin-bottom: 18px; font-size: 14.5px;
  background: #e8f5ef; color: #1a5b3b; border: 1px solid #bfe3cf;
}
.contact-form .legal {
  font-size: 12px; color: var(--c-text-2); margin: 14px 0 0; line-height: 1.55;
}
.contact-form button.btn { width: 100%; justify-content: center; }

.map-block {
  position: relative; aspect-ratio: 16/6;
  background: linear-gradient(135deg, var(--c-navy), var(--c-navy-2));
  overflow: hidden; border-top: 1px solid var(--c-line);
}
.map-block svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.map-marker {
  position: absolute; left: 52%; top: 50%; transform: translate(-50%, -50%);
  display: flex; align-items: center; gap: 14px;
  background: #fff; padding: 16px 20px; border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}
.map-marker .pin {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--c-orange); color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 0 0 6px rgba(232,93,60,.22);
}
.map-marker .lbl b { display: block; color: var(--c-navy); font-family: var(--font-display); font-weight: 800; font-size: 14px; }
.map-marker .lbl span { display: block; font-size: 12px; color: var(--c-text-2); margin-top: 2px; }

@media (max-width: 800px) {
  .contact-grid { grid-template-columns: 1fr; }
  .map-block { aspect-ratio: 4/3; }
}

/* ---- Reveal animation ---- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s cubic-bezier(.2,.8,.2,1), transform .6s cubic-bezier(.2,.8,.2,1); }
.reveal.is-in { opacity: 1; transform: translateY(0); }

/* ---- Tablet/mobile collapse ---- */
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { width: 100%; max-width: 480px; margin: 0 auto; }
  .site-nav { display: none; }
  .header-inner { grid-template-columns: auto auto auto; }
  /* Phone stays visible on mobile, but icon-only (text hidden).
     Square framed button matching the hamburger so they read as a pair. */
  .header-cta .header-phone {
    width: 42px; height: 42px;
    min-width: 42px; min-height: 42px;
    padding: 0;
    justify-content: center;
    border: 1px solid var(--c-line);
    border-radius: var(--radius-sm);
    background: var(--c-bg-alt);
  }
  .header-cta .header-phone:hover { background: #fde8e2; border-color: var(--c-orange); }
  .header-cta .header-phone span { display: none; }
}
@media (max-width: 720px) {
  .section { padding: 72px 0; }
  .hero { padding: 56px 0 80px; }
  .header-cta .btn { display: none; }
  .header-inner { grid-template-columns: 1fr auto; }
  .hero-meta { grid-template-columns: 1fr; gap: 14px; }
  .cta-band { padding: 80px 0; }
}

/* ============================================================
   Mobile responsive refactor
   - Container queries for components reacting to their own width
   - Viewport queries for layout-level breakpoints
   ============================================================ */

/* ---- Hero visual: stack tiles when component is narrow ---- */
.hero-visual { container-type: inline-size; container-name: hero-vis; }

/* Viewport-based stack on phones (more reliable than @container - Safari
   sometimes ignores container queries on absolutely-positioned children). */
@media (max-width: 720px) {
  .hero-visual {
    aspect-ratio: auto !important;
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: 0;
  }
  .hero-tile {
    position: static !important;
    width: 100% !important;
    height: auto !important;
    transform: none !important;
    margin: 0 !important;
  }
  .hero-tile--main { aspect-ratio: 4/3.4; }
  .hero-tile--orange,
  .hero-tile--white {
    min-height: 96px;
    padding: 22px 22px;
  }
}

/* ---- Why-visual: stack stats on phones (viewport-based to avoid leaking into desktop) ---- */
@media (max-width: 540px) {
  .why-visual {
    aspect-ratio: auto; min-height: 0; align-self: auto;
    padding: 22px;
    display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
    align-items: start;
  }
  .why-visual::before { display: none; }
  .why-visual .stat,
  .why-visual .stat-1, .why-visual .stat-2, .why-visual .stat-3,
  .why-visual .stat-4, .why-visual .stat-5, .why-visual .stat-6 {
    position: static; left: auto; right: auto; top: auto; bottom: auto;
    transform: none; max-width: none; width: auto;
    padding: 16px 18px; animation: none;
  }
  .why-visual .stat .v { font-size: clamp(20px, 5vw, 26px); line-height: 1.1; }
  .why-visual .stat-5,
  .why-visual .stat-6 { grid-column: span 2; }
  .why-visual .stat-5 .v,
  .why-visual .stat-6 .v { font-size: clamp(16px, 4vw, 20px); }
}

/* Even tighter: single column on tiny phones */
@media (max-width: 380px) {
  .why-visual { grid-template-columns: 1fr; }
  .why-visual .stat-5,
  .why-visual .stat-6 { grid-column: auto; }
}

/* ---- Brands strip: stack + center on mobile ---- */
@media (max-width: 720px) {
  .brands { padding: 28px 0; }
  .brands-inner {
    flex-direction: column; gap: 16px;
    align-items: center; text-align: center; justify-content: center;
  }
  .brands-list {
    gap: 18px 22px; justify-content: center;
    flex: 0 1 auto; flex-wrap: wrap;
  }
  .brands-list .brand-name { font-size: 15px; }
}

/* ---- Footer: center content when single column ---- */
@media (max-width: 480px) {
  .footer-grid { gap: 42px; text-align: center; padding: 96px 0 40px; }
  .footer-col .logo { justify-content: center; margin-top: 8px; }
  .footer-col .muted { margin-left: auto; margin-right: auto; }
  .footer-col ul { padding: 0; }
  .footer-col a, .footer-col li { padding: 2px 0; }
  .footer-bottom {
    flex-direction: column; align-items: center;
    text-align: center; gap: 8px;
  }
}

/* ---- Phones (<= 480px): breathing room + tap targets ---- */
@media (max-width: 480px) {
  /* tighter container so content doesn't kiss the screen edge */
  .container { padding: 0 18px; }

  /* less vertical waste on small viewports */
  .section { padding: 60px 0; }
  .hero { padding: 44px 0 64px; }
  .page-hero { padding: 56px 0 44px; }
  .cta-band { padding: 68px 0 72px; }
  .cert-strip { padding: 56px 0; }
  .svc-list-section,
  .cert-section { padding: 48px 0 72px; }

  /* hero typography */
  .hero p.lead { font-size: 1.05rem; }
  .hero-cta { gap: 10px; flex-direction: column; align-items: stretch; }
  .hero-cta .btn { width: 100%; justify-content: center; }
  .hero-meta { margin-top: 32px; padding-top: 22px; gap: 12px; }
  .hero-meta-item { gap: 4px; }

  /* page hero meta items */
  .page-hero .meta { gap: 10px 14px; flex-wrap: wrap; font-size: 13px; }
  .section-head { margin-bottom: 36px; }

  /* logo smaller */
  .logo img { height: 44px; }
  .header-inner { gap: 14px; min-height: 68px; }

  /* form 2-col rows stack */
  .fg.row2 { grid-template-columns: 1fr; gap: 0; }
  .fg.row2 .fg { margin-bottom: 16px; }
  .contact-form { padding: 24px 20px; }

  /* contact-info breathing */
  .contact-list .row { padding: 14px 0; gap: 14px; grid-template-columns: 40px 1fr; }
  .contact-list .ic { width: 40px; height: 40px; }

  /* svc-card mobile padding */
  .svc-card { padding: 28px 24px 24px; }
  .svc-card--hero { padding: 32px 24px; }

  /* svc-row mobile padding */
  .svc-row { padding: 26px 22px 20px; min-height: 0; }
  .svc-row .name { font-size: 1.25rem; margin-bottom: 12px; }

  /* svc-detail content */
  .svc-content { padding-right: 0; }
  .svc-aside { padding: 24px; }

  /* about-full slight breathing */
  .about-full p { font-size: 1rem; line-height: 1.65; }

  /* cta-band corner brackets are decorative; hide for cleaner mobile */
  .cta-band .container::before,
  .cta-band .container::after { display: none; }
  .cta-band h2 { line-height: 1.18; }

  /* lightbox: usable on small screens */
  .lightbox { padding: 16px; }
  .lightbox-close { top: 12px; right: 14px; width: 40px; height: 40px; font-size: 24px; }
  .lightbox-nav { width: 44px; height: 44px; font-size: 26px; }
  .lightbox-prev { left: 8px; }
  .lightbox-next { right: 8px; }
  .lightbox-image { max-height: 70vh; }

  /* Floats: avoid covering content */
  .wa-float { left: 16px; bottom: 16px; width: 48px; height: 48px; }
  .wa-float svg { width: 22px; height: 22px; }
  .scroll-top { right: 16px; bottom: 16px; width: 46px; height: 46px; }

  /* footer bottom: smaller font */
  .footer-bottom { padding: 18px 0; font-size: 12.5px; }

  /* reveal: smaller pop to avoid jumpy feel on touch scroll */
  .reveal { transform: translateY(10px); }
}

/* ---- Tiny phones (<= 360px): even tighter ---- */
@media (max-width: 360px) {
  .container { padding: 0 14px; }
  .section { padding: 48px 0; }
  .hero { padding: 36px 0 56px; }
  .logo img { height: 40px; }
  .nav-toggle { width: 44px; height: 44px; }
  .svc-card { padding: 24px 20px 20px; }
  .svc-row { padding: 22px 18px 18px; }
}
