/* ==========================================================================
   Stickers.hr – global styles
   ========================================================================== */

:root {
  --bg: #0a0d12;
  --bg-2: #0e1219;
  --surface: #11161e;
  --surface-2: #161c26;
  --surface-3: #1c2330;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --text: #eaeff5;
  --text-2: #a9b4c3;
  --text-3: #6f7c8d;
  --blue: #0060aa;
  --blue-2: #1a7fd3;
  --blue-3: #4aa3ee;
  --blue-soft: rgba(0, 96, 170, 0.16);
  --blue-glow: rgba(0, 96, 170, 0.45);
  --danger: #e5484d;
  --success: #3dd68c;

  --font-head: 'Chakra Petch', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Manrope', 'Segoe UI', system-ui, -apple-system, sans-serif;

  --container: 1240px;
  --container-wide: 1440px;
  --gutter: clamp(20px, 5vw, 56px);
  --section: clamp(72px, 10vw, 140px);
  --radius: 16px;
  --radius-sm: 10px;
  --header-h: 84px;
  --header-h-scrolled: 68px;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

  color-scheme: dark;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
body.menu-open { overflow: hidden; }
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-head); font-weight: 600; line-height: 1.08; letter-spacing: -0.01em; text-wrap: balance; }
h1 { font-size: clamp(2.4rem, 5.6vw, 4.6rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); }
h3 { font-size: clamp(1.2rem, 1.8vw, 1.5rem); }
:focus-visible { outline: 2px solid var(--blue-3); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--blue); color: #fff; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 2000; background: var(--blue); color: #fff; padding: 10px 16px; border-radius: 8px; transform: translateY(-200%); transition: transform 0.2s; }
.skip-link:focus { transform: none; }

/* ---------- Layout ---------- */
.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.container-wide { width: min(100% - 2 * var(--gutter), var(--container-wide)); margin-inline: auto; }
.section { padding-block: var(--section); position: relative; }
.section-tight { padding-block: calc(var(--section) * 0.6); }
main { min-height: 60vh; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-head); font-weight: 600; font-size: 0.78rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--blue-3);
}
.eyebrow::before { content: ''; width: 28px; height: 2px; background: var(--blue); flex: none; }
.eyebrow.no-line::before { display: none; }

.section-head { display: grid; gap: 18px; max-width: 760px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head.split { max-width: none; grid-template-columns: 1fr auto; align-items: end; gap: 32px; }
.section-head.split > .link-more { padding-bottom: 6px; }
.section-head p { color: var(--text-2); font-size: 1.125rem; max-width: 62ch; }
.section-head h2 { margin-top: 6px; }
@media (max-width: 720px) { .section-head.split { grid-template-columns: 1fr; align-items: start; } }

.lead { font-size: clamp(1.1rem, 1.5vw, 1.3rem); color: var(--text-2); line-height: 1.6; max-width: 62ch; }
.muted { color: var(--text-2); }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--blue); --btn-fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px; border-radius: 999px;
  font-family: var(--font-head); font-weight: 600; font-size: 0.95rem; letter-spacing: 0.04em; text-transform: uppercase;
  background: var(--btn-bg); color: var(--btn-fg);
  border: 1px solid transparent;
  transition: transform 0.35s var(--ease-out), background 0.25s, border-color 0.25s, box-shadow 0.35s, color 0.25s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; transition: transform 0.35s var(--ease-out); }
