/* ============================================================
   AVERON SERVICE — style.css
   Palette:
     --clr-bg:       #08111E  (deep navy)
     --clr-surface:  #0D1C31
     --clr-elevated: #132540
     --clr-accent:   #E8971A  (amber)
     --clr-accent-d: #C47D0E
     --clr-text:     #EEF2F7
     --clr-muted:    #8A9BB4
   Fonts: Oswald (headings) + Inter (body)
   ============================================================ */

/* ── RESET & BASE ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --clr-bg:       #08111E;
  --clr-surface:  #0D1C31;
  --clr-elevated: #132540;
  --clr-accent:   #E8971A;
  --clr-accent-d: #C47D0E;
  --clr-text:     #EEF2F7;
  --clr-muted:    #8A9BB4;
  --clr-border:   rgba(255,255,255,.07);

  --ff-head: 'Oswald', system-ui, sans-serif;
  --ff-body: 'Inter', system-ui, sans-serif;

  --sp-xs:  .5rem;
  --sp-sm:  1rem;
  --sp-md:  1.5rem;
  --sp-lg:  2.5rem;
  --sp-xl:  4rem;
  --sp-2xl: 6rem;

  --radius-sm: .375rem;
  --radius-md: .75rem;
  --radius-lg: 1.25rem;

  --shadow-card:
    0 2px 4px rgba(0,0,0,.4),
    0 8px 24px rgba(0,0,0,.3),
    0 0 0 1px rgba(255,255,255,.05);

  --shadow-accent:
    0 4px 16px rgba(232,151,26,.35),
    0 1px 4px rgba(232,151,26,.2);

  /* Only animate transform + opacity — never transition-all */
  --ease-spring: cubic-bezier(.34,1.3,.64,1);
  --ease-out:    cubic-bezier(.22,1,.36,1);

  scroll-behavior: smooth;
}

html { font-size: 16px; }

body {
  font-family: var(--ff-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--clr-text);
  background-color: var(--clr-bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a   { color: inherit; text-decoration: none; }
ul  { list-style: none; }
address { font-style: normal; }
figure  { margin: 0; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ── CONTAINER ───────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: var(--sp-md);
}

/* ── TYPOGRAPHY ──────────────────────────────────────────── */
h1,h2,h3 { font-family: var(--ff-head); font-weight: 700; line-height: 1.15; }

h1 { font-size: clamp(2rem,   5vw, 3.5rem); letter-spacing: -.03em; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); letter-spacing: -.02em; }
h3 { font-size: 1.1rem; letter-spacing: -.01em; }

/* ── BUTTONS ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1.75rem;
  border-radius: var(--radius-sm);
  font-family: var(--ff-body);
  font-size: .95rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 220ms var(--ease-spring),
              box-shadow 220ms var(--ease-spring),
              background-color 180ms ease,
              color 180ms ease;
}
.btn:focus-visible { outline: 3px solid var(--clr-accent); outline-offset: 3px; }
.btn:active { transform: scale(.97) !important; }

.btn-primary {
  background: var(--clr-accent);
  color: #0a0a0a;
  box-shadow: var(--shadow-accent);
}
.btn-primary:hover {
  background: var(--clr-accent-d);
  box-shadow: 0 6px 24px rgba(232,151,26,.45);
  transform: translateY(-2px);
}

.btn-ghost {
  background: rgba(255,255,255,.07);
  color: var(--clr-text);
  border-color: var(--clr-border);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover {
  background: rgba(255,255,255,.13);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--clr-accent);
  border-color: var(--clr-accent);
}
.btn-outline:hover {
  background: var(--clr-accent);
  color: #0a0a0a;
  box-shadow: var(--shadow-accent);
  transform: translateY(-2px);
}

/* ── SECTION HEADER ──────────────────────────────────────── */
.section-header { text-align: center; margin-bottom: var(--sp-lg); }
.section-header h2 { margin-bottom: var(--sp-sm); }
.section-sub {
  color: var(--clr-muted);
  max-width: 600px;
  margin-inline: auto;
  font-size: .95rem;
}

/* ── LOGO ────────────────────────────────────────────────── */
.logo {
  display: flex;
  align-items: center;
  gap: .5rem;
  transition: opacity 180ms ease;
}
.logo:hover { opacity: .82; }
.logo:focus-visible { outline: 2px solid var(--clr-accent); outline-offset: 4px; border-radius: 4px; }

.logo-text {
  font-family: var(--ff-head);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.logo-accent { color: var(--clr-accent); }

/* ── HEADER ──────────────────────────────────────────────── */
.site-header {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  z-index: 100;
  background: rgba(8,17,30,.82);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--clr-border);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: var(--sp-md);
  height: 68px;
}

.main-nav { margin-inline-start: auto; }
.main-nav ul { display: flex; gap: var(--sp-md); }

.nav-link {
  font-size: .9rem;
  font-weight: 500;
  color: var(--clr-muted);
  padding: .25rem 0;
  border-bottom: 2px solid transparent;
  transition: color 180ms ease, border-color 180ms ease;
}
.nav-link:hover,
.nav-link.active { color: var(--clr-text); border-bottom-color: var(--clr-accent); }
.nav-link:focus-visible { outline: 2px solid var(--clr-accent); outline-offset: 4px; border-radius: 2px; }

.header-phone {
  font-weight: 600;
  font-size: .9rem;
  color: var(--clr-accent);
  white-space: nowrap;
  transition: color 180ms ease;
}
.header-phone:hover { color: var(--clr-accent-d); }
.header-phone:focus-visible { outline: 2px solid var(--clr-accent); outline-offset: 3px; border-radius: 2px; }

/* Burger */
.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: .5rem;
  background: none;
  border: none;
  cursor: pointer;
  margin-inline-start: auto;
  border-radius: var(--radius-sm);
}
.burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--clr-text);
  border-radius: 2px;
  transform-origin: center;
  transition: transform 280ms var(--ease-spring),
              opacity 180ms ease;
}
.burger.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.burger.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.burger:focus-visible { outline: 2px solid var(--clr-accent); }

