/* ==========================================================================
   Dagussa — Water Treatment Products
   Static site stylesheet
   ========================================================================== */

:root {
  --ink: #0a1a22;
  --ink-2: #10262f;
  --ink-3: #18343f;
  --teal: #4f92a0;
  --teal-600: #3d7a87;
  --teal-300: #8cc3cd;
  --aqua: #6fe3e1;
  --sand: #f4f1ea;
  --paper: #fbfaf7;
  --white: #ffffff;
  --text: #22323a;
  --muted: #5d6f77;
  --line: rgba(10, 26, 34, 0.1);
  --line-dark: rgba(255, 255, 255, 0.12);

  --font-sans: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-serif: "Instrument Serif", Georgia, serif;

  --radius: 18px;
  --radius-sm: 10px;
  --shadow-sm: 0 2px 10px rgba(10, 26, 34, 0.06);
  --shadow: 0 18px 40px -18px rgba(10, 26, 34, 0.28);
  --shadow-lg: 0 40px 80px -30px rgba(10, 26, 34, 0.45);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --container: 1240px;
  --header-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.12; margin: 0 0 0.5em; font-weight: 700; letter-spacing: -0.02em; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 5.6vw, 4.6rem); letter-spacing: -0.035em; }
h2 { font-size: clamp(2rem, 3.6vw, 3rem); letter-spacing: -0.03em; }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1.1em; text-wrap: pretty; }
em.serif, .serif { font-family: var(--font-serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; }
::selection { background: var(--aqua); color: var(--ink); }

.container { width: min(var(--container), 100% - 40px); margin-inline: auto; }
.section { padding: clamp(72px, 10vw, 130px) 0; position: relative; }
.section--tight { padding: clamp(56px, 7vw, 90px) 0; }
.section--sand { background: var(--sand); }
.section--dark { background: var(--ink); color: rgba(255,255,255,.75); }
.section--dark h2, .section--dark h3, .section--dark h4 { color: var(--white); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--teal-600); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }
.section--dark .eyebrow, .hero .eyebrow, .page-hero .eyebrow { color: var(--aqua); }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 62ch; }
.section--dark .lead { color: rgba(255,255,255,.7); }
.section-head { max-width: 760px; margin-bottom: 56px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head.split { max-width: none; display: flex; align-items: end; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.section-head.split > div { max-width: 640px; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--teal); --fg: #fff;
  position: relative; display: inline-flex; align-items: center; gap: 12px;
  padding: 16px 28px; border-radius: 100px; border: 0;
  background: var(--bg); color: var(--fg);
  font-weight: 700; font-size: 0.95rem; letter-spacing: 0.01em;
  overflow: hidden; isolation: isolate;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), color .3s;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--ink); transform: translateY(101%); border-radius: inherit;
  transition: transform .5s var(--ease);
}
.btn:hover { transform: translateY(-3px); box-shadow: 0 16px 30px -12px rgba(79,146,160,.7); }
.btn:hover::before { transform: translateY(0); }
.btn svg { width: 18px; height: 18px; transition: transform .4s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn--light { --bg: #fff; --fg: var(--ink); }
.btn--light::before { background: var(--aqua); }
.btn--ghost { --bg: transparent; --fg: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.5); }
.btn--ghost::before { background: #fff; }
.btn--ghost:hover { color: var(--ink); box-shadow: inset 0 0 0 1.5px #fff; }
.btn--outline { --bg: transparent; --fg: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn--outline:hover { color: #fff; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--teal-600);
  font-size: .95rem; position: relative;
}
.link-arrow svg { width: 16px; height: 16px; transition: transform .35s var(--ease); }
.link-arrow::after { content: ""; position: absolute; left: 0; bottom: -3px; height: 2px; width: 100%; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.link-arrow:hover::after { transform: scaleX(1); }
.link-arrow:hover svg { transform: translateX(5px); }

/* ---------- Progress + Preloader ---------- */
.scroll-progress { position: fixed; top: 0; left: 0; height: 3px; width: 100%; z-index: 1001; background: linear-gradient(90deg, var(--teal), var(--aqua)); transform-origin: left; transform: scaleX(0); }
.preloader { position: fixed; inset: 0; z-index: 2000; background: var(--ink); display: grid; place-items: center; transition: opacity .6s var(--ease), visibility .6s; }
.preloader.done { opacity: 0; visibility: hidden; }
.preloader__drop { width: 54px; height: 54px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: linear-gradient(135deg, var(--aqua), var(--teal)); animation: drop 1.2s var(--ease) infinite; }
@keyframes drop { 0%,100% { transform: rotate(-45deg) scale(.85); } 50% { transform: rotate(-45deg) scale(1.05); } }

/* ---------- Header ---------- */
.topbar { background: var(--ink); color: rgba(255,255,255,.65); font-size: .82rem; position: relative; z-index: 60; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 9px 0; }
.topbar a { transition: color .3s; display: inline-flex; gap: 7px; align-items: center; }
.topbar a:hover { color: var(--aqua); }
.topbar svg { width: 14px; height: 14px; }
.topbar__group { display: flex; gap: 26px; flex-wrap: wrap; }

.header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: rgba(10, 26, 34, 0.0);
  transition: background .4s var(--ease), box-shadow .4s, height .4s var(--ease);
}
.has-hero .header { position: fixed; top: 38px; left: 0; right: 0; }
.has-hero .header.scrolled { top: 0; }
.header.scrolled, body:not(.has-hero) .header { background: rgba(10, 26, 34, 0.88); backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%); box-shadow: 0 10px 30px -12px rgba(0,0,0,.35); }
.header.scrolled { height: 72px; }
.header.hidden { transform: translateY(-100%); }
.header { transition: background .4s var(--ease), box-shadow .4s, height .4s var(--ease), transform .45s var(--ease), top .4s var(--ease); }
.header .container { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo img { height: 44px; width: auto; transition: transform .4s var(--ease); }
.logo:hover img { transform: scale(1.04); }

.nav { display: flex; align-items: center; gap: 4px; }
.nav__item { position: relative; }
.nav__link {
  display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; border-radius: 100px;
  color: rgba(255,255,255,.86); font-weight: 600; font-size: .93rem; transition: color .3s, background .3s;
  background: none; border: 0;
}
.nav__link svg { width: 12px; height: 12px; transition: transform .35s var(--ease); }
.nav__link:hover, .nav__item:hover > .nav__link, .nav__link.active { color: #fff; background: rgba(255,255,255,.08); }
.nav__link.active { color: var(--aqua); }
.nav__item:hover > .nav__link svg, .nav__item:focus-within > .nav__link svg { transform: rotate(180deg); }

.dropdown {
  position: absolute; top: calc(100% + 14px); left: 50%; translate: -50% 0;
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg);
  padding: 26px; min-width: 260px;
  opacity: 0; visibility: hidden; transform: translateY(12px) scale(.98); transform-origin: top center;
  transition: opacity .35s var(--ease), transform .45s var(--ease), visibility .35s;
}
.dropdown::before { content: ""; position: absolute; inset: -16px 0 auto; height: 16px; }
.nav__item:hover .dropdown, .nav__item:focus-within .dropdown { opacity: 1; visibility: visible; transform: none; }
.dropdown--mega { display: grid; grid-template-columns: repeat(3, minmax(200px, 1fr)); gap: 8px 32px; width: min(900px, 90vw); }
.dropdown--mega.two { grid-template-columns: 1.1fr 1fr; width: min(720px, 90vw); }
.dropdown h5 { margin: 0 0 10px; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--teal-600); }
.dropdown a { display: block; padding: 7px 10px; margin: 0 -10px; border-radius: 8px; font-size: .9rem; color: var(--text); font-weight: 500; transition: background .25s, color .25s, padding .3s var(--ease); }
.dropdown a:hover { background: var(--sand); color: var(--teal-600); padding-left: 16px; }
.dropdown .cols-2 { columns: 2; column-gap: 24px; }
.dropdown__feature { grid-row: span 2; border-radius: 14px; overflow: hidden; position: relative; min-height: 220px; color: #fff; display: flex; align-items: flex-end; padding: 20px; }
.dropdown__feature img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.dropdown__feature::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(10,26,34,.9)); }
.dropdown__feature span { position: relative; z-index: 1; font-weight: 700; line-height: 1.3; }
.dropdown__feature small { display: block; font-weight: 500; opacity: .75; margin-top: 4px; }
.dropdown__feature:hover img { transform: scale(1.08); }
.dropdown a.dropdown__feature { margin: 0; padding: 20px; color: #fff; }
.dropdown a.dropdown__feature:hover { background: none; color: #fff; padding-left: 20px; }

.header__cta { display: flex; align-items: center; gap: 12px; }
.header__cta .btn { padding: 12px 22px; }
.burger { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.3); background: transparent; position: relative; }
.burger span { position: absolute; left: 13px; right: 13px; height: 2px; background: #fff; border-radius: 2px; transition: transform .4s var(--ease), opacity .3s, top .4s var(--ease); }
.burger span:nth-child(1) { top: 16px; } .burger span:nth-child(2) { top: 22px; } .burger span:nth-child(3) { top: 28px; }
.nav-open .burger span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.nav-open .burger span:nth-child(2) { opacity: 0; }
.nav-open .burger span:nth-child(3) { top: 22px; transform: rotate(-45deg); }

/* Mobile drawer */
.drawer { position: fixed; inset: 0; z-index: 45; background: var(--ink); padding: calc(var(--header-h) + 40px) 24px 40px; overflow-y: auto; clip-path: circle(0 at calc(100% - 44px) 60px); transition: clip-path .7s var(--ease); visibility: hidden; }
.nav-open .drawer { clip-path: circle(150% at calc(100% - 44px) 60px); visibility: visible; }
.nav-open { overflow: hidden; }
.drawer details { border-bottom: 1px solid var(--line-dark); }
.drawer summary, .drawer > a { display: flex; justify-content: space-between; align-items: center; padding: 18px 0; font-size: 1.35rem; font-weight: 700; color: #fff; list-style: none; cursor: pointer; border-bottom: 1px solid var(--line-dark); }
.drawer details summary { border-bottom: 0; }
.drawer summary::-webkit-details-marker { display: none; }
.drawer summary::after { content: "+"; font-weight: 400; color: var(--aqua); transition: transform .3s; }
.drawer details[open] summary::after { transform: rotate(45deg); }
.drawer details div { padding: 0 0 18px; display: grid; gap: 2px; }
.drawer details div a { color: rgba(255,255,255,.7); padding: 6px 0; }
.drawer details div h6 { color: var(--aqua); margin: 12px 0 4px; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; }
.drawer .btn { margin-top: 28px; }
.drawer > * { opacity: 0; transform: translateY(20px); transition: opacity .5s, transform .5s var(--ease); }
.nav-open .drawer > * { opacity: 1; transform: none; }
.nav-open .drawer > *:nth-child(2) { transition-delay: .05s; } .nav-open .drawer > *:nth-child(3) { transition-delay: .1s; }
.nav-open .drawer > *:nth-child(4) { transition-delay: .15s; } .nav-open .drawer > *:nth-child(5) { transition-delay: .2s; }
.nav-open .drawer > *:nth-child(6) { transition-delay: .25s; } .nav-open .drawer > *:nth-child(7) { transition-delay: .3s; }

/* ---------- Hero (home) ---------- */
.hero { position: relative; min-height: min(100svh, 980px); display: flex; align-items: center; color: #fff; overflow: hidden; background: var(--ink); padding: 180px 0 160px; }
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); animation: kenburns 22s ease-in-out infinite alternate; }
@keyframes kenburns { from { transform: scale(1.12) translate3d(0,0,0); } to { transform: scale(1.22) translate3d(-2%, -2%, 0); } }
.hero__media img { object-position: center 30%; }
.hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(95deg, rgba(6,32,52,.82) 0%, rgba(6,40,66,.55) 38%, rgba(6,40,66,.08) 70%), linear-gradient(180deg, rgba(6,26,40,.45) 0%, transparent 30%, transparent 70%, rgba(6,26,40,.35)); }
.hero .container { position: relative; z-index: 2; }
.hero h1 { color: #fff; max-width: 15ch; margin-bottom: 26px; }
.hero h1 .serif { color: var(--aqua); }
.hero__sub { font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: rgba(255,255,255,.78); max-width: 56ch; margin-bottom: 40px; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__badges { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 56px; }
.badge { display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px; border-radius: 100px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); backdrop-filter: blur(8px); font-size: .86rem; font-weight: 600; color: rgba(255,255,255,.9); transition: background .3s, transform .4s var(--ease); }
.badge:hover { background: rgba(255,255,255,.16); transform: translateY(-2px); }
.badge svg { width: 16px; height: 16px; color: var(--aqua); }
.hero__waves { position: absolute; left: 0; right: 0; bottom: -1px; z-index: 3; line-height: 0; }
.hero__waves svg { width: 200%; height: 110px; }
.hero__waves .w1 { animation: wave 14s linear infinite; }
.hero__waves .w2 { animation: wave 9s linear infinite reverse; opacity: .5; }
@keyframes wave { to { transform: translateX(-50%); } }
.hero__scroll { position: absolute; right: 40px; bottom: 140px; z-index: 3; writing-mode: vertical-rl; font-size: .72rem; letter-spacing: .3em; text-transform: uppercase; color: rgba(255,255,255,.6); display: flex; align-items: center; gap: 14px; }
.hero__scroll::after { content: ""; width: 1px; height: 70px; background: linear-gradient(var(--aqua), transparent); animation: scrollLine 2s var(--ease) infinite; transform-origin: top; }
@keyframes scrollLine { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
.bubbles { position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }
.bubbles span { position: absolute; bottom: -40px; border-radius: 50%; background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.5), rgba(111,227,225,.08)); border: 1px solid rgba(255,255,255,.18); animation: rise linear infinite; }
@keyframes rise { to { transform: translate3d(var(--drift, 30px), -110vh, 0); opacity: 0; } }

/* Split text animation */
.split .word { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.split .word > span { display: inline-block; transform: translateY(110%); transition: transform 1s var(--ease); }
.split.in .word > span { transform: none; }

/* ---------- Page hero (inner) ---------- */
.page-hero { position: relative; padding: 120px 0 110px; color: #fff; overflow: hidden; background: var(--ink); isolation: isolate; }
.page-hero__bg { position: absolute; inset: 0; z-index: -1; }
.page-hero__bg img { position: absolute; left: 0; top: -14%; width: 100%; height: 128%; object-fit: cover; will-change: transform; }
.page-hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(10,26,34,.95) 15%, rgba(10,26,34,.7) 55%, rgba(10,26,34,.35)); }
.page-hero h1 { color: #fff; max-width: 18ch; font-size: clamp(2.3rem, 5vw, 4rem); }
.page-hero p { color: rgba(255,255,255,.78); max-width: 60ch; font-size: 1.15rem; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: .85rem; color: rgba(255,255,255,.6); margin-bottom: 26px; }
.breadcrumb a { color: rgba(255,255,255,.8); transition: color .3s; }
.breadcrumb a:hover { color: var(--aqua); }
.breadcrumb span[aria-hidden] { opacity: .5; }
.page-hero__curve { position: absolute; bottom: -1px; left: 0; right: 0; line-height: 0; }
.page-hero__curve svg { width: 100%; height: 60px; }

/* ---------- Grid helpers ---------- */
.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.split-layout { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.split-layout.rev > :first-child { order: 2; }

/* ---------- Cards ---------- */
.card {
  position: relative; background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); border: 1px solid var(--line);
  transition: transform .55s var(--ease), box-shadow .55s var(--ease), border-color .4s;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: transparent; }
.card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--ink-3); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease), filter .6s; }
.card:hover .card__media img { transform: scale(1.09); }
.card__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(10,26,34,.55)); opacity: .6; transition: opacity .5s; }
.card:hover .card__media::after { opacity: 1; }
.card__tag { position: absolute; top: 16px; left: 16px; z-index: 2; background: rgba(255,255,255,.92); color: var(--ink); font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 6px 12px; border-radius: 100px; }
.card__body { padding: 26px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.card__body h3 { margin-bottom: 10px; transition: color .3s; }
.card:hover .card__body h3 { color: var(--teal-600); }
.card__body p { color: var(--muted); font-size: .96rem; flex: 1; }
.card__body .link-arrow { margin-top: 6px; }
.card .stretched::before { content: ""; position: absolute; inset: 0; z-index: 3; }

/* Image tile card (overlay text) */
.tile { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; color: #fff; display: flex; align-items: flex-end; isolation: isolate; background: var(--ink-3); box-shadow: var(--shadow-sm); transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease); }
.tile::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10,26,34,.05) 25%, rgba(10,26,34,.92)); transition: background .6s; }
.tile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent, rgba(79,146,160,.85)); opacity: 0; transition: opacity .6s var(--ease); }
.tile:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.tile:hover img { transform: scale(1.1) rotate(.5deg); }
.tile:hover::after { opacity: 1; }
.tile__body { padding: 26px; width: 100%; }
.tile__body h3 { color: #fff; margin: 0; font-size: 1.25rem; }
.tile__body p { margin: 0; max-height: 0; opacity: 0; overflow: hidden; font-size: .9rem; color: rgba(255,255,255,.85); transition: max-height .6s var(--ease), opacity .5s, margin .5s var(--ease); }
.tile:hover .tile__body p { max-height: 120px; opacity: 1; margin-top: 10px; }
.tile__arrow { position: absolute; top: 20px; right: 20px; width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.14); backdrop-filter: blur(6px); display: grid; place-items: center; transform: rotate(-45deg) scale(.8); opacity: 0; transition: transform .5s var(--ease), opacity .4s, background .3s; }
.tile__arrow svg { width: 18px; height: 18px; }
.tile:hover .tile__arrow { opacity: 1; transform: rotate(0) scale(1); background: var(--aqua); color: var(--ink); }
.tile--wide { aspect-ratio: 16 / 10; }
.tile--short { aspect-ratio: 1 / 1; }