.btn:hover { background: var(--blue-2); transform: translateY(-2px); box-shadow: 0 14px 40px -12px var(--blue-glow); }
.btn:hover svg { transform: translateX(4px); }
.btn:active { transform: translateY(0); }
.btn-ghost { --btn-bg: transparent; --btn-fg: var(--text); border-color: var(--line-2); backdrop-filter: blur(8px); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.28); box-shadow: none; }
.btn-light { --btn-bg: #fff; --btn-fg: #0a0d12; }
.btn-light:hover { background: #e8eef5; }
.btn[disabled] { opacity: 0.6; pointer-events: none; }

.link-more {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-head); font-weight: 600; font-size: 0.9rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text);
}
.link-more svg { width: 18px; height: 18px; color: var(--blue-3); transition: transform 0.35s var(--ease-out); }
.link-more:hover svg { transform: translateX(5px); }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 900;
  height: var(--header-h);
  transition: height 0.4s var(--ease-out);
}
/* glass layer lives on a pseudo-element so the dropdown's own backdrop-filter keeps working */
.header::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: rgba(8, 10, 14, 0.55);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  -webkit-backdrop-filter: blur(18px) saturate(150%); backdrop-filter: blur(18px) saturate(150%);
  transition: background 0.4s, border-color 0.4s;
}
.header.is-scrolled::before { background: rgba(8, 10, 14, 0.74); border-color: var(--line); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.header-right { display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; flex: none; }
.brand img { height: 44px; width: auto; transition: height 0.4s var(--ease-out); }
.header.is-scrolled .brand img { height: 38px; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav > li { position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 14px; border-radius: 8px;
  font-family: var(--font-head); font-weight: 600; font-size: 0.9rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-2);
  transition: color 0.25s, background 0.25s;
}
.nav-link:hover, .nav-link[aria-current='page'], .nav-link[aria-expanded='true'] { color: var(--text); }
.nav-link[aria-current='page'] { position: relative; }
.nav-link[aria-current='page']::after { content: ''; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; background: var(--blue); border-radius: 2px; }
.nav-link .chev { width: 14px; height: 14px; transition: transform 0.3s var(--ease-out); }
.nav > li:hover .nav-link .chev, .nav > li:focus-within .nav-link .chev, .nav-link[aria-expanded='true'] .chev { transform: rotate(180deg); }

.dropdown {
  position: absolute; top: calc(100% + 10px); left: 50%;
  width: 640px; padding: 12px;
  background: rgba(12, 16, 23, 0.8); border: 1px solid var(--line-2); border-radius: var(--radius);
  -webkit-backdrop-filter: blur(28px) saturate(160%); backdrop-filter: blur(28px) saturate(160%);
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(0, 0, 0, 0.4);
  display: grid; grid-template-columns: 1fr 1fr; gap: 4px;
  opacity: 0; visibility: hidden; transform: translate(-50%, 8px);
  transition: opacity 0.3s var(--ease-out), transform 0.3s var(--ease-out), visibility 0s linear 0.3s;
}
.dropdown::before { content: ''; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.nav > li:hover .dropdown, .nav > li:focus-within .dropdown, .nav > li.is-open .dropdown { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition-delay: 0s; }
.dropdown a { display: block; padding: 12px 14px; border-radius: 10px; transition: background 0.25s; }
.dropdown a:hover, .dropdown a[aria-current='page'] { background: rgba(255, 255, 255, 0.06); }
.dropdown .idx { font-family: var(--font-head); font-size: 0.75rem; color: var(--blue-3); letter-spacing: 0.1em; padding-top: 4px; }
.dropdown strong { display: block; font-family: var(--font-head); font-weight: 600; font-size: 0.98rem; color: var(--text); }
.dropdown span.d { display: block; font-size: 0.85rem; color: var(--text-3); line-height: 1.45; margin-top: 2px; }
.dropdown .all { grid-column: 1 / -1; border-top: 1px solid var(--line); margin-top: 6px; padding-top: 12px; display: flex; align-items: center; justify-content: space-between; }
.dropdown .all strong { font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; }
.dropdown .all svg { width: 16px; height: 16px; color: var(--blue-3); }

.header-cta { display: inline-flex; align-items: center; gap: 12px; }
.header-cta .phone { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 600; font-size: 0.95rem; color: var(--text); letter-spacing: 0.02em; padding: 10px 6px; transition: color 0.25s; }
.header-cta .phone svg { width: 18px; height: 18px; color: var(--blue-3); }
.header-cta .phone:hover { color: var(--blue-3); }

/* burger */
.burger { display: none; position: relative; z-index: 1001; width: 48px; height: 48px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, 0.04); align-items: center; justify-content: center; }
.burger span { position: absolute; left: 14px; width: 20px; height: 2px; background: var(--text); border-radius: 2px; transition: transform 0.4s var(--ease-out), opacity 0.3s, width 0.3s; }
.burger span:nth-child(1) { transform: translateY(-6px); }
.burger span:nth-child(3) { transform: translateY(6px); width: 14px; }
.burger[aria-expanded='true'] span:nth-child(1) { transform: rotate(45deg); }
.burger[aria-expanded='true'] span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.burger[aria-expanded='true'] span:nth-child(3) { transform: rotate(-45deg); width: 20px; }

/* mobile panel */
.mobile-backdrop { position: fixed; inset: 0; z-index: 950; background: rgba(4, 6, 10, 0.55); opacity: 0; visibility: hidden; transition: opacity 0.4s, visibility 0s linear 0.4s; -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.mobile-panel {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 960;
  width: min(88vw, 420px);
  background: rgba(6, 8, 12, 0.72);
  -webkit-backdrop-filter: blur(28px) saturate(160%); backdrop-filter: blur(28px) saturate(160%);
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: -30px 0 80px -20px rgba(0, 0, 0, 0.8);
  transform: translateX(104%);
  transition: transform 0.55s var(--ease-out), visibility 0s linear 0.55s;
  visibility: hidden;
  display: flex; flex-direction: column;
  padding: 22px 28px 32px;
  overflow-y: auto;
}
.mobile-brand { display: block; width: 150px; margin-bottom: 28px; position: relative; opacity: 0; transform: translateX(16px); transition: opacity 0.5s 0.08s, transform 0.5s 0.08s var(--ease-out); }
body.menu-open .mobile-brand { opacity: 1; transform: none; }
.mobile-panel::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(60% 40% at 100% 0%, rgba(0, 96, 170, 0.22), transparent 70%); }
body.menu-open .mobile-backdrop { opacity: 1; visibility: visible; transition-delay: 0s; }
body.menu-open .mobile-panel { transform: none; visibility: visible; transition-delay: 0s; }
.mobile-nav { display: grid; gap: 4px; position: relative; }
.mobile-nav > li { opacity: 0; transform: translateX(24px); transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out); }
body.menu-open .mobile-nav > li { opacity: 1; transform: none; }
body.menu-open .mobile-nav > li:nth-child(1) { transition-delay: 0.12s; }
body.menu-open .mobile-nav > li:nth-child(2) { transition-delay: 0.18s; }
body.menu-open .mobile-nav > li:nth-child(3) { transition-delay: 0.24s; }
body.menu-open .mobile-nav > li:nth-child(4) { transition-delay: 0.3s; }
body.menu-open .mobile-nav > li:nth-child(5) { transition-delay: 0.36s; }
.mobile-nav a, .mobile-nav button.acc { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 13px 4px; font-family: var(--font-head); font-weight: 600; font-size: 1.05rem; letter-spacing: 0.04em; color: var(--text); border-bottom: 1px solid var(--line); text-align: left; }
.mobile-nav a[aria-current='page'] { color: var(--blue-3); }
.mobile-sub { display: grid; }
.mobile-sub a { font-size: 0.92rem; font-weight: 500; color: var(--text-2); padding: 9px 4px 9px 18px; border-bottom: 1px solid var(--line); font-family: var(--font-body); justify-content: flex-start; }
.mobile-sub a::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); margin-right: 12px; flex: none; }
.mobile-sub a[aria-current='page'] { color: var(--blue-3); }
.mobile-foot { margin-top: auto; padding-top: 28px; display: grid; gap: 14px; position: relative; opacity: 0; transform: translateY(12px); transition: opacity 0.5s 0.4s, transform 0.5s 0.4s var(--ease-out); }
body.menu-open .mobile-foot { opacity: 1; transform: none; }
.mobile-foot .phone { font-family: var(--font-head); font-weight: 600; font-size: 1rem; color: var(--text); }
.mobile-foot .muted { font-size: 0.92rem; }
.mobile-foot .social { display: flex; gap: 10px; }

