/* ==========================================================================
   Notifi — modern design system (hand-written, zero build dependencies)
   ========================================================================== */

:root {
    --ink: #211114;
    --ink-2: #4a3a3d;
    --muted: #8a7a7d;
    --line: #efe6e6;
    --bg: #ffffff;
    --bg-soft: #faf6f5;
    --bg-tint: #fdece9;

    --brand: #e1251b;
    --brand-2: #f0483b;
    --brand-ink: #b71c13;
    --accent: #ff7a59;
    --grad: linear-gradient(135deg, #ff6a4d 0%, #e1251b 55%, #b71c13 120%);
    --grad-soft: linear-gradient(135deg, #fff1ee 0%, #ffe7e3 100%);

    --radius: 16px;
    --radius-lg: 26px;
    --shadow-sm: 0 1px 2px rgba(30, 12, 10, .06), 0 1px 3px rgba(30, 12, 10, .05);
    --shadow: 0 10px 30px -12px rgba(140, 30, 22, .22);
    --shadow-lg: 0 30px 60px -20px rgba(140, 30, 22, .30);

    --container: 1160px;
    --font: "Plus Jakarta Sans", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
    --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: var(--font-body);
    color: var(--ink-2);
    background: var(--bg);
    line-height: 1.6;
    font-size: 17px;
    -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-family: var(--font); color: var(--ink); line-height: 1.12; letter-spacing: -.02em; margin: 0 0 .4em; }
p { margin: 0 0 1rem; }
a { color: var(--brand-ink); text-decoration: none; }
a:hover { color: var(--brand); }
img { max-width: 100%; display: block; }
ul { margin: 0; padding: 0; list-style: none; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 24px; }
.container--narrow { max-width: 780px; }
.eyebrow {
    display: inline-block; font-family: var(--font); font-weight: 700; font-size: .78rem;
    letter-spacing: .12em; text-transform: uppercase; color: var(--brand);
    background: var(--bg-tint); padding: .35em .8em; border-radius: 100px; margin-bottom: 1rem;
}
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; background: #fff; padding: 10px 16px; border-radius: 10px; z-index: 200; box-shadow: var(--shadow); }

/* ---- Buttons ------------------------------------------------------------ */
.btn {
    --pad-y: .8em; --pad-x: 1.3em;
    display: inline-flex; align-items: center; gap: .5em; justify-content: center;
    font-family: var(--font); font-weight: 700; font-size: .98rem; line-height: 1;
    padding: var(--pad-y) var(--pad-x); border-radius: 100px; border: 1px solid transparent;
    cursor: pointer; transition: transform .15s ease, box-shadow .2s ease, background .2s ease; white-space: nowrap;
}
.btn--primary { background: var(--brand); color: #fff; box-shadow: 0 8px 20px -8px rgba(225, 37, 27, .5); }
.btn--primary:hover { color: #fff; background: var(--brand-ink); transform: translateY(-1px); box-shadow: 0 12px 26px -8px rgba(225, 37, 27, .55); }
.btn--ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { color: var(--ink); border-color: var(--brand-2); background: var(--bg-tint); }
.btn--sm { --pad-y: .6em; --pad-x: 1em; font-size: .9rem; }
.btn--lg { --pad-y: .95em; --pad-x: 1.7em; font-size: 1.05rem; }
.btn--block { width: 100%; }

/* ---- Header ------------------------------------------------------------- */
.site-header {
    position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, .82);
    backdrop-filter: saturate(180%) blur(14px); border-bottom: 1px solid transparent;
    transition: border-color .2s, box-shadow .2s;
}
.site-header.is-stuck { border-color: var(--line); box-shadow: var(--shadow-sm); }
.site-header__inner { display: flex; align-items: center; gap: 1.5rem; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: .45rem; font-family: var(--font); font-weight: 800; font-size: 1.4rem; color: var(--brand); letter-spacing: -.03em; }
.brand:hover { color: var(--brand-ink); }
.brand__bell { width: 29px; height: 29px; color: var(--brand); flex: none; }
.brand__name { line-height: 1; }

.mainnav { display: flex; align-items: center; gap: .1rem; margin-inline: auto; }
.mainnav__item { position: relative; }
.mainnav__link {
    position: relative; display: inline-flex; align-items: center; gap: .35em;
    font-family: var(--font); font-weight: 600; font-size: 1rem; letter-spacing: -.01em;
    color: var(--ink-2); background: none; border: 0; cursor: pointer; padding: .6em 1.05em; border-radius: 10px;
    transition: color .18s;
}
.mainnav__link::after {
    content: ""; position: absolute; left: 1.05em; right: 1.05em; bottom: .35em; height: 2px;
    background: var(--brand); border-radius: 2px; transform: scaleX(0); transform-origin: center;
    transition: transform .24s cubic-bezier(.4, 0, .2, 1);
}
.mainnav__link:hover { color: var(--ink); }
.mainnav__link:hover::after,
.mainnav__item.open > .mainnav__link { color: var(--ink); }
.mainnav__link:hover::after,
.mainnav__item.open > .mainnav__link::after { transform: scaleX(1); }
.chev { width: 15px; height: 15px; opacity: .6; transition: transform .2s; }
.mainnav__item.open .chev { transform: rotate(180deg); }
.submenu {
    position: absolute; top: calc(100% + 8px); left: 0; min-width: 230px; background: #fff; border: 1px solid var(--line);
    border-radius: 16px; box-shadow: var(--shadow-lg); padding: 8px; opacity: 0; visibility: hidden; transform: translateY(6px);
    transition: opacity .18s, transform .18s, visibility .18s;
}
.mainnav__item.open .submenu { opacity: 1; visibility: visible; transform: translateY(0); }
.submenu__link { display: block; padding: .6em .8em; border-radius: 10px; font-weight: 600; font-size: .95rem; color: var(--ink-2); }
.submenu__link:hover { background: var(--bg-tint); color: var(--brand-ink); }

.site-header__actions { display: flex; align-items: center; gap: .8rem; }
.langswitch { font-family: var(--font); font-weight: 700; font-size: .85rem; color: var(--ink-2); border: 1px solid var(--line); border-radius: 100px; padding: .45em .8em; }
.langswitch:hover { border-color: var(--brand-2); color: var(--brand-ink); }

.burger { display: none; flex-direction: column; gap: 5px; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer; align-items: center; justify-content: center; }
.burger span { width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: .2s; }
.is-open .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.is-open .burger span:nth-child(2) { opacity: 0; }
.is-open .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobilenav { display: none; }

/* ---- Hero --------------------------------------------------------------- */
.hero { position: relative; padding: clamp(3rem, 7vw, 6rem) 0 clamp(3rem, 7vw, 5.5rem); overflow: hidden; }
.hero::before {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background:
        radial-gradient(60% 55% at 85% 0%, rgba(255, 120, 90, .20), transparent 70%),
        radial-gradient(50% 50% at 5% 15%, rgba(225, 37, 27, .12), transparent 70%),
        var(--bg-soft);
}
.hero__inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hero__title { font-size: clamp(2.3rem, 5vw, 3.6rem); font-weight: 800; }
.hero__subtitle { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--muted); max-width: 34ch; margin-top: .3rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }

/* ---- Hero carousel ------------------------------------------------------ */
.heroslider { padding-bottom: clamp(2rem, 4vw, 3rem); }
/* Videos have a pure #fff backdrop, so the hero base is pure white too — the
   device sits directly on the page with no visible edge. A soft red glow sits
   only in the far top-left corner (behind the copy), never reaching the video. */
.heroslider::before {
    background:
        radial-gradient(45% 58% at -6% -12%, rgba(225, 37, 27, .12), transparent 55%),
        #ffffff;
}
.heroslider__viewport { overflow: hidden; }
.heroslider__track { display: flex; transition: transform .55s cubic-bezier(.4, 0, .2, 1); will-change: transform; }
.heroslide {
    min-width: 100%; box-sizing: border-box;
    display: grid; grid-template-columns: 1.02fr .98fr; gap: clamp(2rem, 5vw, 4rem); align-items: center;
}
.heroslide .hero__subtitle { max-width: 42ch; }
.heroslide__media { display: flex; justify-content: center; align-items: center; overflow: hidden; }
/* The source videos have a 1px grey stroke baked around the canvas. The hero is
   pure white to match the video's white, and a hair of scale clips that stroke
   away, so the device shows directly — no card and no frame. */
.heroslide__video { display: block; width: 100%; max-width: 760px; height: auto; transform: scale(1.04); }

.heroslider__nav { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-top: 2.2rem; }
.heroslider__arrow {
    width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--ink);
    display: grid; place-items: center; cursor: pointer; transition: border-color .15s, color .15s, background .15s; flex: none;
}
.heroslider__arrow:hover { border-color: var(--brand); color: var(--brand); background: var(--bg-tint); }
.heroslider__arrow svg { width: 20px; height: 20px; }
.heroslider__dots { display: flex; align-items: center; gap: .55rem; }
.heroslider__dot { width: 10px; height: 10px; border-radius: 50%; border: 0; background: #e4d3d1; cursor: pointer; padding: 0; transition: width .25s, background .25s; }
.heroslider__dot.is-active { width: 30px; border-radius: 100px; background: var(--brand); }

/* ---- Sections ----------------------------------------------------------- */
.section { padding: clamp(3rem, 6vw, 5.5rem) 0; }
.section--soft { background: var(--bg-soft); }
.section--tint { background: var(--grad-soft); }
.section--dark { background: #1b1113; }
.section--dark, .section--dark h2, .section--dark h3 { color: #fbeeec; }
.section--dark .section__subtitle { color: #dcc7c5; }
.section__title { font-size: clamp(1.7rem, 3.2vw, 2.5rem); font-weight: 800; }
.section__subtitle { font-size: 1.12rem; color: var(--muted); max-width: 60ch; margin-top: .2rem; }
.section > .container > .eyebrow,
.section > .container > .section__title,
.section > .container > .section__subtitle { text-align: center; margin-inline: auto; }
.section > .container > .section__title { max-width: 22ch; }

/* ---- Grids / cards ------------------------------------------------------ */
.grid { display: grid; gap: 1.4rem; margin-top: 2.6rem; }
.grid--cards { grid-template-columns: repeat(3, 1fr); }
.grid--stats { grid-template-columns: repeat(4, 1fr); }
.card {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.8rem;
    box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s, border-color .2s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.card__icon { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--grad-soft); color: var(--brand); margin-bottom: 1.1rem; }
.card__icon svg { width: 26px; height: 26px; }
.card__title { font-size: 1.22rem; }
.card__body { color: var(--muted); margin: 0; font-size: .98rem; }

/* stats */
.stats .stat { text-align: center; padding: 1rem; }
.stat__value { font-family: var(--font); font-weight: 800; font-size: clamp(2rem, 4vw, 3rem); background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat__label { color: var(--muted); font-weight: 600; }
.section--dark .stat__label { color: #dcc7c5; }

/* ---- Promo video -------------------------------------------------------- */
.videosec__frame {
    max-width: 940px; margin: 2.6rem auto 0; aspect-ratio: 16 / 9; background: #000;
    border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg);
}
.videosec__video { width: 100%; height: 100%; display: block; object-fit: cover; }

/* ---- Solutions tabs ----------------------------------------------------- */
.tabs { display: grid; grid-template-columns: 300px 1fr; gap: 1.6rem; margin-top: 2.8rem; align-items: start; }
.tabs__list { display: flex; flex-direction: column; gap: .5rem; }
.tabs__tab {
    display: flex; align-items: center; gap: .85rem; width: 100%; text-align: left; cursor: pointer;
    font-family: var(--font); font-weight: 700; font-size: 1.02rem; color: var(--ink-2);
    background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: .95rem 1.1rem;
    transition: border-color .18s, background .18s, color .18s, box-shadow .18s;
}
.tabs__tab:hover { border-color: var(--brand-2); color: var(--ink); }
.tabs__tab.is-active { border-color: transparent; background: var(--grad); color: #fff; box-shadow: var(--shadow); }
.tabs__ic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 11px; background: var(--bg-tint); color: var(--brand); flex: none; transition: background .18s, color .18s; }
.tabs__ic svg { width: 21px; height: 21px; }
.tabs__tab.is-active .tabs__ic { background: rgba(255, 255, 255, .22); color: #fff; }
.tabs__lbl { flex: 1; }
.tabs__arw { width: 18px; height: 18px; opacity: 0; transform: translateX(-4px); transition: opacity .18s, transform .18s; }
.tabs__tab.is-active .tabs__arw { opacity: 1; transform: none; }

.tabs__stage { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); padding: clamp(1.6rem, 3vw, 2.6rem); min-height: 320px; }
.tabs__panel { display: none; gap: 1.4rem; }
.tabs__panel.is-active { display: grid; grid-template-columns: auto 1fr; animation: fadeUp .35s ease both; }
.tabs__panel-ic { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 18px; background: var(--grad-soft); color: var(--brand); flex: none; }
.tabs__panel-ic svg { width: 32px; height: 32px; }
.tabs__panel-kicker { display: inline-block; font-family: var(--font); font-weight: 700; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--brand); margin-bottom: .4rem; }
.tabs__panel-title { font-size: clamp(1.4rem, 2.4vw, 1.9rem); margin-bottom: .5rem; }
.tabs__panel-lead { color: var(--muted); font-size: 1.08rem; margin-bottom: 1.2rem; }
.tabs__panel .checklist { margin: 0 0 1.5rem; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---- Split -------------------------------------------------------------- */
.split__inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split--flip .split__media { order: -1; }
.split .section__title { text-align: left; margin: 0 0 .4em; max-width: none; }
.split .section__subtitle { text-align: left; margin-left: 0; }
.checklist { display: grid; gap: .9rem; margin: 1.6rem 0; }
.checklist li { display: flex; gap: .8rem; align-items: flex-start; color: var(--ink-2); }
.checklist__mark { flex: none; width: 26px; height: 26px; border-radius: 8px; background: var(--bg-tint); color: var(--brand); display: grid; place-items: center; }
.checklist__mark svg { width: 16px; height: 16px; }

/* ---- Steps -------------------------------------------------------------- */
.steps { counter-reset: s; display: grid; gap: 1.4rem; margin-top: 2.6rem; grid-template-columns: repeat(3, 1fr); }
.step { display: flex; gap: 1rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; }
.step__num { flex: none; width: 40px; height: 40px; border-radius: 12px; background: var(--grad); color: #fff; font-family: var(--font); font-weight: 800; display: grid; place-items: center; }
.step__title { font-size: 1.1rem; margin-bottom: .2em; }
.step__body { color: var(--muted); margin: 0; font-size: .96rem; }

/* ---- FAQ ---------------------------------------------------------------- */
.faq { margin-top: 2.2rem; display: grid; gap: .8rem; }
.faq__item { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; padding: .3rem 1.3rem; }
.faq__q { font-family: var(--font); font-weight: 700; color: var(--ink); cursor: pointer; padding: 1rem 0; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq__q::-webkit-details-marker { display: none; }
.faq__q::after { content: "+"; color: var(--brand); font-size: 1.4rem; line-height: 1; }
.faq__item[open] .faq__q::after { content: "–"; }
.faq__a { color: var(--muted); padding-bottom: 1.1rem; }

/* ---- CTA ---------------------------------------------------------------- */
.cta__panel {
    background: #1b1113; color: #fff; border-radius: var(--radius-lg); padding: clamp(2.2rem, 4vw, 3.4rem);
    display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; position: relative; overflow: hidden;
}
.cta__panel::before { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 120% at 100% 0%, rgba(255, 110, 80, .5), transparent 60%); }
.cta__panel > * { position: relative; }
.cta__panel .section__title, .cta__panel .eyebrow { text-align: left; color: #fff; margin: 0; }
.cta__panel .section__title { max-width: 20ch; }
.cta__panel .eyebrow { background: rgba(255, 255, 255, .12); color: #ffd8d0; }
.cta__actions { display: flex; gap: .8rem; flex-wrap: wrap; }
.cta__panel .btn--ghost { background: rgba(255, 255, 255, .1); color: #fff; border-color: rgba(255, 255, 255, .25); }
.cta__panel .btn--ghost:hover { background: rgba(255, 255, 255, .18); color: #fff; }

/* ---- Contact ------------------------------------------------------------ */
.contact-list { display: grid; gap: 1.2rem; margin-top: 1.6rem; }
.contact-list li { display: flex; gap: .9rem; align-items: flex-start; }
.contact-list__icon { flex: none; width: 44px; height: 44px; border-radius: 12px; background: var(--bg-tint); color: var(--brand); display: grid; place-items: center; }
.contact-list__icon svg { width: 22px; height: 22px; }
.cform { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.8rem; box-shadow: var(--shadow); display: grid; gap: 1rem; }
.cform__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.cform label { font-family: var(--font); font-weight: 600; font-size: .9rem; color: var(--ink); display: grid; gap: .4rem; }
.cform input, .cform textarea { font: inherit; font-size: .98rem; padding: .75em .9em; border: 1px solid var(--line); border-radius: 12px; background: var(--bg-soft); color: var(--ink); width: 100%; }
.cform input:focus, .cform textarea:focus { outline: none; border-color: var(--brand-2); box-shadow: 0 0 0 4px rgba(225, 37, 27, .15); background: #fff; }
.cform__note { font-size: .82rem; color: var(--muted); margin: 0; }
.prose { line-height: 1.75; }
.prose p { color: var(--ink-2); }

/* ---- Product mockup art ------------------------------------------------- */
.hero__art, .split__media { display: flex; justify-content: center; }
.mock {
    width: 100%; max-width: 460px; background: #fff; border-radius: 18px; border: 1px solid var(--line);
    box-shadow: var(--shadow-lg); overflow: hidden; transform: perspective(1400px) rotateY(-6deg) rotateX(3deg); transition: transform .4s;
}
.hero__art .mock:hover, .split__media .mock:hover { transform: perspective(1400px) rotateY(0) rotateX(0); }
.mock__bar { display: flex; gap: 7px; padding: 13px 16px; background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.mock__bar span { width: 11px; height: 11px; border-radius: 50%; background: #d6d8e8; }
.mock__bar span:nth-child(1) { background: #ff6058; }
.mock__bar span:nth-child(2) { background: #ffbd2e; }
.mock__bar span:nth-child(3) { background: #28c840; }
.mock__screen { position: relative; aspect-ratio: 4/3; background: linear-gradient(160deg, #2a1210, #5c1712); overflow: hidden; }
.mock__wallpaper { position: absolute; inset: 0; background:
        radial-gradient(40% 40% at 20% 20%, rgba(255, 120, 80, .5), transparent),
        radial-gradient(45% 45% at 85% 75%, rgba(225, 37, 27, .45), transparent); }
.mock__wallpaper--full { display: grid; place-items: center; }
.mock__wallpaper--full span { font-family: var(--font); font-weight: 800; font-size: 2.4rem; color: rgba(255, 255, 255, .92); letter-spacing: -.03em; }
.mock__toast {
    position: absolute; left: 16px; right: 16px; display: flex; gap: 12px; align-items: flex-start;
    background: rgba(255, 255, 255, .96); border-radius: 14px; padding: 12px 14px; box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .5);
    animation: pop .6s ease both;
}
.mock__toast--1 { top: 22px; animation-delay: .15s; }
.mock__toast--2 { top: 100px; animation-delay: .45s; }
.mock__toast-ic { font-size: 1.3rem; line-height: 1.4; }
.mock__toast b { font-family: var(--font); font-size: .9rem; color: #1b1113; display: block; }
.mock__toast p { font-size: .82rem; color: #555; margin: 2px 0 0; }
.mock__ticker { position: absolute; left: 0; right: 0; bottom: 0; background: var(--brand); color: #fff; padding: 10px 0; font-weight: 600; font-size: .9rem; white-space: nowrap; overflow: hidden; z-index: 2; }
.mock__ticker span { display: inline-block; padding-left: 100%; animation: marquee 14s linear infinite; }
.mock__video { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(0, 0, 0, .35); }
.mock__play { width: 66px; height: 66px; border-radius: 50%; background: rgba(255, 255, 255, .92); color: var(--brand); display: grid; place-items: center; font-size: 1.5rem; padding-left: 5px; box-shadow: 0 12px 30px -6px rgba(0, 0, 0, .5); }
.mock__poll { position: absolute; left: 16px; right: 16px; top: 50%; transform: translateY(-50%); background: rgba(255, 255, 255, .97); border-radius: 14px; padding: 16px; }
.mock__poll-q { font-family: var(--font); font-weight: 700; color: #1b1113; font-size: .92rem; margin-bottom: 12px; }
.mock__poll-bar { position: relative; height: 26px; background: #eee; border-radius: 8px; margin-bottom: 8px; overflow: hidden; }
.mock__poll-bar i { position: absolute; inset: 0 auto 0 0; background: var(--grad); border-radius: 8px; }
.mock__poll-bar b { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); font-size: .78rem; color: #1b1113; }

@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes marquee { to { transform: translateX(-100%); } }

/* ---- Modal (demo) ------------------------------------------------------- */
.modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 20px; }
.modal[hidden] { display: none; }
.modal__overlay { position: absolute; inset: 0; background: rgba(20, 8, 6, .55); backdrop-filter: blur(4px); animation: fadeIn .2s ease; }
.modal__dialog {
    position: relative; width: 100%; max-width: 520px; max-height: calc(100vh - 40px); overflow-y: auto;
    background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: clamp(1.6rem, 4vw, 2.4rem);
    animation: modalIn .28s cubic-bezier(.4, 0, .2, 1);
}
.modal__close {
    position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line);
    background: #fff; color: var(--ink-2); display: grid; place-items: center; cursor: pointer; transition: color .15s, border-color .15s, background .15s;
}
.modal__close:hover { color: var(--brand); border-color: var(--brand); background: var(--bg-tint); }
.modal__close svg { width: 20px; height: 20px; }
.modal__head { margin-bottom: 1.4rem; }
.modal__head .eyebrow { margin-bottom: .7rem; }
.modal__head h2 { font-size: clamp(1.4rem, 3vw, 1.8rem); }
.modal__head p { color: var(--muted); margin: 0; }
.modal .cform { border: 0; box-shadow: none; padding: 0; }
body.modal-open { overflow: hidden; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes modalIn { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: none; } }

/* ---- Footer ------------------------------------------------------------- */
.site-footer { background: #140d0e; color: #dcc7c5; padding-top: 4rem; margin-top: 2rem; }
.site-footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 3rem; padding-bottom: 3rem; }
.site-footer__brand { max-width: 420px; }
.site-footer .brand__name, .site-footer h4 { color: #fff; }
.site-footer__about { margin: 1.1rem 0; max-width: 34ch; color: #c3aba9; }
.site-footer__contactblock { min-width: 240px; }
.site-footer__contactblock h4 { color: #fff; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 1rem; }
.site-footer__contact { display: grid; gap: .5rem; font-size: .94rem; }
.site-footer__contact a { color: #dcc7c5; }
.site-footer__contact a:hover { color: #fff; }
.site-footer__cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; max-width: 460px; margin-left: auto; }
.site-footer__col h4 { font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 1rem; }
.site-footer__col ul { display: grid; gap: .6rem; }
.site-footer__col a { color: #c3aba9; font-size: .95rem; }
.site-footer__col a:hover { color: #fff; }
.site-footer__bottom { display: flex; justify-content: space-between; gap: 1rem; padding: 1.5rem 24px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: .86rem; color: #9c8886; flex-wrap: wrap; }

/* ---- Responsive --------------------------------------------------------- */
@media (max-width: 960px) {
    .mainnav, .site-header .btn--sm, .langswitch { display: none; }
    .burger { display: flex; }
    .hero__inner { grid-template-columns: 1fr; }
    .hero__art { order: -1; max-width: 420px; }
    .heroslide { grid-template-columns: 1fr; gap: 2rem; }
    .heroslide__media { order: -1; max-width: 480px; margin-inline: auto; }
    .heroslide .hero__title { font-size: clamp(2rem, 7vw, 2.6rem); }
    .split__inner { grid-template-columns: 1fr; }
    .split--flip .split__media { order: 0; }
    .grid--cards { grid-template-columns: repeat(2, 1fr); }
    .grid--stats { grid-template-columns: repeat(2, 1fr); }
    .steps { grid-template-columns: 1fr; }
    .tabs { grid-template-columns: 1fr; }
    .tabs__list { flex-direction: row; overflow-x: auto; padding-bottom: .4rem; -webkit-overflow-scrolling: touch; }
    .tabs__tab { white-space: nowrap; }
    .tabs__lbl { flex: none; }
    .tabs__arw { display: none; }
    .tabs__panel.is-active { grid-template-columns: 1fr; }
    .site-footer__inner { grid-template-columns: 1fr; gap: 2rem; }
    .mobilenav.is-active { display: block; padding: 1rem 24px 2rem; border-top: 1px solid var(--line); background: #fff; }
    .mobilenav a, .mobilenav summary { display: block; padding: .8rem .2rem; font-family: var(--font); font-weight: 600; color: var(--ink); border-bottom: 1px solid var(--line); cursor: pointer; }
    .mobilenav details a { padding-left: 1.2rem; font-weight: 500; color: var(--ink-2); }
    .mobilenav .btn { margin-top: 1.2rem; border-bottom: 0; color: #fff; }
}
@media (max-width: 620px) {
    body { font-size: 16px; }
    .grid--cards, .grid--stats { grid-template-columns: 1fr; }
    .cform__row { grid-template-columns: 1fr; }
    .cta__panel { flex-direction: column; align-items: flex-start; }
    .site-footer__cols { grid-template-columns: 1fr 1fr; }
}
