/* ==========================================================================
   TERMOLULI – site styles
   ========================================================================== */

:root {
  --brand: #5a1a5e;
  --brand-600: #4a1450;
  --brand-800: #2b0a2f;
  --brand-900: #1c0620;
  --brand-50: #f7f1f8;
  --brand-100: #efe3f1;
  --accent: #ff7a2f;
  --accent-600: #ec6619;
  --ink: #1d1320;
  --ink-2: #4b3f50;
  --muted: #7a6d80;
  --line: #ebe3ee;
  --bg: #ffffff;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 10px 30px rgba(43, 10, 47, .08);
  --shadow-lg: 0 24px 60px rgba(43, 10, 47, .16);
  --container: 1200px;
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; font-weight: 800; }
h2 { font-size: clamp(1.75rem, 1.2rem + 2vw, 2.6rem); }
h3 { font-size: 1.2rem; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
button { font: inherit; cursor: pointer; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.icon { width: 1.1em; height: 1.1em; flex: none; }
.muted { color: var(--muted); }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: #fff; padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .8em 1.4em; border-radius: 999px; border: 2px solid transparent;
  font-weight: 700; font-size: .95rem; line-height: 1.2; white-space: nowrap;
  transition: transform .2s var(--ease), background .2s, color .2s, border-color .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn--lg { padding: 1em 1.7em; font-size: 1rem; }
.btn--primary { background: var(--brand); color: #fff; box-shadow: 0 8px 20px rgba(90, 26, 94, .25); }
.btn--primary:hover { background: var(--brand-600); }
.btn--accent { background: var(--accent); color: #fff; box-shadow: 0 8px 20px rgba(255, 122, 47, .3); }
.btn--accent:hover { background: var(--accent-600); }
.btn--outline { border-color: var(--brand); color: var(--brand); }
.btn--outline:hover { background: var(--brand); color: #fff; }
.btn--ghost { border-color: rgba(255, 255, 255, .5); color: #fff; backdrop-filter: blur(6px); background: rgba(255, 255, 255, .08); }
.btn--ghost:hover { background: #fff; color: var(--brand); border-color: #fff; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .5em;
  font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent-600); margin-bottom: .8em;
}
.eyebrow::before { content: ""; width: 24px; height: 2px; background: currentColor; border-radius: 2px; }
.eyebrow--light { color: #ffb487; }

/* ---------- Top bar & header ---------- */
.topbar { background: var(--brand-900); color: rgba(255, 255, 255, .78); font-size: .85rem; position: relative; z-index: 31; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; min-height: 40px; gap: 16px; }
.topbar__info { display: flex; gap: 22px; align-items: center; }
.topbar__info a, .topbar__info span { display: inline-flex; align-items: center; gap: 7px; }
.topbar__info a:hover { color: #fff; }
.topbar__social { display: flex; gap: 6px; }
.topbar__social a { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; transition: background .2s; }
.topbar__social a:hover { background: rgba(255, 255, 255, .12); color: #fff; }

.header {
  position: sticky; top: 0; z-index: 30; height: var(--header-h);
  background: rgba(255, 255, 255, .96); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: background .3s, border-color .3s, box-shadow .3s;
}
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: 24px; }
.logo img { height: 30px; width: auto; }
.logo__light { display: none; }
.header.is-scrolled { box-shadow: 0 6px 24px rgba(43, 10, 47, .08); }

/* Transparent header over the home hero */
.has-hero .header { position: fixed; left: 0; right: 0; top: 40px; background: transparent; border-color: transparent; backdrop-filter: none; }
.has-hero .header .logo__light { display: block; }
.has-hero .header .logo__dark { display: none; }
.has-hero .header .nav > ul > li > a { color: #fff; }
.has-hero .header .burger { color: #fff; }
.has-hero .header.is-scrolled { top: 0; background: rgba(255, 255, 255, .97); border-color: var(--line); backdrop-filter: blur(12px); }
.has-hero .header.is-scrolled .logo__light { display: none; }
.has-hero .header.is-scrolled .logo__dark { display: block; }
.has-hero .header.is-scrolled .nav > ul > li > a { color: var(--ink); }
.has-hero .header.is-scrolled .burger { color: var(--ink); }

.nav { display: flex; align-items: center; gap: 28px; }
.nav > ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav > ul > li { position: relative; }
.nav > ul > li > a {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 10px 14px; font-weight: 700; font-size: .95rem; border-radius: 10px; position: relative;
  transition: color .2s;
}
.nav > ul > li > a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px;
  background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease);
}
.nav > ul > li > a:hover::after, .nav > ul > li > a.is-active::after { transform: scaleX(1); }
.nav__chev { width: .9em; height: .9em; opacity: .7; }
.sub {
  position: absolute; top: calc(100% + 6px); left: 0; min-width: 230px; list-style: none; margin: 0; padding: 8px;
  background: #fff; border-radius: 14px; box-shadow: var(--shadow-lg); border: 1px solid var(--line);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: all .2s var(--ease);
}
.has-sub:hover .sub, .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: none; }
.sub a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; font-weight: 600; color: var(--ink); }
.sub a:hover { background: var(--brand-50); color: var(--brand); }
.sub .icon { color: var(--brand); }
.burger { display: none; background: none; border: 0; padding: 8px; color: var(--ink); }
.burger .icon { width: 28px; height: 28px; }

/* ---------- Hero ---------- */
.hero { position: relative; height: 100vh; min-height: 620px; max-height: 920px; overflow: hidden; background: var(--brand-900); color: #fff; }
.hero__slide { position: absolute; inset: 0; display: flex; align-items: center; opacity: 0; visibility: hidden; transition: opacity 1s ease, visibility 1s; }
.hero__slide.is-active { opacity: 1; visibility: visible; }
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 7s ease-out; }
.hero__slide.is-active .hero__bg { transform: scale(1); }
.hero__slide::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(28, 6, 32, .92) 0%, rgba(43, 10, 47, .75) 40%, rgba(43, 10, 47, .2) 100%);
}
.hero__content { position: relative; z-index: 2; padding-top: 80px; }
.hero__content > * { max-width: 680px; opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.hero__slide.is-active .hero__content > * { opacity: 1; transform: none; }
.hero__slide.is-active .hero__content > :nth-child(2) { transition-delay: .12s; }
.hero__slide.is-active .hero__content > :nth-child(3) { transition-delay: .24s; }
.hero__slide.is-active .hero__content > :nth-child(4) { transition-delay: .36s; }
.hero__title { font-size: clamp(2.3rem, 1.4rem + 4vw, 4.4rem); line-height: 1.05; margin-bottom: .4em; }
.hero__title mark { background: none; color: #fff; position: relative; white-space: nowrap; display: inline-block; }
.hero__title mark::after { content: ""; position: absolute; left: 0; right: 0; bottom: .06em; height: .22em; background: var(--accent); z-index: -1; border-radius: 4px; }
.hero__title mark { z-index: 0; }
.hero__text { font-size: clamp(1rem, .95rem + .3vw, 1.2rem); color: rgba(255, 255, 255, .85); max-width: 560px; margin-bottom: 2em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__dots { position: absolute; bottom: 40px; left: 0; right: 0; z-index: 3; display: flex; gap: 10px; }
.hero__dots button { width: 34px; height: 4px; border: 0; border-radius: 4px; background: rgba(255, 255, 255, .35); padding: 0; transition: all .3s; }
.hero__dots button.is-active { width: 60px; background: var(--accent); }

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 8vw, 110px) 0; }
.section--tight { padding: clamp(40px, 5vw, 64px) 0 clamp(64px, 8vw, 100px); }
.section--tint { background: var(--brand-50); }
.section__head { max-width: 680px; margin: 0 auto clamp(36px, 5vw, 56px); text-align: center; }
.section__head p { color: var(--muted); font-size: 1.05rem; }
.section__head .eyebrow { justify-content: center; }
.section__head--row { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; text-align: left; gap: 24px; flex-wrap: wrap; }
.section__head--row h2 { margin: 0; }

/* Category cards */
.cats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.cat {
  display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.cat:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.cat__img { aspect-ratio: 4 / 3; background: linear-gradient(135deg, var(--brand-50), #fff); overflow: hidden; }
.cat__img img { width: 100%; height: 100%; object-fit: contain; padding: 18px; transition: transform .6s var(--ease); }
.cat:hover .cat__img img { transform: scale(1.06); }
.cat__body { padding: 26px 26px 28px; position: relative; flex: 1; display: flex; flex-direction: column; }
.cat__body p { color: var(--muted); flex: 1; }
.cat__icon {
  display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 14px;
  background: var(--brand); color: #fff; margin-bottom: 14px;
}
.cat__body .cat__icon { position: absolute; top: -23px; left: 26px; box-shadow: 0 8px 20px rgba(90, 26, 94, .3); margin: 0; }
.cat__body h3 { font-size: 1.45rem; margin-top: 14px; }
.cat__link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--brand); }
.cat:hover .cat__link .icon { transform: translateX(4px); }
.cat__link .icon { transition: transform .2s; }

/* Stats band */
.stats { background: linear-gradient(120deg, var(--brand-800), var(--brand) 60%, #7b2a80); color: #fff; padding: 56px 0; position: relative; overflow: hidden; }
.stats::before { content: ""; position: absolute; width: 480px; height: 480px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 122, 47, .25), transparent 70%); right: -120px; top: -200px; }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; }
.stat { text-align: center; padding: 8px; }
.stat strong { display: block; font-size: clamp(2.2rem, 1.6rem + 2vw, 3.2rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
.stat span { color: rgba(255, 255, 255, .75); font-weight: 500; }

/* Product cards */
.pgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.pcard {
  display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.pcard:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.pcard__img { aspect-ratio: 1; background: #fff; display: grid; place-items: center; overflow: hidden; border-bottom: 1px solid var(--line); }
.pcard__img img { width: 100%; height: 100%; object-fit: contain; padding: 16px; transition: transform .6s var(--ease); }
.pcard:hover .pcard__img img { transform: scale(1.07); }
.pcard__noimg { color: var(--brand-100); }
.pcard__noimg .icon { width: 64px; height: 64px; }
.pcard__body { padding: 18px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.pcard__brand { font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-600); }
.pcard__title { font-size: 1.12rem; margin: 4px 0 6px; }
.pcard__tag { color: var(--muted); font-size: .9rem; margin-bottom: 14px; flex: 1; }
.pcard__more { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: .9rem; color: var(--brand); margin-top: auto; }
.pcard__more .icon { transition: transform .2s; }
.pcard:hover .pcard__more .icon { transform: translateX(4px); }

/* Why us */
.why { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.why__intro p { color: var(--muted); font-size: 1.05rem; margin-bottom: 1.8em; }
.why__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.feature { padding: 28px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); transition: box-shadow .3s, transform .3s var(--ease); }
.feature:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.feature__icon { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--brand-50); color: var(--brand); margin-bottom: 16px; }
.feature__icon .icon { width: 24px; height: 24px; }
.feature p { color: var(--muted); margin: 0; font-size: .95rem; }

/* Partners marquee */
.partners-strip { padding: 50px 0 60px; border-top: 1px solid var(--line); overflow: hidden; }
.partners-strip__label { text-align: center; font-weight: 800; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); font-size: .8rem; margin-bottom: 28px; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee__track { display: flex; gap: 64px; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item img { height: 46px; width: auto; max-width: 150px; object-fit: contain; filter: grayscale(1); opacity: .6; transition: filter .3s, opacity .3s; }
.marquee__item:hover img { filter: none; opacity: 1; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* CTA */
.cta { padding: 0 0 clamp(64px, 8vw, 100px); }
.section--tint + .cta, .section + .cta { padding-top: 0; }
.cta__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
  background: linear-gradient(120deg, var(--brand-800), var(--brand)); color: #fff;
  border-radius: 28px; padding: clamp(32px, 5vw, 56px); position: relative; overflow: hidden;
}
.cta__inner::after { content: ""; position: absolute; right: -80px; bottom: -120px; width: 340px; height: 340px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 122, 47, .35), transparent 70%); }
.cta__inner h2 { font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.2rem); margin-bottom: .3em; }
.cta__inner p { color: rgba(255, 255, 255, .8); margin: 0; max-width: 560px; }
.cta__actions { display: flex; gap: 12px; flex-wrap: wrap; position: relative; z-index: 1; }
.section--tint + .cta { background: var(--brand-50); }

/* ---------- Inner pages ---------- */
.page-hero {
  background: linear-gradient(120deg, var(--brand-900), var(--brand) 70%, #7b2a80); color: #fff;
  padding: clamp(48px, 7vw, 88px) 0 clamp(44px, 6vw, 72px); position: relative; overflow: hidden;
}
.page-hero::after { content: ""; position: absolute; right: -100px; top: -140px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 122, 47, .28), transparent 70%); }
.page-hero h1 { font-size: clamp(2.2rem, 1.5rem + 3vw, 3.6rem); margin: 0; position: relative; z-index: 1; }
.page-hero__lead { color: rgba(255, 255, 255, .8); font-size: 1.1rem; max-width: 640px; margin: 12px 0 0; position: relative; z-index: 1; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .88rem; color: rgba(255, 255, 255, .65); margin-bottom: 14px; position: relative; z-index: 1; }
.crumbs a:hover { color: #fff; }
.crumbs--dark { color: var(--muted); margin-bottom: 28px; }
.crumbs--dark a:hover { color: var(--brand); }

.prose { color: var(--ink-2); font-size: 1.05rem; }
.prose h2, .prose h3 { color: var(--ink); margin-top: 1.4em; }
.prose h3 { font-size: 1.25rem; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .4em; }
.prose li::marker { color: var(--accent); }
.prose a { color: var(--brand); text-decoration: underline; }
.prose > :first-child { margin-top: 0; }
.prose--wide { max-width: 860px; }

.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
.split__media img { border-radius: 24px; box-shadow: var(--shadow-lg); width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; }

.spaces { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.space { border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid var(--line); }
.space__img { aspect-ratio: 4 / 3; background: var(--brand-50); }
.space__img img { width: 100%; height: 100%; object-fit: contain; padding: 20px; }
.space__body { padding: 24px; }
.space__value { font-size: 2rem; font-weight: 800; color: var(--brand); letter-spacing: -.03em; }
.space__body p { color: var(--muted); margin: 0; }

.vm { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.vm__card { background: #fff; padding: clamp(28px, 4vw, 44px); border-radius: var(--radius); box-shadow: var(--shadow); }
.vm__card p { color: var(--ink-2); font-size: 1.05rem; margin: 0; }

.logos { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.logos__item { display: grid; place-items: center; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; transition: box-shadow .3s, transform .3s; }
.logos__item:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.logos__item img { max-height: 44px; width: auto; object-fit: contain; }

/* Toolbar / chips / search */
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 36px; }
.chips { display: flex; gap: 10px; flex-wrap: wrap; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px;
  border: 1px solid var(--line); font-weight: 700; font-size: .92rem; background: #fff; transition: all .2s;
}
.chip:hover { border-color: var(--brand); color: var(--brand); }
.chip.is-active { background: var(--brand); color: #fff; border-color: var(--brand); }
.search { position: relative; flex: 0 1 320px; }
.search .icon { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.search input { width: 100%; padding: 12px 18px 12px 44px; border-radius: 999px; border: 1px solid var(--line); font: inherit; background: #fff; }
.search input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-50); }
.results-note { color: var(--muted); margin: -16px 0 28px; }
.results-note a { color: var(--brand); font-weight: 700; }

.pgroup + .pgroup { margin-top: 56px; }
.pgroup__head { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 22px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.pgroup__head h2 { display: flex; align-items: center; gap: 14px; font-size: 1.6rem; margin: 0; }
.pgroup__head .cat__icon { margin: 0; width: 40px; height: 40px; border-radius: 12px; }
.pgroup__head a { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--brand); }

.cat-intro { display: grid; grid-template-columns: 220px 1fr; gap: 32px; align-items: center; background: var(--brand-50); border-radius: var(--radius); padding: 28px 32px; margin-bottom: 40px; }
.cat-intro img { width: 100%; max-height: 200px; object-fit: contain; }
.cat-intro .prose p:last-child { margin: 0; }

.empty { text-align: center; padding: 64px 24px; border: 2px dashed var(--line); border-radius: var(--radius); }
.empty > .icon { width: 48px; height: 48px; color: var(--brand); margin: 0 auto 16px; }
.empty p { color: var(--muted); max-width: 480px; margin: 0 auto 24px; }
.empty__actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* Product page */
.product-top { padding: 40px 0 clamp(40px, 6vw, 72px); background: linear-gradient(180deg, var(--brand-50), #fff); }
.product { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.gallery__main { background: #fff; border-radius: 24px; aspect-ratio: 1; display: grid; place-items: center; overflow: hidden; box-shadow: var(--shadow); }
.gallery__main img { width: 100%; height: 100%; object-fit: contain; padding: 28px; }
.gallery__thumbs { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.gallery__thumbs button { width: 76px; height: 76px; padding: 6px; border-radius: 12px; border: 2px solid var(--line); background: #fff; }
.gallery__thumbs button.is-active { border-color: var(--brand); }
.gallery__thumbs img { width: 100%; height: 100%; object-fit: contain; }
.product__info h1 { font-size: clamp(2rem, 1.5rem + 2vw, 3rem); margin-bottom: .2em; }
.product__tagline { font-size: 1.2rem; color: var(--brand); font-weight: 700; }
.product__summary { color: var(--ink-2); font-size: 1.05rem; }
.product__actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 28px 0 20px; }
.download {
  display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-radius: var(--radius-sm);
  border: 1px solid var(--line); background: #fff; transition: border-color .2s, box-shadow .2s; max-width: 420px;
}
.download:hover { border-color: var(--brand); box-shadow: var(--shadow); }
.download > span:nth-child(2) { flex: 1; display: flex; flex-direction: column; line-height: 1.3; }
.download small { color: var(--muted); }
.download__icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 10px; background: #fdeee6; color: var(--accent-600); }
.perks { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 10px; }
.perks li { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--ink-2); }
.perks .icon { color: #fff; background: var(--brand); border-radius: 50%; padding: 4px; width: 22px; height: 22px; }
.product-body h3 { font-size: 1.3rem; }

/* Partners page */
.partners { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.partner { display: flex; flex-direction: column; padding: 28px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; transition: box-shadow .3s, transform .3s var(--ease); }
.partner:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.partner__logo { height: 80px; display: flex; align-items: center; margin-bottom: 18px; }
.partner__logo img { max-height: 56px; max-width: 180px; width: auto; object-fit: contain; }
.partner p { color: var(--muted); flex: 1; font-size: .95rem; }
.partner__link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--brand); }

/* Contact */
.contact { display: grid; grid-template-columns: 380px 1fr; gap: clamp(32px, 5vw, 56px); align-items: start; }
.contact__info { display: grid; gap: 14px; }
.info-card { display: flex; gap: 16px; align-items: center; padding: 20px; border-radius: var(--radius-sm); background: var(--brand-50); }
.info-card__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--brand); color: #fff; flex: none; }
.info-card small { display: block; color: var(--muted); font-weight: 600; font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; }
.info-card a, .info-card span { font-weight: 700; font-size: 1.02rem; }
.info-card a:hover { color: var(--brand); }
.contact__social { display: flex; gap: 10px; flex-wrap: wrap; }
.contact__social a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line); font-weight: 700; }
.contact__social a:hover { border-color: var(--brand); color: var(--brand); }
.contact__form { background: #fff; border-radius: 24px; padding: clamp(24px, 4vw, 44px); box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.contact__form h2 { font-size: 1.8rem; }
.tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 24px 0; }
.tab input { position: absolute; opacity: 0; pointer-events: none; }
.tab span { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 14px; border-radius: 12px; border: 2px solid var(--line); font-weight: 700; cursor: pointer; transition: all .2s; }
.tab input:checked + span { border-color: var(--brand); background: var(--brand-50); color: var(--brand); }
.tab input:focus-visible + span { outline: 3px solid var(--accent); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; margin-bottom: 24px; }
.field label { display: block; font-weight: 700; font-size: .9rem; margin-bottom: 6px; }
.field input, .field textarea {
  width: 100%; padding: 13px 15px; border-radius: 12px; border: 1px solid #ddd2e0; font: inherit; background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-50); }
.field--full { grid-column: 1 / -1; }
.field__error { display: block; color: #b42318; font-size: .85rem; font-weight: 600; margin-top: 5px; }
.hp { position: absolute; left: -9999px; }
.alert { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border-radius: 12px; margin: 20px 0 0; }
.alert--ok { background: #e9f8ef; color: #14532d; }
.alert--ok .icon { background: #16a34a; color: #fff; border-radius: 50%; padding: 4px; width: 26px; height: 26px; }
.map iframe { display: block; width: 100%; height: 420px; border: 0; filter: saturate(.9); }

.notfound { text-align: center; padding: 120px 0; }
.notfound__code { display: block; font-size: clamp(5rem, 15vw, 9rem); font-weight: 800; line-height: 1; letter-spacing: -.05em; background: linear-gradient(120deg, var(--brand), var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.notfound p { color: var(--muted); margin-bottom: 28px; }

/* ---------- Footer ---------- */
.footer { background: var(--brand-900); color: rgba(255, 255, 255, .72); padding-top: 72px; font-size: .95rem; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.4fr; gap: 40px; padding-bottom: 48px; }
.footer__brand img { height: 30px; width: auto; margin-bottom: 18px; }
.footer h3 { color: #fff; font-size: 1rem; margin-bottom: 18px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer a:hover { color: #fff; }
.footer__contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer__contact .icon { margin-top: 4px; color: var(--accent); }
.footer__social { display: flex; gap: 10px; }
.footer__social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: rgba(255, 255, 255, .08); transition: background .2s; }
.footer__social a:hover { background: var(--accent); }
.footer__bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding: 22px 24px; font-size: .85rem; }

.fab-call {
  position: fixed; right: 18px; bottom: 18px; z-index: 40; display: none; place-items: center;
  width: 58px; height: 58px; border-radius: 50%; background: var(--accent); color: #fff;
  box-shadow: 0 10px 24px rgba(255, 122, 47, .45); animation: pulse 2.4s infinite;
}
.fab-call .icon { width: 24px; height: 24px; }
@keyframes pulse { 0%, 100% { box-shadow: 0 10px 24px rgba(255, 122, 47, .45), 0 0 0 0 rgba(255, 122, 47, .4); } 50% { box-shadow: 0 10px 24px rgba(255, 122, 47, .45), 0 0 0 14px rgba(255, 122, 47, 0); } }

/* Scroll reveal */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .pgrid { grid-template-columns: repeat(3, 1fr); }
  .logos { grid-template-columns: repeat(4, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .hide-md { display: none !important; }
}

@media (max-width: 960px) {
  :root { --header-h: 68px; }
  .burger { display: block; }
  .nav {
    position: fixed; inset: 0 0 0 auto; width: min(360px, 88vw); z-index: 50;
    flex-direction: column; align-items: stretch; gap: 20px; padding: 88px 24px 32px; background: #fff;
    box-shadow: var(--shadow-lg); transform: translateX(100%); transition: transform .35s var(--ease); overflow-y: auto;
  }
  .nav.is-open { transform: none; }
  .nav > ul { flex-direction: column; gap: 2px; }
  .nav > ul > li > a, .has-hero .header .nav > ul > li > a { color: var(--ink); padding: 14px 12px; font-size: 1.05rem; width: 100%; }
  .nav > ul > li > a::after { display: none; }
  .nav > ul > li > a.is-active { background: var(--brand-50); color: var(--brand); }
  .nav__chev { display: none; }
  .sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 0 12px; min-width: 0; }
  .nav__cta { width: 100%; }
  /* backdrop-filter would make the header the containing block of the fixed menu panel */
  .header, .has-hero .header.is-scrolled { backdrop-filter: none; }
  body.nav-open { overflow: hidden; }
  body.nav-open .header { z-index: 60; }
  body.nav-open::after { content: ""; position: fixed; inset: 0; background: rgba(28, 6, 32, .5); z-index: 45; }
  .burger { position: relative; z-index: 60; }
  body.nav-open .burger { color: var(--ink) !important; }

  .cats, .spaces, .partners { grid-template-columns: 1fr 1fr; }
  .stats__grid { grid-template-columns: 1fr 1fr; gap: 32px 16px; }
  .why, .split, .product, .contact { grid-template-columns: 1fr; }
  .fab-call { display: grid; }
}

@media (max-width: 680px) {
  .container { padding: 0 16px; }
  .hide-sm { display: none !important; }
  .topbar__info { gap: 14px; }
  .has-hero .header { top: 40px; }
  .hero { min-height: 600px; height: 92vh; }
  .hero__slide::after { background: linear-gradient(180deg, rgba(28, 6, 32, .55) 0%, rgba(28, 6, 32, .9) 75%); }
  .hero__content { align-self: flex-end; padding-bottom: 96px; }
  .hero__actions .btn { flex: 1 1 auto; }
  .cats, .spaces, .partners, .vm, .why__grid { grid-template-columns: 1fr; }
  .pgrid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .pcard__body { padding: 14px; }
  .pcard__title { font-size: 1rem; }
  .pcard__tag { display: none; }
  .logos { grid-template-columns: repeat(3, 1fr); }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .form-grid, .tabs { grid-template-columns: 1fr; }
  .cat-intro { grid-template-columns: 1fr; padding: 22px; }
  .cat-intro img { max-height: 140px; }
  .search { flex-basis: 100%; }
  .cta__actions .btn { flex: 1 1 auto; }
  .marquee__track { gap: 40px; }
  .marquee__item img { height: 36px; }
}

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