@media (max-width: 1040px) {
  :root { --header-h: 72px; --header-h-scrolled: 64px; }
  body.menu-open .header { z-index: 980; }
  body.menu-open .header::before { opacity: 0; }
  body.menu-open .header .brand { opacity: 0; visibility: hidden; transition: opacity 0.25s; }
  .nav, .header-cta .phone { display: none; }
  .burger { display: inline-flex; }
  .brand img { height: 38px; }
  .header.is-scrolled .brand img { height: 34px; }
}
@media (min-width: 1041px) { .mobile-panel, .mobile-backdrop { display: none; } }

/* ---------- Social icons ---------- */
.social a { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-2); color: var(--text-2); transition: color 0.25s, border-color 0.25s, background 0.25s, transform 0.3s var(--ease-out); }
.social a svg { width: 18px; height: 18px; }
.social a:hover { color: #fff; border-color: var(--blue); background: var(--blue); transform: translateY(-2px); }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); background: linear-gradient(to bottom, var(--bg), #070a0e); position: relative; overflow: hidden; }
.footer::before { content: ''; position: absolute; left: 50%; top: 0; width: 60%; height: 1px; background: linear-gradient(90deg, transparent, var(--blue), transparent); transform: translateX(-50%); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1.6fr 0.7fr 1fr; gap: 48px; padding-block: clamp(56px, 7vw, 96px) clamp(40px, 5vw, 64px); }
.footer-brand img { height: 52px; width: auto; }
.footer-brand p { margin-top: 18px; color: var(--text-2); max-width: 36ch; font-size: 0.95rem; }
.footer h3 { font-size: 0.8rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-3); margin-bottom: 14px; font-weight: 600; }
.footer-list { display: grid; gap: 2px; }
.footer-services { grid-template-columns: 1fr 1fr; column-gap: 24px; }
.footer-list a { color: var(--text-2); transition: color 0.25s; font-size: 0.95rem; display: inline-block; padding: 3px 0; }
.footer-list a:hover { color: var(--text); }
.footer-contact { display: grid; gap: 8px; }
.footer-contact a, .footer-contact address { display: flex; gap: 12px; align-items: flex-start; color: var(--text-2); font-style: normal; font-size: 0.98rem; transition: color 0.25s; }
.footer-contact a:hover { color: var(--text); }
.footer-contact svg { width: 18px; height: 18px; flex: none; color: var(--blue-3); margin-top: 3px; }
.footer .social { margin-top: 20px; display: flex; gap: 10px; }
.footer-bottom { border-top: 1px solid var(--line); padding-block: 22px; display: flex; align-items: center; justify-content: space-between; gap: 20px; font-size: 0.86rem; color: var(--text-3); }
.footer-bottom a { color: var(--text-2); transition: color 0.25s; }
.footer-bottom a:hover { color: var(--blue-3); }
.footer-legal { display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: flex-end; }
.copy .sep { margin-inline: 8px; }
@media (max-width: 960px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-services { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 16px; }
  .footer-legal { justify-content: center; }
  .copy .sep { display: none; }
  .copy .by { display: block; margin-top: 4px; }
}

/* ---------- Hero (home) ---------- */
.hero { position: relative; min-height: min(100svh, 980px); display: grid; align-items: center; overflow: hidden; padding-top: var(--header-h); isolation: isolate; }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.hero-slides img { position: absolute; inset: 0; opacity: 0; transform: scale(1.08); transition: opacity 1.6s var(--ease-in-out), transform 9s linear; will-change: opacity, transform; }
.hero-slides img.is-active { opacity: 1; transform: scale(1); z-index: 1; }
.hero-dots { position: absolute; left: 50%; transform: translateX(-50%); bottom: 34px; display: flex; gap: 8px; z-index: 2; }
.hero-dots button { width: 34px; height: 4px; border-radius: 2px; background: rgba(255, 255, 255, 0.25); overflow: hidden; position: relative; transition: background 0.3s; }
.hero-dots button::after { content: ''; position: absolute; inset: 0; background: var(--blue-3); transform: scaleX(0); transform-origin: left; }
.hero-dots button.is-active::after { animation: dotFill var(--slide-ms, 6000ms) linear forwards; }
@keyframes dotFill { to { transform: scaleX(1); } }
.hero-dots button:hover { background: rgba(255, 255, 255, 0.45); }
@media (max-width: 860px) { .hero-dots { bottom: 22px; } }
.hero-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: rgba(10, 13, 18, 0.45); border: 1px solid rgba(255, 255, 255, 0.18); color: #fff; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: background 0.25s, border-color 0.25s, opacity 0.3s; }
.hero-arrow svg { width: 22px; height: 22px; }
.hero-prev { left: 22px; } .hero-prev svg { transform: rotate(90deg); }
.hero-next { right: 22px; } .hero-next svg { transform: rotate(-90deg); }
.hero-arrow:hover { background: var(--blue); border-color: var(--blue); }
@media (max-width: 860px) {
  .hero-arrow { top: auto; bottom: 14px; transform: none; width: 42px; height: 42px; background: rgba(10, 13, 18, 0.6); }
  .hero-prev { left: 16px; } .hero-next { right: 16px; }
}
@media (prefers-reduced-motion: reduce) { .hero-slides img { transform: none; transition: opacity 0.6s; } }
@keyframes heroZoom { to { transform: scale(1); } }
.hero-shade { position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(to top, rgba(10, 13, 18, 1) 0%, rgba(10, 13, 18, 0.55) 35%, rgba(10, 13, 18, 0.15) 70%, rgba(10, 13, 18, 0.35) 100%),
  linear-gradient(100deg, rgba(10, 13, 18, 0.85) 0%, rgba(10, 13, 18, 0.35) 45%, rgba(10, 13, 18, 0) 75%); }
