/* =========================================================
   OfficeMassage — components.css
   ========================================================= */

/* ============ HEADER ============ */
.header {
    position: sticky;
    top: 0;
    z-index: 900;
    background: color-mix(in oklch, var(--bg) 82%, transparent);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s, background-color 0.3s;
}

.header.is-scrolled {
    border-bottom-color: var(--line);
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    height: 72px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
}

.brand__mark {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    background: var(--accent);
    color: var(--accent-on);
    display: grid;
    place-items: center;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.1rem;
}

.brand__mark svg {
    width: 21px;
    height: 21px;
}

.brand__name {
    font-size: 1.15rem;
    letter-spacing: -0.02em;
    font-family: var(--font-body);
    font-weight: 700;
}

.brand__name span {
    color: var(--accent-ink);
}

.nav {
    display: flex;
    gap: 26px;
    margin-left: auto;
}

.nav a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--muted);
    transition: color 0.2s;
    position: relative;
}

.nav a:hover {
    color: var(--text);
}

.header__actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.burger {
    display: none;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    border: 1px solid var(--line);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.burger span {
    width: 18px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
}

.burger.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.burger.is-open span:nth-child(2) {
    opacity: 0;
}
.burger.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ============ HERO ============ */
.hero {
    position: relative;
    padding: clamp(48px, 8vw, 96px) 0 clamp(56px, 8vw, 100px);
    overflow: hidden;
}

.hero__glow {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(
            60% 50% at 78% 12%,
            var(--accent-soft) 0%,
            transparent 60%
        ),
        radial-gradient(
            50% 40% at 8% 90%,
            var(--accent-2-soft) 0%,
            transparent 55%
        );
    opacity: 0.8;
}

.hero__grid {
    position: relative;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: clamp(32px, 5vw, 64px);
    align-items: center;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-pill);
    padding: 8px 16px 8px 8px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--muted);
    box-shadow: var(--shadow-card);
}

.hero__badge b {
    background: var(--accent-soft);
    color: var(--accent-ink);
    padding: 3px 10px;
    border-radius: var(--radius-pill);
    font-size: 0.78rem;
}

.hero h1 {
    margin: 20px 0 24px;
    line-height: 1.1;
}

.hero h1 em {
    font-style: italic;
    color: var(--accent-ink);
}

[data-theme="corporate"] .hero h1 em,
[data-theme="human"] .hero h1 em {
    font-style: normal;
    position: relative;
    color: var(--accent-ink);
}

.hero__sub {
    max-width: 540px;
}

.hero__cta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin: 32px 0 22px;
}

.hero__trust {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 22px;
    align-items: center;
    color: var(--muted);
    font-size: 0.9rem;
    font-weight: 500;
}

.hero__trust span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.hero__trust svg {
    width: 17px;
    height: 17px;
    color: var(--accent);
    flex-shrink: 0;
}

/* Hero visual */
.hero__visual {
    position: relative;
}

.hero__photo {
    aspect-ratio: 4 / 5;
    min-height: 380px;
}

.hero__photo-img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    object-position: center 22%;
    border-radius: var(--radius-lg);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-card);
}

.hero__float {
    position: absolute;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    padding: 14px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.hero__float--tl {
    top: 22px;
    left: -22px;
}

.hero__float--br {
    bottom: 26px;
    right: -18px;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
}

.hero__float-ic {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--accent-soft);
    color: var(--accent-ink);
    display: grid;
    place-items: center;
    flex-shrink: 0;
}

.hero__float b {
    font-size: 0.92rem;
    font-weight: 700;
}
.hero__float small {
    color: var(--muted);
    font-size: 0.78rem;
}

.hero__float--br b {
    font-size: 1.5rem;
    font-family: var(--font-display);
    color: var(--accent-ink);
    line-height: 1;
}

/* ============ Fact strip (no oils / over clothes) ============ */
.facts {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: var(--surface);
}

.facts__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}