/* ── HERO ────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-block: calc(68px + var(--sp-xl)) var(--sp-xl);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(.45) saturate(.6);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 90% at 15% 60%, rgba(8,17,30,.92) 0%, transparent 65%),
    radial-gradient(ellipse 55% 50% at 85% 15%, rgba(232,151,26,.07) 0%, transparent 60%),
    linear-gradient(to bottom, rgba(8,17,30,.25) 0%, rgba(8,17,30,.75) 100%);
}

/* SVG grain texture */
.hero-grain {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  opacity: .45;
  pointer-events: none;
}

/* Canvas — surveillance network animation */
#heroCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 720px;
}

/* Hero entrance animations (CSS, no JS needed) */
.hero-eyebrow,
.hero h1,
.hero-sub,
.hero-actions,
.hero-badges {
  opacity: 0;
  animation: hero-enter .9s var(--ease-out) forwards;
}
.hero-eyebrow  { animation-delay: .15s; }
.hero h1       { animation-delay: .28s; }
.hero-sub      { animation-delay: .42s; }
.hero-actions  { animation-delay: .56s; }
.hero-badges   { animation-delay: .72s; }

@keyframes hero-enter {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-eyebrow {
  display: inline-block;
  font-size: .8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--clr-accent);
  background: rgba(232,151,26,.1);
  border: 1px solid rgba(232,151,26,.28);
  padding: .3rem .85rem;
  border-radius: 2rem;
  margin-bottom: var(--sp-sm);
}
.hero h1 {
  color: #fff;
  margin-bottom: var(--sp-md);
  text-shadow: 0 2px 24px rgba(0,0,0,.45);
}
.hero-sub {
  font-size: 1.05rem;
  color: rgba(238,242,247,.76);
  max-width: 560px;
  margin-bottom: var(--sp-lg);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-sm);
  margin-bottom: var(--sp-xl);
}
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-sm);
}
.hero-badges li {
  display: flex;
  flex-direction: column;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-md);
  padding: .75rem 1.25rem;
  backdrop-filter: blur(10px);
  min-width: 88px;
  transition: background 180ms ease, border-color 180ms ease;
}
.hero-badges li:hover {
  background: rgba(232,151,26,.08);
  border-color: rgba(232,151,26,.3);
}
.badge-num {
  font-family: var(--ff-head);
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--clr-accent);
  line-height: 1;
}
.badge-label {
  font-size: .72rem;
  color: var(--clr-muted);
  margin-top: .2rem;
}

/* Scroll hint arrow */
.hero-scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  translate: -50% 0;
  z-index: 3;
}
.hero-scroll-hint span {
  display: block;
  width: 20px;
  height: 20px;
  border-right: 2px solid rgba(232,151,26,.6);
  border-bottom: 2px solid rgba(232,151,26,.6);
  rotate: 45deg;
  animation: scroll-bounce 1.6s var(--ease-out) infinite;
}
@keyframes scroll-bounce {
  0%, 100% { transform: translateY(0); opacity: .6; }
  50%       { transform: translateY(6px); opacity: 1; }
}