.hero-inner { padding-block: clamp(40px, 6vw, 80px) clamp(72px, 9vw, 120px); display: grid; gap: clamp(36px, 6vw, 72px); }
.hero-copy { max-width: 820px; display: grid; gap: 26px; }
.hero-copy h1 { color: #fff; }
.hero-copy h1 em { font-style: normal; color: var(--blue-3); }
.hero-copy .lead { max-width: 56ch; color: #c7d0dc; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 6px; }
.hero-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.hero-strip > div { background: rgba(10, 13, 18, 0.55); padding: 22px 26px; display: grid; gap: 6px; }
.hero-strip strong { font-family: var(--font-head); font-size: 1.15rem; font-weight: 600; color: #fff; }
.hero-strip span { color: var(--text-2); font-size: 0.92rem; }
.hero-scroll { position: absolute; right: var(--gutter); bottom: 34px; display: inline-flex; align-items: center; gap: 12px; color: var(--text-3); font-size: 0.72rem; letter-spacing: 0.24em; text-transform: uppercase; font-family: var(--font-head); }
.hero-scroll i { display: block; width: 1px; height: 48px; background: linear-gradient(to bottom, var(--blue-3), transparent); position: relative; overflow: hidden; }
.hero-scroll i::after { content: ''; position: absolute; inset: 0; background: var(--bg); animation: scrollHint 2.2s var(--ease-in-out) infinite; }
@keyframes scrollHint { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(100%); } }
@media (max-width: 860px) {
  .hero-strip { grid-template-columns: 1fr; }
  .hero-strip > div { padding: 16px 20px; }
  .hero-scroll { display: none; }
}

/* intro video overlay */
.intro { position: fixed; inset: 0; z-index: 1500; display: none; place-items: center; background: #000; transition: opacity 0.7s var(--ease-in-out), visibility 0s linear 0.7s; }
html.intro-pending .intro { display: grid; }
html.intro-pending body { overflow: hidden; }
.intro.is-done { opacity: 0; visibility: hidden; }
.intro video { width: min(60vmin, 420px); height: auto; aspect-ratio: 1; }
.intro-skip { position: absolute; right: 24px; bottom: 24px; font-family: var(--font-head); font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-3); padding: 10px 14px; border: 1px solid var(--line); border-radius: 999px; transition: color 0.25s, border-color 0.25s; }
.intro-skip:hover { color: var(--text); border-color: var(--line-2); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; padding-top: calc(var(--header-h) + clamp(56px, 8vw, 110px)); padding-bottom: clamp(48px, 6vw, 88px); isolation: isolate; overflow: hidden; }
.page-hero.has-media { min-height: min(68svh, 700px); display: grid; align-items: end; }
.page-hero .hero-media img { animation: none; transform: none; object-position: 50% 50%; }
.page-hero .hero-shade { background: linear-gradient(to top, rgba(10, 13, 18, 1) 0%, rgba(10, 13, 18, 0.55) 38%, rgba(10, 13, 18, 0.12) 75%, rgba(10, 13, 18, 0.3) 100%), linear-gradient(90deg, rgba(10, 13, 18, 0.55) 0%, rgba(10, 13, 18, 0.05) 60%); }
.page-hero-copy { display: grid; gap: 20px; max-width: 860px; }
.page-hero-copy h1 { color: #fff; }
.page-hero-copy .lead { color: #c7d0dc; }
.page-hero:not(.has-media)::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 50% at 20% 0%, rgba(0, 96, 170, 0.22), transparent 70%); }
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 0.82rem; color: var(--text-3); font-family: var(--font-head); letter-spacing: 0.08em; text-transform: uppercase; }
.breadcrumb a { color: var(--text-2); transition: color 0.25s; }
.breadcrumb a:hover { color: var(--blue-3); }
.breadcrumb svg { width: 12px; height: 12px; opacity: 0.5; }

/* ---------- Cards / grids ---------- */
.services-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; }
.services-grid > * { grid-column: span 4; }
.services-grid > *:nth-child(n + 4) { grid-column: span 3; }
@media (max-width: 1100px) { .services-grid > *, .services-grid > *:nth-child(n + 4) { grid-column: span 6; } }
@media (max-width: 600px) { .services-grid > *, .services-grid > *:nth-child(n + 4) { grid-column: span 12; } }
.services-grid.even > *, .services-grid.even > *:nth-child(n + 4) { grid-column: span 4; }
@media (max-width: 1100px) { .services-grid.even > *, .services-grid.even > *:nth-child(n + 4) { grid-column: span 6; } }
@media (max-width: 600px) { .services-grid.even > *, .services-grid.even > *:nth-child(n + 4) { grid-column: span 12; } }

