:root {
    --primary: #c72e17;
    --primary-dark: #a42412;
    --primary-light: #fff0ea;
    --secondary: #ff290b;
    --dark: #171717;
    --dark-soft: #262626;
    --light: #fbfaf8;
    --gray: #525252;
    --gray-light: #737373;
    --white: #ffffff;
    --border: #eae3dd;
    --radius: 16px;
    --header-height: 76px;
    --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.08), 0 2px 4px -2px rgb(0 0 0 / 0.08);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    line-height: 1.65;
    color: var(--dark);
    background: var(--white);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

[id] {
    scroll-margin-top: calc(var(--header-height) + 16px);
}

a {
    color: var(--primary);
}

:focus-visible {
    outline: 3px solid rgb(199 46 23 / 0.5);
    outline-offset: 2px;
}

.skip-link {
    position: absolute;
    top: -100px;
    left: 16px;
    z-index: 2000;
    padding: 12px 20px;
    background: var(--white);
    color: var(--primary);
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    text-decoration: none;
    font-weight: 600;
}

.skip-link:focus {
    top: 12px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 14px 30px;
    background: var(--primary);
    color: var(--white);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-family: inherit;
    font-size: 1rem;
    line-height: 1.4;
    transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
    border: 2px solid var(--primary);
    cursor: pointer;
    text-align: center;
}

.btn:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: var(--white);
    color: var(--primary);
}

.btn-secondary:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

/* ---------- Header ---------- */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgb(255 255 255 / 0.96);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    transition: box-shadow 0.3s ease;
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
}

.header.is-scrolled {
    box-shadow: 0 8px 24px rgb(0 0 0 / 0.08);
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: var(--header-height);
}

.logo {
    font-size: 1.45rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--primary);
    text-decoration: none;
    white-space: nowrap;
}

.logo span {
    color: var(--dark);
}

.nav {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-left: auto;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
}

.nav-menu a {
    display: block;
    padding: 8px 12px;
    border-radius: 8px;
    text-decoration: none;
    color: #404040;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s ease, background 0.2s ease;
}

.nav-menu a:hover,
.nav-menu a.is-active {
    color: var(--primary);
    background: var(--primary-light);
}

.btn-nav {
    padding: 10px 20px;
    font-size: 0.9rem;
    white-space: nowrap;
}

.mobile-call {
    display: none;
}

.mobile-menu {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 10px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--white);
    cursor: pointer;
}

.mobile-menu span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.2s ease;
}

.mobile-menu.is-active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-menu.is-active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu.is-active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ---------- Hero ---------- */

.hero {
    padding: calc(var(--header-height) + 62px) 0 72px;
    background: var(--light);
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(32px, 6vw, 80px);
    align-items: center;
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 16px;
}

.eyebrow::before {
    content: '';
    width: 28px;
    height: 2px;
    background: var(--primary);
    flex-shrink: 0;
}

.hero h1 {
    font-size: clamp(2.8rem, 5.25vw, 4.15rem);
    text-wrap: balance;
    font-weight: 800;
    line-height: 1.04;
    letter-spacing: -0.05em;
    margin-bottom: 20px;
}

.hero h1 span {
    color: var(--primary);
}

.hero-lead {
    font-size: 1.15rem;
    color: var(--gray);
    max-width: 560px;
    margin-bottom: 32px;
}

.hero-buttons {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 44px;
}

.stats {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 28px;
    padding-top: 22px;
    border-top: 1px solid var(--border);
}

.stat-item {
    display: flex;
    flex-direction: column-reverse;
    gap: 3px;
}

.stat-item dt {
    font-size: 0.9rem;
    color: var(--gray);
}

.stat-item dd {
    font-size: 1.5rem;
    line-height: 1.2;
    font-weight: 750;
}

.hero-image {
    overflow: hidden;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 28px;
    box-shadow: 0 20px 60px rgb(72 40 24 / 0.10);
}

.hero-image img {
    width: 100%;
    aspect-ratio: 1.2;
    object-fit: contain;
    background: var(--white);
}

/* ---------- Sections ---------- */

.section {
    padding: 96px 0;
}

.section-header {
    max-width: 700px;
    margin: 0 auto 56px;
    text-align: center;
}

.section-header .eyebrow {
    justify-content: center;
}

.section-header h2 {
    font-size: clamp(1.9rem, 3.5vw, 2.5rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 14px;
    color: var(--dark);
}

.section-header p:not(.eyebrow) {
    font-size: 1.05rem;
    color: var(--gray);
}

/* ---------- Solutions ---------- */

.solutions {
    background: #fbfaf8;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

.solution-card {
    display: flex;
    flex-direction: column;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.solution-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: #ea9b88;
}

.card-media {
    background: #f3ece6;
    overflow: hidden;
}

.card-media img {
    width: 100%;
    height: auto;
    aspect-ratio: 1.35;
    object-fit: cover;
}

.card-media-product img {
    object-fit: contain;
    background: var(--white);
}

.card-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 26px;
}

.card-body h3 {
    font-size: 1.35rem;
    margin-bottom: 10px;
}

.card-body > p {
    color: var(--gray);
    margin-bottom: 18px;
    font-size: 0.97rem;
}

.card-body .card-use {
    margin-bottom: 5px;
    color: var(--primary);
    font-size: 0.9rem;
    font-weight: 700;
}

.feature-list {
    list-style: none;
    display: grid;
    gap: 8px;
    margin-bottom: 24px;
}

.feature-list li {
    position: relative;
    padding-left: 24px;
    color: #404040;
    font-size: 0.94rem;
}

.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--primary);
    font-weight: 800;
}