/* ── SCROLL REVEAL ───────────────────────────────────────── */
[data-animate] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .65s var(--ease-out),
              transform .65s var(--ease-spring);
}
[data-animate].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delays */
[data-delay="1"] { transition-delay:  80ms; }
[data-delay="2"] { transition-delay: 160ms; }
[data-delay="3"] { transition-delay: 240ms; }
[data-delay="4"] { transition-delay: 320ms; }
[data-delay="5"] { transition-delay: 400ms; }
[data-delay="6"] { transition-delay: 480ms; }

/* ── ADVANTAGES ──────────────────────────────────────────── */
.advantages {
  padding-block: var(--sp-2xl);
  background: var(--clr-surface);
  position: relative;
}
/* Subtle accent glow top-right */
.advantages::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 60% at 100% 0%, rgba(232,151,26,.05) 0%, transparent 65%);
  pointer-events: none;
}

.adv-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--sp-md);
}

.adv-card {
  background: var(--clr-elevated);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  padding: var(--sp-lg) var(--sp-md);
  box-shadow: var(--shadow-card);
  transition: transform 260ms var(--ease-spring),
              box-shadow 260ms var(--ease-spring),
              border-color 180ms ease,
              /* also keep the scroll reveal transition — must not override */
              opacity .65s var(--ease-out);
}
.adv-card:hover {
  transform: translateY(-5px);
  box-shadow:
    0 4px 10px rgba(0,0,0,.45),
    0 18px 36px rgba(0,0,0,.32),
    0 0 0 1px rgba(232,151,26,.14);
  border-color: rgba(232,151,26,.14);
}

.adv-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: rgba(232,151,26,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--sp-md);
  transition: background 180ms ease;
}
.adv-card:hover .adv-icon { background: rgba(232,151,26,.18); }
.adv-card h3 { margin-bottom: .5rem; }
.adv-card p  { font-size: .9rem; color: var(--clr-muted); }

/* ── SERVICES ────────────────────────────────────────────── */
.services { padding-block: var(--sp-2xl); background: var(--clr-bg); }

.srv-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--sp-md);
  margin-bottom: var(--sp-lg);
}

.srv-card {
  background: var(--clr-elevated);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  transition: transform 260ms var(--ease-spring),
              box-shadow 260ms var(--ease-spring),
              border-color 180ms ease,
              opacity .65s var(--ease-out);
}
.srv-card:hover {
  transform: translateY(-5px);
  box-shadow:
    0 4px 10px rgba(0,0,0,.45),
    0 20px 40px rgba(0,0,0,.3),
    0 0 0 1px rgba(232,151,26,.14);
  border-color: rgba(232,151,26,.14);
}

.srv-img {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
}
.srv-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 420ms var(--ease-out);
}
.srv-card:hover .srv-img img { transform: scale(1.05); }

.srv-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8,17,30,.65) 0%, transparent 55%);
}

.srv-body {
  padding: var(--sp-md);
  display: flex;
  flex-direction: column;
  flex: 1;
}
.srv-body h3 { margin-bottom: .5rem; }
.srv-body p  { font-size: .9rem; color: var(--clr-muted); flex: 1; margin-bottom: var(--sp-sm); }

.srv-link {
  color: var(--clr-accent);
  font-weight: 600;
  font-size: .88rem;
  transition: opacity 180ms ease;
  align-self: flex-start;
}
.srv-link:hover { opacity: .72; }
.srv-link:focus-visible { outline: 2px solid var(--clr-accent); outline-offset: 3px; border-radius: 2px; }

.srv-cta { text-align: center; }

/* ── OBJECTS ─────────────────────────────────────────────── */
.objects {
  padding-block: var(--sp-2xl);
  background: var(--clr-surface);
  position: relative;
}
.objects::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 70% at 0% 100%, rgba(232,151,26,.04) 0%, transparent 60%);
  pointer-events: none;
}

.obj-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: var(--sp-sm);
}

.obj-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 260ms var(--ease-spring),
              opacity .65s var(--ease-out);
}
.obj-card:hover { transform: scale(1.025); }

.obj-img {
  position: relative;
  aspect-ratio: 3/2;
  display: block;
}
.obj-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 420ms var(--ease-out);
}
.obj-card:hover .obj-img img { transform: scale(1.07); }

.obj-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(8,17,30,.9) 0%,
    rgba(8,17,30,.3) 55%,
    transparent 100%
  );
}