.card {
  position: relative; display: grid; grid-template-rows: auto 1fr; overflow: hidden;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  transition: transform 0.5s var(--ease-out), border-color 0.4s, box-shadow 0.5s;
}
.card:hover { transform: translateY(-4px); border-color: rgba(0, 96, 170, 0.6); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(0, 96, 170, 0.15); }
.card-media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--surface-2); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease-out), filter 0.6s; filter: saturate(0.92); }
.card:hover .card-media img { transform: scale(1.05); filter: saturate(1); }
.card-body { padding: 22px 24px 26px; display: grid; gap: 10px; align-content: start; }
.card-body .idx { font-family: var(--font-head); font-size: 0.72rem; letter-spacing: 0.2em; color: var(--blue-3); }
.card-body h3 { font-size: 1.25rem; }
.card-body p { color: var(--text-2); font-size: 0.95rem; line-height: 1.55; }
.card-arrow { position: absolute; right: 18px; top: 18px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(10, 13, 18, 0.6); border: 1px solid var(--line-2); color: #fff; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transition: background 0.3s, transform 0.4s var(--ease-out); }
.card-arrow svg { width: 16px; height: 16px; }
.card:hover .card-arrow { background: var(--blue); border-color: var(--blue); transform: rotate(-45deg); }
.card > a.stretch { position: absolute; inset: 0; z-index: 2; }

.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.feature { padding: 28px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); display: grid; gap: 14px; align-content: start; position: relative; overflow: hidden; transition: border-color 0.4s, transform 0.5s var(--ease-out); }
.feature::after { content: ''; position: absolute; inset: auto -40px -40px auto; width: 140px; height: 140px; border-radius: 50%; background: radial-gradient(circle, rgba(0, 96, 170, 0.25), transparent 70%); opacity: 0; transition: opacity 0.5s; }
.feature:hover { border-color: rgba(0, 96, 170, 0.5); transform: translateY(-3px); }
.feature:hover::after { opacity: 1; }
.feature .ico { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--blue-soft); color: var(--blue-3); border: 1px solid rgba(0, 96, 170, 0.35); }
.feature .ico svg { width: 22px; height: 22px; }
.feature h3 { font-size: 1.15rem; }
.feature p { color: var(--text-2); font-size: 0.95rem; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: step; }
.step { position: relative; padding: 30px 26px 28px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(180deg, var(--surface), var(--bg-2)); display: grid; gap: 14px; align-content: start; overflow: hidden; }
.step::before { counter-increment: step; content: '0' counter(step); font-family: var(--font-head); font-weight: 700; font-size: 3.2rem; line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(74, 163, 238, 0.55); letter-spacing: -0.02em; }
.step::after { content: ''; position: absolute; left: 26px; top: 88px; width: 32px; height: 2px; background: var(--blue); }
.step h3 { font-size: 1.15rem; margin-top: 8px; }
.step p { color: var(--text-2); font-size: 0.95rem; }
@media (max-width: 980px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .steps { grid-template-columns: 1fr; } }

/* split section */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.split .copy { display: grid; gap: 22px; }
.split .copy p { color: var(--text-2); }
.split .copy h2 { margin-top: 4px; }
.checks { display: grid; gap: 12px; margin-top: 6px; }
.checks li { display: flex; gap: 14px; align-items: flex-start; color: var(--text); }
.checks li svg { width: 22px; height: 22px; flex: none; color: var(--blue-3); margin-top: 2px; }
.checks li span { color: var(--text-2); }
.checks li strong { color: var(--text); font-weight: 600; }
.collage { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.collage .ph { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--surface); }
.collage .ph img { width: 100%; height: 100%; object-fit: cover; }
.collage .ph:nth-child(1) { aspect-ratio: 3 / 4; }
.collage .ph:nth-child(2) { aspect-ratio: 3 / 4; margin-top: 56px; }
.collage::before { content: ''; position: absolute; inset: -20% -10% auto -10%; height: 70%; background: radial-gradient(50% 60% at 50% 50%, rgba(0, 96, 170, 0.28), transparent 70%); z-index: -1; filter: blur(20px); }
.collage .badge { position: absolute; left: 50%; bottom: 8%; transform: translateX(-50%); padding: 14px 22px; border-radius: 999px; background: rgba(10, 13, 18, 0.7); border: 1px solid var(--line-2); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); font-family: var(--font-head); font-weight: 600; font-size: 0.95rem; white-space: nowrap; color: #fff; }
.collage .badge em { font-style: normal; color: var(--blue-3); }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split.reverse .collage { order: -1; } }

/* gallery – uniform tiles, first tile spans 2 columns only when needed to avoid holes */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: clamp(200px, 21vw, 300px); gap: 14px; }
.gallery figure { margin: 0; position: relative; overflow: hidden; border-radius: var(--radius-sm); background: var(--surface-2); border: 1px solid var(--line); }
.gallery figure img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease-out); }
.gallery figure:hover img { transform: scale(1.04); }
.gallery figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 16px 14px; font-size: 0.82rem; color: #fff; background: linear-gradient(to top, rgba(10, 13, 18, 0.85), transparent); opacity: 0; transform: translateY(8px); transition: opacity 0.4s, transform 0.4s var(--ease-out); }
.gallery figure:hover figcaption { opacity: 1; transform: none; }
@media (min-width: 901px) { .gallery figure.wide-3 { grid-column: span 2; } }
@media (max-width: 900px) { .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: clamp(170px, 28vw, 260px); } .gallery figure.wide-2 { grid-column: span 2; } }
@media (max-width: 520px) { .gallery { gap: 10px; grid-auto-rows: 160px; } .gallery figcaption { opacity: 1; transform: none; padding: 30px 12px 10px; font-size: 0.75rem; } }

/* bento (home) */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 250px; gap: 14px; }
.bento figure { margin: 0; overflow: hidden; border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--surface-2); position: relative; }
.bento figure img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease-out); }
.bento figure:hover img { transform: scale(1.04); }
.bento figure:nth-child(1) { grid-column: 1 / 3; grid-row: 1 / 3; }
.bento figure:nth-child(2) { grid-column: 3; grid-row: 1; }
.bento figure:nth-child(3) { grid-column: 4; grid-row: 1 / 3; }
.bento figure:nth-child(4) { grid-column: 3; grid-row: 2; }
.bento figure:nth-child(5) { grid-column: 1 / 3; grid-row: 3; }
.bento figure:nth-child(6) { grid-column: 3 / 5; grid-row: 3; }
.bento figcaption { position: absolute; left: 14px; bottom: 12px; padding: 6px 12px; border-radius: 999px; background: rgba(10, 13, 18, 0.65); border: 1px solid var(--line-2); font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase; font-family: var(--font-head); color: #fff; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
@media (max-width: 900px) {
  .bento { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 210px; }
  .bento figure:nth-child(n) { grid-column: auto; grid-row: auto; }
  .bento figure:nth-child(1) { grid-column: 1 / 3; }
  .bento figure:nth-child(5), .bento figure:nth-child(6) { grid-column: auto; }
  .bento-4 figure:nth-child(4) { grid-column: 1 / 3; }
}
@media (max-width: 520px) { .bento { grid-auto-rows: 160px; gap: 10px; } }

/* includes list */
.includes { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; }
.includes li { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--text-2); font-size: 0.98rem; }
.includes li svg { width: 18px; height: 18px; flex: none; color: var(--blue-3); margin-top: 4px; }
@media (max-width: 720px) { .includes { grid-template-columns: 1fr; } }

