/* ============================================================
   TEHNASAR d.o.o. — Srebrenik
   Prodaja traktora, poljoprivredne mehanizacije, ATV vozila,
   agregata, alata i industrijske opreme
   ============================================================ */

:root {
  --blue: #1a63d8;
  --blue-dark: #0e4bb0;
  --blue-deep: #0a3a8c;
  --navy: #0b1b33;
  --navy-2: #102547;
  --ink: #14243d;
  --gray: #5b6b82;
  --line: #e3e9f2;
  --light: #f4f7fb;
  --white: #ffffff;
  --wa: #25d366;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(11, 27, 51, .10);
  --shadow-lg: 0 24px 60px rgba(11, 27, 51, .16);
  --font-head: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body: "Barlow", "Segoe UI", Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container { width: min(1200px, 92%); margin: 0 auto; }

/* ---------- Top traka ---------- */
.topbar {
  background: var(--navy);
  color: #b9c6da;
  font-size: .82rem;
  letter-spacing: .06em;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 38px;
  gap: 16px;
  flex-wrap: wrap;
  padding: 4px 0;
}
.topbar-left { text-transform: uppercase; letter-spacing: .18em; font-weight: 600; color: #dce6f5; }
.topbar-left em { color: var(--blue); font-style: normal; padding: 0 .35em; }
.topbar-right { display: flex; gap: 22px; align-items: center; }
.topbar-right a { color: #dce6f5; display: inline-flex; align-items: center; gap: 7px; transition: color .2s; }
.topbar-right a:hover { color: var(--white); }
.topbar-right svg { width: 14px; height: 14px; fill: var(--blue); }

/* ---------- Header ---------- */
.header {
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s;
}
.header.scrolled { box-shadow: 0 6px 24px rgba(11, 27, 51, .08); }
.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  gap: 24px;
}
.logo { display: flex; align-items: center; flex-shrink: 0; }
.logo svg { height: 34px; width: auto; }

.nav { display: flex; align-items: center; gap: 34px; }
.nav a {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.02rem;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--ink);
  position: relative;
  padding: 6px 0;
  transition: color .2s;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--blue);
  transition: width .25s;
}
.nav a:hover, .nav a.active { color: var(--blue); }
.nav a:hover::after, .nav a.active::after { width: 100%; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.02rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  padding: 13px 30px;
  border-radius: 8px;
  border: 2px solid var(--blue);
  cursor: pointer;
  transition: all .25s;
  white-space: nowrap;
}
.btn-solid { background: var(--blue); color: var(--white); }
.btn-solid:hover { background: var(--blue-dark); border-color: var(--blue-dark); transform: translateY(-2px); box-shadow: 0 12px 26px rgba(26, 99, 216, .35); }
.btn-outline { background: transparent; color: var(--blue); }
.btn-outline:hover { background: var(--blue); color: var(--white); transform: translateY(-2px); }
.btn-white { background: var(--white); color: var(--blue); border-color: var(--white); }
.btn-white:hover { background: transparent; color: var(--white); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,.55); }
.btn-ghost:hover { background: var(--white); color: var(--navy); border-color: var(--white); transform: translateY(-2px); }

.header .btn { padding: 11px 24px; font-size: .95rem; }

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.burger span { width: 26px; height: 2.5px; background: var(--ink); border-radius: 2px; transition: all .3s; }
.burger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  color: var(--white);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.06);
  animation: heroZoom 14s ease-out forwards;
}
@keyframes heroZoom { to { transform: scale(1); } }
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(7, 18, 38, .88) 0%, rgba(7, 18, 38, .62) 46%, rgba(7, 18, 38, .25) 100%);
  z-index: 1;
}
.hero .container { position: relative; z-index: 2; }
.hero-content { max-width: 680px; padding: 110px 0 130px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .92rem;
  text-transform: uppercase;
  letter-spacing: .32em;
  color: #9fc1f5;
  margin-bottom: 26px;
}
.eyebrow::before { content: ""; width: 42px; height: 2px; background: var(--blue); }

