:root {
  --red: #d7141a;
  --red-dark: #b30f14;
  --red-soft: #fdecec;
  --ink: #111318;
  --ink-2: #1b1e25;
  --text: #4a505c;
  --muted: #6b7280;
  --line: #e7e8ec;
  --soft: #f5f6f8;
  --white: #fff;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(17, 19, 24, .04), 0 12px 32px -12px rgba(17, 19, 24, .18);
  --shadow-lg: 0 30px 60px -24px rgba(17, 19, 24, .35);
  --wrap: 1240px;
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
/* clip, not hidden: hidden would turn body into a scroll container and break the sticky header */
body { overflow-x: clip; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { color: var(--ink); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.3rem, 5.4vw, 4.4rem); font-weight: 800; letter-spacing: -.035em; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.6rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
h1 .p, h2 .p { margin-left: -.14em; }
p { margin: 0 0 1.1em; }
button, input, select, textarea { font: inherit; color: inherit; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 6px; }

.ic { width: 24px; height: 24px; flex: none; }
.ic-sm { width: 18px; height: 18px; }
.ic-xs { width: 14px; height: 14px; }
svg[fill="currentColor"] { width: 20px; height: 20px; flex: none; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--red); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.eyebrow--light { color: #fff; }
.eyebrow--light::before { background: var(--red); }

/* ------------------------------------------------ buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 22px; border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 700; font-size: .95rem; line-height: 1.2; cursor: pointer; white-space: nowrap;
  transition: background .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.btn--lg { padding: 16px 28px; font-size: 1rem; }
.btn--sm { padding: 10px 16px; font-size: .88rem; }
.btn--block { width: 100%; }
.btn--red { background: var(--red); color: #fff; box-shadow: 0 10px 24px -10px rgba(215, 20, 26, .7); }
.btn--red:hover { background: var(--red-dark); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #000; }
.btn--white { background: #fff; color: var(--ink); }
.btn--white:hover { background: #f1f1f1; }
.btn--ghost-light { border-color: rgba(255, 255, 255, .45); color: #fff; background: rgba(255, 255, 255, .06); backdrop-filter: blur(6px); }
.btn--ghost-light:hover { border-color: #fff; background: rgba(255, 255, 255, .14); }

/* ------------------------------------------------ topbar + header */
.topbar { background: var(--ink); color: rgba(255, 255, 255, .78); font-size: .84rem; }
.topbar__in { display: flex; justify-content: space-between; align-items: center; min-height: 40px; gap: 16px; }
.topbar__note, .topbar__links a { display: inline-flex; align-items: center; gap: 8px; }
.topbar__note .ic { color: var(--red); }
.topbar__links { display: flex; gap: 22px; }
.topbar__links a:hover { color: #fff; }
.topbar svg[fill="currentColor"] { width: 16px; height: 16px; }

.header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .94); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.header.is-scrolled { border-color: var(--line); box-shadow: 0 8px 30px -18px rgba(17, 19, 24, .3); }
.header__in { display: flex; align-items: center; justify-content: space-between; min-height: 82px; gap: 24px; }

.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 40px; height: auto; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__text strong { color: var(--ink); font-size: 1.12rem; font-weight: 800; letter-spacing: .04em; }
.brand__text small { color: var(--muted); font-size: .74rem; font-weight: 600; letter-spacing: .02em; margin-top: 3px; }
.brand--light strong { color: #fff; }
.brand--light small { color: rgba(255, 255, 255, .6); }

.nav { display: flex; align-items: center; gap: 28px; }
.nav__list { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav__list > li > a, .nav__toggle {
  display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; border-radius: 10px;
  font-weight: 600; font-size: .95rem; color: var(--ink); background: none; border: 0; cursor: pointer;
}
.nav__list > li > a:hover, .nav__toggle:hover { color: var(--red); }
.nav__list a.is-active, .nav__toggle.is-active { color: var(--red); }
.nav__toggle .ic { transition: transform .2s; }
.has-sub { position: relative; }
.sub {
  position: absolute; top: calc(100% + 10px); left: -8px; min-width: 240px; list-style: none; margin: 0; padding: 10px;
  background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s ease;
}
.sub::before { content: ""; position: absolute; inset: -12px 0 auto; height: 12px; }
.sub--wide { min-width: 360px; }
.sub a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; font-weight: 600; font-size: .92rem; color: var(--ink); }
.sub a .ic { color: var(--red); }
.sub a:hover { background: var(--soft); color: var(--red); }
.sub__all { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 6px; }
.sub__all a { color: var(--red); justify-content: space-between; }
@media (hover: hover) and (min-width: 1025px) {
  .has-sub:hover .sub, .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: none; }
  .has-sub:hover .nav__toggle .ic { transform: rotate(180deg); }
}
.has-sub.is-open .sub { opacity: 1; visibility: visible; transform: none; }

.burger { display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line); background: #fff; align-items: center; justify-content: center; cursor: pointer; color: var(--ink); }
.burger .ic:last-child { display: none; }
.burger[aria-expanded="true"] .ic:first-child { display: none; }
.burger[aria-expanded="true"] .ic:last-child { display: block; }

/* ------------------------------------------------ hero */
.hero { position: relative; isolation: isolate; color: #fff; min-height: min(760px, 88vh); display: flex; align-items: center; overflow: hidden; background: var(--ink); }
.hero__bg, .phero__bg, .cta__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(10, 11, 14, .92) 0%, rgba(10, 11, 14, .72) 45%, rgba(10, 11, 14, .25) 100%), linear-gradient(0deg, rgba(10, 11, 14, .55), transparent 40%); }
.hero__in { padding-top: 96px; padding-bottom: 150px; }
.hero h1 { color: #fff; max-width: 13ch; }
.hero h1 em { font-style: normal; color: var(--red); }
.hero__lead { max-width: 560px; font-size: 1.12rem; color: rgba(255, 255, 255, .82); margin: 22px 0 34px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ------------------------------------------------ features */
.features { position: relative; z-index: 2; margin-top: -86px; }
.features__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); overflow: hidden; }
.feature { display: flex; gap: 18px; padding: 34px 32px; border-right: 1px solid var(--line); }
.feature:last-child { border-right: 0; }
.feature h2 { font-size: 1.15rem; margin-bottom: 6px; letter-spacing: -.01em; }
.feature p { margin: 0; font-size: .94rem; }
.feature__icon { width: 54px; height: 54px; border-radius: 14px; background: var(--red-soft); color: var(--red); display: grid; place-items: center; flex: none; }
.feature--red { background: var(--red); color: rgba(255, 255, 255, .85); border-right: 0; }
.feature--red h2 { color: #fff; }
.feature--red .feature__icon { background: rgba(255, 255, 255, .16); color: #fff; }

/* ------------------------------------------------ sections */
.section { padding: 110px 0; }
.section--soft { background: var(--soft); }
.section--dark { background: var(--ink); color: rgba(255, 255, 255, .72); }
.section--dark h2, .section--dark strong { color: #fff; }
.muted-light { color: rgba(255, 255, 255, .7); font-size: 1.05rem; }
.head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: 48px; }
.head h2 { margin: 0; max-width: 18ch; }
.head > p { max-width: 440px; margin: 0; }
.head--center { flex-direction: column; align-items: center; text-align: center; gap: 0; }
.head--center h2 { max-width: none; }

/* about */
.about__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 80px; align-items: center; }
.about__media { position: relative; padding: 0 60px 60px 0; }
.about__main { width: 100%; aspect-ratio: 4 / 4.2; object-fit: cover; border-radius: var(--radius); }
.about__sub { position: absolute; right: 0; bottom: 0; width: 46%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); border: 8px solid #fff; box-shadow: var(--shadow); }
.about__badge { position: absolute; left: 24px; bottom: 84px; background: var(--red); color: #fff; padding: 18px 22px; border-radius: 16px; display: flex; align-items: center; gap: 12px; box-shadow: 0 18px 40px -16px rgba(215, 20, 26, .8); }
.about__badge strong { font-size: 2rem; font-weight: 800; line-height: 1; }
.about__badge span { font-size: .82rem; font-weight: 600; line-height: 1.25; }
.about__text > p { font-size: 1.05rem; }
.ticks { list-style: none; padding: 0; margin: 28px 0 34px; display: grid; gap: 18px; }
.ticks li { display: flex; gap: 14px; }
.ticks .ic { width: 28px; height: 28px; padding: 6px; border-radius: 50%; background: var(--red-soft); color: var(--red); margin-top: 2px; }
.ticks strong { display: block; color: var(--ink); }
.ticks span { font-size: .94rem; }

/* service cards */
.sgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.sgrid--3 { grid-template-columns: repeat(3, 1fr); }
.scard { display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); transition: transform .25s, box-shadow .25s, border-color .25s; }
.scard:hover { box-shadow: var(--shadow-lg); border-color: transparent; }
.scard__img { aspect-ratio: 16 / 11; overflow: hidden; }
.scard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.scard__body { position: relative; padding: 34px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.scard__icon { position: absolute; top: -26px; left: 24px; width: 52px; height: 52px; border-radius: 14px; background: var(--red); color: #fff; display: grid; place-items: center; box-shadow: 0 10px 24px -10px rgba(215, 20, 26, .9); }
.scard h3 { margin-bottom: 8px; }
.scard p { font-size: .93rem; margin-bottom: 18px; }
.scard__more { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: .9rem; color: var(--red); }
.scard__more .ic { transition: transform .2s; }
.scard--cta { background: var(--ink); border-color: var(--ink); color: rgba(255, 255, 255, .72); }
.scard--cta .scard__body { justify-content: center; padding-top: 32px; }
.scard--cta .scard__icon { position: static; margin-bottom: 22px; }
.scard--cta h3 { color: #fff; font-size: 1.35rem; }

/* steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: s; }
.steps li { position: relative; padding: 32px 26px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; }
.steps li > .ic { width: 30px; height: 30px; color: var(--red); margin-bottom: 18px; }
.steps__n { position: absolute; top: 22px; right: 24px; font-size: 2.4rem; font-weight: 800; color: var(--soft); letter-spacing: -.04em; line-height: 1; -webkit-text-stroke: 1px var(--line); }
.steps p { margin: 0; font-size: .94rem; }

/* dark split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.split__media img { border-radius: var(--radius); width: 100%; aspect-ratio: 5 / 4; object-fit: cover; }
.segments { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 30px; }
.segments div { padding: 20px 18px; border-radius: 14px; background: var(--ink-2); border: 1px solid rgba(255, 255, 255, .08); display: flex; flex-direction: column; gap: 4px; }
.segments .ic { color: var(--red); margin-bottom: 8px; }
.segments span { font-size: .85rem; line-height: 1.4; }

/* cta band */
.cta { position: relative; isolation: isolate; color: #fff; overflow: hidden; background: var(--red); }
.cta::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(185, 12, 18, .96) 0%, rgba(215, 20, 26, .9) 55%, rgba(215, 20, 26, .7) 100%); }
.cta__in { display: flex; justify-content: space-between; align-items: center; gap: 40px; padding-top: 80px; padding-bottom: 80px; }
.cta h2 { color: #fff; max-width: 20ch; margin: 0; }
.cta__actions { display: flex; flex-direction: column; gap: 12px; min-width: 280px; }

/* ------------------------------------------------ page hero */
.phero { position: relative; isolation: isolate; color: #fff; background: var(--ink); overflow: hidden; }
.phero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(10, 11, 14, .9) 0%, rgba(10, 11, 14, .7) 55%, rgba(10, 11, 14, .35) 100%); }
.phero__in { padding-top: 90px; padding-bottom: 90px; }
.phero h1 { color: #fff; font-size: clamp(2.1rem, 4.6vw, 3.6rem); max-width: 18ch; }
.phero p { max-width: 620px; font-size: 1.08rem; color: rgba(255, 255, 255, .8); margin: 0; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .85rem; color: rgba(255, 255, 255, .6); margin-bottom: 26px; }
.crumbs a:hover { color: #fff; }
.crumbs [aria-current] { color: #fff; }

/* corporate article */
.article { display: grid; grid-template-columns: 1fr 1.1fr; gap: 72px; align-items: center; }
.article__media img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); }
.article__text p { font-size: 1.04rem; }
.quote { font-size: clamp(1.4rem, 2.4vw, 1.85rem); line-height: 1.35; font-weight: 700; padding-left: 22px; border-left: 4px solid var(--red); margin-bottom: 26px; }
.points { display: grid; gap: 22px; margin-top: 80px; }
.points--3 { grid-template-columns: repeat(3, 1fr); }
.points--4 { grid-template-columns: repeat(4, 1fr); }
.point { padding: 30px 26px; border-radius: var(--radius); background: var(--soft); }
.point__icon { width: 52px; height: 52px; border-radius: 14px; background: #fff; color: var(--red); display: grid; place-items: center; margin-bottom: 18px; box-shadow: var(--shadow); }
.point p { margin: 0; font-size: .94rem; }
.tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 56px; padding-top: 36px; border-top: 1px solid var(--line); }
.tabs a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line); font-weight: 600; font-size: .92rem; color: var(--ink); transition: .2s; }
.tabs a .ic { width: 15px; height: 15px; opacity: .5; }
.tabs a:hover { border-color: var(--red); color: var(--red); }
.tabs a.is-current { background: var(--ink); border-color: var(--ink); color: #fff; }

/* service detail */
.service { display: grid; grid-template-columns: 1fr 340px; gap: 56px; align-items: start; }
.service__main { display: grid; gap: 40px; }
.service__media img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); }
.service__main p { font-size: 1.04rem; }
.list-title { margin-top: 34px; margin-bottom: 18px; }
.checklist { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.checklist li { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 12px; background: var(--soft); color: var(--ink); font-weight: 600; font-size: .94rem; }
.checklist .ic { width: 24px; height: 24px; padding: 4px; border-radius: 50%; background: var(--red); color: #fff; }
.service__aside { position: sticky; top: 110px; display: grid; gap: 20px; }
.aside-card { padding: 26px; border-radius: var(--radius); border: 1px solid var(--line); }
.aside-nav { display: grid; gap: 4px; }
.aside-nav a { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 10px; font-weight: 600; font-size: .92rem; color: var(--ink); }
.aside-nav a .ic { color: var(--red); }
.aside-nav a:hover { background: var(--soft); }
.aside-nav a.is-current { background: var(--red); color: #fff; }
.aside-nav a.is-current .ic { color: #fff; }
.aside-card--red { background: var(--ink); border-color: var(--ink); color: rgba(255, 255, 255, .72); display: grid; gap: 10px; }
.aside-card--red > .ic { width: 44px; height: 44px; padding: 10px; border-radius: 12px; background: var(--red); color: #fff; }
.aside-card--red h3 { color: #fff; margin: 6px 0 0; }
.aside-card--red p { font-size: .92rem; margin: 0 0 6px; }

/* contact */
.contact { display: grid; grid-template-columns: 1fr 1.25fr; gap: 48px; align-items: start; }
.contact__info { display: grid; gap: 16px; }
.ccard { display: flex; gap: 18px; align-items: center; padding: 24px; border-radius: var(--radius); border: 1px solid var(--line); transition: .2s; }
a.ccard:hover { border-color: var(--red); box-shadow: var(--shadow); }
.ccard__icon { width: 56px; height: 56px; border-radius: 14px; background: var(--red); color: #fff; display: grid; place-items: center; flex: none; }
.ccard__icon svg { width: 24px; height: 24px; }
.ccard--wa .ccard__icon { background: #25d366; }
.ccard--plain .ccard__icon { background: var(--ink); }
.ccard small { display: block; font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.ccard strong { display: block; font-size: 1.25rem; color: var(--ink); margin: 2px 0; }
.ccard span { font-size: .9rem; }
.form { padding: 40px; border-radius: var(--radius); background: var(--soft); display: grid; gap: 18px; scroll-margin-top: 120px; }
.form h2 { font-size: 1.8rem; margin: 0; }
.form__note { margin: -8px 0 4px; font-size: .92rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form label { display: grid; gap: 8px; font-weight: 700; font-size: .88rem; color: var(--ink); }
.form input, .form select, .form textarea { width: 100%; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line); background: #fff; font-weight: 500; font-size: 1rem; transition: border-color .2s, box-shadow .2s; }
.form textarea { resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 4px rgba(215, 20, 26, .12); }
.form__error { margin: 0; color: var(--red); font-weight: 600; font-size: .9rem; }

/* 404 */
.notfound { padding: 140px 0; text-align: center; }
.notfound .hero__actions { justify-content: center; }
.notfound p { max-width: 520px; margin: 0 auto 30px; }

/* ------------------------------------------------ footer */
.footer { background: #0b0c0f; color: rgba(255, 255, 255, .62); padding-top: 90px; font-size: .94rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr .8fr 1.2fr 1fr; gap: 48px; padding-bottom: 60px; }
.footer__brand p { margin: 22px 0 24px; max-width: 340px; }
.footer__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.footer svg[fill="currentColor"] { width: 16px; height: 16px; }
.footer h3 { color: #fff; font-size: 1rem; margin-bottom: 20px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer ul a:hover { color: #fff; }
.footer__contact li { display: grid; }
.footer__contact span { font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: rgba(255, 255, 255, .4); }
.footer__contact a { color: #fff; font-weight: 600; }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 26px; padding-bottom: 26px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: .85rem; }
.powered { display: inline-flex; align-items: center; gap: 10px; color: rgba(255, 255, 255, .5); transition: color .2s; }
.powered img { width: 64px; height: auto; opacity: .85; transition: opacity .2s; }
.powered:hover { color: #fff; }
.powered:hover img { opacity: 1; }

.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 40; width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 14px 30px -10px rgba(37, 211, 102, .8); transition: transform .2s; }
.wa-float svg { width: 30px; height: 30px; }
.mbar { display: none; }

/* Movement on hover only for real pointers: on touch screens :hover sticks after a tap
   and leaves the tapped button shifted. */
@media (hover: hover) and (pointer: fine) {
  .btn:hover { transform: translateY(-1px); }
  .scard:hover { transform: translateY(-4px); }
  .scard:hover .scard__img img { transform: scale(1.06); }
  .scard:hover .scard__more .ic { transform: translateX(4px); }
  .wa-float:hover { transform: scale(1.06); }
}

/* reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; transition-delay: var(--d, 0ms); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ------------------------------------------------ responsive */
@media (max-width: 1180px) {
  .sgrid { grid-template-columns: repeat(3, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 1024px) {
  .burger { display: inline-flex; }
  .nav {
    position: fixed; inset: 0 0 0 auto; top: 0; width: min(380px, 100%); height: 100dvh; z-index: 60;
    flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 18px;
    padding: 96px 20px 28px; background: #fff; box-shadow: var(--shadow-lg); overflow-y: auto;
    /* Closed state must stay inside the viewport: parking it off-screen with translateX(100%)
       widens the page on Android Chrome and lets it scroll sideways. */
    opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(-8px);
    transition: opacity .25s ease, transform .25s ease, visibility 0s linear .25s;
  }
  .nav.is-open { opacity: 1; visibility: visible; pointer-events: auto; transform: none; transition: opacity .25s ease, transform .25s ease, visibility 0s; }
  .burger { position: relative; z-index: 70; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav__list > li > a, .nav__toggle { width: 100%; justify-content: space-between; padding: 14px 12px; font-size: 1.05rem; }
  .sub, .sub--wide { position: static; min-width: 0; box-shadow: none; border: 0; padding: 0 0 8px 8px; transform: none; display: none; opacity: 1; visibility: visible; }
  .has-sub.is-open .sub { display: block; }
  .has-sub.is-open .nav__toggle .ic { transform: rotate(180deg); }
  .nav__cta { width: 100%; padding: 16px; }
  body.nav-open { overflow: hidden; }
  body.nav-open::after { content: ""; position: fixed; inset: 0; background: rgba(10, 11, 14, .5); z-index: 45; }

  .features__grid { grid-template-columns: 1fr; }
  .feature { border-right: 0; border-bottom: 1px solid var(--line); }
  .about__grid, .split, .article, .contact { grid-template-columns: 1fr; gap: 48px; }
  .about__media { max-width: 620px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .points--3, .points--4 { grid-template-columns: 1fr 1fr; }
  .service { grid-template-columns: 1fr; }
  .service__aside { position: static; grid-template-columns: 1fr 1fr; }
  .cta__in { flex-direction: column; align-items: flex-start; }
  .head { flex-direction: column; align-items: flex-start; gap: 16px; }
  .head--center { align-items: center; }
}

@media (max-width: 720px) {
  body { font-size: 15.5px; padding-bottom: calc(60px + env(safe-area-inset-bottom, 0px)); }
  .wrap { padding: 0 16px; }
  .topbar__note { display: none; }
  .topbar__in { justify-content: center; }
  .header__in { min-height: 70px; }
  .brand__text small { display: none; }
  .hero { min-height: 0; }
  .hero__in { padding-top: 72px; padding-bottom: 130px; }
  .hero::after { background: linear-gradient(180deg, rgba(10, 11, 14, .6) 0%, rgba(10, 11, 14, .88) 100%); }
  .hero__actions .btn { flex: 1 1 100%; }
  .feature { padding: 24px 22px; }
  .section { padding: 72px 0; }
  .sgrid, .sgrid--3 { grid-template-columns: 1fr; }
  .steps, .segments, .points--3, .points--4, .checklist, .form__row, .service__aside { grid-template-columns: 1fr; }
  .about__media { padding: 0 32px 40px 0; }
  .about__badge { left: 14px; bottom: 56px; padding: 12px 16px; }
  .about__badge strong { font-size: 1.5rem; }
  .phero__in { padding-top: 60px; padding-bottom: 60px; }
  .form { padding: 26px 18px; }
  .cta__actions { width: 100%; min-width: 0; }
  .footer { padding-top: 64px; }
  .footer__grid { grid-template-columns: 1fr; gap: 36px; }
  .wa-float { display: none; }
  .mbar { display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: var(--ink); box-shadow: 0 -8px 24px -12px rgba(0, 0, 0, .4); }
  .mbar a { display: flex; align-items: center; justify-content: center; gap: 8px; height: 60px; box-sizing: content-box; padding-bottom: env(safe-area-inset-bottom, 0px); color: #fff; font-weight: 700; line-height: 1; -webkit-tap-highlight-color: transparent; }
  .mbar a:first-child { background: var(--red); }
  .mbar__wa { background: #25d366; }
  .mbar svg { width: 20px; height: 20px; display: block; }
}