/* prose (legal, about) */
.prose { max-width: 76ch; display: grid; gap: 18px; color: var(--text-2); }
.prose h2 { font-size: clamp(1.4rem, 2.2vw, 1.8rem); color: var(--text); margin-top: 26px; }
.prose h3 { font-size: 1.15rem; color: var(--text); margin-top: 12px; }
.prose p strong { color: var(--text); }
.prose ul, .prose ol { display: grid; gap: 8px; padding-left: 22px; list-style: disc; }
.prose ol { list-style: decimal; }
.prose a { color: var(--blue-3); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(74, 163, 238, 0.4); }
.prose a:hover { text-decoration-color: currentColor; }
.prose table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { color: var(--text); font-family: var(--font-head); font-weight: 600; font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; }
.prose .table-wrap { overflow-x: auto; }
.prose .meta { font-size: 0.85rem; color: var(--text-3); }
.info-card { padding: 26px 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); display: grid; gap: 8px; color: var(--text-2); }
.info-card strong { color: var(--text); }
.info-card .row { display: grid; grid-template-columns: 140px 1fr; gap: 8px 16px; }
.info-card .row span:first-child { color: var(--text-3); font-size: 0.85rem; letter-spacing: 0.06em; text-transform: uppercase; font-family: var(--font-head); padding-top: 3px; }
@media (max-width: 560px) { .info-card .row { grid-template-columns: 1fr; gap: 2px 0; margin-bottom: 8px; } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(36px, 5vw, 80px); align-items: start; }
.contact-list { display: grid; gap: 16px; }
.contact-item { display: grid; grid-template-columns: 50px 1fr; gap: 16px; align-items: start; padding: 20px 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); transition: border-color 0.3s, transform 0.4s var(--ease-out); }
a.contact-item:hover { border-color: rgba(0, 96, 170, 0.6); transform: translateY(-2px); }
.contact-item .ico { width: 50px; height: 50px; border-radius: 12px; background: var(--blue-soft); border: 1px solid rgba(0, 96, 170, 0.35); display: grid; place-items: center; color: var(--blue-3); }
.contact-item .ico svg { width: 22px; height: 22px; }
.contact-item .lbl { display: block; font-family: var(--font-head); font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-3); margin-bottom: 4px; }
.contact-item strong { font-family: var(--font-head); font-size: 1.15rem; font-weight: 600; color: var(--text); display: block; }
.contact-item span.sub { display: block; color: var(--text-2); font-size: 0.9rem; margin-top: 2px; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

.form { display: grid; gap: 16px; padding: clamp(24px, 3vw, 36px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); position: relative; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 8px; }
.field label { font-family: var(--font-head); font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-2); }
.field label i { color: var(--blue-3); font-style: normal; }
.field input, .field select, .field textarea { width: 100%; background: var(--bg); border: 1px solid var(--line-2); border-radius: var(--radius-sm); color: var(--text); padding: 14px 16px; font: inherit; font-size: 1rem; transition: border-color 0.25s, box-shadow 0.25s; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue-2); box-shadow: 0 0 0 4px rgba(0, 96, 170, 0.22); }
.field textarea { min-height: 150px; resize: vertical; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%234aa3ee' stroke-width='2'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
.field select option { background: var(--surface-2); }
.field.invalid input, .field.invalid textarea { border-color: var(--danger); }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 0.9rem; color: var(--text-2); }
.consent input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--blue); flex: none; }
.consent a { color: var(--blue-3); text-decoration: underline; text-underline-offset: 3px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-foot { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; justify-content: space-between; }
.form-note { font-size: 0.85rem; color: var(--text-3); }
.form-status { display: none; padding: 14px 18px; border-radius: var(--radius-sm); font-size: 0.95rem; border: 1px solid; }
.form-status.ok { display: block; color: var(--success); border-color: rgba(61, 214, 140, 0.4); background: rgba(61, 214, 140, 0.08); }
.form-status.err { display: block; color: #ff8a8e; border-color: rgba(229, 72, 77, 0.45); background: rgba(229, 72, 77, 0.08); }
.cf-turnstile { min-height: 65px; }

.map-wrap { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--surface); aspect-ratio: 21 / 9; min-height: 340px; }
.map-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: invert(0.92) hue-rotate(185deg) saturate(0.55) brightness(0.86) contrast(1.05); }
.map-consent { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 24px; background: radial-gradient(60% 60% at 50% 40%, rgba(0, 96, 170, 0.18), transparent 70%), var(--surface); }
.map-consent > div { display: grid; gap: 14px; justify-items: center; max-width: 480px; }
.map-consent p { color: var(--text-2); font-size: 0.95rem; }
.map-consent .ico { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--blue-soft); color: var(--blue-3); border: 1px solid rgba(0, 96, 170, 0.35); }
.map-consent .ico svg { width: 26px; height: 26px; }
.map-consent .small { font-size: 0.8rem; color: var(--text-3); }
.map-wrap.is-loaded .map-consent { display: none; }
.map-pin { position: absolute; left: 20px; bottom: 20px; padding: 14px 18px; border-radius: var(--radius-sm); background: rgba(10, 13, 18, 0.78); border: 1px solid var(--line-2); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); display: grid; gap: 4px; font-size: 0.9rem; color: var(--text-2); max-width: min(320px, calc(100% - 40px)); }
.map-pin strong { color: #fff; font-family: var(--font-head); }
.map-pin a { color: var(--blue-3); font-size: 0.85rem; }
@media (max-width: 720px) { .map-wrap { aspect-ratio: 4 / 3; } .map-pin { left: 12px; bottom: 12px; } }

/* ---------- Back to top ---------- */
.to-top { position: fixed; right: 20px; bottom: 20px; z-index: 1100; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: rgba(12, 16, 23, 0.8); border: 1px solid var(--line-2); color: #fff; -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 16px 40px -18px rgba(0, 0, 0, 0.9); opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity 0.35s, transform 0.35s var(--ease-out), visibility 0s linear 0.35s, background 0.25s, border-color 0.25s; }
.to-top svg { width: 20px; height: 20px; }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.to-top:hover { background: var(--blue); border-color: var(--blue); }
body.cookie-open .to-top { opacity: 0; visibility: hidden; }

/* ---------- Cookie banner ---------- */
.cookie { position: fixed; right: 20px; bottom: 20px; z-index: 1200; width: min(440px, calc(100vw - 40px)); padding: 22px 24px; border-radius: var(--radius); background: rgba(12, 16, 22, 0.86); border: 1px solid var(--line-2); -webkit-backdrop-filter: blur(20px) saturate(150%); backdrop-filter: blur(20px) saturate(150%); box-shadow: 0 30px 70px -30px rgba(0, 0, 0, 0.9); display: none; gap: 14px; transform: translateY(20px); opacity: 0; transition: opacity 0.5s, transform 0.5s var(--ease-out); }
.cookie.is-visible { display: grid; }
.cookie.is-in { opacity: 1; transform: none; }
.cookie h3 { font-size: 1rem; }
.cookie p { font-size: 0.88rem; color: var(--text-2); }
.cookie p a { color: var(--blue-3); text-decoration: underline; text-underline-offset: 3px; }
.cookie .actions { display: flex; flex-wrap: wrap; gap: 10px; }
.cookie .btn { padding: 11px 18px; font-size: 0.8rem; }

/* ---------- Reveal ---------- */
html.js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out); }
html.js [data-reveal].is-visible { opacity: 1; transform: none; }
html.js [data-reveal-group] > * { opacity: 0; transform: translateY(22px); transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out); }
html.js [data-reveal-group].is-visible > * { opacity: 1; transform: none; }
html.js [data-reveal-group].is-visible > *:nth-child(2) { transition-delay: 0.08s; }
html.js [data-reveal-group].is-visible > *:nth-child(3) { transition-delay: 0.16s; }
html.js [data-reveal-group].is-visible > *:nth-child(4) { transition-delay: 0.24s; }
html.js [data-reveal-group].is-visible > *:nth-child(5) { transition-delay: 0.32s; }
html.js [data-reveal-group].is-visible > *:nth-child(6) { transition-delay: 0.4s; }
html.js [data-reveal-group].is-visible > *:nth-child(7) { transition-delay: 0.48s; }
html.js [data-reveal-group].is-visible > *:nth-child(n + 8) { transition-delay: 0.52s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001s !important; animation-iteration-count: 1 !important; transition-duration: 0.001s !important; }
  html.js [data-reveal], html.js [data-reveal-group] > * { opacity: 1; transform: none; }
}