.fact {
    padding: 30px clamp(16px, 2.4vw, 30px);
    border-left: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.fact:first-child {
    border-left: none;
}

.fact__ic {
    width: 40px;
    height: 40px;
    border-radius: 11px;
    background: var(--accent-soft);
    color: var(--accent-ink);
    display: grid;
    place-items: center;
}

.fact__ic svg {
    width: 22px;
    height: 22px;
}

.fact b {
    font-size: 1.02rem;
    font-weight: 700;
}

.fact p {
    font-size: 0.88rem;
    color: var(--muted);
    line-height: 1.45;
}

/* ============ Trial day highlight ============ */
.trial {
    position: relative;
    overflow: hidden;
}

.trial__card {
    background: var(--accent);
    color: var(--accent-on);
    border-radius: calc(var(--radius-lg) + 8px);
    padding: clamp(34px, 5vw, 64px);
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: clamp(28px, 4vw, 56px);
    align-items: center;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-accent);
}

.trial__card::before {
    content: "";
    position: absolute;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    background: color-mix(in oklch, var(--accent-on) 12%, transparent);
    top: -120px;
    right: -90px;
}

.trial__tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: color-mix(in oklch, var(--accent-on) 18%, transparent);
    padding: 7px 15px;
    border-radius: var(--radius-pill);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.trial h2 {
    color: var(--accent-on);
    margin: 16px 0 14px;
    font-size: clamp(1.9rem, 3.6vw, 3rem);
}

.trial__lead {
    color: color-mix(in oklch, var(--accent-on) 88%, transparent);
    font-size: 1.1rem;
    max-width: 480px;
    margin-bottom: 26px;
}

.trial__list {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 12px;
}

.trial__item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    background: color-mix(in oklch, var(--accent-on) 12%, transparent);
    border-radius: var(--radius-sm);
    padding: 14px 16px;
}

.trial__item svg {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    margin-top: 1px;
}

.trial__item b {
    display: block;
    font-size: 0.98rem;
}
.trial__item span {
    font-size: 0.86rem;
    color: color-mix(in oklch, var(--accent-on) 82%, transparent);
}

.trial .btn--primary {
    background: var(--accent-on);
    color: var(--accent-ink);
    box-shadow: none;
}
.trial .btn--primary:hover {
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
}

/* ============ Steps / how it works ============ */
.tabs {
    display: inline-flex;
    gap: 6px;
    padding: 6px;
    background: var(--surface-2);
    border: 1px solid var(--line);
    border-radius: var(--radius-pill);
    margin-bottom: 40px;
}

.tab {
    padding: 11px 24px;
    border-radius: var(--radius-pill);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--muted);
    transition: background-color 0.25s, color 0.25s;
}

.tab.is-active {
    background: var(--accent);
    color: var(--accent-on);
}

.steps {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
    counter-reset: step;
}

.step {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 26px 22px;
    position: relative;
    transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.step:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card);
}

.step--accent {
    background: var(--accent);
    color: var(--accent-on);
    border-color: transparent;
}

.step__num {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: var(--accent-soft);
    color: var(--accent-ink);
    display: grid;
    place-items: center;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 16px;
}

.step--accent .step__num {
    background: color-mix(in oklch, var(--accent-on) 18%, transparent);
    color: var(--accent-on);
}

.step h4 {
    font-size: 1.08rem;
    font-weight: 700;
    margin-bottom: 8px;
    font-family: var(--font-body);
}

.step p {
    font-size: 0.9rem;
    color: var(--muted);
    line-height: 1.5;
}

.step--accent p {
    color: color-mix(in oklch, var(--accent-on) 85%, transparent);
}

/* ============ Benefits split ============ */
.benefits {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.benefit-col {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: clamp(26px, 3vw, 40px);
    box-shadow: var(--shadow-card);
}

.benefit-col__head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 22px;
    padding-bottom: 22px;
    border-bottom: 1px solid var(--line);
}

.benefit-col__ic {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: var(--accent-soft);
    color: var(--accent-ink);
    flex-shrink: 0;
}
.benefit-col__ic svg {
    width: 26px;
    height: 26px;
}

.benefit-col--alt .benefit-col__ic {
    background: var(--accent-2-soft);
    color: var(--accent-2);
}

.benefit-col__head h3 {
    font-size: 1.4rem;
    font-family: var(--font-body);
    font-weight: 700;
}
.benefit-col__head p {
    font-size: 0.85rem;
    color: var(--muted);
}