.hero h1 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(2.9rem, 6.4vw, 4.9rem);
  line-height: 1.04;
  text-transform: uppercase;
  letter-spacing: .015em;
  margin-bottom: 24px;
}
.hero h1 .accent { color: #4f92f5; font-style: italic; }
.hero p.lead {
  font-size: 1.16rem;
  color: #cdd9ec;
  max-width: 540px;
  margin-bottom: 40px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.scroll-cue {
  position: absolute;
  bottom: 34px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-size: .78rem;
  letter-spacing: .38em;
  text-transform: uppercase;
  color: #9fb4d4;
}
.scroll-cue::after {
  content: "";
  width: 1.5px;
  height: 46px;
  background: linear-gradient(to bottom, var(--blue), transparent);
  animation: cue 2s ease-in-out infinite;
}
@keyframes cue { 0%,100% { opacity: .3; transform: scaleY(.6); transform-origin: top; } 50% { opacity: 1; transform: scaleY(1); } }

/* ---------- Stats traka ---------- */
.stats {
  background: var(--blue);
  color: var(--white);
  position: relative;
  z-index: 3;
}
.stats .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 44px 0;
  gap: 24px;
  text-align: center;
}
.stat b {
  display: block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 2.7rem;
  line-height: 1;
  margin-bottom: 8px;
}
.stat span {
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .2em;
  color: #cfe0fb;
  font-weight: 600;
}

/* ---------- Sekcije ---------- */
.section { padding: 96px 0; }
.section.light { background: var(--light); }
.section-head { max-width: 640px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow { color: var(--blue); justify-content: center; }
.section-head .eyebrow { color: var(--blue); margin-bottom: 16px; }
.section-head h2 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 2.9rem);
  text-transform: uppercase;
  line-height: 1.1;
  margin-bottom: 14px;
}
.section-head h2 .accent { color: var(--blue); font-style: italic; }
.section-head p { color: var(--gray); font-size: 1.05rem; }

/* ---------- Kategorije grid ---------- */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.cat-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3.4;
  display: flex;
  align-items: flex-end;
  transition: transform .35s, box-shadow .35s;
}
.cat-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.cat-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s;
}
.cat-card:hover img { transform: scale(1.07); }
.cat-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(7, 18, 38, .92) 0%, rgba(7, 18, 38, .25) 55%, rgba(7, 18, 38, .05) 100%);
}
.cat-body { position: relative; z-index: 2; padding: 26px 28px; color: var(--white); width: 100%; }
.cat-body h3 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.5rem;
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: 6px;
}
.cat-body p { font-size: .92rem; color: #c4d2e8; margin-bottom: 14px; }
.cat-link {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .9rem;
  text-transform: uppercase;
  letter-spacing: .18em;
  color: #6ea3f2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: gap .25s, color .25s;
}
.cat-card:hover .cat-link { gap: 14px; color: var(--white); }

/* ---------- Zašto mi ---------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}
.why-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 28px;
  transition: transform .3s, box-shadow .3s, border-color .3s;
}
.why-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.why-icon {
  width: 54px; height: 54px;
  border-radius: 12px;
  background: rgba(26, 99, 216, .1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.why-icon svg { width: 26px; height: 26px; fill: var(--blue); }
.why-card h3 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.25rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-bottom: 8px;
}
.why-card p { color: var(--gray); font-size: .95rem; }

/* ---------- Split (o nama teaser / kategorija detalj) ---------- */
.split {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 64px;
  align-items: center;
}
.split-img {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.split-img img { width: 100%; height: 100%; object-fit: cover; }
.split-content .eyebrow { color: var(--blue); margin-bottom: 16px; }
.split-content h2 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(1.9rem, 3.6vw, 2.7rem);
  text-transform: uppercase;
  line-height: 1.12;
  margin-bottom: 18px;
}
.split-content h2 .accent { color: var(--blue); font-style: italic; }
.split-content p { color: var(--gray); margin-bottom: 16px; }
.checklist { margin: 22px 0 32px; display: grid; gap: 12px; }
.checklist li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-weight: 500;
}
.checklist svg { width: 20px; height: 20px; fill: var(--blue); flex-shrink: 0; margin-top: 3px; }