/* ---------- Mini service cards ---------- */
.mini-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.mini-card { position: relative; display: grid; gap: 6px; padding: 10px 10px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); transition: border-color 0.3s, transform 0.4s var(--ease-out); }
.mini-card:hover { border-color: rgba(0, 96, 170, 0.6); transform: translateY(-3px); }
.mini-media { aspect-ratio: 4 / 3; border-radius: 6px; overflow: hidden; background: var(--surface-2); margin-bottom: 6px; }
.mini-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease-out); }
.mini-card:hover .mini-media img { transform: scale(1.05); }
.mini-idx { font-family: var(--font-head); font-size: 0.7rem; letter-spacing: 0.2em; color: var(--blue-3); }
.mini-card strong { font-family: var(--font-head); font-weight: 600; font-size: 0.95rem; line-height: 1.25; }
.mini-card > svg { position: absolute; right: 12px; bottom: 14px; width: 16px; height: 16px; color: var(--blue-3); opacity: 0; transform: translateX(-6px); transition: opacity 0.3s, transform 0.3s var(--ease-out); }
.mini-card:hover > svg { opacity: 1; transform: none; }
@media (max-width: 1100px) { .mini-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .mini-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; } }

/* ---------- Lightbox ---------- */
[data-lightbox] figure { cursor: zoom-in; }
.lb { position: fixed; inset: 0; z-index: 1400; display: none; background: rgba(4, 6, 10, 0.92); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); opacity: 0; transition: opacity 0.3s; }
.lb.is-open { display: block; }
.lb.is-in { opacity: 1; }
.lb-stage { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 72px clamp(16px, 8vw, 110px) 80px; }
.lb-stage img { max-width: calc(100vw - 2 * clamp(16px, 8vw, 110px)); max-height: calc(100vh - 152px); max-height: calc(100dvh - 152px); width: auto; height: auto; object-fit: contain; border-radius: 8px; box-shadow: 0 40px 100px -30px rgba(0, 0, 0, 0.9); opacity: 0; transform: scale(0.97); transition: opacity 0.35s var(--ease-out), transform 0.35s var(--ease-out); }
.lb-stage img.is-in { opacity: 1; transform: none; }
.lb-cap { position: absolute; left: 0; right: 0; bottom: 18px; text-align: center; padding: 0 80px; color: var(--text-2); font-size: 0.9rem; pointer-events: none; }
.lb-count { position: absolute; left: 24px; top: 20px; font-family: var(--font-head); font-size: 0.8rem; letter-spacing: 0.16em; color: var(--text-3); }
.lb-btn { position: absolute; z-index: 2; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line-2); color: #fff; transition: background 0.25s, border-color 0.25s, transform 0.3s var(--ease-out); }
.lb-btn svg { width: 22px; height: 22px; }
.lb-btn:hover { background: var(--blue); border-color: var(--blue); }
.lb-close { right: 20px; top: 16px; }
.lb-prev, .lb-next { top: 50%; transform: translateY(-50%); }
.lb-prev { left: 20px; } .lb-next { right: 20px; }
.lb-prev:hover { transform: translateY(-50%) translateX(-3px); } .lb-next:hover { transform: translateY(-50%) translateX(3px); }
@media (max-width: 700px) {
  .lb-stage { padding: 64px 12px 72px; }
  .lb-stage img { max-width: calc(100vw - 24px); max-height: calc(100vh - 136px); max-height: calc(100dvh - 136px); }
  .lb-btn { width: 44px; height: 44px; }
  .lb-prev, .lb-next { top: auto; bottom: 14px; transform: none; }
  .lb-prev { left: 16px; } .lb-next { right: 16px; }
  .lb-cap { bottom: 26px; padding: 0 70px; font-size: 0.8rem; }
}