/* Feature/icon box */
.feature { position: relative; padding: 34px 30px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); overflow: hidden; transition: transform .5s var(--ease), box-shadow .5s var(--ease), background .5s; isolation: isolate; }
.feature::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 50%), rgba(111,227,225,.18), transparent 45%); opacity: 0; transition: opacity .4s; }
.feature:hover::before { opacity: 1; }
.feature:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.feature__icon { width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; background: linear-gradient(135deg, rgba(79,146,160,.14), rgba(111,227,225,.2)); color: var(--teal-600); margin-bottom: 22px; transition: transform .6s var(--ease), background .4s, color .4s; }
.feature__icon svg { width: 28px; height: 28px; }
.feature:hover .feature__icon { transform: rotate(-8deg) scale(1.08); background: var(--teal); color: #fff; }
.feature h3 { font-size: 1.18rem; }
.feature p { color: var(--muted); font-size: .96rem; margin: 0; }
.feature__num { position: absolute; top: 22px; right: 26px; font-family: var(--font-serif); font-size: 2.6rem; color: rgba(79,146,160,.18); line-height: 1; transition: color .4s; }
.feature:hover .feature__num { color: rgba(79,146,160,.45); }
.section--dark .feature { background: var(--ink-2); border-color: var(--line-dark); }
.section--dark .feature p { color: rgba(255,255,255,.62); }
.section--dark .feature__icon { color: var(--aqua); }

/* Check list */
.checklist { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 14px; }
.checklist li { display: flex; gap: 14px; align-items: flex-start; font-weight: 500; color: var(--ink); }
.checklist li::before { content: ""; flex: none; width: 24px; height: 24px; margin-top: 2px; border-radius: 50%; background: var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 13px no-repeat; transition: transform .4s var(--ease); }
.checklist li:hover::before { transform: scale(1.18) rotate(-10deg); }
.checklist.two { grid-template-columns: 1fr 1fr; }
.section--dark .checklist li { color: rgba(255,255,255,.9); }

/* Media frame */
.media-frame { position: relative; border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-lg); }
.media-frame img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 5 / 4; transition: transform 1.2s var(--ease); }
.media-frame:hover img { transform: scale(1.05); }
.media-stack { position: relative; padding: 0 0 60px 60px; }
.media-stack .media-frame:nth-child(2) { position: absolute; left: 0; bottom: 0; width: 46%; border: 8px solid var(--paper); border-radius: 20px; }
.media-stack .media-frame:nth-child(2) img { aspect-ratio: 1; }
.float-card { position: absolute; right: -20px; top: 40px; background: #fff; border-radius: 16px; padding: 18px 22px; box-shadow: var(--shadow); display: flex; gap: 14px; align-items: center; animation: floaty 6s ease-in-out infinite; z-index: 2; }
.float-card strong { display: block; font-size: 1.6rem; color: var(--ink); line-height: 1; }
.float-card span { font-size: .8rem; color: var(--muted); }
.float-card .feature__icon { margin: 0; width: 46px; height: 46px; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); }
.stat { padding: 40px 28px; border-right: 1px solid var(--line-dark); transition: background .4s; }
.stat:last-child { border-right: 0; }
.stat:hover { background: rgba(255,255,255,.03); }
.stat strong { display: block; font-size: clamp(2.6rem, 4.5vw, 3.8rem); font-weight: 800; color: #fff; letter-spacing: -0.04em; line-height: 1; margin-bottom: 10px; }
.stat strong sup { font-size: .45em; color: var(--aqua); vertical-align: top; position: relative; top: .3em; margin-left: 2px; }
.stat > span { color: rgba(255,255,255,.6); font-size: .95rem; }
.stats--light { border-color: var(--line); }
.stats--light .stat { border-color: var(--line); }
.stats--light .stat strong { color: var(--ink); }
.stats--light .stat > span { color: var(--muted); }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; padding: 30px 0; background: var(--teal); color: #fff; position: relative; }
.marquee__track { display: flex; gap: 48px; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track span { display: inline-flex; align-items: center; gap: 48px; font-size: clamp(1.4rem, 2.6vw, 2.1rem); font-weight: 700; letter-spacing: -0.02em; white-space: nowrap; }
.marquee__track span::after { content: "✦"; color: var(--aqua); font-size: .7em; }
.marquee__track span:nth-child(even) { font-family: var(--font-serif); font-style: italic; font-weight: 400; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Tabs ---------- */
.tabs { display: inline-flex; padding: 6px; border-radius: 100px; background: var(--sand); gap: 4px; position: relative; flex-wrap: wrap; }
.tabs button { position: relative; z-index: 1; border: 0; background: transparent; padding: 12px 22px; border-radius: 100px; font-weight: 700; font-size: .92rem; color: var(--muted); transition: color .35s; }
.tabs button.active { color: #fff; }
.tabs__pill { position: absolute; z-index: 0; top: 6px; bottom: 6px; border-radius: 100px; background: var(--ink); transition: left .5s var(--ease), width .5s var(--ease); }
.tab-panel { display: none; }
.tab-panel.active { display: block; animation: fadeUp .7s var(--ease); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; margin-bottom: 44px; }
.search { position: relative; min-width: min(320px, 100%); }
.search input { width: 100%; padding: 14px 20px 14px 48px; border-radius: 100px; border: 1.5px solid var(--line); background: #fff; font: inherit; font-size: .95rem; transition: border-color .3s, box-shadow .3s; }
.search input:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(79,146,160,.15); }
.search svg { position: absolute; left: 18px; top: 50%; translate: 0 -50%; width: 18px; height: 18px; color: var(--muted); }
.is-hidden { display: none !important; }
.empty-state { text-align: center; padding: 40px; color: var(--muted); }

/* ---------- Accordion ---------- */
.accordion { display: grid; gap: 14px; }
.acc { border-radius: 16px; background: #fff; border: 1px solid var(--line); overflow: hidden; transition: box-shadow .4s, border-color .4s; }
.acc.open { box-shadow: var(--shadow); border-color: transparent; }
.acc button { width: 100%; text-align: left; background: none; border: 0; padding: 22px 26px; display: flex; justify-content: space-between; align-items: center; gap: 20px; font-weight: 700; font-size: 1.05rem; color: var(--ink); }
.acc button i { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--sand); position: relative; transition: background .3s, transform .5s var(--ease); }
.acc button i::before, .acc button i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; background: var(--ink); translate: -50% -50%; transition: transform .4s var(--ease), background .3s; }
.acc button i::after { transform: rotate(90deg); }
.acc.open button i { background: var(--teal); transform: rotate(180deg); }
.acc.open button i::before, .acc.open button i::after { background: #fff; }
.acc.open button i::after { transform: rotate(0); }
.acc__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease); }
.acc.open .acc__panel { grid-template-rows: 1fr; }
.acc__panel > div { overflow: hidden; }
.acc__panel p { padding: 0 26px 22px; margin: 0; color: var(--muted); }

/* ---------- Process steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; counter-reset: step; position: relative; }
.steps::before { content: ""; position: absolute; top: 30px; left: 30px; right: 30px; height: 2px; background: linear-gradient(90deg, var(--teal), var(--aqua)); transform-origin: left; transform: scaleX(var(--line-progress, 0)); transition: transform 1.6s var(--ease); }
.steps.in::before { --line-progress: 1; }
.step { position: relative; }
.step__num { width: 60px; height: 60px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-weight: 800; margin-bottom: 22px; position: relative; z-index: 1; box-shadow: 0 0 0 8px var(--paper); transition: background .4s, transform .5s var(--ease); }
.section--sand .step__num { box-shadow: 0 0 0 8px var(--sand); }
.step:hover .step__num { background: var(--teal); transform: scale(1.1); }
.step h3 { font-size: 1.15rem; }
.step p { color: var(--muted); font-size: .95rem; }

/* ---------- CTA band ---------- */
.cta { position: relative; border-radius: 28px; overflow: hidden; padding: clamp(48px, 7vw, 90px); color: #fff; isolation: isolate; background: var(--ink); }
.cta__bg { position: absolute; inset: 0; z-index: -2; }
.cta__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .45; transition: transform 2s var(--ease); }
.cta:hover .cta__bg img { transform: scale(1.06); }
.cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, rgba(10,26,34,.97) 30%, rgba(61,122,135,.6)); }
.cta .blob { position: absolute; z-index: -1; width: 420px; height: 420px; border-radius: 50%; right: -120px; top: -160px; background: radial-gradient(circle, rgba(111,227,225,.45), transparent 65%); filter: blur(10px); animation: blob 12s ease-in-out infinite alternate; }
@keyframes blob { to { transform: translate(-80px, 60px) scale(1.2); } }
.cta h2 { color: #fff; max-width: 20ch; }
.cta p { color: rgba(255,255,255,.75); max-width: 56ch; font-size: 1.1rem; }
.cta__inner { display: flex; justify-content: space-between; align-items: end; gap: 40px; flex-wrap: wrap; }

/* ---------- Article / prose ---------- */
.prose { max-width: 760px; }
.prose p, .prose li { font-size: 1.08rem; color: #34444c; }
.prose h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .5em; }
.prose li::marker { color: var(--teal); }
.prose blockquote { margin: 2em 0; padding: 28px 32px; border-left: 4px solid var(--teal); background: var(--sand); border-radius: 0 16px 16px 0; font-family: var(--font-serif); font-size: 1.55rem; line-height: 1.35; color: var(--ink); }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 70px; align-items: start; }
.sidebar { position: sticky; top: 110px; display: grid; gap: 22px; }
.side-box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.side-box h4 { font-size: 1rem; margin-bottom: 14px; }
.side-box a.side-link { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: .93rem; font-weight: 600; transition: color .3s, padding .35s var(--ease); }
.side-box a.side-link:last-child { border-bottom: 0; }
.side-box a.side-link:hover { color: var(--teal-600); padding-left: 6px; }
.side-box a.side-link.current { color: var(--teal-600); }
.side-box a.side-link svg { width: 14px; height: 14px; flex: none; }
.side-box--dark { background: var(--ink); color: rgba(255,255,255,.7); border: 0; position: relative; overflow: hidden; }
.side-box--dark h4 { color: #fff; font-size: 1.3rem; }
.side-box--dark .btn { margin-top: 8px; }
.meta { display: flex; gap: 18px; flex-wrap: wrap; font-size: .9rem; color: rgba(255,255,255,.7); }
.meta span { display: inline-flex; gap: 8px; align-items: center; }
.meta svg { width: 15px; height: 15px; color: var(--aqua); }
.article-cover { border-radius: 24px; overflow: hidden; margin: -70px 0 50px; position: relative; z-index: 2; box-shadow: var(--shadow-lg); }
.article-cover img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; }
.share { display: flex; gap: 10px; align-items: center; margin-top: 40px; padding-top: 30px; border-top: 1px solid var(--line); font-weight: 700; color: var(--ink); }
.share a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--sand); transition: background .3s, color .3s, transform .4s var(--ease); }
.share a:hover { background: var(--teal); color: #fff; transform: translateY(-3px); }
.share svg { width: 17px; height: 17px; }

/* ---------- Blog cards ---------- */
.post-card .card__media { aspect-ratio: 16 / 10; }
.post-card .post-meta { display: flex; gap: 14px; font-size: .82rem; color: var(--muted); margin-bottom: 12px; font-weight: 600; }
.post-card .post-meta span:first-child { color: var(--teal-600); }
.post-card--featured { grid-column: 1 / -1; flex-direction: row; }
.post-card--featured .card__media { flex: 1.25; aspect-ratio: auto; min-height: 380px; }
.post-card--featured .card__body { flex: 1; padding: 46px; justify-content: center; }
.post-card--featured h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 50px; align-items: start; }
.contact-card { background: var(--ink); color: rgba(255,255,255,.75); border-radius: 24px; padding: 44px; position: relative; overflow: hidden; isolation: isolate; }
.contact-card::after { content: ""; position: absolute; width: 340px; height: 340px; right: -140px; bottom: -140px; border-radius: 50%; background: radial-gradient(circle, rgba(111,227,225,.35), transparent 65%); z-index: -1; animation: blob 10s ease-in-out infinite alternate; }
.contact-card h3 { color: #fff; font-size: 1.6rem; }
.contact-item { display: flex; gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--line-dark); }
.contact-item:last-of-type { border-bottom: 0; }
.contact-item .feature__icon { margin: 0; flex: none; width: 50px; height: 50px; color: var(--aqua); background: rgba(111,227,225,.1); }
.contact-item small { display: block; text-transform: uppercase; letter-spacing: .14em; font-size: .7rem; font-weight: 700; color: var(--aqua); margin-bottom: 4px; }
.contact-item a, .contact-item address { color: #fff; font-style: normal; font-weight: 600; transition: color .3s; }
.contact-item a:hover { color: var(--aqua); }
.form { background: #fff; border-radius: 24px; padding: 44px; border: 1px solid var(--line); box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { position: relative; margin-bottom: 18px; }
.field input, .field textarea, .field select { width: 100%; padding: 24px 18px 10px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--paper); font: inherit; font-size: .98rem; color: var(--ink); transition: border-color .3s, box-shadow .3s, background .3s; appearance: none; }
.field textarea { min-height: 150px; resize: vertical; }
.field label { position: absolute; left: 19px; top: 17px; color: var(--muted); font-size: .98rem; pointer-events: none; transition: top .3s var(--ease), font-size .3s var(--ease), color .3s; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--teal); background: #fff; box-shadow: 0 0 0 4px rgba(79,146,160,.13); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label,
.field select + label { top: 7px; font-size: .74rem; color: var(--teal-600); font-weight: 700; }
.field.error input, .field.error textarea { border-color: #d0574b; }
.field .err { display: none; color: #c0392b; font-size: .8rem; margin-top: 6px; }
.field.error .err { display: block; }
.form-note { font-size: .85rem; color: var(--muted); margin-top: 14px; }
.form-success { display: none; text-align: center; padding: 40px 10px; }
.form-success.show { display: block; animation: fadeUp .7s var(--ease); }
.form-success .feature__icon { margin: 0 auto 20px; width: 76px; height: 76px; border-radius: 50%; background: var(--teal); color: #fff; }
.map-embed { border-radius: 24px; overflow: hidden; height: 420px; box-shadow: var(--shadow); filter: grayscale(.4) contrast(1.05); transition: filter .5s; }
.map-embed:hover { filter: none; }
.map-embed iframe { width: 100%; height: 100%; border: 0; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: rgba(255,255,255,.62); padding: 100px 0 0; position: relative; overflow: hidden; font-size: .95rem; }
.footer::before { content: ""; position: absolute; width: 700px; height: 700px; left: -300px; top: -400px; border-radius: 50%; background: radial-gradient(circle, rgba(79,146,160,.22), transparent 65%); }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 50px; position: relative; }
.footer h4 { color: #fff; font-size: .85rem; text-transform: uppercase; letter-spacing: .16em; margin-bottom: 22px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer ul a { position: relative; transition: color .3s, padding .35s var(--ease); }
.footer ul a:hover { color: var(--aqua); padding-left: 8px; }
.footer .logo img { height: 46px; margin-bottom: 22px; }
.socials { display: flex; gap: 10px; margin-top: 26px; }
.socials a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-dark); transition: background .3s, border-color .3s, transform .4s var(--ease), color .3s; }
.socials a:hover { background: var(--aqua); border-color: var(--aqua); color: var(--ink); transform: translateY(-4px) rotate(-8deg); }
.socials svg { width: 17px; height: 17px; }
.newsletter { display: flex; margin-top: 16px; background: rgba(255,255,255,.06); border: 1px solid var(--line-dark); border-radius: 100px; padding: 5px; transition: border-color .3s; }
.newsletter:focus-within { border-color: var(--aqua); }
.newsletter input { flex: 1; min-width: 0; background: transparent; border: 0; color: #fff; padding: 10px 16px; font: inherit; font-size: .9rem; }
.newsletter input:focus { outline: none; }
.newsletter button { border: 0; background: var(--teal); color: #fff; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; transition: background .3s, transform .4s var(--ease); }
.newsletter button:hover { background: var(--aqua); color: var(--ink); transform: rotate(-45deg); }
.newsletter button svg { width: 18px; height: 18px; }
.footer__big { font-size: clamp(4rem, 15vw, 13rem); font-weight: 800; letter-spacing: -0.06em; line-height: .8; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.12); margin: 70px 0 -0.08em; text-align: center; user-select: none; white-space: nowrap; transition: -webkit-text-stroke-color .6s; }
.footer__big:hover { -webkit-text-stroke-color: rgba(111,227,225,.5); }
.footer__bottom { border-top: 1px solid var(--line-dark); padding: 26px 0; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: .85rem; position: relative; background: var(--ink); }
.footer__bottom a:hover { color: var(--aqua); }

.to-top { position: fixed; right: 24px; bottom: 24px; z-index: 40; width: 52px; height: 52px; border-radius: 50%; border: 0; background: var(--teal); color: #fff; display: grid; place-items: center; box-shadow: var(--shadow); opacity: 0; transform: translateY(20px) scale(.8); transition: opacity .4s, transform .5s var(--ease), background .3s; }
.to-top.show { opacity: 1; transform: none; }
.to-top:hover { background: var(--ink); transform: translateY(-4px); }
.to-top svg { width: 20px; height: 20px; }

/* ---------- Misc components ---------- */
.pill-list { display: flex; flex-wrap: wrap; gap: 10px; }
.pill-list a, .pill-list span { padding: 10px 18px; border-radius: 100px; border: 1.5px solid var(--line); font-weight: 600; font-size: .9rem; background: #fff; transition: background .3s, color .3s, border-color .3s, transform .4s var(--ease); }
.pill-list a:hover { background: var(--ink); color: #fff; border-color: var(--ink); transform: translateY(-3px); }
.section--dark .pill-list span, .section--dark .pill-list a { background: transparent; border-color: var(--line-dark); color: rgba(255,255,255,.85); }

.product-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.product { position: relative; padding: 28px 22px; border-radius: var(--radius); background: var(--ink-2); border: 1px solid var(--line-dark); color: #fff; overflow: hidden; transition: transform .5s var(--ease), border-color .4s; isolation: isolate; }
.product::before { content: ""; position: absolute; inset: auto 0 0; height: 0; z-index: -1; background: linear-gradient(180deg, var(--teal), var(--teal-600)); transition: height .6s var(--ease); }
.product:hover { transform: translateY(-6px); border-color: var(--teal); }
.product:hover::before { height: 100%; }
.product svg { width: 34px; height: 34px; color: var(--aqua); margin-bottom: 30px; transition: color .4s, transform .6s var(--ease); }
.product:hover svg { color: #fff; transform: scale(1.12) rotate(-6deg); }
.product h4 { color: #fff; font-size: 1.02rem; margin: 0; font-weight: 600; }

.map-wrap { position: relative; }
.map-wrap img { width: 100%; opacity: .9; }
.map-dot { position: absolute; width: 14px; height: 14px; border-radius: 50%; background: var(--aqua); box-shadow: 0 0 0 0 rgba(111,227,225,.7); animation: ping 2.4s var(--ease) infinite; }
.map-dot::after { content: attr(data-label); position: absolute; left: 50%; bottom: 22px; translate: -50% 0; white-space: nowrap; background: #fff; color: var(--ink); font-size: .74rem; font-weight: 700; padding: 5px 10px; border-radius: 6px; opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .3s var(--ease); pointer-events: none; }
.map-dot:hover::after { opacity: 1; transform: none; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(111,227,225,.7); } 80%, 100% { box-shadow: 0 0 0 18px rgba(111,227,225,0); } }

.quote-card { position: relative; padding: 50px; border-radius: 24px; background: #fff; border: 1px solid var(--line); }
.quote-card blockquote { margin: 0 0 24px; font-family: var(--font-serif); font-size: clamp(1.5rem, 2.6vw, 2.2rem); line-height: 1.3; color: var(--ink); }
.quote-card cite { font-style: normal; font-weight: 700; color: var(--teal-600); }

.tech-list { display: grid; gap: 14px; }
.tech-item { display: grid; grid-template-columns: 240px 1fr; gap: 24px; padding: 22px 26px; border-radius: 14px; background: #fff; border: 1px solid var(--line); transition: transform .45s var(--ease), box-shadow .45s, border-color .3s; }
.tech-item:hover { transform: translateX(8px); box-shadow: var(--shadow); border-color: var(--teal); }
.tech-item strong { color: var(--ink); }
.tech-item span { color: var(--muted); }

.not-found { min-height: 70vh; display: grid; place-items: center; text-align: center; }
.not-found h1 { font-size: clamp(6rem, 18vw, 12rem); background: linear-gradient(135deg, var(--teal), var(--aqua)); -webkit-background-clip: text; background-clip: text; color: transparent; margin: 0; }

/* ---------- Reveal animations ---------- */
[data-reveal] { opacity: 0; transition: opacity 1s var(--ease), transform 1.1s var(--ease), clip-path 1.2s var(--ease), filter 1s var(--ease); transition-delay: var(--d, 0s); will-change: transform, opacity; }
[data-reveal="up"] { transform: translateY(50px); }
[data-reveal="down"] { transform: translateY(-40px); }
[data-reveal="left"] { transform: translateX(-60px); }
[data-reveal="right"] { transform: translateX(60px); }
[data-reveal="zoom"] { transform: scale(.9); }
[data-reveal="blur"] { filter: blur(12px); transform: translateY(20px); }
[data-reveal="clip"], [data-reveal="clip-left"] { opacity: 1; }
[data-reveal="clip"] > * { clip-path: inset(0 0 100% 0); transition: clip-path 1.3s var(--ease), transform 1.6s var(--ease); transform: scale(1.12); }
[data-reveal="clip-left"] > * { clip-path: inset(0 100% 0 0); transition: clip-path 1.3s var(--ease); }
[data-reveal].in { opacity: 1; transform: none; filter: none; }
[data-reveal].in > * { clip-path: inset(0 0 0 0); transform: none; }

.tilt { transform-style: preserve-3d; transition: transform .3s ease-out; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav, .header__cta .btn { display: none; }
  .burger { display: block; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .grid-4, .product-row { grid-template-columns: repeat(2, 1fr); }
  .product-row { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps::before { display: none; }
  .article-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
}
@media (max-width: 860px) {
  body { font-size: 16px; }
  .grid-3, .grid-2, .split-layout, .contact-grid { grid-template-columns: 1fr; }
  .split-layout.rev > :first-child { order: 0; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line-dark); }
  .stats--light .stat:nth-child(-n+2) { border-bottom-color: var(--line); }
  .post-card--featured { flex-direction: column; }
  .post-card--featured .card__media { min-height: 240px; }
  .post-card--featured .card__body { padding: 28px; }
  .tech-item { grid-template-columns: 1fr; gap: 6px; }
  .hero__scroll { display: none; }
  .topbar .topbar__group:last-child { display: none; }
  .media-stack { padding: 0 0 40px 30px; }
  .float-card { right: 10px; }
}
@media (max-width: 600px) {
  .container { width: calc(100% - 32px); }
  .grid-4, .product-row, .footer__top, .checklist.two, .form-row, .steps { grid-template-columns: 1fr; }
  .product-row { grid-template-columns: 1fr 1fr; }
  .form, .contact-card { padding: 28px 22px; }
  .topbar { display: none; }
  .has-hero .header { top: 0; }
  .hero { padding: 140px 0 140px; }
  .tile { aspect-ratio: 4 / 4.2; }
  .tile__body p { max-height: none; opacity: 1; margin-top: 8px; }
  .cta { border-radius: 20px; }
  .stat { padding: 28px 16px; }
}
@media (hover: none) {
  .tile__body p { max-height: none; opacity: 1; margin-top: 8px; }
  .tile__arrow { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  [data-reveal], [data-reveal] > * { opacity: 1; transform: none; filter: none; clip-path: none; }
  .split .word > span { transform: none; }
}