.obj-label {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  padding: var(--sp-md);
}
.obj-label h3 { font-size: 1rem; color: #fff; margin-bottom: .15rem; }
.obj-label p  { font-size: .78rem; color: var(--clr-muted); }

/* ── TRUST ───────────────────────────────────────────────── */
.trust {
  padding-block: var(--sp-2xl);
  background: var(--clr-bg);
  position: relative;
}
.trust::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 65% 80% at 95% 50%, rgba(232,151,26,.06) 0%, transparent 65%);
  pointer-events: none;
}

.trust-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-xl);
  align-items: center;
  position: relative;
}

.trust-text h2 { margin-bottom: var(--sp-md); }
.trust-text p  { color: var(--clr-muted); margin-bottom: var(--sp-md); }
.trust-text strong { color: var(--clr-text); }

.trust-list { display: flex; flex-direction: column; gap: .65rem; }
.trust-list li {
  display: flex;
  align-items: flex-start;
  gap: .65rem;
  font-size: .9rem;
  color: var(--clr-muted);
}
.trust-list li::before {
  content: '';
  width: 18px;
  height: 18px;
  min-width: 18px;
  border-radius: 50%;
  background: rgba(232,151,26,.12);
  border: 1px solid var(--clr-accent);
  margin-top: .22rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 10 10'%3E%3Cpath d='M2 5l2.5 2.5L8 3' stroke='%23E8971A' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

.trust-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-sm);
}

.trust-stat {
  background: var(--clr-elevated);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  padding: var(--sp-md);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-card);
  transition: transform 260ms var(--ease-spring),
              border-color 180ms ease,
              opacity .65s var(--ease-out);
}
.trust-stat:hover {
  transform: translateY(-3px);
  border-color: rgba(232,151,26,.2);
}
.stat-num {
  font-family: var(--ff-head);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--clr-accent);
  line-height: 1;
  margin-bottom: .3rem;
}
.stat-label { font-size: .8rem; color: var(--clr-muted); }

/* ── CTA SECTION ─────────────────────────────────────────── */
.cta-section {
  position: relative;
  padding-block: var(--sp-2xl);
  overflow: hidden;
}

.cta-bg {
  position: absolute;
  inset: 0;
  background: var(--clr-surface);
}
/* Animated amber aurora on CTA */
.cta-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 90% 120% at 50% 50%, rgba(232,151,26,.07) 0%, transparent 65%);
  animation: cta-pulse 5s ease-in-out infinite alternate;
}
.cta-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='0.025'/%3E%3C/svg%3E");
}

@keyframes cta-pulse {
  from { opacity: .6; transform: scale(1); }
  to   { opacity: 1;  transform: scale(1.08); }
}

.cta-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 680px;
}
.cta-inner h2 { margin-bottom: var(--sp-sm); }
.cta-inner > p { color: var(--clr-muted); margin-bottom: var(--sp-lg); }

.cta-form { width: 100%; }
.form-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-sm);
  justify-content: center;
  margin-bottom: var(--sp-sm);
}
.form-group { flex: 1; min-width: 200px; }

.cta-form input {
  width: 100%;
  padding: .75rem 1rem;
  background: rgba(255,255,255,.06);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-sm);
  color: var(--clr-text);
  font-family: var(--ff-body);
  font-size: .95rem;
  transition: border-color 180ms ease,
              box-shadow 180ms ease;
}
.cta-form input::placeholder { color: var(--clr-muted); }
.cta-form input:focus {
  outline: none;
  border-color: var(--clr-accent);
  box-shadow: 0 0 0 3px rgba(232,151,26,.16);
}

.form-note { font-size: .75rem; color: var(--clr-muted); opacity: .7; }

/* ── FOOTER ──────────────────────────────────────────────── */
.site-footer {
  background: var(--clr-surface);
  border-top: 1px solid var(--clr-border);
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: var(--sp-xl);
  padding-block: var(--sp-xl);
}

.footer-brand p {
  margin-top: var(--sp-sm);
  font-size: .9rem;
  color: var(--clr-muted);
  max-width: 280px;
}

.footer-nav h3,
.footer-contact h3 {
  font-family: var(--ff-body);
  font-size: .75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--clr-muted);
  margin-bottom: var(--sp-sm);
}

.footer-nav ul { display: flex; flex-direction: column; gap: .5rem; }
.footer-nav a {
  font-size: .9rem;
  color: var(--clr-muted);
  transition: color 180ms ease;
}
.footer-nav a:hover { color: var(--clr-text); }
.footer-nav a:focus-visible { outline: 2px solid var(--clr-accent); outline-offset: 3px; border-radius: 2px; }