.benefit-item {
    display: flex;
    gap: 14px;
    padding: 13px 0;
}

.benefit-item + .benefit-item {
    border-top: 1px dashed var(--line);
}

.benefit-item__ic {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    color: var(--accent);
}
.benefit-col--alt .benefit-item__ic {
    color: var(--accent-2);
}

.benefit-item b {
    font-weight: 700;
    font-size: 0.98rem;
}
.benefit-item p {
    font-size: 0.88rem;
    color: var(--muted);
    line-height: 1.5;
    margin-top: 2px;
}

.benefits__note {
    margin-top: 22px;
    text-align: center;
    font-size: 0.85rem;
    color: var(--muted);
}
.benefits__note a {
    color: var(--accent-ink);
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* ============ Generic 4-up grid (about cards) ============ */
.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

@media (max-width: 980px) {
    .grid-4 {
        grid-template-columns: 1fr 1fr;
    }
}
@media (max-width: 560px) {
    .grid-4 {
        grid-template-columns: 1fr;
    }
}

/* ============ Booking calendar demo ============ */
.booking {
    max-width: 760px;
    margin: 0 auto;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    overflow: hidden;
}

.booking__top {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 20px 24px;
    border-bottom: 1px solid var(--line);
    background: var(--surface-2);
}

.booking__title {
    font-weight: 700;
    font-size: 1.05rem;
    display: flex;
    align-items: center;
    gap: 9px;
}
.booking__title svg {
    width: 20px;
    height: 20px;
    color: var(--accent);
}

.booking__pill {
    font-size: 0.8rem;
    font-weight: 700;
    background: var(--accent-soft);
    color: var(--accent-ink);
    padding: 6px 13px;
    border-radius: var(--radius-pill);
}

.booking__list {
    max-height: 420px;
    overflow-y: auto;
}

.slot {
    display: grid;
    grid-template-columns: 64px 1fr auto;
    align-items: center;
    gap: 14px;
    padding: 12px 24px;
    border-bottom: 1px solid var(--line);
}

.slot:last-child {
    border-bottom: none;
}

.slot__time {
    font-family: var(--font-mono);
    font-size: 0.86rem;
    color: var(--muted);
    font-weight: 600;
}

.slot__person {
    display: flex;
    align-items: center;
    gap: 11px;
}

.slot__avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 0.78rem;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
}

.slot__name {
    font-weight: 600;
    font-size: 0.92rem;
}
.slot__dept {
    font-size: 0.78rem;
    color: var(--muted);
}

.slot__status {
    font-size: 0.74rem;
    font-weight: 700;
    padding: 5px 11px;
    border-radius: var(--radius-pill);
}
.slot__status--done {
    background: var(--accent-2-soft);
    color: var(--accent-2);
}
.slot__status--now {
    background: var(--accent);
    color: var(--accent-on);
}
.slot__status--next {
    background: var(--surface-2);
    color: var(--muted);
}

.slot--break {
    grid-template-columns: 64px 1fr;
    background: var(--surface-2);
    color: var(--muted);
    font-weight: 600;
    font-size: 0.88rem;
}

.booking__foot {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 8px;
    padding: 16px 24px;
    border-top: 1px solid var(--line);
    background: var(--surface-2);
    font-size: 0.88rem;
    color: var(--muted);
}
.booking__foot strong {
    color: var(--text);
}

/* ============ Pricing ============ */
.pricing__model {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 48px;
    align-items: stretch;
}

.formula {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: clamp(24px, 3vw, 36px);
    box-shadow: var(--shadow-card);
}