.card-link {
    align-self: flex-start;
    margin-top: auto;
    color: var(--primary);
    font-weight: 700;
    text-underline-offset: 4px;
}

.card-link:hover {
    color: var(--primary-dark);
}

.solution-alternatives {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 16px 28px;
    margin-top: 32px;
    padding: clamp(22px, 4vw, 36px);
    background: var(--primary-light);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.solution-alternatives h2 {
    margin-bottom: 8px;
    font-size: clamp(1.35rem, 2.5vw, 1.85rem);
    line-height: 1.2;
}

.solution-alternatives p {
    max-width: 65ch;
    color: var(--gray);
}

.solution-alternatives .btn {
    justify-self: start;
}


.section-note {
    margin-top: 36px;
    text-align: center;
    font-size: 0.95rem;
    color: var(--gray-light);
}

/* ---------- Split sections ---------- */

.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
}

.split-media img {
    width: 100%;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
}

.split-body h2 {
    font-size: clamp(1.8rem, 3vw, 2.3rem);
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 18px;
}

.split-body > p {
    color: var(--gray);
    margin-bottom: 20px;
}

.split-body .btn {
    margin-top: 8px;
}

.support {
    background: var(--primary-light);
}

.check-list {
    list-style: none;
    display: grid;
    gap: 12px;
    margin-bottom: 28px;
}

.check-list li {
    position: relative;
    padding-left: 30px;
    color: #404040;
}

.check-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 2px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--white);
    font-size: 0.72rem;
    font-weight: 800;
    line-height: 20px;
    text-align: center;
}

/* ---------- Process ---------- */

.process {
    background: var(--dark);
    color: var(--white);
}

.process .section-header h2 {
    color: var(--white);
}

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    list-style: none;
}

.step {
    padding: 28px 24px;
    background: rgb(255 255 255 / 0.04);
    border: 1px solid rgb(255 255 255 / 0.12);
    border-radius: var(--radius);
    transition: background 0.3s ease, border-color 0.3s ease;
}

.step:hover {
    background: rgb(255 255 255 / 0.07);
    border-color: rgb(255 142 118 / 0.5);
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin-bottom: 18px;
    background: var(--primary);
    border-radius: 50%;
    color: var(--white);
    font-weight: 800;
}

.step h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.step p {
    color: rgb(255 255 255 / 0.65);
    font-size: 0.9rem;
}

/* ---------- About ---------- */

.about {
    background: var(--light);
}

.about-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(28px, 6vw, 76px);
    align-items: center;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 20px;
    padding: clamp(22px, 4vw, 40px);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--white);
    list-style: none;
}

.feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    font-weight: 500;
}

.feature svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    stroke: var(--primary);
    fill: none;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* ---------- FAQ ---------- */

.faq {
    background: #fbfaf8;
    border-top: 1px solid var(--border);
}

.faq-layout {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 56px;
    align-items: start;
}

