/* =========================================================
   Winsetinfo — 2026 redesign
   Brand: Winset red + ink charcoal on warm neutrals
   ========================================================= */

:root {
  --red: #d9141f;
  --red-600: #b80f19;
  --red-700: #8f0b13;
  --red-50: #fdeeef;
  --red-100: #fbd9db;
  --ink: #12131a;
  --ink-2: #262935;
  --text: #3d4150;
  --muted: #6b6f7e;
  --line: #e9e5df;
  --soft: #f7f4f0;
  --soft-2: #fbfaf8;
  --white: #fff;
  --dark: #0f1016;
  --dark-2: #191a23;
  --dark-line: rgba(255, 255, 255, .1);
  --wa: #25d366;
  --wa-600: #1aa851;

  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --r-sm: 10px;
  --r: 16px;
  --r-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(18, 19, 26, .06), 0 2px 8px rgba(18, 19, 26, .04);
  --shadow: 0 10px 30px -12px rgba(18, 19, 26, .18), 0 2px 6px rgba(18, 19, 26, .05);
  --shadow-lg: 0 30px 60px -20px rgba(18, 19, 26, .28);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 76px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--red); text-decoration: none; transition: color .2s; }
a:hover { color: var(--red-600); }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.2; letter-spacing: -.02em; margin: 0 0 .6em; font-weight: 800; }
p { margin: 0 0 1.1em; }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid rgba(217, 20, 31, .45); outline-offset: 3px; border-radius: 6px; }
address { font-style: normal; }
.ico { width: 1.15em; height: 1.15em; flex: none; }

.container { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: 24px; }
.container--narrow { max-width: 880px; }