.formula h3 {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.formula__eq {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 18px 0;
    font-family: var(--font-mono);
    font-size: 0.82rem;
}

.formula__chip {
    background: var(--accent-soft);
    color: var(--accent-ink);
    border-radius: 8px;
    padding: 8px 12px;
    font-weight: 600;
    text-align: center;
    line-height: 1.2;
    white-space: pre-line;
}
.formula__op {
    color: var(--muted);
    font-weight: 700;
}

.formula__rows {
    display: grid;
    gap: 10px;
    margin-top: 6px;
}
.formula__row {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    font-size: 0.92rem;
    padding-bottom: 10px;
    border-bottom: 1px dashed var(--line);
}
.formula__row strong {
    font-weight: 700;
}
.formula__row span {
    color: var(--muted);
}

/* Calculator */
.calc {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: clamp(24px, 3vw, 36px);
    box-shadow: var(--shadow-card);
    display: flex;
    flex-direction: column;
}

.calc h3 {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 4px;
}

.calc__field {
    margin-top: 20px;
}

.calc__field label {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 9px;
}

.calc__field label output {
    color: var(--accent-ink);
    font-weight: 700;
    font-family: var(--font-mono);
}

input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 6px;
    border-radius: 100px;
    background: var(--surface-2);
    outline: none;
}
input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--accent);
    cursor: pointer;
    border: 3px solid var(--surface);
    box-shadow: var(--shadow-accent);
}
input[type="range"]::-moz-range-thumb {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--accent);
    cursor: pointer;
    border: 3px solid var(--surface);
}

.seg {
    display: flex;
    gap: 6px;
    background: var(--surface-2);
    border-radius: var(--radius-sm);
    padding: 5px;
}
.seg button {
    flex: 1;
    padding: 9px;
    border-radius: calc(var(--radius-sm) - 3px);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--muted);
    transition: background-color 0.2s, color 0.2s;
}
.seg button.is-active {
    background: var(--accent);
    color: var(--accent-on);
}

.calc__result {
    margin-top: auto;
    padding-top: 22px;
}

.calc__result-box {
    background: var(--accent-soft);
    border-radius: var(--radius-sm);
    padding: 20px 22px;
    display: grid;
    gap: 6px;
}
.calc__total {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
}
.calc__total span {
    font-size: 0.92rem;
    color: var(--accent-ink);
    font-weight: 600;
}
.calc__total b {
    font-size: 2rem;
    font-family: var(--font-display);
    color: var(--accent-ink);
}
.calc__sub {
    display: flex;
    justify-content: space-between;
    font-size: 0.86rem;
    color: var(--accent-ink);
    opacity: 0.85;
}

/* Tariff comparison cards */
.tariffs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    align-items: start;
}

.tariff {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 30px 26px;
    position: relative;
    box-shadow: var(--shadow-card);
    transition: transform 0.25s var(--ease);
}

.tariff--featured {
    border-color: var(--accent);
    box-shadow: 0 0 0 1.5px var(--accent), var(--shadow-card);
}

.tariff__badge {
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: var(--accent-on);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: var(--radius-pill);
    white-space: nowrap;
}

.tariff__name {
    font-family: var(--font-body);
    font-weight: 800;
    font-size: 0.95rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent-ink);
}
.tariff__freq {
    font-size: 0.86rem;
    color: var(--muted);
    margin: 4px 0 18px;
}

.tariff__price {
    display: flex;
    align-items: baseline;
    gap: 6px;
}
.tariff__price b {
    font-size: 2.6rem;
    font-family: var(--font-display);
    line-height: 1;
}
.tariff__price span {
    color: var(--muted);
    font-size: 0.9rem;
}

.tariff__perhead {
    margin-top: 8px;
    font-size: 0.86rem;
    color: var(--accent-ink);
    background: var(--accent-soft);
    display: inline-block;
    padding: 4px 11px;
    border-radius: var(--radius-pill);
    font-weight: 600;
}

.tariff__stats {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
}
.tariff__permass {
    font-size: 0.85rem;
    color: var(--muted);
    font-weight: 500;
}