/* ---------- SEO text blocks ---------- */
.seo-text { display: grid; gap: 16px; }
.seo-text p { max-width: none; }
.seo-text h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); margin-top: 6px; }
.seo-text p { color: var(--text-2); }
.seo-text a { color: var(--blue-3); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(74, 163, 238, 0.4); }
.seo-text a:hover { text-decoration-color: currentColor; }
.seo-grid { grid-template-columns: 1fr 1fr; }
.seo-grid .feature p.related { color: var(--text-3); font-size: 0.9rem; }
.seo-grid .feature p.related a { color: var(--blue-3); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 800px) { .seo-grid { grid-template-columns: 1fr; } }

/* ---------- Misc ---------- */
.divider { height: 1px; background: linear-gradient(90deg, transparent, var(--line-2), transparent); }
.bg-glow { position: relative; }
.bg-glow::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(50% 40% at 80% 20%, rgba(0, 96, 170, 0.14), transparent 70%); pointer-events: none; }
.surface-band { background: linear-gradient(180deg, var(--bg-2), var(--bg)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.other-services { display: flex; flex-wrap: wrap; gap: 10px; }
.other-services a { padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line-2); font-family: var(--font-head); font-size: 0.85rem; font-weight: 600; letter-spacing: 0.04em; color: var(--text-2); transition: color 0.25s, border-color 0.25s, background 0.25s; }
.other-services a:hover { color: #fff; border-color: var(--blue); background: var(--blue); }
.notfound { min-height: 80svh; display: grid; place-items: center; text-align: center; padding-top: var(--header-h); }
.notfound .code { font-family: var(--font-head); font-weight: 700; font-size: clamp(5rem, 16vw, 11rem); line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(74, 163, 238, 0.6); }

/* ==========================================================================
   Corner-bracket style (matches the logo): borders are replaced by blue
   L-shaped corners; radii are squared off like the wordmark.
   ========================================================================== */
:root {
  --bk-c: var(--blue);
  --bk-s: 22px;
  --bk-t: 2px;
  --bk-img: linear-gradient(var(--bk-c), var(--bk-c)), linear-gradient(var(--bk-c), var(--bk-c)), linear-gradient(var(--bk-c), var(--bk-c)), linear-gradient(var(--bk-c), var(--bk-c)), linear-gradient(var(--bk-c), var(--bk-c)), linear-gradient(var(--bk-c), var(--bk-c)), linear-gradient(var(--bk-c), var(--bk-c)), linear-gradient(var(--bk-c), var(--bk-c));
  --bk-pos: 0 0, 0 0, 100% 0, 100% 0, 0 100%, 0 100%, 100% 100%, 100% 100%;
  --bk-size: var(--bk-s) var(--bk-t), var(--bk-t) var(--bk-s), var(--bk-s) var(--bk-t), var(--bk-t) var(--bk-s), var(--bk-s) var(--bk-t), var(--bk-t) var(--bk-s), var(--bk-s) var(--bk-t), var(--bk-t) var(--bk-s);
}

/* containers: brackets painted as background layers (content sits inside padding) */
.card, .feature, .info-card, .form, .mini-card, .contact-item, .dropdown, .cookie, .map-pin, .hero-strip > div {
  border-color: transparent; border-radius: 0;
  background-image: var(--bk-img); background-position: var(--bk-pos); background-size: var(--bk-size); background-repeat: no-repeat;
}
.card:hover, .feature:hover, .mini-card:hover, a.contact-item:hover { border-color: transparent; --bk-c: var(--blue-3); }
.step { border-color: transparent; border-radius: 0; background-image: var(--bk-img), linear-gradient(180deg, var(--surface), var(--bg-2)); background-position: var(--bk-pos), 0 0; background-size: var(--bk-size), 100% 100%; background-repeat: no-repeat; }
.card-media, .mini-media, .card-body { border-radius: 0; }

/* media: brackets painted above the image via a pseudo-element */
.gallery figure, .bento figure, .collage .ph, .map-wrap { border-color: transparent; border-radius: 0; position: relative; }
.gallery figure::after, .bento figure::after, .collage .ph::after, .map-wrap::after {
  content: ''; position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background-image: var(--bk-img); background-position: var(--bk-pos); background-size: var(--bk-size); background-repeat: no-repeat;
}
.gallery figure:hover, .bento figure:hover { --bk-c: var(--blue-3); }
.map-wrap iframe { border-radius: 0; }

/* buttons & icon boxes: smaller brackets */
.btn, .btn-ghost, .intro-skip, .social a, .lb-btn, .to-top, .burger, .card-arrow, .feature .ico, .contact-item .ico, .map-consent .ico, .hero-arrow, .hero-dots button {
  border-radius: 0;
}
.btn-ghost, .intro-skip, .social a, .lb-btn, .to-top, .burger, .card-arrow, .feature .ico, .contact-item .ico, .map-consent .ico, .hero-arrow {
  --bk-s: 12px; border-color: transparent;
  background-image: var(--bk-img); background-position: var(--bk-pos); background-size: var(--bk-size); background-repeat: no-repeat;
}
.btn-ghost:hover, .intro-skip:hover, .social a:hover, .lb-btn:hover, .to-top:hover, .burger:hover, .hero-arrow:hover { border-color: transparent; --bk-c: var(--blue-3); }
.card:hover .card-arrow { border-color: transparent; }
.hero-dots button { height: 3px; }

/* form controls & misc: squared to match */
.field input, .field select, .field textarea, .form-status, .lb-stage img, .mobile-panel, .cookie .btn { border-radius: 0; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue); box-shadow: none; }