.skip-link { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { top: 12px; color: #fff; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .85em 1.45em; border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 700; font-size: .975rem; line-height: 1.2; white-space: nowrap;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s, color .2s, border-color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn .ico { width: 1.2em; height: 1.2em; }
.btn--primary { background: var(--red); color: #fff; box-shadow: 0 10px 24px -10px rgba(217, 20, 31, .7); }
.btn--primary:hover { background: var(--red-600); color: #fff; }
.btn--wa { background: var(--wa); color: #fff; box-shadow: 0 10px 24px -10px rgba(37, 211, 102, .8); }
.btn--wa:hover { background: var(--wa-600); color: #fff; }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #000; color: #fff; }
.btn--outline { border-color: var(--line); color: var(--ink); background: #fff; }
.btn--outline:hover { border-color: var(--ink); color: var(--ink); }
.btn--ghost-light { border-color: rgba(255, 255, 255, .28); color: #fff; background: rgba(255, 255, 255, .04); }
.btn--ghost-light:hover { border-color: #fff; color: #fff; background: rgba(255, 255, 255, .1); }
.btn--sm { padding: .62em 1.15em; font-size: .9rem; }
.btn--block { width: 100%; }

.link-arrow { display: inline-flex; align-items: center; gap: .4em; font-weight: 700; color: var(--ink); }
.link-arrow .ico { transition: transform .2s var(--ease); }
.link-arrow:hover { color: var(--red); }
.link-arrow:hover .ico { transform: translateX(4px); }

/* ---------- Typography helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .6em; margin: 0 0 .9em;
  font-size: .8rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--red);
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.eyebrow--center { display: flex; justify-content: center; }
.section-title { font-size: clamp(1.75rem, 1.2rem + 2vw, 2.75rem); max-width: 22ch; }
.section-title--center { text-align: center; margin-inline: auto; }
.section-lead { font-size: 1.125rem; color: var(--muted); max-width: 62ch; }
.section-lead--center { text-align: center; margin-inline: auto; }
.text-red { color: var(--red); }

.section { padding-block: clamp(64px, 8vw, 112px); }
.section--soft { background: var(--soft); }
.section--tight { padding-block: clamp(40px, 5vw, 64px); }
.section--dark { background: var(--dark); color: rgba(255, 255, 255, .72); }
.section--dark h2, .section--dark h3 { color: #fff; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 40px; flex-wrap: wrap; }
.section-head .section-title { margin-bottom: 0; }

/* ---------- Top bar ---------- */
.topbar { background: var(--dark); color: rgba(255, 255, 255, .7); font-size: .82rem; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; min-height: 40px; gap: 16px; }
.topbar ul { list-style: none; display: flex; align-items: center; gap: 22px; }
.topbar li, .topbar a { display: inline-flex; align-items: center; gap: .45em; color: inherit; }
.topbar a:hover { color: #fff; }
.topbar .ico { width: 15px; height: 15px; color: var(--red-100); }
.topbar__social .ico { color: inherit; }
@media (max-width: 860px) { .topbar__extra { display: none !important; } }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 90;
  border-bottom: 1px solid transparent; transition: box-shadow .25s, border-color .25s;
}
/* Blur lives on a pseudo-element: backdrop-filter on the header itself would trap the fixed mobile nav inside it */
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(255, 255, 255, .92); backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px);
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px -14px rgba(18, 19, 26, .25); }
.site-header__inner { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }
.brand img { height: 52px; width: auto; }
.site-header__actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }

.nav { margin-left: auto; }
.nav__list { list-style: none; display: flex; align-items: center; gap: 2px; }
.nav__item { position: relative; }
.nav__link {
  display: inline-flex; align-items: center; gap: .3em; padding: 10px 14px; border-radius: 10px;
  background: none; border: 0; color: var(--ink-2); font-weight: 600; font-size: .95rem; line-height: 1.2;
}
.nav__link:hover, .nav__link[aria-expanded="true"] { color: var(--red); background: var(--red-50); }
.nav__link.is-active { color: var(--red); }
.ico--chev { width: 16px; height: 16px; transition: transform .2s; }
.nav__link[aria-expanded="true"] .ico--chev { transform: rotate(180deg); }
.nav__panel-head, .nav__panel-foot { display: none; }

.drop {
  position: absolute; top: calc(100% + 10px); left: 50%; translate: -50% 0; min-width: 290px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-lg);
  padding: 10px; opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
}
.drop::before { content: ""; position: absolute; inset: -14px 0 auto; height: 14px; }
.drop__list { list-style: none; }
.drop__list a {
  display: flex; align-items: center; gap: 12px; padding: 9px 12px; border-radius: 10px;
  color: var(--ink-2); font-weight: 600; font-size: .92rem; line-height: 1.3;
}
.drop__list a .ico { width: 34px; height: 34px; padding: 8px; border-radius: 9px; background: var(--soft); color: var(--red); transition: background .2s, color .2s; }
.drop__list a:hover { background: var(--soft); color: var(--red); }
.drop__list a:hover .ico { background: var(--red); color: #fff; }
.drop--mega { min-width: 640px; }
.mega { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 10px; }
.mega__title { margin: 6px 12px 6px; font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.mega__promo {
  display: block; margin: 12px 4px 4px; padding: 16px; border-radius: 12px; color: #fff;
  background: radial-gradient(120% 120% at 100% 0, #ff4a52 0, var(--red) 40%, var(--red-700) 100%);
}
.mega__promo strong { display: block; font-size: 1rem; }
.mega__promo span { display: block; font-size: .85rem; opacity: .85; line-height: 1.45; margin: 4px 0 10px; }
.mega__promo em { font-style: normal; font-weight: 700; font-size: .85rem; display: inline-flex; align-items: center; gap: 6px; }
.mega__promo:hover { color: #fff; }

@media (min-width: 1081px) {
  .has-drop:hover > .drop,
  .has-drop:focus-within > .drop,
  .has-drop > .nav__link[aria-expanded="true"] + .drop { opacity: 1; visibility: visible; transform: none; }
  .has-mega > .drop { left: auto; right: -160px; translate: none; }
}

.nav-toggle { display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line); background: #fff; color: var(--ink); align-items: center; justify-content: center; }
.nav-toggle .ico { width: 24px; height: 24px; }
.nav-overlay { position: fixed; inset: 0; z-index: 95; background: rgba(15, 16, 22, .5); opacity: 0; visibility: hidden; transition: .25s; }

@media (max-width: 1080px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed; z-index: 100; top: 0; right: 0; bottom: 0; width: min(400px, 88vw);
    background: #fff; overflow-y: auto; padding: 16px 18px 28px; margin: 0;
    transform: translateX(100%); transition: transform .3s var(--ease); display: flex; flex-direction: column;
  }
  .nav-open .nav { transform: none; box-shadow: var(--shadow-lg); }
  .nav-open .nav-overlay { opacity: 1; visibility: visible; }
  .nav-open .site-header { z-index: 101; }
  .nav-open { overflow: hidden; }
  .nav__panel-head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 12px; margin-bottom: 8px; border-bottom: 1px solid var(--line); }
  .nav__close { width: 42px; height: 42px; border-radius: 10px; border: 1px solid var(--line); background: #fff; display: inline-flex; align-items: center; justify-content: center; color: var(--ink); }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__item { border-bottom: 1px solid var(--line); }
  .nav__link { width: 100%; justify-content: space-between; padding: 15px 6px; font-size: 1.02rem; border-radius: 0; }
  .nav__link:hover, .nav__link[aria-expanded="true"] { background: none; }
  .drop, .drop--mega { position: static; translate: none; min-width: 0; border: 0; box-shadow: none; padding: 0 0 10px; opacity: 1; visibility: visible; transform: none; display: none; }
  .nav__link[aria-expanded="true"] + .drop { display: block; }
  .mega { grid-template-columns: 1fr; }
  .mega__promo { display: none; }
  .nav__panel-foot { display: grid; gap: 10px; margin-top: 22px; }
}
@media (max-width: 560px) {
  .header-cta { display: none; }
  .brand img { height: 44px; }
  .topbar__info li:first-child { display: none; }
}
@media (max-width: 400px) {
  .topbar { display: none; }
}

/* ---------- Home hero ---------- */
.hero {
  position: relative; overflow: hidden; color: rgba(255, 255, 255, .78);
  background:
    radial-gradient(60% 70% at 85% 10%, rgba(217, 20, 31, .55), transparent 60%),
    radial-gradient(40% 50% at 0% 100%, rgba(217, 20, 31, .25), transparent 60%),
    var(--dark);
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(80% 70% at 60% 30%, #000 30%, transparent 80%);
}
.hero__inner { position: relative; display: grid; grid-template-columns: 1.08fr .92fr; gap: 56px; align-items: center; padding-block: clamp(64px, 8vw, 110px) clamp(72px, 9vw, 120px); }
.hero h1 { color: #fff; font-size: clamp(2.4rem, 1.4rem + 4vw, 4.4rem); line-height: 1.04; letter-spacing: -.035em; margin-bottom: .45em; }
.hero h1 .accent { color: transparent; background: linear-gradient(90deg, #ff5a61, #ff9aa0); -webkit-background-clip: text; background-clip: text; }
.hero__kicker { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 8px; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid var(--dark-line); font-size: .85rem; font-weight: 600; color: #fff; margin-bottom: 26px; }
.hero__kicker b { white-space: nowrap; flex: none; background: var(--red); padding: 3px 10px; border-radius: 999px; font-size: .75rem; letter-spacing: .04em; }
.hero__lead { font-size: clamp(1.05rem, 1rem + .3vw, 1.25rem); max-width: 54ch; margin-bottom: 32px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 40px; }
.hero__trust { list-style: none; display: flex; flex-wrap: wrap; gap: 14px 28px; font-size: .92rem; }
.hero__trust li { display: inline-flex; align-items: center; gap: 8px; }
.hero__trust .ico { color: var(--wa); width: 20px; height: 20px; }

.hero-visual { position: relative; }
.browser {
  position: relative; border-radius: 18px; background: #fff; overflow: hidden;
  box-shadow: 0 50px 100px -30px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 255, 255, .1);
  transform: perspective(1400px) rotateY(-8deg) rotateX(3deg); transition: transform .6s var(--ease);
}
.hero-visual:hover .browser { transform: perspective(1400px) rotateY(-2deg) rotateX(1deg); }
.browser__bar { display: flex; align-items: center; gap: 6px; padding: 12px 14px; background: #f1efec; border-bottom: 1px solid var(--line); }
.browser__bar i { width: 10px; height: 10px; border-radius: 50%; background: #ddd8d2; }
.browser__bar i:first-child { background: #ff5f57; } .browser__bar i:nth-child(2) { background: #febc2e; } .browser__bar i:nth-child(3) { background: #28c840; }
.browser__url { margin-left: 10px; flex: 1; height: 24px; border-radius: 6px; background: #fff; font-size: .72rem; color: var(--muted); display: flex; align-items: center; padding-inline: 10px; }
.browser__screen { position: relative; height: 380px; overflow: hidden; background: #fff; }
.browser__screen img { position: absolute; top: 0; left: 0; width: 100%; opacity: 0; transition: opacity .9s var(--ease); }
.browser__screen img.is-active { opacity: 1; animation: screen-scroll 12s ease-in-out infinite alternate; }
.browser__url { transition: opacity .3s; }
@keyframes screen-scroll { 0%, 8% { transform: translateY(0); } 92%, 100% { transform: translateY(calc(-100% + 380px)); } }
.chip {
  position: absolute; display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 14px;
  background: #fff; color: var(--ink); font-weight: 700; font-size: .88rem; line-height: 1.25; box-shadow: var(--shadow-lg);
  animation: float 6s ease-in-out infinite;
}
.chip small { display: block; font-weight: 500; color: var(--muted); font-size: .75rem; }
.chip__icon { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: var(--red-50); color: var(--red); }
.chip__icon .ico { width: 20px; height: 20px; }
.chip--a { left: -38px; top: 22%; }
.chip--b { right: -22px; bottom: 16%; animation-delay: -3s; }
.chip--b .chip__icon { background: #e8f9ef; color: var(--wa-600); }
.chip--c { left: 12%; bottom: -26px; animation-delay: -1.5s; }
@keyframes float { 50% { transform: translateY(-10px); } }

@media (max-width: 980px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero-visual { max-width: 560px; margin: 10px auto 0; width: 100%; }
  .browser { transform: none; }
  .chip--a { left: -8px; } .chip--b { right: -8px; }
}
@media (max-width: 560px) {
  .browser__screen { height: 280px; }
  @keyframes screen-scroll { 0%, 8% { transform: translateY(0); } 92%, 100% { transform: translateY(calc(-100% + 280px)); } }
  .chip { font-size: .78rem; padding: 9px 12px; } .chip__icon { width: 30px; height: 30px; }
  .chip--c { display: none; }
}

/* ---------- Logo strip ---------- */
.logos { padding-block: 34px; border-bottom: 1px solid var(--line); background: #fff; }
.logos__inner { display: flex; align-items: center; gap: 36px; }
.logos__label { flex: none; font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); max-width: 140px; line-height: 1.4; }
.marquee { overflow: hidden; flex: 1; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; align-items: center; gap: 56px; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee img { height: 56px; width: auto; max-width: 170px; object-fit: contain; filter: grayscale(1); opacity: .7; transition: filter .3s, opacity .3s; mix-blend-mode: multiply; }
.marquee img:hover { filter: none; opacity: 1; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (max-width: 700px) { .logos__inner { flex-direction: column; align-items: stretch; gap: 18px; } .logos__label { max-width: none; text-align: center; } }

/* ---------- Cards ---------- */
.cards { display: grid; gap: 24px; }
.cards--2 { grid-template-columns: repeat(2, 1fr); }
.cards--3 { grid-template-columns: repeat(3, 1fr); }
.cards--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1020px) { .cards--4 { grid-template-columns: repeat(2, 1fr); } .cards--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .cards--2, .cards--3, .cards--4 { grid-template-columns: 1fr; } }

.card {
  position: relative; display: flex; flex-direction: column; padding: 28px; border-radius: var(--r-lg);
  background: #fff; border: 1px solid var(--line); color: var(--text);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.card p { font-size: .97rem; margin-bottom: 0; }
.card__icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--red-50); color: var(--red); margin-bottom: 20px; transition: background .3s, color .3s, transform .3s var(--ease); }
.card__icon .ico { width: 26px; height: 26px; }
.card__title { font-size: 1.18rem; margin-bottom: .45em; }
.card__more { margin-top: auto; padding-top: 18px; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: .92rem; color: var(--red); }
.card__more .ico { transition: transform .25s var(--ease); }
.card--link:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; color: var(--text); }
.card--link:hover .card__icon { background: var(--red); color: #fff; transform: rotate(-6deg); }
.card--link:hover .card__more .ico { transform: translateX(4px); }

/* Service group tiles on home */
.svc-groups { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.svc-group { border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); overflow: hidden; display: flex; flex-direction: column; }
.svc-group__head { padding: 28px 28px 20px; display: flex; gap: 16px; align-items: center; border-bottom: 1px solid var(--line); }
.svc-group__head .card__icon { margin: 0; }
.svc-group__head h3 { margin: 0; font-size: 1.25rem; }
.svc-group__head p { margin: 2px 0 0; font-size: .9rem; color: var(--muted); line-height: 1.4; }
.svc-group ul { list-style: none; padding: 12px; }
.svc-group li a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 16px; border-radius: 12px; color: var(--ink-2); font-weight: 600; font-size: .97rem; }
.svc-group li a .ico { color: var(--muted); width: 18px; height: 18px; transition: transform .2s, color .2s; }
.svc-group li a:hover { background: var(--soft); color: var(--red); }
.svc-group li a:hover .ico { color: var(--red); transform: translateX(3px); }
.svc-group--featured { background: var(--dark); border-color: var(--dark); }
.svc-group--featured .svc-group__head { border-color: var(--dark-line); }
.svc-group--featured h3 { color: #fff; }
.svc-group--featured .svc-group__head p { color: rgba(255, 255, 255, .6); }
.svc-group--featured li a { color: rgba(255, 255, 255, .85); }
.svc-group--featured li a:hover { background: rgba(255, 255, 255, .07); color: #fff; }
.svc-group--featured .card__icon { background: var(--red); color: #fff; }
@media (max-width: 1020px) { .svc-groups { grid-template-columns: 1fr 1fr; } }
@media (max-width: 680px) { .svc-groups { grid-template-columns: 1fr; } }

/* ---------- Split / about ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 88px); align-items: center; }
.split--reverse > :first-child { order: 2; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split--reverse > :first-child { order: 0; } }
.media-stack { position: relative; }
.media-stack__main { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 5 / 4; }
.media-stack__main img { width: 100%; height: 100%; object-fit: cover; }
.collage {
  position: relative; display: grid; grid-template-columns: 1.15fr 1fr; grid-template-rows: 1fr 1fr; gap: 12px;
  padding: 12px; background: linear-gradient(140deg, var(--dark) 0%, var(--dark-2) 55%, var(--red-700) 140%);
}
.media-stack__main.collage img { min-height: 0; object-position: top; border-radius: 12px; background: #fff; box-shadow: 0 10px 24px -12px rgba(0, 0, 0, .6); transition: transform .5s var(--ease); }
.collage img:first-child { grid-row: 1 / span 2; }
.collage:hover img { transform: translateY(-4px); }
.collage__tag {
  position: absolute; left: 24px; bottom: 24px; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px;
  background: rgba(15, 16, 22, .82); color: #fff; font-size: .82rem; font-weight: 700; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.collage__tag .ico { width: 16px; height: 16px; color: #ff7b81; }
.collage:hover .collage__tag { background: var(--red); color: #fff; }
.collage:hover .collage__tag .ico { color: #fff; }
.media-stack__badge {
  position: absolute; right: -16px; bottom: -22px; background: var(--red); color: #fff; padding: 20px 24px; border-radius: 18px; box-shadow: var(--shadow-lg); max-width: 220px;
}
.media-stack__badge strong { display: block; font-size: 2.1rem; line-height: 1; letter-spacing: -.03em; }
.media-stack__badge span { font-size: .85rem; opacity: .9; line-height: 1.35; display: block; margin-top: 6px; }
@media (max-width: 560px) { .media-stack__badge { right: 12px; bottom: -18px; padding: 14px 18px; } .media-stack__badge strong { font-size: 1.6rem; } }

.checklist { list-style: none; display: grid; gap: 12px; margin: 22px 0 30px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-2); font-weight: 500; }
.checklist .ico { flex: none; width: 24px; height: 24px; padding: 4px; border-radius: 50%; background: var(--red-50); color: var(--red); margin-top: 2px; }
.checklist--2 { grid-template-columns: 1fr 1fr; gap: 12px 24px; }
@media (max-width: 640px) { .checklist--2 { grid-template-columns: 1fr; } }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.stat { padding: 28px 24px; text-align: center; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat strong { display: block; font-size: clamp(1.8rem, 1.4rem + 1.5vw, 2.6rem); color: var(--ink); letter-spacing: -.03em; line-height: 1.1; }
.stat strong em { font-style: normal; color: var(--red); }
.stat span { font-size: .9rem; color: var(--muted); font-weight: 500; }
.stats--float { position: relative; z-index: 2; margin-top: -54px; }
@media (max-width: 760px) { .stats { grid-template-columns: 1fr 1fr; } .stat:nth-child(3) { border-left: 0; } .stat:nth-child(n+3) { border-top: 1px solid var(--line); } }

/* ---------- Process steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.step { position: relative; padding: 30px 26px; border-radius: var(--r-lg); background: rgba(255, 255, 255, .04); border: 1px solid var(--dark-line); }
.step::before { counter-increment: step; content: "0" counter(step); display: block; font-size: 2.6rem; font-weight: 800; letter-spacing: -.04em; line-height: 1; margin-bottom: 18px; color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, .35); }
.step h3 { font-size: 1.15rem; }
.step p { font-size: .95rem; margin: 0; }
.step:hover::before { -webkit-text-stroke-color: var(--red); }
.section--soft .step, .steps--light .step { background: #fff; border-color: var(--line); }
.steps--light .step::before { -webkit-text-stroke-color: var(--red-100); }
@media (max-width: 1020px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Portfolio ---------- */
.works { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.work { display: block; color: var(--ink); }
.work__shot { position: relative; display: block; border-radius: var(--r); overflow: hidden; background: var(--soft); border: 1px solid var(--line); aspect-ratio: 4 / 3.4; box-shadow: var(--shadow-sm); transition: box-shadow .3s var(--ease); }
.work:hover .work__shot { box-shadow: var(--shadow); }
.work__body strong { line-height: 1.35; }
.work__go { color: var(--ink); }
.work__shot img { width: 100%; object-fit: cover; object-position: top; transition: transform 4s ease-in-out; }
.work:hover .work__shot img { transform: translateY(calc(-100% + 300px)); }
.work__body { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 4px 0; }
.work__body strong { font-size: 1.05rem; display: block; }
.work__body span { font-size: .88rem; color: var(--muted); }
.work__go { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: .25s; flex: none; }
.work:hover .work__go { background: var(--red); border-color: var(--red); color: #fff; transform: rotate(-45deg); }
.works__note { text-align: center; color: var(--muted); font-size: .9rem; margin: 36px 0 0; }
@media (max-width: 1020px) { .works { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .works { grid-template-columns: 1fr; } }

.lightbox { border: 0; padding: 0; background: transparent; max-width: min(960px, 94vw); max-height: 92vh; overflow: visible; }
.lightbox::backdrop { background: rgba(10, 10, 14, .82); backdrop-filter: blur(4px); }
.lightbox__frame { background: #fff; border-radius: 14px; overflow: auto; max-height: 84vh; }
.lightbox img { width: 100%; }
.lightbox__bar { display: flex; justify-content: space-between; align-items: center; color: #fff; padding: 10px 2px; font-weight: 700; }
.lightbox__close { width: 40px; height: 40px; border-radius: 50%; border: 0; background: #fff; color: var(--ink); display: grid; place-items: center; }

/* ---------- Testimonials ---------- */
.slider { position: relative; }
.slider__track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 48px) / 3); gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 6px; }
.slider__track::-webkit-scrollbar { display: none; }
.slider__nav { display: flex; gap: 10px; }
.slider__nav button { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--ink); display: grid; place-items: center; transition: .2s; }
.slider__nav button:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.slider__nav [data-prev] .ico { transform: rotate(180deg); }
@media (max-width: 1020px) { .slider__track { grid-auto-columns: calc((100% - 24px) / 2); } }
@media (max-width: 640px) { .slider__track { grid-auto-columns: 88%; } }
.quote { scroll-snap-align: start; display: flex; flex-direction: column; padding: 30px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); }
figure.quote { margin: 0; }
.quote__mark { display: block; font-size: 4rem; line-height: .8; height: 34px; font-weight: 800; color: var(--red); margin-bottom: 8px; }
.quote figcaption span a { color: var(--muted); text-decoration: underline; text-underline-offset: 2px; }
.quote figcaption span a:hover { color: var(--red); }
.quote blockquote { margin: 0 0 24px; color: var(--ink-2); font-size: 1rem; line-height: 1.7; }
.quote figcaption { margin-top: auto; display: flex; align-items: center; gap: 14px; padding-top: 18px; border-top: 1px solid var(--line); }
.quote figcaption img { width: 64px; height: 40px; object-fit: contain; mix-blend-mode: multiply; }
.quote figcaption strong { display: block; color: var(--ink); line-height: 1.3; }
.quote figcaption span { font-size: .85rem; color: var(--muted); }

/* ---------- Industries chips / tech grid ---------- */
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-weight: 600; font-size: .93rem; color: var(--ink-2); }
.chips li .ico { color: var(--red); width: 18px; height: 18px; }
.section--dark .chips li { background: rgba(255, 255, 255, .05); border-color: var(--dark-line); color: #fff; }

.tech-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 24px 0; list-style: none; }
.tech-grid li { padding: 18px; border-radius: 14px; background: var(--soft); border: 1px solid var(--line); font-weight: 700; color: var(--ink); text-align: center; font-size: .95rem; }
@media (max-width: 640px) { .tech-grid { grid-template-columns: 1fr 1fr; } }

/* ---------- Inner page hero ---------- */
.page-hero {
  position: relative; overflow: hidden; color: rgba(255, 255, 255, .78);
  background: radial-gradient(55% 90% at 100% 0, rgba(217, 20, 31, .5), transparent 65%), var(--dark);
}
.page-hero::before {
  content: ""; position: absolute; inset: 0; opacity: .45; pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 48px 48px; mask-image: linear-gradient(90deg, transparent, #000 60%);
}
.page-hero__inner { position: relative; padding-block: clamp(44px, 6vw, 80px) clamp(52px, 6vw, 88px); }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 1.3rem + 3vw, 3.4rem); max-width: 22ch; letter-spacing: -.03em; }
.page-hero__lead { font-size: clamp(1.02rem, 1rem + .25vw, 1.2rem); max-width: 68ch; margin-bottom: 28px; }
.page-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.page-hero .eyebrow { color: #ff7b81; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; font-size: .85rem; margin-bottom: 22px; }
.crumbs li { display: inline-flex; align-items: center; gap: 6px; }
.crumbs li + li::before { content: "/"; opacity: .4; }
.crumbs a { color: rgba(255, 255, 255, .7); }
.crumbs a:hover { color: #fff; }
.crumbs [aria-current] { color: #fff; font-weight: 600; }

/* ---------- Article layout ---------- */
.article-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: clamp(32px, 5vw, 72px); align-items: start; }
@media (max-width: 1020px) { .article-grid { grid-template-columns: 1fr; } }
.sidebar { align-self: stretch; display: flex; flex-direction: column; gap: 24px; }
.sidebar__sticky { position: sticky; top: calc(var(--header-h) + 20px); }
@media (max-width: 1020px) { .sidebar { flex-direction: column-reverse; } }
.sidebar__links { padding: 22px; border-radius: var(--r-lg); background: var(--soft); border: 1px solid var(--line); }
.sidebar__title { font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 0 0 10px 8px; }
.sidebar__links ul { list-style: none; }
.sidebar__links a { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 10px; color: var(--ink-2); font-weight: 600; font-size: .93rem; line-height: 1.35; }
.sidebar__links a .ico { width: 18px; height: 18px; color: var(--muted); }
.sidebar__links a:hover { background: #fff; color: var(--red); }
.sidebar__links a[aria-current] { background: #fff; color: var(--red); box-shadow: var(--shadow-sm); }
.sidebar__links a[aria-current] .ico, .sidebar__links a:hover .ico { color: var(--red); }

.prose { min-width: 0; }
.prose > :first-child { margin-top: 0; }
.prose h2 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); margin: 1.8em 0 .6em; }
.prose h3 { font-size: 1.25rem; margin: 1.6em 0 .6em; }
.prose p, .prose li { color: var(--text); }
.prose strong { color: var(--ink); font-weight: 700; }
.prose ul:not([class]), .prose ol:not([class]) { margin: 0 0 1.4em; display: grid; gap: 10px; }
.prose ul:not([class]) { list-style: none; }
.prose ul:not([class]) > li { position: relative; padding-left: 32px; }
.prose ul:not([class]) > li::before {
  content: ""; position: absolute; left: 0; top: .32em; width: 20px; height: 20px; border-radius: 50%;
  background: var(--red-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d9141f' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.prose ol:not([class]) { padding-left: 1.3em; }
.prose figure { margin: 2em 0; }
.prose figure img { border-radius: var(--r-lg); width: 100%; border: 1px solid var(--line); }
.prose figcaption { font-size: .88rem; color: var(--muted); margin-top: 10px; text-align: center; }
.prose .lede { font-size: 1.15rem; color: var(--ink-2); }
.prose table { width: 100%; border-collapse: collapse; margin: 1.2em 0 2em; font-size: .97rem; }
.prose th, .prose td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.prose th { background: var(--soft); color: var(--ink); font-weight: 700; }
.prose .cards { margin: 1.4em 0 2em; }
.prose figure.quote { margin: 0; }
.prose .quote figcaption { margin-top: auto; text-align: left; font-size: 1rem; }
.prose .quote figcaption img { width: 64px; border: 0; border-radius: 0; }
.prose figure img.img--natural { width: auto; max-width: 100%; margin-inline: auto; }
.prose .card > img { align-self: flex-start; margin-bottom: 16px; border-radius: 10px; max-height: 90px; width: auto; }
.prose .card { padding: 22px; }
.prose .card h3 { margin-top: 0; font-size: 1.08rem; }

.keypoints { border-radius: var(--r-lg); padding: 24px 26px; margin: 0 0 2em; background: linear-gradient(135deg, var(--red-50), #fff 70%); border: 1px solid var(--red-100); }
.keypoints__title { display: flex; align-items: center; gap: 8px; font-weight: 800; color: var(--red); text-transform: uppercase; letter-spacing: .1em; font-size: .8rem; margin-bottom: 14px; }
.keypoints ul { list-style: none; display: grid; gap: 10px; }
.keypoints li { display: flex; gap: 10px; color: var(--ink-2); font-weight: 500; line-height: 1.55; }
.keypoints li .ico { color: var(--red); width: 20px; height: 20px; margin-top: 3px; }

.feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 1.2em 0 2em; list-style: none; }
.feature-grid li { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: 14px; border: 1px solid var(--line); background: #fff; font-weight: 600; color: var(--ink-2); line-height: 1.45; font-size: .97rem; }
.feature-grid li .ico { color: var(--red); flex: none; width: 22px; height: 22px; }
@media (max-width: 640px) { .feature-grid { grid-template-columns: 1fr; } }

.callout { display: flex; gap: 18px; align-items: flex-start; padding: 22px 24px; border-radius: var(--r); background: var(--dark); color: rgba(255, 255, 255, .8); margin: 2em 0; }
.callout .ico { color: var(--red); width: 28px; height: 28px; flex: none; }
.callout p { margin: 0; }
.callout strong { color: #fff; }

/* ---------- Enquiry form ---------- */
.enquiry { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; box-shadow: var(--shadow); display: grid; gap: 14px; }
.enquiry__head { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 4px; }
.enquiry__badge { width: 46px; height: 46px; border-radius: 14px; background: #e8f9ef; color: var(--wa-600); display: grid; place-items: center; flex: none; }
.enquiry__badge .ico { width: 26px; height: 26px; }
.enquiry__title { font-size: 1.2rem; font-weight: 800; color: var(--ink); margin: 0; line-height: 1.3; }
.enquiry__sub { font-size: .88rem; color: var(--muted); margin: 3px 0 0; line-height: 1.5; }
.field { display: grid; gap: 6px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 420px) { .field-row { grid-template-columns: 1fr; } }
.field label { font-size: .84rem; font-weight: 700; color: var(--ink-2); }
.field label span { color: var(--red); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: .97rem; color: var(--ink); background: var(--soft-2);
  border: 1.5px solid var(--line); border-radius: 12px; padding: 11px 14px; transition: border-color .2s, box-shadow .2s, background .2s;
}
.field textarea { resize: vertical; min-height: 92px; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b6f7e' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; padding-right: 40px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--red); background: #fff; box-shadow: 0 0 0 4px rgba(217, 20, 31, .1); }
.field [aria-invalid="true"] { border-color: var(--red); background: var(--red-50); }
.enquiry__note { font-size: .82rem; color: var(--muted); margin: 0; text-align: center; }
.enquiry__note.is-error { color: var(--red); font-weight: 600; }
.enquiry--dark { background: var(--dark-2); border-color: var(--dark-line); }
.enquiry--dark .enquiry__title { color: #fff; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; margin-top: 36px; }
.faq__item { background: #fff; border: 1px solid var(--line); border-radius: var(--r); transition: box-shadow .25s, border-color .25s; }
.faq__item[open] { box-shadow: var(--shadow); border-color: transparent; }
.faq__item summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; cursor: pointer; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary h3 { margin: 0; font-size: 1.06rem; letter-spacing: -.01em; }
.faq__icon { width: 34px; height: 34px; border-radius: 50%; background: var(--soft); display: grid; place-items: center; flex: none; color: var(--ink); transition: transform .25s, background .25s, color .25s; }
.faq__icon .ico { width: 18px; height: 18px; }
.faq__item[open] .faq__icon { transform: rotate(45deg); background: var(--red); color: #fff; }
.faq__answer { padding: 0 24px 22px; }
.faq__answer p { margin: 0; }

/* ---------- Contact ---------- */
.contact-cards { display: grid; gap: 16px; }
.contact-card { display: flex; gap: 16px; align-items: flex-start; padding: 22px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); }
.contact-card .card__icon { margin: 0; width: 48px; height: 48px; }
.contact-card h3 { font-size: 1.02rem; margin: 0 0 4px; }
.contact-card p { margin: 0; font-size: .97rem; }
.map { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16 / 7; background: var(--soft); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }
@media (max-width: 640px) { .map { aspect-ratio: 4 / 3; } }

/* ---------- CTA band ---------- */
.cta-band { padding-block: 24px clamp(64px, 8vw, 104px); }
.cta-band__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
  padding: clamp(32px, 5vw, 56px); border-radius: 28px; color: rgba(255, 255, 255, .85); position: relative; overflow: hidden;
  background: radial-gradient(80% 140% at 100% 0, #ff4d55 0, var(--red) 45%, var(--red-700) 100%);
}
.cta-band__inner::after { content: ""; position: absolute; right: -60px; bottom: -120px; width: 320px; height: 320px; border-radius: 50%; border: 50px solid rgba(255, 255, 255, .07); pointer-events: none; }
.cta-band h2 { color: #fff; font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem); margin-bottom: .3em; max-width: 24ch; }
.cta-band p { margin: 0; max-width: 56ch; }
.cta-band__actions { display: flex; gap: 12px; flex-wrap: wrap; position: relative; z-index: 1; }
.cta-band .btn--wa { box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .5); }

/* ---------- Footer ---------- */
.site-footer { background: var(--dark); color: rgba(255, 255, 255, .62); font-size: .94rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1.3fr; gap: 40px; padding-block: 72px 48px; }
.footer-logo { display: inline-block; background: #fff; padding: 10px 14px; border-radius: 14px; margin-bottom: 20px; }
.footer-logo img { height: 46px; width: auto; }
.footer-motto { color: #fff; font-weight: 700; }
.footer-title { color: #fff; font-weight: 800; font-size: .95rem; margin-bottom: 16px; }
.footer-col ul { list-style: none; display: grid; gap: 9px; }
.site-footer a { color: rgba(255, 255, 255, .62); }
.site-footer a:hover { color: #fff; }
.footer-social { list-style: none; display: flex; gap: 10px; }
.footer-social a { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 255, 255, .06); border: 1px solid var(--dark-line); transition: .2s; }
.footer-social a:hover { background: var(--red); border-color: var(--red); }
.footer-social .ico { width: 18px; height: 18px; }
.footer-contact address p { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 14px; line-height: 1.55; }
.footer-contact .ico { color: var(--red); width: 18px; height: 18px; margin-top: 3px; }
.footer-contact .btn { margin-top: 6px; color: #fff; }
.footer-bottom { border-top: 1px solid var(--dark-line); }
.footer-bottom__inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding-block: 22px; font-size: .86rem; }
.footer-bottom p { margin: 0; }
.footer-bottom ul { list-style: none; display: flex; gap: 22px; margin-right: 190px; }
@media (max-width: 640px) { .footer-bottom ul { margin-right: 0; } .footer-bottom__inner { padding-bottom: 92px; } }
@media (max-width: 1100px) { .footer-grid { grid-template-columns: 1fr 1fr 1fr; } .footer-brand { grid-column: 1 / -1; max-width: 560px; } }
@media (max-width: 700px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px 24px; padding-block: 56px 36px; } .footer-contact { grid-column: 1 / -1; } }
@media (max-width: 420px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Floating actions ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 80; display: flex; align-items: center; gap: 10px;
  height: 58px; padding: 0 20px 0 16px; border-radius: 999px; background: var(--wa); color: #fff; font-weight: 700;
  box-shadow: 0 14px 30px -10px rgba(37, 211, 102, .8);
  transition: transform .25s var(--ease), background .2s;
}
.wa-float .ico { width: 28px; height: 28px; }
.wa-float:hover { color: #fff; background: var(--wa-600); transform: translateY(-3px); }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 0 rgba(37, 211, 102, .6); animation: pulse 2.6s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); } 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); } }
@media (max-width: 640px) { .wa-float { width: 58px; padding: 0; justify-content: center; right: 16px; bottom: 16px; } .wa-float__label { display: none; } }
.to-top { position: fixed; right: 26px; bottom: 92px; z-index: 79; width: 44px; height: 44px; border-radius: 50%; background: #fff; color: var(--ink); border: 1px solid var(--line); box-shadow: var(--shadow); display: grid; place-items: center; opacity: 0; visibility: hidden; transform: translateY(10px); transition: .25s; }
.to-top .ico { transform: rotate(180deg); }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
@media (max-width: 640px) { .to-top { right: 23px; bottom: 86px; } }

/* ---------- Reveal ---------- */
.js-reveal [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js-reveal [data-reveal].is-in { opacity: 1; transform: none; }
.js-reveal [data-reveal="2"] { transition-delay: .1s; }
.js-reveal [data-reveal="3"] { transition-delay: .2s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

@media print {
  .topbar, .site-header, .wa-float, .to-top, .cta-band, .sidebar, .site-footer { display: none !important; }
  .article-grid { grid-template-columns: 1fr; }
  .page-hero { background: none; color: #000; } .page-hero h1 { color: #000; }
}