.tariff-dur {
    text-align: center;
    margin-bottom: 34px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.tariff-dur .seg {
    max-width: 280px;
    width: 100%;
    margin: 12px auto 0;
}
.tariff-dur__note {
    font-size: 0.86rem;
    color: var(--muted);
    max-width: 580px;
    margin: 14px auto 0;
    line-height: 1.5;
    text-wrap: pretty;
}

.tariff__feats {
    display: grid;
    gap: 11px;
    margin: 22px 0;
}
.tariff__feats li {
    display: flex;
    gap: 10px;
    font-size: 0.92rem;
    align-items: flex-start;
}
.tariff__feats svg {
    width: 19px;
    height: 19px;
    color: var(--accent);
    flex-shrink: 0;
    margin-top: 2px;
}

/* ============ ROI calculator ============ */
.roi {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 28px;
    align-items: stretch;
}

.roi__inputs,
.roi__output {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: clamp(26px, 3vw, 38px);
    box-shadow: var(--shadow-card);
}

.roi__output {
    background: var(--accent);
    color: var(--accent-on);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.roi__big {
    font-size: clamp(2.6rem, 5vw, 3.8rem);
    font-family: var(--font-display);
    line-height: 1;
    margin: 6px 0 4px;
}

.roi__metrics {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-top: 26px;
}
.roi__metric {
    background: color-mix(in oklch, var(--accent-on) 12%, transparent);
    border-radius: var(--radius-sm);
    padding: 16px;
}
.roi__metric b {
    font-size: 1.5rem;
    font-family: var(--font-display);
    display: block;
}
.roi__metric span {
    font-size: 0.82rem;
    color: color-mix(in oklch, var(--accent-on) 85%, transparent);
}

.roi__disclaimer {
    font-size: 0.78rem;
    color: color-mix(in oklch, var(--accent-on) 78%, transparent);
    margin-top: 22px;
    line-height: 1.5;
}

/* ============ Safety & hygiene ============ */
.safety-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.safety {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 28px 26px;
    box-shadow: var(--shadow-card);
}

.safety__ic {
    width: 46px;
    height: 46px;
    border-radius: 13px;
    background: var(--accent-soft);
    color: var(--accent-ink);
    display: grid;
    place-items: center;
    margin-bottom: 16px;
}
.safety__ic svg {
    width: 25px;
    height: 25px;
}

.safety h4 {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1.08rem;
    margin-bottom: 8px;
}
.safety p {
    font-size: 0.9rem;
    color: var(--muted);
    line-height: 1.55;
}

/* ============ Gallery ============ */
.gallery {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 16px;
    justify-items: center;
}
.gallery__item {
    border-radius: var(--radius-lg);
    overflow: hidden;
    min-height: 200px;
}
.gallery__item--lg {
    grid-column: span 6;
    grid-row: span 2;
    min-height: 416px;
}
.gallery__item--sm {
    grid-column: span 6;
}
.gallery__item--pair {
    grid-column: span 5;
    min-height: 300px;
    max-height: 360px;
}
.gallery__item--pair:first-child {
    grid-column: 3 / span 4;
}
.gallery__item--pair:last-child {
    grid-column: 7 / span 4;
}
.gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ============ FAQ ============ */
.faq {
    max-width: 820px;
    margin: 0 auto;
    display: grid;
    gap: 12px;
}

.faq__item {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    overflow: hidden;
    transition: border-color 0.25s;
}
.faq__item.is-open {
    border-color: var(--accent);
}

.faq__q {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 24px;
    text-align: left;
    font-weight: 600;
    font-size: 1.02rem;
}

.faq__icon {
    width: 26px;
    height: 26px;
    flex-shrink: 0;
    position: relative;
}
.faq__icon::before,
.faq__icon::after {
    content: "";
    position: absolute;
    background: var(--accent);
    border-radius: 2px;
    transition: transform 0.3s var(--ease);
}
.faq__icon::before {
    width: 14px;
    height: 2px;
    top: 12px;
    left: 6px;
}
.faq__icon::after {
    width: 2px;
    height: 14px;
    top: 6px;
    left: 12px;
}
.faq__item.is-open .faq__icon::after {
    transform: rotate(90deg);
    opacity: 0;
}

.faq__a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s var(--ease);
}
.faq__a-inner {
    padding: 0 24px 22px;
    color: var(--muted);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* ============ Final CTA + form ============ */
.cta-final {
    background: var(--surface-2);
}

.lead-form {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 36px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    overflow: hidden;
}

.lead-form__pane {
    padding: clamp(30px, 4vw, 52px);
}

.lead-form__aside {
    background: var(--accent);
    color: var(--accent-on);
    padding: clamp(30px, 4vw, 52px);
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.lead-form__aside h3 {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--accent-on);
}

.aside-point {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}
.aside-point svg {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}
.aside-point b {
    display: block;
    font-size: 0.98rem;
}
.aside-point span {
    font-size: 0.86rem;
    color: color-mix(in oklch, var(--accent-on) 84%, transparent);
}

.field {
    margin-bottom: 18px;
}
.field label {
    display: block;
    font-size: 0.88rem;
    font-weight: 600;
    margin-bottom: 7px;
}
.field input,
.field textarea,
.field select {
    width: 100%;
    padding: 13px 15px;
    border: 1.5px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--bg);
    transition: border-color 0.2s;
}
.field input:focus,
.field textarea:focus,
.field select:focus {
    outline: none;
    border-color: var(--accent);
}
.field--row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}
.field--check {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 0.82rem;
    color: var(--muted);
}
.field--check input {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    flex-shrink: 0;
    accent-color: var(--accent);
}