/* ---------- CTA banner ---------- */
.cta-banner {
  background: linear-gradient(115deg, var(--navy) 0%, var(--navy-2) 55%, var(--blue-deep) 100%);
  color: var(--white);
  text-align: center;
  padding: 90px 0;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: "";
  position: absolute;
  right: -120px; top: -120px;
  width: 380px; height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(26,99,216,.35), transparent 70%);
}
.cta-banner h2 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(2rem, 4.4vw, 3.1rem);
  text-transform: uppercase;
  margin-bottom: 16px;
  position: relative;
}
.cta-banner h2 .accent { color: #4f92f5; font-style: italic; }
.cta-banner p { color: #b9c9e2; max-width: 560px; margin: 0 auto 36px; position: relative; }
.cta-banner .hero-actions { justify-content: center; position: relative; }

/* ---------- Page hero (podstranice) ---------- */
.page-hero {
  position: relative;
  min-height: 46vh;
  display: flex;
  align-items: center;
  color: var(--white);
  overflow: hidden;
}
.page-hero .hero-bg { animation: none; transform: scale(1); }
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(7, 18, 38, .9) 0%, rgba(7, 18, 38, .55) 60%, rgba(7, 18, 38, .3) 100%);
  z-index: 1;
}
.page-hero .container { position: relative; z-index: 2; padding: 90px 0 70px; }
.page-hero h1 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  text-transform: uppercase;
  line-height: 1.06;
  max-width: 700px;
}
.page-hero h1 .accent { color: #4f92f5; font-style: italic; }
.page-hero .crumbs {
  font-family: var(--font-head);
  font-size: .88rem;
  text-transform: uppercase;
  letter-spacing: .22em;
  color: #9fb4d4;
  margin-bottom: 18px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.page-hero .crumbs a:hover { color: var(--white); }
.page-hero .crumbs span { color: var(--blue); }

/* ---------- Ponuda lista (kategorija stranice) ---------- */
.offer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.offer-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 22px 24px;
  display: flex;
  gap: 14px;
  align-items: center;
  font-weight: 600;
  transition: transform .25s, box-shadow .25s;
}
.offer-item:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.offer-item svg { width: 22px; height: 22px; fill: var(--blue); flex-shrink: 0; }

/* ---------- Galerija ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3;
  position: relative;
  cursor: pointer;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s; }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item.wide { grid-column: span 2; aspect-ratio: auto; }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(7, 14, 28, .93);
  z-index: 300;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 4vw;
}
.lightbox.show { display: flex; }
.lightbox img { max-width: 100%; max-height: 90vh; border-radius: 10px; box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.lightbox-close {
  position: absolute;
  top: 26px; right: 32px;
  background: none;
  border: none;
  color: var(--white);
  font-size: 2.2rem;
  cursor: pointer;
  line-height: 1;
}

/* ---------- Aktuelna ponuda ---------- */
.ponuda-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.ponuda-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .3s, box-shadow .3s, border-color .3s;
}
.ponuda-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.ponuda-slika { aspect-ratio: 4 / 3; overflow: hidden; background: var(--light); }
.ponuda-slika img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.ponuda-card:hover .ponuda-slika img { transform: scale(1.06); }
.ponuda-slika-prazna { display: flex; align-items: center; justify-content: center; }
.ponuda-slika-prazna svg { width: 72px; height: 72px; fill: #c6d4e8; }
.ponuda-body { padding: 24px 26px 26px; display: flex; flex-direction: column; flex: 1; }
.ponuda-badge {
  align-self: flex-start;
  background: rgba(26, 99, 216, .1);
  color: var(--blue);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .14em;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 12px;
}
.ponuda-body h3 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.35rem;
  text-transform: uppercase;
  letter-spacing: .03em;
  line-height: 1.15;
  margin-bottom: 8px;
}
.ponuda-body p { color: var(--gray); font-size: .95rem; margin-bottom: 18px; }
.ponuda-dno {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.ponuda-cijena {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: .04em;
}
.ponuda-prazno {
  text-align: center;
  background: var(--light);
  border: 1px dashed #c6d4e8;
  border-radius: var(--radius);
  padding: 70px 30px;
}
.ponuda-prazno h3 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.6rem;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.ponuda-prazno p { color: var(--gray); }
.ponuda-prazno p a { color: var(--blue); font-weight: 600; }
@media (max-width: 1024px) { .ponuda-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .ponuda-grid { grid-template-columns: 1fr; } }

/* ---------- Kontakt ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 56px;
  align-items: start;
}
.contact-card {
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius);
  padding: 44px 40px;
  box-shadow: var(--shadow-lg);
}
.contact-card h3 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.6rem;
  text-transform: uppercase;
  margin-bottom: 26px;
}
.contact-row { display: flex; gap: 16px; align-items: flex-start; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
.contact-row:last-of-type { border-bottom: none; }
.contact-row svg { width: 22px; height: 22px; fill: var(--blue); flex-shrink: 0; margin-top: 3px; }
.contact-row b { display: block; font-family: var(--font-head); text-transform: uppercase; letter-spacing: .1em; font-size: .88rem; color: #8fa8cc; margin-bottom: 3px; }
.contact-row a:hover { color: #6ea3f2; }

.form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form label {
  display: block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .88rem;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--ink);
  margin-bottom: 7px;
}
.form input, .form select, .form textarea {
  width: 100%;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  padding: 13px 16px;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  background: var(--white);
  transition: border-color .2s, box-shadow .2s;
}
.form input:focus, .form select:focus, .form textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(26, 99, 216, .12);
}
.form textarea { resize: vertical; min-height: 130px; }
.form-note { font-size: .85rem; color: var(--gray); }
.form-status { font-weight: 600; display: none; padding: 14px 18px; border-radius: 10px; }
.form-status.ok { display: block; background: #e6f7ec; color: #1b7a3d; }
.form-status.err { display: block; background: #fdecec; color: #b3261e; }

.map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-top: 72px;
}
.map-wrap iframe { width: 100%; height: 420px; border: 0; display: block; }

/* ---------- Footer ---------- */
.footer { background: var(--navy); color: #a9b8cf; }
.footer-main {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding: 72px 0 52px;
}
.footer h4 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: .16em;
  color: var(--white);
  margin-bottom: 20px;
}
.footer .logo svg { height: 30px; margin-bottom: 18px; }
.footer-about p { font-size: .95rem; max-width: 300px; }
.footer-links li { margin-bottom: 11px; }
.footer-links a { transition: color .2s, padding-left .2s; }
.footer-links a:hover { color: var(--white); padding-left: 6px; }
.footer-contact li { display: flex; gap: 12px; margin-bottom: 15px; align-items: flex-start; font-size: .95rem; }
.footer-contact svg { width: 17px; height: 17px; fill: var(--blue); flex-shrink: 0; margin-top: 4px; }
.footer-contact a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  font-size: .85rem;
}
.footer-bottom .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-bottom a { color: #6ea3f2; }
.footer-bottom a:hover { color: var(--white); }

/* ---------- WhatsApp float ---------- */
.wa-float {
  position: fixed;
  bottom: 26px;
  right: 26px;
  z-index: 200;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--wa);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 26px rgba(37, 211, 102, .45);
  transition: transform .25s, box-shadow .25s;
}
.wa-float:hover { transform: scale(1.1); box-shadow: 0 14px 34px rgba(37, 211, 102, .55); }
.wa-float svg { width: 30px; height: 30px; fill: #fff; }

/* ---------- Reveal animacije ---------- */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .1s; }
.reveal-d2 { transition-delay: .2s; }
.reveal-d3 { transition-delay: .3s; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .cat-grid, .gallery-grid, .offer-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .topbar-left { display: none; }
  .topbar .container { justify-content: center; }
  .nav {
    position: fixed;
    top: 0; right: 0;
    height: 100vh;
    width: min(320px, 82vw);
    background: var(--navy);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 8px;
    padding: 40px 36px;
    transform: translateX(105%);
    transition: transform .35s ease;
    z-index: 150;
    box-shadow: -20px 0 60px rgba(0,0,0,.3);
  }
  .nav.open { transform: translateX(0); }
  .nav a { color: #dce6f5; font-size: 1.3rem; padding: 12px 0; }
  .nav a.active { color: #6ea3f2; }
  .header .btn { display: none; }
  .burger { display: flex; z-index: 160; }
  .burger.open span { background: #fff; }
  .stats .container { grid-template-columns: repeat(2, 1fr); padding: 36px 0; }
  .section { padding: 68px 0; }
  .hero { min-height: 78vh; }
  .hero-content { padding: 80px 0 110px; }
}
@media (max-width: 560px) {
  .scroll-cue { display: none; }
  .cat-grid, .gallery-grid, .offer-grid, .why-grid { grid-template-columns: 1fr; }
  .gallery-item.wide { grid-column: span 1; }
  .footer-main { grid-template-columns: 1fr; gap: 36px; }
  .form-row { grid-template-columns: 1fr; }
  .topbar-right { gap: 14px; font-size: .78rem; }
  .hero-actions .btn { width: 100%; }
}