.footer-contact address { display: flex; flex-direction: column; gap: .5rem; }
.footer-contact a {
  font-size: .9rem;
  color: var(--clr-muted);
  transition: color 180ms ease;
}
.footer-contact a:hover { color: var(--clr-accent); }
.footer-contact p { font-size: .9rem; color: var(--clr-muted); }

.footer-bottom {
  border-top: 1px solid var(--clr-border);
  padding-block: var(--sp-md);
}
.footer-bottom .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .5rem;
}
.footer-bottom p { font-size: .8rem; color: var(--clr-muted); }

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 900px) {
  .trust-inner { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  :root { --sp-2xl: 4rem; --sp-xl: 2.5rem; }

  .burger { display: flex; }

  .main-nav {
    position: fixed;
    inset-block-start: 68px;
    inset-inline: 0;
    background: rgba(8,17,30,.97);
    backdrop-filter: blur(20px);
    padding: var(--sp-md);
    border-bottom: 1px solid var(--clr-border);
    pointer-events: none;
    opacity: 0;
    transform: translateY(-12px);
    transition: transform 300ms var(--ease-spring),
                opacity 200ms ease;
  }
  .main-nav.is-open {
    pointer-events: auto;
    opacity: 1;
    transform: translateY(0);
  }
  .main-nav ul { flex-direction: column; gap: 0; }
  .nav-link {
    display: block;
    padding: .75rem 0;
    font-size: 1rem;
    border-bottom: 1px solid var(--clr-border);
  }

  .header-phone { display: none; }

  .adv-grid { grid-template-columns: 1fr; }
  .srv-grid { grid-template-columns: 1fr; }
  .obj-grid { grid-template-columns: 1fr 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom .container { flex-direction: column; }
}

@media (max-width: 480px) {
  .obj-grid   { grid-template-columns: 1fr; }
  .trust-stats { grid-template-columns: 1fr 1fr; }
  .form-row   { flex-direction: column; }
  .form-group { min-width: 100%; }
  .hero-actions .btn { flex: 1; justify-content: center; }
}

/* ── ELEMENT-LEVEL SCROLL ANIMATIONS (h2, h3, li) ───────── */
/*
   .anim-el   — initial hidden state (set by JS)
   .anim-el-in — revealed state (set by IntersectionObserver)
   data-si="N" — sibling index → CSS stagger delay
*/
.anim-el {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .55s ease,
              transform .6s cubic-bezier(.34, 1.28, .64, 1);
}
.anim-el.anim-el-in {
  opacity: 1;
  transform: none;
}

/* Stagger: each sibling starts 75 ms later than previous */
.anim-el[data-si="0"] { transition-delay:   0ms; }
.anim-el[data-si="1"] { transition-delay:  75ms; }
.anim-el[data-si="2"] { transition-delay: 150ms; }
.anim-el[data-si="3"] { transition-delay: 225ms; }
.anim-el[data-si="4"] { transition-delay: 300ms; }
.anim-el[data-si="5"] { transition-delay: 375ms; }
.anim-el[data-si="6"] { transition-delay: 450ms; }
.anim-el[data-si="7"] { transition-delay: 525ms; }
.anim-el[data-si="8"] { transition-delay: 600ms; }
.anim-el[data-si="9"] { transition-delay: 675ms; }

/* h2/h3 get a subtle slide from the left instead of from below */
h2.anim-el,
h3.anim-el {
  transform: translateX(-14px) translateY(6px);
}
h2.anim-el.anim-el-in,
h3.anim-el.anim-el-in {
  transform: none;
}

/* ── FORM RESULT MESSAGE ─────────────────────────────────── */
.form-result {
  margin-top: .75rem;
  padding: .65rem 1rem;
  border-radius: var(--radius-sm);
  font-size: .88rem;
  font-weight: 500;
  animation: hero-enter .4s ease both;
}
.form-result--success {
  background: rgba(74,222,128,.1);
  border: 1px solid rgba(74,222,128,.3);
  color: #4ade80;
}
.form-result--error {
  background: rgba(248,113,113,.1);
  border: 1px solid rgba(248,113,113,.3);
  color: #f87171;
}

/* ── REDUCED MOTION ──────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
  [data-animate]  { opacity: 1; transform: none; }
  .anim-el        { opacity: 1; transform: none; }
  #heroCanvas     { display: none; }
}