.form-success {
    display: none;
    text-align: center;
    padding: 30px 0;
}
.form-success.is-shown {
    display: block;
}
.form-success__ic {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--accent-soft);
    color: var(--accent-ink);
    display: grid;
    place-items: center;
    margin: 0 auto 18px;
}
.form-success__ic svg {
    width: 34px;
    height: 34px;
}

/* ============ Footer ============ */
.footer {
    background: var(--text);
    color: color-mix(in oklch, var(--bg) 78%, transparent);
    padding: clamp(48px, 6vw, 80px) 0 32px;
}

.footer__grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 32px;
    margin-bottom: 40px;
}

.footer .brand__name,
.footer .brand__name span {
    color: var(--bg);
}

.footer__desc {
    margin-top: 16px;
    font-size: 0.9rem;
    max-width: 280px;
    line-height: 1.6;
}

.footer h4 {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--bg);
    margin-bottom: 16px;
}

.footer__col a,
.footer__col p {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 10px;
    transition: color 0.2s;
}
.footer__col a:hover {
    color: var(--bg);
}

.footer__bottom {
    border-top: 1px solid color-mix(in oklch, var(--bg) 20%, transparent);
    padding-top: 24px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px;
    font-size: 0.82rem;
}

/* ============ Chatbot ============ */
.chat-fab {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 950;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: var(--accent);
    color: var(--accent-on);
    display: grid;
    place-items: center;
    box-shadow: var(--shadow-accent);
    transition: transform 0.25s var(--ease);
}
.chat-fab:hover {
    transform: scale(1.07);
}
.chat-fab svg {
    width: 26px;
    height: 26px;
}
.chat-fab__dot {
    position: absolute;
    top: 2px;
    right: 2px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--accent-2);
    border: 2px solid var(--accent);
}

.chat-panel {
    position: fixed;
    bottom: 94px;
    right: 24px;
    z-index: 951;
    width: min(370px, calc(100vw - 32px));
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.22);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    max-height: min(560px, calc(100vh - 130px));
    opacity: 0;
    transform: translateY(16px) scale(0.97);
    pointer-events: none;
    transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
}
.chat-panel.is-open {
    opacity: 1;
    transform: none;
    pointer-events: auto;
}

.chat-head {
    background: var(--accent);
    color: var(--accent-on);
    padding: 16px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.chat-head__av {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: color-mix(in oklch, var(--accent-on) 18%, transparent);
    display: grid;
    place-items: center;
    font-weight: 700;
}
.chat-head b {
    font-size: 0.98rem;
}
.chat-head small {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    opacity: 0.9;
}
.chat-head small::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent-2);
}
.chat-close {
    margin-left: auto;
    width: 30px;
    height: 30px;
    border-radius: 8px;
    display: grid;
    place-items: center;
    color: var(--accent-on);
}
.chat-close:hover {
    background: color-mix(in oklch, var(--accent-on) 15%, transparent);
}

.chat-body {
    padding: 18px;
    overflow-y: auto;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: var(--bg);
}

.msg {
    max-width: 84%;
    padding: 11px 14px;
    border-radius: 14px;
    font-size: 0.9rem;
    line-height: 1.5;
}
.msg--bot {
    background: var(--surface);
    border: 1px solid var(--line);
    border-bottom-left-radius: 4px;
    align-self: flex-start;
}
.msg--user {
    background: var(--accent);
    color: var(--accent-on);
    border-bottom-right-radius: 4px;
    align-self: flex-end;
}

