/* ============================================================
   KROVEX ЗАХІД — Design System
   Dark · Industrial · Premium · Technological
   ============================================================ */

/* Шрифти підключаються у <head> через <link> з preconnect,
   щоб не блокувати рендер ланцюжком @import.
   Fallback-шрифти з підігнаними метриками — щоб при підміні
   на Google-шрифт текст не «стрибав» (нульовий CLS). */
@font-face {
  font-family: 'Space Grotesk Fallback';
  src: local('Arial');
  ascent-override: 95.83%;
  descent-override: 25.82%;
  line-gap-override: 0%;
  size-adjust: 103.41%;
}
@font-face {
  font-family: 'Manrope Fallback';
  src: local('Arial');
  ascent-override: 97.55%;
  descent-override: 26.66%;
  line-gap-override: 0%;
  size-adjust: 100.92%;
}

:root {
  /* ===== Sky palette (default) — tones taken from the hero sky ===== */
  --bg:          #DDEDFA;
  --surface:     #FFFFFF;
  --surface-2:   #EFF5FC;
  --surface-3:   #E4EFFA;
  --surface-4:   #D3E5F6;

  --steel:       #5A6B7E;
  --steel-dim:   #8A97A8;
  --chrome:      #2A5885;
  --text:        #1C2A3A;
  --muted:       #56657A;
  --faint:       #8E9CAD;

  --accent:      #5181B8;
  --accent-2:    #6A93C4;
  --accent-3:    #4A76A8;
  --accent-deep: #2A5885;
  --glow:        rgba(81, 129, 184, 0.30);

  --hair:        rgba(42, 62, 90, 0.10);
  --hair-2:      rgba(42, 62, 90, 0.16);

  /* Header (VK: solid frosted blue bar) */
  --header-bg:      rgba(81, 129, 184, 0.82);
  --header-fg:      #FFFFFF;
  --header-fg-dim:  rgba(255, 255, 255, 0.74);
  --header-line:    rgba(255, 255, 255, 0.16);
  --header-cta-bg:  #FFFFFF;
  --header-cta-fg:  #2A5885;

  /* Media / overlay surfaces (VK: LIGHT imagery) */
  --ph-bg:          #DCE4EE;
  --ph-stripe:      rgba(74, 118, 168, 0.07);
  --ph-fg:          #8493A6;
  --on-media:       #1C2A3A;
  --on-media-dim:   #46566A;
  --on-media-line:  rgba(28, 42, 58, 0.26);
  --on-media-soft:  rgba(28, 42, 58, 0.06);
  --card-shade:     linear-gradient(180deg, rgba(255,255,255,0) 30%, rgba(255,255,255,0.5) 62%, rgba(255,255,255,0.96) 100%);
  --hero-scrim:     linear-gradient(180deg, rgba(240,244,249,0.12) 0%, rgba(240,244,249,0.48) 46%, rgba(235,240,246,0.94) 100%);
  --bar-bg:         rgba(255, 255, 255, 0.82);
  --bar-fg:         #1C2A3A;
  --bar-fg-dim:     #56657A;
  --media-chip-bg:  rgba(255, 255, 255, 0.8);
  --map-bg:         radial-gradient(120% 120% at 30% 20%, #F2F6FA, #E1EAF2 72%);
  --map-grid:       rgba(74, 118, 168, 0.13);
  --map-line:       rgba(74, 118, 168, 0.30);
  --map-city:       #5A6B7E;
  --map-badge-bg:   rgba(255, 255, 255, 0.9);
  --map-badge-fg:   #1C2A3A;
  --map-note:       rgba(42, 62, 90, 0.45);

  /* Geometry */
  --maxw: 1280px;
  --gut: clamp(20px, 4vw, 56px);
  --radius: 4px;
  --r-lg: 6px;

  --ff-display: 'Space Grotesk', 'Space Grotesk Fallback', system-ui, sans-serif;
  --ff-body:    'Manrope', 'Manrope Fallback', system-ui, sans-serif;
  --ff-mono:    'JetBrains Mono', ui-monospace, monospace;

  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* ===== "Небо" — bright sky theme (dark imagery) ===== */
:root[data-theme="sky"] {
  --bg:          #E6EFF8;
  --surface:     #FFFFFF;
  --surface-2:   #F1F6FC;
  --surface-3:   #E8F1F9;
  --surface-4:   #D9E6F3;
  --steel:       #5C6B7C;
  --steel-dim:   #7C8B9C;
  --chrome:      #16243A;
  --text:        #13233A;
  --muted:       #52647A;
  --faint:       #92A2B3;
  --accent:      #2563EB;
  --accent-2:    #3B82F6;
  --accent-3:    #2D6CE0;
  --accent-deep: #1E40AF;
  --glow:        rgba(37, 99, 235, 0.32);
  --hair:        rgba(19, 35, 58, 0.10);
  --hair-2:      rgba(19, 35, 58, 0.17);

  --header-bg:     transparent;
  --header-fg:     #13233A;
  --header-fg-dim: #52647A;
  --header-line:   transparent;
  --header-cta-bg: #2563EB;
  --header-cta-fg: #FFFFFF;

  --ph-bg:         #11161C;
  --ph-stripe:     rgba(148, 163, 184, 0.06);
  --ph-fg:         #5E6B78;
  --on-media:      #FFFFFF;
  --on-media-dim:  rgba(255, 255, 255, 0.78);
  --on-media-line: rgba(255, 255, 255, 0.32);
  --on-media-soft: rgba(255, 255, 255, 0.10);
  --card-shade:    linear-gradient(180deg, rgba(11,14,17,0) 35%, rgba(11,14,17,0.55) 70%, rgba(11,14,17,0.95) 100%);
  --hero-scrim:    linear-gradient(180deg, rgba(11,14,17,0.6) 0%, rgba(11,14,17,0.3) 34%, rgba(11,14,17,0.86) 100%);
  --bar-bg:        rgba(11, 14, 17, 0.55);
  --bar-fg:        #FFFFFF;
  --bar-fg-dim:    rgba(255, 255, 255, 0.66);
  --media-chip-bg: rgba(11, 14, 17, 0.5);
  --map-bg:        radial-gradient(120% 120% at 30% 20%, #18222c, #0d1318 70%);
  --map-grid:      rgba(148, 163, 184, 0.08);
  --map-line:      rgba(148, 163, 184, 0.35);
  --map-city:      #A6B8CC;
  --map-badge-bg:  rgba(11, 14, 17, 0.78);
  --map-badge-fg:  #FFFFFF;
  --map-note:      rgba(255, 255, 255, 0.45);
}
:root[data-theme="sky"] body { background-image: linear-gradient(178deg, #ECF4FC 0%, #DBEAF7 52%, #C9DEF1 100%); }

/* ===== "Темна" — premium anthracite theme (dark imagery) ===== */
:root[data-theme="dark"] {
  --bg:          #0B0E11;
  --surface:     #12161A;
  --surface-2:   #1A2026;
  --surface-3:   #222B33;
  --surface-4:   #2B353F;
  --steel:       #94A3B8;
  --steel-dim:   #64748B;
  --chrome:      #E2E8F0;
  --text:        #EAF0F6;
  --muted:       #9AA8B6;
  --faint:       #5E6B78;
  --accent:      #2563EB;
  --accent-2:    #3B82F6;
  --accent-3:    #60A5FA;
  --accent-deep: #1E40AF;
  --glow:        rgba(37, 99, 235, 0.55);
  --hair:        rgba(148, 163, 184, 0.13);
  --hair-2:      rgba(148, 163, 184, 0.22);

  --header-bg:     transparent;
  --header-fg:     #EAF0F6;
  --header-fg-dim: #9AA8B6;
  --header-line:   transparent;
  --header-cta-bg: #2563EB;
  --header-cta-fg: #FFFFFF;

  --ph-bg:         #0c1218;
  --ph-stripe:     rgba(148, 163, 184, 0.05);
  --ph-fg:         #5E6B78;
  --on-media:      #FFFFFF;
  --on-media-dim:  rgba(255, 255, 255, 0.78);
  --on-media-line: rgba(255, 255, 255, 0.32);
  --on-media-soft: rgba(255, 255, 255, 0.10);
  --card-shade:    linear-gradient(180deg, rgba(8,11,14,0) 35%, rgba(8,11,14,0.6) 70%, rgba(8,11,14,0.96) 100%);
  --hero-scrim:    linear-gradient(180deg, rgba(8,11,14,0.6) 0%, rgba(8,11,14,0.32) 34%, rgba(8,11,14,0.9) 100%);
  --bar-bg:        rgba(8, 11, 14, 0.6);
  --bar-fg:        #FFFFFF;
  --bar-fg-dim:    rgba(255, 255, 255, 0.66);
  --media-chip-bg: rgba(8, 11, 14, 0.55);
  --map-bg:        radial-gradient(120% 120% at 30% 20%, #18222c, #0d1318 70%);
  --map-grid:      rgba(148, 163, 184, 0.08);
  --map-line:      rgba(148, 163, 184, 0.35);
  --map-city:      #A6B8CC;
  --map-badge-bg:  rgba(8, 11, 14, 0.78);
  --map-badge-fg:  #FFFFFF;
  --map-note:      rgba(255, 255, 255, 0.45);
}
:root[data-theme="dark"] body { background-image: none; }

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

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

body {
  background-color: var(--bg);
  background-image: linear-gradient(180deg, #EFF7FD 0%, #DDEDFA 46%, #C6DEF3 100%);
  background-attachment: fixed;
  color: var(--text);
  font-family: var(--ff-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  overflow-x: clip;
}
:root[data-theme="dark"] body { background-image: none; }

/* Subtle technical grid underlay on the page bg */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(var(--hair) 1px, transparent 1px),
    linear-gradient(90deg, var(--hair) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 0%, transparent 75%);
          mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 0%, transparent 75%);
  opacity: 0.5;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

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

/* ---------- Layout primitives ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gut); }
.section { position: relative; z-index: 1; padding-block: clamp(64px, 9vw, 132px); }
.section--tight { padding-block: clamp(48px, 6vw, 88px); }

/* ---------- Typography ---------- */
.kicker {
  font-family: var(--ff-mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-3);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.kicker::before {
  content: '';
  width: 22px; height: 1px;
  background: var(--accent);
  box-shadow: 0 0 8px var(--glow);
}

h1, h2, h3, h4 { font-family: var(--ff-display); font-weight: 700; line-height: 1.04; letter-spacing: -0.02em; }

.display {
  font-size: clamp(40px, 7vw, 92px);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.03em;
}
.h-sec {
  font-size: clamp(30px, 4.4vw, 56px);
  letter-spacing: -0.025em;
}
.lead { font-size: clamp(17px, 1.5vw, 21px); color: var(--muted); line-height: 1.65; max-width: 60ch; }

/* Chrome / steel text treatment — echoes the logo lettering */
.chrome {
  background: linear-gradient(110deg, var(--accent) 0%, var(--accent-deep) 52%, var(--accent-2) 100%);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  filter: drop-shadow(0 1px 0 rgba(255,255,255,0.5));
}
:root[data-theme="dark"] .chrome {
  background: linear-gradient(176deg, #ffffff 0%, #cdd7e3 22%, #8b99a8 48%, #f1f5f9 52%, #7d8b9b 74%, #c3cedb 100%);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 1px 0 rgba(0,0,0,0.5));
}
.accent-txt { color: var(--accent-3); }

/* Анімовані лічильники: рівноширокі цифри (без «стрибків» розкладки) */
.statcell .n, .metric .n { font-variant-numeric: tabular-nums; font-feature-settings: "tnum" 1; }

/* ---------- Buttons ---------- */
.btn {
  /* --accent-3 (темніший) замість --accent: білий текст 4.72:1 — проходить WCAG AA */
  --btn-bg: var(--accent-3);
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--ff-display);
  font-weight: 600; font-size: 15px; letter-spacing: 0.01em;
  padding: 14px 24px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: var(--btn-bg);
  color: #fff;
  position: relative;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 17px; height: 17px; }
.btn--primary { box-shadow: 0 8px 26px -10px var(--glow), inset 0 1px 0 rgba(255,255,255,0.22); }
.btn--primary:hover { background: var(--accent-2); transform: translateY(-2px); box-shadow: 0 14px 34px -10px var(--glow), inset 0 1px 0 rgba(255,255,255,0.25); }
.btn--ghost {
  background: transparent;
  border-color: var(--hair-2);
  color: var(--text);
}
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); background: transparent; }
.btn--block { width: 100%; justify-content: center; }
.btn--lg { padding: 17px 30px; font-size: 16px; }

/* ---------- Header ---------- */
/* Резервуємо висоту шапки (її вставляє JS), щоб контент не «стрибав» — фікс CLS */
header[data-header] { display: block; height: 77px; }
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--header-bg);
  border-bottom: 1px solid var(--header-line);
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  transition: background .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(74, 118, 168, 0.92);
  box-shadow: 0 10px 34px -22px rgba(20, 40, 70, 0.7);
}
:root[data-theme="sky"] .site-header.is-scrolled { background: rgba(255, 255, 255, 0.8); border-bottom-color: var(--hair); box-shadow: none; }
:root[data-theme="dark"] .site-header.is-scrolled { background: rgba(12, 16, 20, 0.74); border-bottom-color: var(--hair); box-shadow: none; }

/* Header CTA adapts per theme (white-on-blue for VK, accent for others) */
.site-header .btn--primary { background: var(--header-cta-bg); color: var(--header-cta-fg); }
.site-header .btn--primary:hover { background: var(--header-cta-bg); filter: brightness(0.96); transform: translateY(-2px); }

/* When the header sits over a dark media hero (home, at top), force light chrome */
.site-header.over-hero .nav__link { color: rgba(255,255,255,0.82); }
.site-header.over-hero .nav__link:hover,
.site-header.over-hero .nav__link.is-active { color: #fff; }
.site-header.over-hero .brand__name { color: #fff; }
.site-header.over-hero .brand__name small { color: rgba(255,255,255,0.66); }
.site-header.over-hero .nav__phone b { color: #fff; }
.site-header.over-hero .nav__phone span { color: rgba(255,255,255,0.6); }
.site-header.over-hero .nav__burger { border-color: rgba(255,255,255,0.32); }
.site-header.over-hero .nav__burger span,
.site-header.over-hero .nav__burger span::before,
.site-header.over-hero .nav__burger span::after { background: #fff; }
.nav {
  height: 76px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
}
.brand { display: flex; align-items: center; gap: 13px; flex-shrink: 0; }
.brand__mark {
  width: 44px; height: 44px; border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 1px var(--hair-2), 0 0 18px -6px var(--glow);
}
.brand__name { font-family: var(--ff-display); font-weight: 700; font-size: 19px; letter-spacing: 0.02em; line-height: 1; color: var(--header-fg); }
.brand__name small { display: block; font-size: 10.5px; letter-spacing: 0.42em; color: var(--header-fg-dim); font-weight: 500; margin-top: 3px; }

.nav__links { display: flex; align-items: center; gap: 6px; }
.nav__link {
  font-size: 14.5px; font-weight: 600; color: var(--header-fg-dim);
  padding: 9px 15px; border-radius: var(--radius); white-space: nowrap;
  position: relative; transition: color .2s;
}
.nav__link:hover { color: var(--header-fg); }
.nav__link.is-active { color: var(--header-fg); }
.nav__link.is-active::after {
  content: ''; position: absolute; left: 15px; right: 15px; bottom: 2px; height: 2px;
  background: var(--header-fg); border-radius: 2px;
}
.nav__right { display: flex; align-items: center; gap: 18px; flex-shrink: 0; }
.nav__phone {
  display: flex; flex-direction: column; align-items: flex-end; line-height: 1.1;
}
.nav__phone span { font-family: var(--ff-mono); font-size: 10px; letter-spacing: 0.18em; color: var(--header-fg-dim); text-transform: uppercase; }
.nav__phone b { font-family: var(--ff-display); font-weight: 600; font-size: 16px; color: var(--header-fg); transition: opacity .2s; white-space: nowrap; }
.nav__phone:hover b { opacity: 0.82; }
.nav__cta { white-space: nowrap; }
.nav__cta-sm { display: none; } /* короткий підпис лише на мобільному */
#zayavka { scroll-margin-top: 96px; } /* щоб форма не ховалась під sticky-шапкою */

.nav__burger { display: none; background: none; border: 1px solid var(--header-line); border-radius: var(--radius); width: 44px; height: 44px; align-items: center; justify-content: center; }
.nav__burger span { width: 18px; height: 2px; background: var(--header-fg); position: relative; transition: .2s; }
.nav__burger span::before, .nav__burger span::after { content: ''; position: absolute; left: 0; width: 18px; height: 2px; background: var(--header-fg); transition: .2s; }
.nav__burger span::before { top: -6px; } .nav__burger span::after { top: 6px; }

/* Desktop dropdown (Послуги) */
.nav__item { position: relative; display: flex; align-items: center; }
.nav__item.has-sub > .nav__link { display: inline-flex; align-items: center; gap: 5px; }
.nav__chev { width: 14px; height: 14px; transition: transform .25s var(--ease); }
.nav__item.has-sub:hover .nav__chev,
.nav__item.has-sub:focus-within .nav__chev { transform: rotate(180deg); }
.nav__dropdown {
  position: absolute; top: 100%; left: 50%;
  transform: translateX(-50%) translateY(10px);
  display: grid; grid-template-columns: repeat(3, minmax(165px, 1fr)); gap: 16px 22px;
  padding: 22px 24px; border-radius: var(--r-lg);
  background: var(--surface); border: 1px solid var(--hair);
  box-shadow: 0 26px 60px -26px rgba(20, 40, 70, 0.45);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .2s var(--ease), transform .2s var(--ease);
  z-index: 60;
}
.nav__dropdown::before { content: ''; position: absolute; top: -12px; left: 0; right: 0; height: 12px; }
.nav__item.has-sub:hover .nav__dropdown,
.nav__item.has-sub:focus-within .nav__dropdown {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav__dropcol { display: grid; gap: 3px; align-content: start; }
.nav__dropttl { font-family: var(--ff-mono); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-3); margin-bottom: 7px; white-space: nowrap; }
.nav__dropdown a { font-size: 14px; font-weight: 500; color: var(--text); padding: 7px 10px; border-radius: var(--radius); white-space: nowrap; transition: background .15s, color .15s; }
.nav__dropdown a:hover { background: var(--surface-2); color: var(--accent-3); }
.nav__dropdown a.is-active { color: var(--accent-3); }

/* Mobile nav drawer */
.mobile-nav {
  position: fixed; inset: 0; z-index: 99; background: rgba(240, 246, 252, 0.97);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  display: flex; flex-direction: column; justify-content: flex-start; gap: 2px;
  padding: 96px var(--gut) 40px;
  overflow-y: auto;
  opacity: 0; pointer-events: none; transition: opacity .3s var(--ease);
}
:root[data-theme="dark"] .mobile-nav { background: rgba(8, 11, 14, 0.96); }
.mobile-nav.is-open { opacity: 1; pointer-events: auto; }
.mobile-nav > a:not(.btn) { font-family: var(--ff-display); font-size: 25px; font-weight: 600; padding: 10px 0; color: var(--muted); border-bottom: 1px solid var(--hair); transition: color .2s, padding-left .2s; }
.mobile-nav > a:not(.btn):hover, .mobile-nav > a:not(.btn).is-active { color: var(--text); padding-left: 10px; }
/* Burger accordion (підпункти розкриваються по тапу) */
.m-acc {
  width: 100%; background: none; border: 0; cursor: pointer; text-align: left;
  font-family: var(--ff-display); font-size: 25px; font-weight: 600; color: var(--muted);
  padding: 10px 0; border-bottom: 1px solid var(--hair);
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  transition: color .2s;
}
.m-acc.is-active { color: var(--text); }
.m-acc .nav__chev { width: 20px; height: 20px; flex-shrink: 0; transition: transform .25s var(--ease); }
.m-acc.is-open .nav__chev { transform: rotate(180deg); }

.mobile-sub { display: grid; gap: 1px; margin: 4px 0 12px; padding-left: 14px; border-left: 1px solid var(--hair); }
.mobile-sub[hidden] { display: none; }
.mobile-sub .ttl { font-family: var(--ff-mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-3); padding: 10px 0 3px; }
.mobile-sub a { font-family: var(--ff-display); font-size: 16px; font-weight: 500; padding: 6px 0; color: var(--muted); transition: color .2s, padding-left .2s; }
.mobile-sub a:hover, .mobile-sub a.is-active { color: var(--text); padding-left: 8px; }
.mobile-sub .m-sub-all { color: var(--accent-3); font-weight: 700; }
.mobile-nav .btn { margin-top: 24px; align-self: flex-start; }

/* ---------- Floating call widget (bottom-right) ---------- */
.call-fab {
  position: fixed; right: 18px; bottom: 18px; z-index: 90;
  display: none; align-items: center; gap: 10px; /* на десктопі прихований, показується ≤980px */
  padding: 9px 17px 9px 9px; border-radius: 100px;
  background: var(--accent-3); color: #fff;
  font-family: var(--ff-display); font-weight: 700; font-size: 15px; letter-spacing: .01em;
  box-shadow: 0 14px 34px -12px var(--glow), 0 3px 10px rgba(0,0,0,0.22);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease);
  white-space: nowrap;
}
.call-fab:hover { transform: translateY(-2px); background: var(--accent-2); color: #fff; }
.call-fab__ic { position: relative; width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,0.2); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.call-fab__ic svg { width: 18px; height: 18px; }
.call-fab__ic::after { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(255,255,255,0.55); animation: callpulse 2.4s var(--ease) infinite; }
@keyframes callpulse { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.7); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .call-fab__ic::after { animation: none; } }
@media (max-width: 620px) {
  .call-fab { right: 12px; bottom: 12px; padding: 8px 14px 8px 8px; font-size: 13.5px; gap: 8px; }
  .call-fab__ic { width: 31px; height: 31px; }
  .call-fab__ic svg { width: 16px; height: 16px; }
}

/* ---------- Cards / surfaces ---------- */
.panel {
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--hair);
  border-radius: var(--r-lg);
}
.tick-corner { position: relative; }
.tick-corner::before, .tick-corner::after {
  content: ''; position: absolute; width: 12px; height: 12px; pointer-events: none;
  border-color: var(--accent); opacity: .7;
}
.tick-corner::before { top: -1px; left: -1px; border-top: 1px solid; border-left: 1px solid; }
.tick-corner::after { bottom: -1px; right: -1px; border-bottom: 1px solid; border-right: 1px solid; }

/* ---------- Image / video placeholders ---------- */
.ph {
  position: relative;
  background-color: var(--ph-bg);
  background-image: repeating-linear-gradient(135deg, var(--ph-stripe) 0 12px, transparent 12px 24px);
  border: 1px solid var(--hair);
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.ph__label {
  font-family: var(--ff-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ph-fg); text-align: center; padding: 12px 16px; z-index: 2;
}
.ph__label b { color: var(--ph-fg); display: block; font-weight: 600; opacity: 0.85; }
/* Фото поверх заглушки. Якщо файлу нема — onerror прибирає <img> і лишається заглушка. */
.ph > .ph__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 3; display: block; }

/* ---------- Footer ---------- */
.site-footer { position: relative; z-index: 1; border-top: 1px solid var(--hair); background: linear-gradient(180deg, var(--surface), var(--bg)); }
.footer-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(40px, 6vw, 96px); padding-block: clamp(56px, 7vw, 88px); }
.footer-brand .brand { margin-bottom: 22px; }
.footer-credentials { color: var(--muted); font-size: 14.5px; line-height: 1.8; max-width: 42ch; }
.footer-credentials strong { color: var(--text); font-weight: 600; }
.footer-region {
  margin-top: 22px; display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--ff-mono); font-size: 12px; letter-spacing: 0.06em; color: var(--steel);
  padding: 8px 13px; border: 1px solid var(--hair); border-radius: var(--radius);
}
.footer-region .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent-2); box-shadow: 0 0 9px var(--glow); }
.socials { display: flex; gap: 11px; margin-top: 26px; }
.social {
  width: 42px; height: 42px; border: 1px solid var(--hair-2); border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center; color: var(--steel);
  transition: .22s var(--ease);
}
.social:hover { color: #fff; border-color: var(--accent); background: rgba(37,99,235,0.1); transform: translateY(-2px); }
.social svg { width: 19px; height: 19px; }
/* Брендові кольори соцмереж: іконка кольору бренду, на hover — повна заливка */
.social--youtube   { color: #FF0000; }
.social--instagram { color: #E1306C; }
.social--tiktok    { color: #FE2C55; }
.social--youtube:hover   { color: #fff; background: #FF0000; border-color: #FF0000; }
.social--instagram:hover { color: #fff; border-color: transparent;
  background: linear-gradient(45deg, #feda75 0%, #fa7e1e 25%, #d62976 50%, #962fbf 75%, #4f5bd5 100%); }
.social--tiktok:hover    { color: #fff; border-color: transparent;
  background: linear-gradient(45deg, #25F4EE, #000 48%, #FE2C55); }

/* Footer lead-capture form */
.lead-form {
  background:
    radial-gradient(120% 100% at 100% 0%, rgba(37,99,235,0.14), transparent 60%),
    linear-gradient(180deg, var(--surface-3), var(--surface-2));
  border: 1px solid var(--hair-2);
  border-radius: var(--r-lg);
  padding: clamp(26px, 3vw, 40px);
  position: relative; overflow: hidden;
}
.lead-form::after {
  content: ''; position: absolute; right: -40px; bottom: -40px; width: 180px; height: 180px;
  background: conic-gradient(from 200deg, transparent, rgba(37,99,235,0.18), transparent);
  filter: blur(8px); pointer-events: none;
}
.lead-form h3 { font-size: 25px; margin-bottom: 6px; }
.lead-form p { color: var(--muted); font-size: 14px; margin-bottom: 22px; }
.field { margin-bottom: 14px; position: relative; z-index: 1; }
.field label { display: block; font-family: var(--ff-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--steel); margin-bottom: 7px; }
.input {
  width: 100%; background: var(--bg); border: 1px solid var(--hair-2); border-radius: var(--radius);
  padding: 13px 15px; color: var(--text); font-family: var(--ff-body); font-size: 15px;
  transition: border-color .2s, box-shadow .2s;
}
.input::placeholder { color: var(--faint); }
.input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(37,99,235,0.16); }
textarea.input { resize: vertical; min-height: 92px; }
.form-note { font-family: var(--ff-mono); font-size: 11px; color: var(--faint); margin-top: 12px; text-align: center; }
.form-success { color: var(--accent-3); font-weight: 600; font-size: 14px; margin-top: 12px; display: none; }

.footer-regions { border-top: 1px solid var(--hair); padding-block: 20px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 18px; }
.footer-regions__t { font-size: 13px; color: var(--faint); margin-right: 4px; }
.footer-regions a { font-size: 13.5px; color: var(--steel); transition: color .2s var(--ease); }
.footer-regions a:hover { color: var(--text); }
.footer-bottom { border-top: 1px solid var(--hair); padding-block: 22px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer-bottom p { font-size: 13px; color: var(--faint); }
.footer-bottom a { color: var(--steel); }
.footer-bottom a:hover { color: var(--text); }

/* ---------- Reveal-on-scroll ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .4s var(--ease), transform .4s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
[data-delay="1"] { transition-delay: .05s; }
[data-delay="2"] { transition-delay: .10s; }
[data-delay="3"] { transition-delay: .15s; }
[data-delay="4"] { transition-delay: .20s; }
[data-delay="5"] { transition-delay: .25s; }

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

/* ---------- Section heading block ---------- */
.sec-head { max-width: 720px; margin-bottom: clamp(40px, 5vw, 64px); }
.sec-head .kicker { margin-bottom: 18px; }
.sec-head p { margin-top: 18px; }
.sec-head--center { margin-inline: auto; text-align: center; }
.sec-head--center .kicker { justify-content: center; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .nav__links { display: none; }
  .nav__burger { display: flex; }
  .footer-grid { grid-template-columns: 1fr; }
  .call-fab { display: inline-flex; } /* плаваюча кнопка дзвінка — лише не на десктопі */
}
@media (max-width: 620px) {
  .nav__phone { display: none; }
  /* CTA на телефоні — компактна: короткий текст «Прорахунок» без іконки,
     щоб не тиснути бургер. */
  .site-header .nav__right .nav__cta { padding: 9px 13px; font-size: 13px; }
  .site-header .nav__right .nav__cta svg { display: none; }
  .nav__cta-lg { display: none; }
  .nav__cta-sm { display: inline; }
  .nav { gap: 10px; }
  .nav__right { gap: 8px; }
  .brand__name { font-size: 17px; }
}
@media (max-width: 380px) {
  /* зовсім вузькі екрани — лишаємо логотип-значок, ховаємо текст бренду */
  .brand__name { display: none; }
}

/* ---------- Theme switcher (floating) ---------- */
.theme-switch {
  position: fixed; left: 18px; bottom: 18px; z-index: 200;
  display: flex; align-items: center; gap: 3px;
  padding: 5px; border-radius: 100px;
  background: rgba(18, 24, 34, 0.82);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 14px 40px -18px rgba(0, 0, 0, 0.7);
}
.theme-switch__lbl {
  font-family: var(--ff-mono); font-size: 9.5px; letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(255, 255, 255, 0.42); padding: 0 8px 0 6px; white-space: nowrap;
}
.theme-switch button {
  font-family: var(--ff-display); font-weight: 600; font-size: 12.5px;
  color: rgba(255, 255, 255, 0.66);
  background: transparent; border: 0; border-radius: 100px;
  padding: 7px 14px; transition: .2s var(--ease); white-space: nowrap;
}
.theme-switch button:hover { color: #fff; }
.theme-switch button.is-active { color: #fff; }
.theme-switch button[data-set="vk"].is-active   { background: #5181B8; }
.theme-switch button[data-set="sky"].is-active  { background: #2563EB; }
.theme-switch button[data-set="dark"].is-active { background: #2B353F; }
@media (max-width: 620px) {
  .theme-switch__lbl { display: none; }
  .theme-switch button { padding: 7px 11px; font-size: 12px; }
}

/* ============================================================
   Alternating section bands  (white / page-bg)
   ============================================================ */
.band-white { background: var(--surface); border-block: 1px solid var(--hair); }

/* ============================================================
   Shared inner-page primitives (page hero, breadcrumb, CTA band)
   — service pages rely on these; inner pages may also define
     identical rules inline (harmless, same values).
   ============================================================ */
.page-hero { position: relative; padding-block: clamp(120px, 16vw, 200px) clamp(48px, 7vw, 88px); overflow: hidden; }
.page-hero__glow { position: absolute; inset: 0; z-index: 0; background: radial-gradient(80% 90% at 80% 0%, var(--glow), transparent 55%); }
.page-hero--media { background: linear-gradient(180deg, #9fc4ea 0%, #bcd8f2 26%, #d4e7f8 52%, var(--bg) 100%); }
.page-hero__photo {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0.5;
  filter: saturate(1.02) contrast(1.06) brightness(0.97);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 16%, #000 74%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 16%, #000 74%, transparent 100%);
}
@media (max-width: 620px) { .page-hero__photo { object-position: 65% 38%; } }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { max-width: 18ch; margin: 22px 0 24px; }
.breadcrumb { font-family: var(--ff-mono); font-size: 12px; letter-spacing: 0.1em; color: var(--faint); margin-bottom: 8px; }
.breadcrumb a:hover { color: var(--steel); }

.cta-band { position: relative; overflow: hidden; }
.cta-inner { position: relative; z-index: 2; text-align: center; padding-block: clamp(56px, 8vw, 110px); }
.cta-inner h2 { max-width: 18ch; margin: 18px auto 18px; }
.cta-glow { position: absolute; inset: 0; z-index: 0; background: radial-gradient(70% 120% at 50% 100%, var(--glow), transparent 60%); }

/* ============================================================
   Services — index tiles
   ============================================================ */
.svc-index-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.svc-tile { position: relative; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--hair); min-height: 360px; display: flex; flex-direction: column; justify-content: flex-end; transition: .35s var(--ease); }
.svc-tile .ph { position: absolute; inset: 0; z-index: 0; }
.svc-tile__shade { position: absolute; inset: 0; z-index: 1; background: var(--card-shade); }
.svc-tile__body { position: relative; z-index: 2; padding: 26px; }
.svc-tile__cat { font-family: var(--ff-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-3); }
.svc-tile h3 { font-size: 23px; margin: 9px 0 8px; color: var(--on-media); }
.svc-tile p { color: var(--on-media-dim); font-size: 14px; margin-bottom: 16px; }
.svc-tile__go { display: inline-flex; align-items: center; gap: 9px; font-family: var(--ff-display); font-weight: 600; font-size: 14px; color: var(--on-media); }
.svc-tile__go svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.svc-tile:hover { transform: translateY(-5px); border-color: var(--accent); box-shadow: 0 24px 50px -24px rgba(0,0,0,0.5); }
.svc-tile:hover .svc-tile__go svg { transform: translateX(5px); }

/* ============================================================
   Service detail pages
   ============================================================ */
.svc-intro { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.svc-intro .lead { margin-bottom: 16px; }
.svc-figure { aspect-ratio: 4/3; border-radius: var(--r-lg); position: relative; overflow: hidden; border: 1px solid var(--hair); }
.svc-figure .ph { position: absolute; inset: 0; }

.svc-feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.svc-feature { padding: 30px; }
.svc-feature .ic { width: 46px; height: 46px; border-radius: var(--radius); display: flex; align-items: center; justify-content: center; color: var(--accent-3); background: rgba(37,99,235,0.1); margin-bottom: 18px; }
.svc-feature .ic svg { width: 23px; height: 23px; }
.svc-feature h3 { font-size: 19px; margin-bottom: 9px; }
.svc-feature p { color: var(--muted); font-size: 14.5px; }

.svc-steps { display: grid; gap: 0; }
.svc-step { display: grid; grid-template-columns: 88px 1fr; gap: clamp(20px, 3vw, 40px); padding-block: clamp(28px, 4vw, 48px); border-top: 1px solid var(--hair); align-items: start; }
.svc-step:last-child { border-bottom: 1px solid var(--hair); }
.svc-step .num { font-family: var(--ff-display); font-weight: 700; font-size: clamp(40px, 6vw, 72px); line-height: 0.8; color: transparent; -webkit-text-stroke: 1px var(--steel-dim); }
.svc-step h3 { font-size: clamp(20px, 2.4vw, 28px); margin-bottom: 10px; }
.svc-step p { color: var(--muted); max-width: 62ch; }

.svc-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.svc-checklist { display: grid; gap: 12px; }
.svc-checklist li { list-style: none; display: flex; gap: 13px; align-items: flex-start; font-size: 15px; color: var(--text); }
.svc-checklist .ck { width: 24px; height: 24px; border-radius: 50%; flex-shrink: 0; background: rgba(37,99,235,0.14); color: var(--accent-3); display: flex; align-items: center; justify-content: center; }
.svc-checklist .ck svg { width: 13px; height: 13px; }

.svc-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.svc-gallery .ph { aspect-ratio: 4/3; border-radius: var(--radius); }

.svc-faq { display: grid; gap: 12px; max-width: 820px; }
.svc-faq details { border: 1px solid var(--hair); border-radius: var(--r-lg); background: var(--surface); padding: 4px 22px; }
.svc-faq summary { font-family: var(--ff-display); font-weight: 600; font-size: 17px; padding: 18px 0; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.svc-faq summary::-webkit-details-marker { display: none; }
.svc-faq summary::after { content: '+'; font-size: 22px; color: var(--accent-3); transition: transform .25s var(--ease); }
.svc-faq details[open] summary::after { transform: rotate(45deg); }
.svc-faq details p { color: var(--muted); font-size: 14.5px; padding-bottom: 20px; max-width: 70ch; }

/* Related services / cross-links */
.rel-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.rel-card { display: flex; flex-direction: column; gap: 8px; padding: 24px; border-radius: var(--r-lg); text-decoration: none; transition: .25s var(--ease); }
.rel-card .rel-k { font-family: var(--ff-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent-3); }
.rel-card .rel-t { font-family: var(--ff-display); font-weight: 700; font-size: 19px; color: var(--text); letter-spacing: -0.01em; }
.rel-card .rel-d { color: var(--muted); font-size: 14px; margin-top: 2px; }
.rel-card:hover { border-color: var(--accent); transform: translateY(-3px); }
.rel-card--accent { background: var(--accent); border-color: var(--accent); }
.rel-card--accent .rel-k { color: rgba(255,255,255,0.72); }
.rel-card--accent .rel-t, .rel-card--accent .rel-d { color: #fff; }
.rel-card--accent:hover { transform: translateY(-3px); filter: brightness(1.06); }

@media (max-width: 900px) {
  .svc-index-grid { grid-template-columns: 1fr; }
  .svc-intro, .svc-split { grid-template-columns: 1fr; }
  .svc-figure { order: -1; aspect-ratio: 16/10; }
  .svc-feature-grid { grid-template-columns: 1fr; }
  .svc-gallery { grid-template-columns: 1fr 1fr; }
  .svc-step { grid-template-columns: 56px 1fr; }
  .rel-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) { .rel-grid { grid-template-columns: 1fr; } }

/* Lightbox (portfolio) */
.work-grid .work { cursor: zoom-in; }
.lb { position: fixed; inset: 0; z-index: 200; display: none; align-items: center; justify-content: center; background: rgba(8,12,16,0.93); backdrop-filter: blur(6px); opacity: 0; transition: opacity .25s var(--ease); }
.lb.is-open { display: flex; opacity: 1; }
.lb__img { max-width: min(92vw, 1400px); max-height: 80vh; border-radius: var(--r-lg); box-shadow: 0 30px 90px -20px rgba(0,0,0,0.85); object-fit: contain; user-select: none; -webkit-user-drag: none; }
.lb__cap { position: absolute; left: 0; right: 0; bottom: max(20px, 4vh); text-align: center; padding: 0 20px; pointer-events: none; }
.lb__cap .c-cat { font-family: var(--ff-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-3); }
.lb__cap .c-title { font-family: var(--ff-display); font-weight: 700; font-size: 21px; color: #fff; margin-top: 5px; }
.lb__cap .c-detail { color: #aebac6; font-size: 14px; margin-top: 3px; }
.lb__count { position: absolute; top: max(20px, 3vh); left: 50%; transform: translateX(-50%); font-family: var(--ff-mono); font-size: 12px; letter-spacing: 0.1em; color: #cbd5e1; }
.lb__btn { position: absolute; width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.22); background: rgba(255,255,255,0.08); backdrop-filter: blur(6px); color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: .2s var(--ease); }
.lb__btn:hover { background: rgba(255,255,255,0.18); border-color: rgba(255,255,255,0.4); }
.lb__btn svg { width: 22px; height: 22px; }
.lb__prev { left: max(16px, 3vw); top: 50%; transform: translateY(-50%); }
.lb__next { right: max(16px, 3vw); top: 50%; transform: translateY(-50%); }
.lb__close { top: max(16px, 3vh); right: max(16px, 3vw); }
body.lb-lock { overflow: hidden; }
@media (max-width: 560px) {
  .lb__btn { width: 44px; height: 44px; }
  .lb__prev { left: 8px; } .lb__next { right: 8px; }
  .lb__img { max-height: 72vh; }
}

/* Before / after */
.ba-list { display: grid; gap: 22px; }
.ba-card { padding: clamp(16px, 2.4vw, 26px); }
.ba-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 10px 26px; margin-bottom: 18px; }
.ba-title { font-size: clamp(18px, 2.2vw, 23px); }
.ba-info { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.ba-info span { font-size: 14px; color: var(--text); display: inline-flex; gap: 8px; align-items: baseline; }
.ba-info b { font-family: var(--ff-mono); font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-3); font-weight: 600; }
.ba-shots { display: grid; gap: 14px; }
.ba-shots--2 { grid-template-columns: repeat(2, 1fr); }
.ba-shots--3 { grid-template-columns: repeat(3, 1fr); }
.ba-shot { position: relative; margin: 0; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--hair); aspect-ratio: 4/3; cursor: zoom-in; background: var(--surface); }
.ba-shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .45s var(--ease); }
.ba-shot:hover img { transform: scale(1.045); }
.ba-tag { position: absolute; top: 12px; left: 12px; z-index: 2; font-family: var(--ff-mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; padding: 5px 12px; border-radius: 100px; color: #fff; backdrop-filter: blur(6px); }
.ba-tag--before { background: rgba(203,68,52,0.88); }
.ba-tag--mid { background: rgba(168,134,38,0.9); }
.ba-tag--after { background: rgba(37,99,235,0.92); }
@media (max-width: 720px) {
  .ba-shots--2, .ba-shots--3 { grid-template-columns: 1fr; }
  .ba-head { flex-direction: column; gap: 12px; }
}

/* Testimonials */
.reviews { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.review { padding: clamp(24px, 2.6vw, 32px); display: flex; flex-direction: column; gap: 16px; }
.review__stars { display: flex; gap: 3px; color: #f5b50a; }
.review__stars svg { width: 17px; height: 17px; }
.review__text { color: var(--text); font-size: 15.5px; line-height: 1.68; }
.review__who { display: flex; align-items: center; gap: 14px; margin-top: auto; padding-top: 4px; }
.review__av { width: 46px; height: 46px; flex: none; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--ff-display); font-weight: 700; color: #fff; font-size: 19px; }
.review__name { font-family: var(--ff-display); font-weight: 600; font-size: 16px; }
.review__meta { font-size: 12.5px; color: var(--muted); margin-top: 3px; }
@media (max-width: 760px) { .reviews { grid-template-columns: 1fr; } }

/* Vertical video shorts (YouTube facade) */
.vshorts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; max-width: 760px; margin: 0 auto; }
.vshort { position: relative; aspect-ratio: 9 / 16; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--hair); background: var(--surface); cursor: pointer; }
.vshort__poster { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s var(--ease); }
.vshort:hover .vshort__poster { transform: scale(1.045); }
.vshort__play { position: absolute; inset: 0; z-index: 2; display: flex; align-items: center; justify-content: center; pointer-events: none; }
.vshort__play i { width: 58px; height: 58px; border-radius: 50%; background: rgba(37,99,235,0.92); display: flex; align-items: center; justify-content: center; box-shadow: 0 12px 30px -8px var(--glow); transition: transform .25s var(--ease); }
.vshort:hover .vshort__play i { transform: scale(1.08); }
.vshort__play svg { width: 24px; height: 24px; fill: #fff; margin-left: 3px; }
@media (max-width: 600px) { .vshorts { gap: 8px; } .vshort__play i { width: 46px; height: 46px; } .vshort__play svg { width: 19px; height: 19px; } }

/* Big modal video player */
.vmodal { position: fixed; inset: 0; z-index: 220; display: none; align-items: center; justify-content: center; background: rgba(8,12,16,0.93); backdrop-filter: blur(8px); opacity: 0; transition: opacity .25s var(--ease); }
.vmodal.is-open { display: flex; opacity: 1; }
.vmodal__frame { position: relative; aspect-ratio: 9 / 16; height: min(86vh, 880px); max-width: 94vw; border-radius: 16px; overflow: hidden; background: #000; box-shadow: 0 30px 90px -20px rgba(0,0,0,0.85); }
.vmodal__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.vmodal__close { position: absolute; top: max(16px, 3vh); right: max(16px, 3vw); z-index: 2; width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.22); background: rgba(255,255,255,0.08); backdrop-filter: blur(6px); color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: .2s var(--ease); }
.vmodal__close:hover { background: rgba(255,255,255,0.18); border-color: rgba(255,255,255,0.4); }
.vmodal__close svg { width: 22px; height: 22px; }
@media (max-width: 560px) { .vmodal__frame { height: auto; width: 92vw; max-width: 92vw; } .vmodal__close { width: 44px; height: 44px; } }

/* Geo map */
.geo-map { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--hair); aspect-ratio: 16 / 7; background: var(--surface); }
.geo-map iframe { width: 100%; height: 100%; border: 0; display: block; }
@media (max-width: 700px) { .geo-map { aspect-ratio: 4 / 3; } }
