/* =========================================================
   İstanbul Sarıoğlu Nakliyat — Modern tema
   ========================================================= */

:root {
  --red: #c8102e;
  --red-600: #a50d26;
  --red-50: #fdecee;
  --ink: #0f1623;
  --ink-2: #1b2433;
  --text: #3d4656;
  --muted: #6b7484;
  --line: #e7e9ee;
  --soft: #f5f6f8;
  --white: #ffffff;
  --wa: #25d366;
  --wa-600: #1ebe5a;

  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 2px 8px rgba(15, 22, 35, .06);
  --shadow: 0 12px 32px rgba(15, 22, 35, .10);
  --shadow-lg: 0 24px 60px rgba(15, 22, 35, .18);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 84px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 10px); }

body {
  margin: 0;
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-x: clip;
}
html { overflow-x: hidden; overflow-x: clip; }
/* Menü / lightbox açıkken kaydırmayı kök öğede kilitle (body'de kilitlemek sticky header'ı bozar) */
html.no-scroll { overflow: hidden; }
html.no-scroll .header::before { background: #fff; }
html.no-scroll .header { border-color: var(--line); }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.2; margin: 0 0 .5em; font-weight: 800; letter-spacing: -.02em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; }
.break { overflow-wrap: anywhere; }
.ccard strong.break { font-size: 14.5px; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: 12px 22px; border-radius: 999px; border: 2px solid transparent;
  font-weight: 700; font-size: 15px; line-height: 1; white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s, border-color .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn--lg { padding: 16px 28px; font-size: 16px; }
.btn--block { width: 100%; }
.btn--primary { background: var(--red); color: #fff; box-shadow: 0 8px 20px rgba(200, 16, 46, .3); }
.btn--primary:hover { background: var(--red-600); }
.btn--whatsapp { background: var(--wa); color: #fff; box-shadow: 0 8px 22px rgba(37, 211, 102, .35); }
.btn--whatsapp:hover { background: var(--wa-600); }
.btn--ghost { background: rgba(255, 255, 255, .1); color: #fff; border-color: rgba(255, 255, 255, .45); backdrop-filter: blur(6px); }
.btn--ghost:hover { background: #fff; color: var(--ink); }
.btn--white { background: #fff; color: var(--red); }
.btn--white:hover { box-shadow: var(--shadow-lg); }
.btn--outline-white { color: #fff; border-color: rgba(255, 255, 255, .7); }
.btn--outline-white:hover { background: #fff; color: var(--red); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--red); }

/* ---------- Eyebrow / section heads ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .5em;
  font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em;
  color: var(--red); background: var(--red-50); padding: 7px 14px; border-radius: 999px; margin-bottom: 18px;
}
.eyebrow--light { color: #fff; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .2); }

.section { padding: 100px 0; }
.section--soft { background: var(--soft); }
.section--dark { background: var(--ink); color: #c5cad3; }
.section--dark h2, .section--dark h3 { color: #fff; }

.section__head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section__head h2 { font-size: clamp(28px, 4vw, 42px); }
.section__head p { color: var(--muted); font-size: 17px; }
h2 span { color: var(--red); }

/* ---------- Topbar ---------- */
.topbar { background: var(--ink); color: #c5cad3; font-size: 13.5px; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; min-height: 42px; gap: 16px; }
.topbar__info { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; }
.topbar__info a, .topbar__info span { display: inline-flex; align-items: center; gap: 8px; transition: color .2s; }
.topbar__info i { color: var(--red); }
.topbar__info a:hover { color: #fff; }
.topbar__social { display: flex; gap: 6px; }
.topbar__social a {
  width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%;
  color: #fff; transition: background .2s;
}
.topbar__social a:hover { background: var(--red); }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 100;
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s, border-color .3s;
}
/* Bulanık arka plan ayrı katmanda: header'a backdrop-filter verilirse
   içindeki position:fixed mobil menü ekran yerine header'a göre konumlanır */
.header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(255, 255, 255, .92);
  -webkit-backdrop-filter: saturate(160%) blur(14px); backdrop-filter: saturate(160%) blur(14px);
}
.header.scrolled { box-shadow: var(--shadow-sm); border-color: var(--line); }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 20px; }

.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 52px; height: 52px; border-radius: 12px; object-fit: contain; background: #fff; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__text strong { font-size: 21px; font-weight: 800; color: var(--red); letter-spacing: .02em; }
.brand__text small { font-size: 12.5px; font-weight: 700; color: var(--ink); letter-spacing: .32em; margin-top: 4px; }
.brand--light .brand__text small { color: #fff; }

.nav { display: flex; align-items: center; gap: 6px; }
.nav__link {
  position: relative; padding: 10px 14px; font-weight: 600; font-size: 15px; color: var(--ink-2);
  border-radius: 10px; transition: color .2s;
}
.nav__link::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px;
  background: var(--red); border-radius: 2px; transform: scaleX(0); transition: transform .3s var(--ease);
}
.nav__link:hover, .nav__link.active { color: var(--red); }
.nav__link:hover::after, .nav__link.active::after { transform: scaleX(1); }
.nav__cta-mobile { display: none; }

.header__actions { display: flex; align-items: center; gap: 14px; }
.header__phone { display: flex; align-items: center; gap: 12px; }
.header__phone-icon {
  width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%;
  background: var(--red); color: #fff; font-size: 18px;
  box-shadow: 0 0 0 0 rgba(200, 16, 46, .5); animation: pulse 2.4s infinite;
}
.header__phone small { display: block; font-size: 12px; color: var(--muted); font-weight: 600; }
.header__phone strong { display: block; font-size: 17px; color: var(--ink); }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(200, 16, 46, .45); }
  70% { box-shadow: 0 0 0 14px rgba(200, 16, 46, 0); }
  100% { box-shadow: 0 0 0 0 rgba(200, 16, 46, 0); }
}

.burger { display: none; width: 46px; height: 46px; border: 0; border-radius: 12px; background: var(--soft); position: relative; }
.burger span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.burger span:nth-child(1) { top: 15px; }
.burger span:nth-child(2) { top: 22px; }
.burger span:nth-child(3) { top: 29px; }
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: min(88vh, 820px); display: flex; align-items: center; color: #fff; overflow: hidden; padding: 80px 0 140px; }
.hero__bg { position: absolute; inset: 0; background-size: cover; background-position: center; transform: scale(1.08); animation: heroZoom 18s ease-out forwards; }
@keyframes heroZoom { to { transform: scale(1); } }
.hero__overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(100deg, rgba(10, 14, 22, .95) 0%, rgba(10, 14, 22, .86) 45%, rgba(10, 14, 22, .4) 100%),
    radial-gradient(circle at 15% 85%, rgba(200, 16, 46, .35), transparent 50%);
}
.hero__content { position: relative; z-index: 1; max-width: 1200px; }
.hero h1 { color: #fff; font-size: clamp(36px, 6vw, 68px); max-width: 780px; margin-bottom: 20px; }
.hero h1 span { color: transparent; background: linear-gradient(90deg, #ff4d63, #ff8a5b); -webkit-background-clip: text; background-clip: text; }
.hero__lead { font-size: clamp(16px, 1.6vw, 19px); max-width: 620px; color: #d7dbe2; margin-bottom: 34px; }
.hero__buttons { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 34px; }
.hero__badges { display: flex; flex-wrap: wrap; gap: 12px 26px; }
.hero__badges li { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; color: #eef0f4; }
.hero__badges i { color: #ff4d63; }

.hero__content > * { opacity: 0; transform: translateY(24px); animation: fadeUp .9s var(--ease) forwards; }
.hero__content > *:nth-child(2) { animation-delay: .1s; }
.hero__content > *:nth-child(3) { animation-delay: .2s; }
.hero__content > *:nth-child(4) { animation-delay: .3s; }
.hero__content > *:nth-child(5) { animation-delay: .4s; }
@keyframes fadeUp { to { opacity: 1; transform: none; } }

/* ---------- Stats ---------- */
.stats { position: relative; z-index: 2; margin-top: -80px; }
.stats__grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); overflow: hidden;
}
.stat { display: flex; align-items: center; gap: 16px; padding: 30px 26px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat__icon { flex: 0 0 56px; height: 56px; display: grid; place-items: center; border-radius: 16px; background: var(--red-50); color: var(--red); font-size: 22px; }
.stat strong { font-size: 32px; font-weight: 800; color: var(--ink); line-height: 1; }
.stat span:not(.stat__icon) { display: block; color: var(--muted); font-weight: 600; font-size: 14.5px; margin-top: 6px; }

/* ---------- Services ---------- */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.service {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.service:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: transparent; }
.service__img { aspect-ratio: 16 / 11; overflow: hidden; }
.service__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.service:hover .service__img img { transform: scale(1.07); }
.service__body { position: relative; padding: 38px 26px 28px; }
.service__icon {
  position: absolute; top: -28px; left: 26px; width: 56px; height: 56px; display: grid; place-items: center;
  border-radius: 16px; background: var(--red); color: #fff; font-size: 22px; box-shadow: 0 10px 22px rgba(200, 16, 46, .35);
}
.service h3 { font-size: 20px; }
.service p { color: var(--muted); margin: 0; font-size: 15px; }

/* ---------- Why ---------- */
.why { display: grid; grid-template-columns: 1fr 1.05fr; gap: 70px; align-items: center; }
.why__media { position: relative; padding: 0 60px 60px 0; }
.why__img { border-radius: var(--radius); object-fit: cover; }
.why__img--main { width: 100%; aspect-ratio: 4 / 5; }
.why__img--sub {
  position: absolute; right: 0; bottom: 0; width: 48%; aspect-ratio: 3 / 4;
  border: 6px solid var(--ink); box-shadow: var(--shadow-lg);
}
.why__badge {
  position: absolute; top: 28px; left: -18px; background: var(--red); color: #fff;
  padding: 18px 22px; border-radius: 16px; display: flex; align-items: center; gap: 12px; box-shadow: var(--shadow-lg);
}
.why__badge strong { font-size: 40px; line-height: 1; }
.why__badge span { font-size: 13px; font-weight: 700; line-height: 1.25; text-transform: uppercase; letter-spacing: .05em; }
.why__content h2 { font-size: clamp(28px, 4vw, 42px); }
.why__lead { font-size: 17px; margin-bottom: 34px; }
.features { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.feature {
  display: flex; gap: 16px; padding: 22px; border-radius: var(--radius-sm);
  background: var(--ink-2); border: 1px solid rgba(255, 255, 255, .06);
  transition: border-color .3s, transform .3s var(--ease);
}
.feature:hover { border-color: rgba(200, 16, 46, .6); transform: translateY(-4px); }
.feature__icon { flex: 0 0 48px; height: 48px; display: grid; place-items: center; border-radius: 12px; background: rgba(200, 16, 46, .15); color: #ff4d63; font-size: 19px; }
.feature h3 { font-size: 17px; margin-bottom: 6px; }
.feature p { margin: 0; font-size: 14.5px; color: #a9b0bc; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; position: relative; }
.steps::before {
  content: ""; position: absolute; top: 58px; left: 12%; right: 12%; height: 2px;
  background: repeating-linear-gradient(90deg, var(--red) 0 10px, transparent 10px 20px); opacity: .35;
}
.step {
  position: relative; background: #fff; border-radius: var(--radius); padding: 34px 24px 28px; text-align: center;
  box-shadow: var(--shadow-sm); transition: transform .35s var(--ease), box-shadow .35s;
}
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.step__num { position: absolute; top: 14px; right: 18px; font-size: 14px; font-weight: 800; color: #c9ced7; }
.step__icon {
  width: 72px; height: 72px; display: grid; place-items: center; margin: 0 auto 18px; border-radius: 50%;
  background: var(--red); color: #fff; font-size: 28px; box-shadow: 0 0 0 8px var(--red-50);
}
.step h3 { font-size: 18px; }
.step p { margin: 0; color: var(--muted); font-size: 14.5px; }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: 1.1fr 1fr; gap: 70px; align-items: center; }
.about__content h2 { font-size: clamp(28px, 4vw, 40px); }
.about__blocks { display: grid; gap: 16px; margin: 26px 0; }
.about__block { padding: 22px 24px; border-left: 4px solid var(--red); background: var(--soft); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.about__block h3 { font-size: 17px; display: flex; align-items: center; gap: 10px; }
.about__block h3 i { color: var(--red); }
.about__block p { margin: 0; font-size: 15px; }
.owner { display: inline-flex; align-items: center; gap: 14px; padding: 12px 22px 12px 12px; border: 1px solid var(--line); border-radius: 999px; margin-top: 8px; }
.owner img { width: 52px; height: 52px; border-radius: 50%; object-fit: contain; background: #fff; border: 1px solid var(--line); }
.owner strong { display: block; color: var(--ink); font-size: 16px; }
.owner span { font-size: 13.5px; color: var(--muted); }

.about__media { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 16px; height: 560px; }
.about__img { width: 100%; height: 100%; min-height: 0; object-fit: cover; border-radius: var(--radius); }
.about__img--a { grid-row: 1 / 3; }

/* ---------- CTA ---------- */
.cta {
  background:
    radial-gradient(circle at 90% 10%, rgba(255, 255, 255, .15), transparent 40%),
    linear-gradient(120deg, var(--red) 0%, #8f0b20 100%);
  color: #fff; padding: 64px 0;
}
.cta__inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.cta h2 { color: #fff; font-size: clamp(24px, 3.4vw, 36px); margin-bottom: 8px; }
.cta p { margin: 0; color: #ffdfe3; font-size: 17px; }
.cta__buttons { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.gallery__item {
  position: relative; display: block; width: 100%; aspect-ratio: 1 / 1; margin: 0; padding: 0; border: 0; background: var(--soft);
  border-radius: var(--radius-sm); overflow: hidden; cursor: zoom-in;
}
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.gallery__item::after {
  content: "\f00e"; font-family: "Font Awesome 6 Free"; font-weight: 900;
  position: absolute; inset: 0; display: grid; place-items: center; font-size: 26px; color: #fff;
  background: rgba(15, 22, 35, .45); opacity: 0; transition: opacity .3s;
}
.gallery__item:hover img { transform: scale(1.06); }
.gallery__item:hover::after { opacity: 1; }
.gallery__item.is-hidden { display: none; }
.gallery__more { text-align: center; margin-top: 30px; }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.3fr; gap: 28px; align-items: stretch; }
.contact__cards { display: grid; gap: 16px; }
.ccard {
  display: flex; align-items: center; gap: 16px; padding: 20px 22px; background: #fff; border-radius: var(--radius);
  box-shadow: var(--shadow-sm); border: 1px solid transparent; transition: border-color .25s, transform .25s var(--ease);
}
a.ccard:hover { border-color: var(--red); transform: translateX(4px); }
.ccard__icon { flex: 0 0 52px; height: 52px; display: grid; place-items: center; border-radius: 14px; background: var(--red-50); color: var(--red); font-size: 20px; }
.ccard--wa .ccard__icon { background: #e7f9ee; color: var(--wa-600); font-size: 24px; }
.ccard small { display: block; font-size: 13px; color: var(--muted); font-weight: 600; }
.ccard strong { display: block; color: var(--ink); font-size: 16px; line-height: 1.4; }

.map { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); min-height: 400px; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; filter: grayscale(.2); }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: #a9b0bc; padding-top: 80px; font-size: 15px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 56px; }
.footer__brand p { margin: 20px 0; max-width: 320px; }
.footer h4 { color: #fff; font-size: 17px; margin-bottom: 20px; }
.footer ul { display: grid; gap: 12px; }
.footer ul a { transition: color .2s, padding .2s; }
.footer ul a:hover { color: #fff; padding-left: 4px; }
.footer__contact li { display: flex; gap: 12px; align-items: flex-start; }
.footer__contact i { color: var(--red); margin-top: 5px; }
.footer__social { display: flex; gap: 10px; }
.footer__social a { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: var(--ink-2); color: #fff; font-size: 17px; transition: background .25s, transform .25s; }
.footer__social a:hover { background: var(--red); transform: translateY(-3px); }
.footer__bottom { border-top: 1px solid rgba(255, 255, 255, .08); padding: 22px 0; font-size: 14px; }
.footer__bottom-inner { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.footer__bottom p { margin: 0; }
.footer__bottom a { color: #fff; font-weight: 700; }
.footer__bottom a:hover { color: #ff4d63; }

/* ---------- Floating ---------- */
.float-wa {
  position: fixed; right: 24px; bottom: 24px; z-index: 90; width: 62px; height: 62px; border-radius: 50%;
  display: grid; place-items: center; background: var(--wa); color: #fff; font-size: 32px;
  box-shadow: 0 10px 28px rgba(37, 211, 102, .45); transition: transform .25s var(--ease);
}
.float-wa::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--wa); animation: ring 2s infinite; }
@keyframes ring { from { transform: scale(1); opacity: .8; } to { transform: scale(1.6); opacity: 0; } }
.float-wa:hover { transform: scale(1.08); }
.float-wa__tip {
  position: absolute; right: 76px; white-space: nowrap; background: #fff; color: var(--ink); font-size: 14px; font-weight: 700;
  padding: 9px 14px; border-radius: 10px; box-shadow: var(--shadow); opacity: 0; transform: translateX(8px); pointer-events: none; transition: .25s;
}
.float-wa:hover .float-wa__tip { opacity: 1; transform: none; }

.to-top {
  position: fixed; right: 31px; bottom: 100px; z-index: 89; width: 48px; height: 48px; border-radius: 50%; border: 0;
  background: var(--ink); color: #fff; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(10px); transition: .3s;
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--red); }

.mobile-bar { display: none; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 200; background: rgba(8, 11, 17, .94);
  display: flex; align-items: center; justify-content: center; padding: 60px 80px;
  opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox__figure { margin: 0; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.lightbox__figure img { max-width: 100%; max-height: calc(100vh - 140px); border-radius: 10px; object-fit: contain; box-shadow: var(--shadow-lg); }
.lightbox__figure figcaption { color: #c5cad3; font-size: 14px; font-weight: 600; }
.lightbox__close, .lightbox__nav {
  position: absolute; border: 0; width: 52px; height: 52px; border-radius: 50%;
  background: rgba(255, 255, 255, .1); color: #fff; font-size: 20px; transition: background .2s;
}
.lightbox__close:hover, .lightbox__nav:hover { background: var(--red); }
.lightbox__close { top: 20px; right: 20px; }
.lightbox__nav--prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox__nav--next { right: 20px; top: 50%; transform: translateY(-50%); }

/* ---------- Reveal on scroll ---------- */
/* Sadece JS çalışıyorsa gizle; JS yüklenmezse içerik yine görünür */
.js .reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal, .hero__content > * { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1100px) {
  .header__phone > span:last-child { display: none; }
  .services { grid-template-columns: repeat(2, 1fr); }
  .why, .about { gap: 48px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 960px) {
  :root { --header-h: 72px; }
  .hide-md { display: none !important; }
  .burger { display: block; }
  .header__phone { display: none; }

  .nav {
    position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0;
    flex-direction: column; align-items: stretch; gap: 4px; padding: 20px;
    background: #fff; transform: translateX(100%); visibility: hidden;
    transition: transform .4s var(--ease), visibility 0s linear .4s; overflow-y: auto; z-index: 99;
  }
  .nav.open { transform: none; visibility: visible; transition: transform .4s var(--ease), visibility 0s; }
  .nav__link { font-size: 18px; padding: 16px 14px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav__link::after { display: none; }
  .nav__cta-mobile { display: inline-flex; margin-top: 18px; padding: 16px; }

  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }

  .why, .about, .contact { grid-template-columns: 1fr; }
  .why__media { max-width: 560px; margin: 0 auto; width: 100%; }
  .about__media { height: 460px; order: -1; }

  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps::before { display: none; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 640px) {
  .section { padding: 72px 0; }
  .section__head { margin-bottom: 40px; }
  .hide-sm { display: none !important; }
  .topbar__info { gap: 14px; }
  .topbar__info a { min-height: 44px; }
  .topbar__social { gap: 2px; }
  .topbar__social a { width: 40px; height: 40px; font-size: 16px; }

  .brand img { width: 44px; height: 44px; }
  .brand__text strong { font-size: 18px; }
  .brand__text small { font-size: 11px; }

  .hero { min-height: auto; padding: 70px 0 130px; }
  .hero__buttons .btn { flex: 1 1 100%; }

  .stats { margin-top: -70px; }
  .stat { padding: 20px 16px; gap: 12px; flex-direction: column; align-items: flex-start; }
  .stat__icon { flex-basis: auto; width: 46px; height: 46px; font-size: 18px; border-radius: 12px; }
  .stat strong { font-size: 26px; }

  .services { grid-template-columns: 1fr; }
  .features { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .why__media { padding: 0 34px 40px 0; }
  .why__badge { left: -8px; padding: 14px 16px; }
  .why__badge strong { font-size: 30px; }

  .about__media { height: 340px; gap: 10px; }
  .map { min-height: 320px; }

  .cta { padding: 52px 0; }
  .cta__buttons, .cta__buttons .btn { width: 100%; }

  .gallery { grid-template-columns: repeat(2, 1fr); gap: 10px; }

  .footer { padding-top: 60px; padding-bottom: 64px; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .footer__bottom-inner { flex-direction: column; text-align: center; }

  .float-wa, .float-wa__tip { display: none; }
  .to-top { right: 16px; bottom: 80px; }
  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 95;
    box-shadow: 0 -6px 20px rgba(15, 22, 35, .12);
  }
  .mobile-bar a { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 16px; font-weight: 700; color: #fff; background: var(--red); }
  .mobile-bar .mobile-bar__wa { background: var(--wa); }

  .lightbox { padding: 60px 10px; }
  .lightbox__nav { top: auto; bottom: 16px; transform: none; }
  .lightbox__nav--prev { left: calc(50% - 64px); }
  .lightbox__nav--next { right: calc(50% - 64px); }
}