.chat-quick {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 12px 18px;
    border-top: 1px solid var(--line);
    background: var(--surface);
}
.chat-quick button {
    font-size: 0.82rem;
    font-weight: 600;
    padding: 8px 13px;
    border-radius: var(--radius-pill);
    border: 1px solid var(--line);
    color: var(--accent-ink);
    background: var(--bg);
    transition: background-color 0.2s, border-color 0.2s;
}
.chat-quick button:hover {
    background: var(--accent-soft);
    border-color: var(--accent);
}

/* ============ Responsive ============ */
@media (max-width: 980px) {
    .hero__grid {
        grid-template-columns: 1fr;
    }
    .hero__visual {
        max-width: 380px;
        margin-top: 4px;
    }
    .hero__float {
        display: none;
    }
    .facts__grid {
        grid-template-columns: 1fr 1fr;
    }
    .fact:nth-child(3) {
        border-left: none;
    }
    .trial__card,
    .pricing__model,
    .roi,
    .lead-form {
        grid-template-columns: 1fr;
    }
    .steps {
        grid-template-columns: 1fr 1fr;
    }
    .benefits {
        grid-template-columns: 1fr;
    }
    .tariffs {
        grid-template-columns: 1fr;
        max-width: 460px;
        margin: 0 auto;
    }
    .safety-grid {
        grid-template-columns: 1fr;
    }
    .footer__grid {
        grid-template-columns: 1fr 1fr;
    }
    .gallery__item--lg {
        grid-column: span 12;
        min-height: 280px;
    }
    .gallery__item--sm {
        grid-column: span 6;
    }
    .gallery__item--pair,
    .gallery__item--pair:first-child,
    .gallery__item--pair:last-child {
        grid-column: span 12;
        min-height: 240px;
        max-height: none;
    }
}

@media (max-width: 1060px) {
    .header__cta {
        display: none;
    }
}

@media (max-width: 900px) {
    .nav {
        position: fixed;
        inset: 72px 0 auto 0;
        flex-direction: column;
        background: var(--surface);
        border-bottom: 1px solid var(--line);
        padding: 20px 24px;
        gap: 4px;
        transform: translateY(-130%);
        transition: transform 0.35s var(--ease);
        box-shadow: var(--shadow-card);
        margin-left: 0;
    }
    .nav.is-open {
        transform: none;
    }
    .nav a {
        padding: 12px 0;
        border-bottom: 1px solid var(--line);
    }
    .burger {
        display: flex;
    }
}

@media (max-width: 720px) {
    .nav {
        position: fixed;
        inset: 72px 0 auto 0;
        flex-direction: column;
        background: var(--surface);
        border-bottom: 1px solid var(--line);
        padding: 20px 24px;
        gap: 4px;
        transform: translateY(-120%);
        transition: transform 0.35s var(--ease);
        box-shadow: var(--shadow-card);
    }
    .nav.is-open {
        transform: none;
    }
    .nav a {
        padding: 12px 0;
        border-bottom: 1px solid var(--line);
    }
    .burger {
        display: flex;
    }
    .header__cta {
        display: none;
    }
    .facts__grid {
        grid-template-columns: 1fr;
    }
    .fact {
        border-left: none;
        border-top: 1px solid var(--line);
    }
    .fact:first-child {
        border-top: none;
    }
    .steps {
        grid-template-columns: 1fr;
    }
    .footer__grid {
        grid-template-columns: 1fr;
    }
    .field--row {
        grid-template-columns: 1fr;
    }
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 2rem);
    max-width: 720px;
    background: var(--surface, #fff);
    border: 1px solid var(--line, #e5e7eb);
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(0,0,0,.12);
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    z-index: 9999;
}
.cookie-banner__text {
    flex: 1;
    font-size: .9rem;
    margin: 0;
    color: var(--text-muted, #6b7280);
}
.cookie-banner__text a {
    color: var(--accent, #4a7c59);
    text-decoration: underline;
}
.cookie-banner__actions {
    display: flex;
    gap: .75rem;
    flex-shrink: 0;
}
@media (max-width: 600px) {
    .cookie-banner {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }
    .cookie-banner__actions {
        justify-content: center;
    }
}