.faq-intro h2 {
    font-size: clamp(1.8rem, 3vw, 2.3rem);
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

.faq-intro p:not(.eyebrow) {
    color: var(--gray);
    margin-bottom: 24px;
}

.faq-list {
    display: grid;
    gap: 12px;
}

.faq-item {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.faq-item.is-open {
    border-color: #ea9b88;
    box-shadow: var(--shadow);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    padding: 18px 22px;
    background: none;
    border: none;
    text-align: left;
    font: inherit;
    font-weight: 600;
    color: var(--dark);
    cursor: pointer;
}

.faq-question:hover {
    color: var(--primary);
}

.faq-icon {
    position: relative;
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    border: 2px solid currentColor;
    border-radius: 50%;
    color: var(--primary);
}

.faq-icon::before,
.faq-icon::after {
    content: '';
    position: absolute;
    background: currentColor;
    transition: transform 0.25s ease;
}

.faq-icon::before {
    top: 50%;
    left: 4px;
    right: 4px;
    height: 2px;
    margin-top: -1px;
}

.faq-icon::after {
    top: 4px;
    bottom: 4px;
    left: 50%;
    width: 2px;
    margin-left: -1px;
}

.faq-item.is-open .faq-icon::after {
    transform: scaleY(0);
}

.faq-answer {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.3s ease;
}

.faq-answer > div {
    overflow: hidden;
}

.faq-answer p {
    padding: 0 22px 20px;
    color: var(--gray);
    font-size: 0.95rem;
}

.faq-item.is-open .faq-answer {
    grid-template-rows: 1fr;
}

/* ---------- Contact ---------- */

.contact {
    background: var(--dark);
    color: var(--white);
}

.contact .section-header h2 {
    color: var(--white);
}

.contact .section-header p:not(.eyebrow) {
    color: rgb(255 255 255 / 0.65);
}

.contact .eyebrow {
    color: #ff8e76;
}

.contact .eyebrow::before {
    background: #ff8e76;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 32px;
}

.contact-info {
    display: grid;
    gap: 16px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 18px;
    background: rgb(255 255 255 / 0.03);
    border: 1px solid rgb(255 255 255 / 0.12);
    border-radius: 12px;
}

.contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    background: rgb(199 46 23 / 0.15);
    border-radius: 10px;
}

.contact-icon svg {
    width: 22px;
    height: 22px;
    stroke: #ff8e76;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.contact-item h3 {
    font-size: 0.95rem;
    margin-bottom: 2px;
}

.contact-item p {
    color: rgb(255 255 255 / 0.65);
    font-size: 0.95rem;
}

.contact-item a {
    color: rgb(255 255 255 / 0.65);
    text-decoration: underline;
    transition: color 0.2s ease;
}

.contact-item a:hover {
    color: var(--white);
}

.map {
    position: relative;
    min-height: 340px;
    overflow: hidden;
    border: 1px solid rgb(255 255 255 / 0.12);
    border-radius: var(--radius);
}

.map iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* ---------- Footer ---------- */

.footer {
    padding-top: 56px;
    background: #111111;
    color: var(--white);
    border-top: 3px solid var(--primary);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
}

.footer-brand .logo {
    display: inline-block;
    margin-bottom: 12px;
    color: var(--white);
    font-size: 1.4rem;
}

.footer-brand .logo span {
    color: #ff8e76;
}

.footer-brand p {
    max-width: 320px;
    color: rgb(255 255 255 / 0.55);
    font-size: 0.95rem;
}

.footer h3 {
    margin-bottom: 14px;
    color: rgb(255 255 255 / 0.5);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.footer ul {
    list-style: none;
    display: grid;
    gap: 8px;
}

.footer li {
    color: rgb(255 255 255 / 0.6);
    font-size: 0.95rem;
}

.footer a {
    color: rgb(255 255 255 / 0.7);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.footer a:hover {
    color: var(--white);
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px;
    padding: 18px 0;
    border-top: 1px solid rgb(255 255 255 / 0.1);
    color: rgb(255 255 255 / 0.55);
    font-size: 0.85rem;
}

.site-version {
    font-variant-numeric: tabular-nums;
}

/* ---------- Reveal animations ---------- */

.js-ready .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.js-ready .reveal.is-visible {
    opacity: 1;
    transform: none;
}

/* ---------- Responsive ---------- */

@media (max-width: 1100px) {
    .cards-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}


@media (max-width: 1024px) {
    .hero-grid {
        gap: 40px;
    }

    .nav {
        gap: 16px;
    }

    .nav-menu a {
        padding: 8px 9px;
        font-size: 0.9rem;
    }

}

@media (max-width: 968px) {
    .hero {
        padding-top: calc(var(--header-height) + 56px);
        padding-bottom: 72px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-buttons,
    .stats {
        justify-content: center;
    }

    .hero-lead {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-image {
        width: min(100%, 560px);
        margin: 16px auto 0;
    }

    .section {
        padding: 80px 0;
    }

    .split,
    .about-layout,
    .contact-grid,
    .faq-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .split-media {
        order: -1;
    }

    .header .container {
        gap: 12px;
    }

    .mobile-call {
        display: inline-flex;
        align-items: center;
        min-height: 44px;
        margin-left: auto;
        padding: 0 12px;
        border-radius: 8px;
        background: var(--primary-light);
        color: var(--primary-dark);
        font-weight: 700;
        text-decoration: none;
    }

    .mobile-menu {
        display: flex;
    }

    .nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
        margin-left: 0;
        padding: 16px 20px 24px;
        background: var(--white);
        border-bottom: 1px solid var(--border);
        box-shadow: 0 16px 32px rgb(0 0 0 / 0.1);
    }

    .nav.is-open {
        display: flex;
    }

    .nav-menu {
        flex-direction: column;
        align-items: stretch;
        gap: 2px;
    }

    .nav-menu a {
        padding: 12px 10px;
        border-bottom: 1px solid #f2f2f2;
        border-radius: 0;
    }

    .btn-nav {
        width: 100%;
        margin-top: 10px;
        padding: 12px 20px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 640px) {
    :root {
        --header-height: 68px;
    }

    .hero {
        padding-top: calc(var(--header-height) + 38px);
        padding-bottom: 52px;
    }

    .hero-buttons {
        margin-bottom: 28px;
    }

    .hero h1 {
        font-size: clamp(2.25rem, 8vw, 3.1rem);
    }

    .hero-lead {
        font-size: 1.05rem;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    .solution-alternatives,
    .cards-grid,
    .steps,
    .about-features,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .map {
        min-height: 260px;
    }

    .footer-bottom {
        flex-direction: column;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .js-ready .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .btn:hover,
    .solution-card:hover,
    .service-card:hover,
    .step:hover {
        transform: none;
    }
}
