/* ============================================
   VARTER — Main styles
   Breakpoints: Desktop ≥1200 | Tablet 768–1199 | Mobile ≤767
   ============================================ */

/* === RESET & BASE === */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    font-weight: 400;
    letter-spacing: -0.01em;
    color: #1d1d1f;
    background-color: #ffffff;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}

/* === BUTTONS (чёрный фон, белый текст) === */
.btn,
a.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: -0.01em;
    border-radius: 980px;
    border: none;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none !important;
    line-height: 1.5;
    white-space: nowrap;
}

.btn--primary,
a.btn--primary {
    background: #1d1d1f !important;
    background-color: #1d1d1f !important;
    color: #ffffff !important;
}

.btn--primary:hover,
a.btn--primary:hover {
    background: #333336 !important;
    background-color: #333336 !important;
    color: #ffffff !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.btn--primary:active {
    transform: translateY(0);
}

.btn--secondary {
    background: #f5f5f7;
    color: #1d1d1f;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.btn--secondary:hover {
    background: #e8e8ed;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.btn--outline-light,
a.btn--outline-light {
    background: transparent;
    color: #ffffff !important;
    border: 1.5px solid rgba(255, 255, 255, 0.6);
}

.btn--outline-light:hover,
a.btn--outline-light:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: #ffffff;
    color: #ffffff !important;
}

.btn--full {
    width: 100%;
}

/* === HEADER === */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 0.5px solid rgba(0, 0, 0, 0.08);
    transition: background 0.3s ease;
}

.header-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    flex-shrink: 0;
}

.logo-img {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.logo-text {
    font-size: 20px;
    font-weight: 700;
    color: #1d1d1f;
    letter-spacing: 0.02em;
}

.nav {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-link {
    color: #1d1d1f;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    padding: 8px 14px;
    border-radius: 8px;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.nav-link:hover {
    background: rgba(0, 0, 0, 0.06);
}

.nav-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 4px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 12px;
    padding: 6px;
    min-width: 220px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1001;
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: block;
    padding: 10px 14px;
    color: #1d1d1f;
    font-size: 14px;
    font-weight: 500;
    border-radius: 8px;
    transition: background 0.15s ease;
}

.dropdown-item:hover {
    background: rgba(0, 0, 0, 0.05);
}

/* Burger */
.burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 32px;
    height: 32px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 1002;
}

.burger span {
    display: block;
    width: 100%;
    height: 2px;
    background: #1d1d1f;
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
}

.burger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.burger.active span:nth-child(2) {
    opacity: 0;
}

.burger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* === SECTION TITLE === */
.section-title {
    font-size: 44px;
    line-height: 1.15;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 48px;
    text-align: center;
    color: #1d1d1f;
}

.section-title--left {
    text-align: left;
}

/* === BLOCK 1: HERO === */
.zb-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #000000;
    color: #ffffff;
    text-align: center;
    padding: 120px 24px 80px;
}

.zb-hero__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(3px) brightness(0.6);
    pointer-events: none;
    z-index: 1;
}

.zb-hero__overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(180deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.15) 50%, rgba(0,0,0,0.45) 100%);
    pointer-events: none;
}

.zb-hero__content {
    position: relative;
    z-index: 3;
    max-width: 800px;
}

.zb-hero__logo {
    width: 180px;
    height: 180px;
    margin: 0 auto 32px;
    object-fit: contain;
}

.zb-hero__title {
    font-size: 48px;
    line-height: 1.15;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

.zb-hero__subtitle {
    font-size: 20px;
    line-height: 1.5;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.4);
}

.zb-hero__actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* === BLOCK 2: EQUIPMENT === */
.zb-equipment {
    padding: 100px 0;
    background: #ffffff;
}

.equipment-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.equipment-card {
    display: flex;
    flex-direction: column;
    padding: 32px 28px;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 16px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    min-height: 220px;
}

.equipment-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
    border-color: transparent;
}

.equipment-card__icon {
    margin-bottom: 20px;
}

.equipment-card__title {
    font-size: 20px;
    font-weight: 600;
    letter-spacing: -0.01em;
    margin-bottom: 8px;
    color: #1d1d1f;
}

.equipment-card__desc {
    font-size: 15px;
    line-height: 1.5;
    color: #6e6e73;
    margin-bottom: 16px;
    flex: 1;
}

.equipment-card__link {
    font-size: 15px;
    font-weight: 600;
    color: #0071e3;
    transition: color 0.2s;
}

.equipment-card:hover .equipment-card__link {
    color: #0056b3;
}

/* === BLOCK 3: PROJECTS === */
.zb-projects {
    padding: 100px 0;
    background: #f5f5f7;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.project-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
}

.project-card__image {
    background: #f5f5f7;
    padding: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 3/2;
    overflow: hidden;
}

.project-card__image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.project-card__body {
    padding: 28px;
}

.project-card__title {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.01em;
    margin-bottom: 8px;
    color: #1d1d1f;
}

.project-card__desc {
    font-size: 15px;
    line-height: 1.6;
    color: #6e6e73;
    margin-bottom: 16px;
}

.project-card__link {
    font-size: 15px;
    font-weight: 600;
    color: #0071e3;
    transition: color 0.2s;
}

.project-card__link:hover {
    color: #0056b3;
}

.projects-cta {
    text-align: center;
}

/* === BLOCK 4: ADVANTAGES === */
.zb-advantages {
    padding: 100px 0;
    background: #ffffff;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.advantage-item {
    padding: 32px 28px;
    background: #f5f5f7;
    border-radius: 16px;
    transition: transform 0.3s ease;
}

.advantage-item:hover {
    transform: translateY(-2px);
}

.advantage-item__num {
    font-size: 14px;
    font-weight: 700;
    color: #0071e3;
    margin-bottom: 16px;
    letter-spacing: 0.05em;
}

.advantage-item__title {
    font-size: 20px;
    font-weight: 600;
    letter-spacing: -0.01em;
    margin-bottom: 12px;
    color: #1d1d1f;
}

.advantage-item__text {
    font-size: 15px;
    line-height: 1.6;
    color: #6e6e73;
}

/* === BLOCK 5: FORM === */
.zb-form {
    padding: 100px 0;
    background: #f5f5f7;
}

.form-wrapper {
    max-width: 600px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 20px;
    padding: 48px 40px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

.form-wrapper__title {
    font-size: 32px;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 8px;
    text-align: center;
    color: #1d1d1f;
}

.form-wrapper__subtitle {
    font-size: 16px;
    line-height: 1.5;
    color: #6e6e73;
    text-align: center;
    margin-bottom: 32px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 20px;
}

.form-field {
    min-width: 0;
    width: 100%;
}

.form-field label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 6px;
}

.form-field input {
    display: block;
    width: 100%;
    max-width: 100%;
    padding: 14px 16px;
    border: 1.5px solid rgba(0, 0, 0, 0.12);
    border-radius: 12px;
    font-size: 16px;
    font-family: inherit;
    color: #1d1d1f;
    background: #ffffff;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
}

.form-field input::placeholder {
    color: #86868b;
}

.form-field input:focus {
    outline: none;
    border-color: #0071e3;
    box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.12);
}

.form-field input.error {
    border-color: #ff3b30;
    box-shadow: 0 0 0 4px rgba(255, 59, 48, 0.12);
}

.consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    line-height: 1.5;
    color: #6e6e73;
    margin-bottom: 20px;
    cursor: pointer;
}

.consent input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 1px;
    accent-color: #0071e3;
    flex-shrink: 0;
    cursor: pointer;
}

.consent a {
    color: #0071e3;
}

.consent a:hover {
    text-decoration: underline;
}

.form-success {
    display: none;
    background: #34c759;
    color: #ffffff;
    padding: 20px 24px;
    border-radius: 12px;
    text-align: center;
    font-size: 16px;
    font-weight: 500;
    margin-top: 16px;
}

.form-success.show {
    display: block;
    animation: fadeSlideIn 0.3s ease;
}

@keyframes fadeSlideIn {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* === BLOCK 6: ABOUT === */
.zb-about {
    padding: 100px 0;
    background: #ffffff;
}

.about-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-block__lead {
    font-size: 22px;
    line-height: 1.5;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 20px;
}

.about-block__text p {
    font-size: 16px;
    line-height: 1.8;
    color: #6e6e73;
    margin-bottom: 16px;
}

.about-block__text .btn {
    margin-top: 16px;
}

.about-block__images {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.about-block__img {
    width: 100%;
    border-radius: 16px;
    background: #f5f5f7;
    object-fit: contain;
    padding: 24px;
}

/* === BLOCK 7: FOOTER === */
.footer {
    background: #f5f5f7;
    padding: 60px 0 32px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 40px;
}

.footer__logo {
    width: 56px;
    height: 56px;
    object-fit: contain;
    margin-bottom: 16px;
}

.footer__phone {
    display: block;
    font-size: 18px;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 4px;
    transition: color 0.2s;
}

.footer__phone:hover {
    color: #0071e3;
}

.footer__email {
    display: block;
    font-size: 15px;
    color: #0071e3;
    margin-top: 8px;
    transition: opacity 0.2s;
}

.footer__email:hover {
    opacity: 0.7;
}

.footer-col__title {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #86868b;
    margin-bottom: 16px;
}

.footer-col__link {
    display: block;
    font-size: 15px;
    font-weight: 400;
    color: #1d1d1f;
    padding: 4px 0;
    transition: color 0.2s;
}

.footer-col__link:hover {
    color: #0071e3;
}

.footer-bottom {
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    padding-top: 24px;
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.footer-bottom__legal,
.footer-bottom__copy {
    font-size: 12px;
    color: #86868b;
}

.footer-bottom__privacy {
    font-size: 12px;
    color: #0071e3;
    transition: opacity 0.2s;
}

.footer-bottom__privacy:hover {
    opacity: 0.7;
}

/* === MOBILE CALL BUTTON === */
.mobile-call-btn {
    display: none;
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 998;
    height: 52px;
    min-width: 140px;
    max-width: 80%;
    padding: 0 28px;
    background: #1d1d1f;
    color: #ffffff;
    border-radius: 980px;
    font-size: 16px;
    font-weight: 600;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.mobile-call-btn svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.mobile-call-btn:hover {
    background: #333336;
    transform: translateX(-50%) translateY(-2px);
    box-shadow: 0 6px 28px rgba(0, 0, 0, 0.4);
}

.mobile-call-btn.hidden {
    opacity: 0;
    pointer-events: none;
    transform: translateX(-50%) translateY(20px);
}

/* ============================================
   RESPONSIVE: TABLET (768 – 1199)
   ============================================ */
@media (max-width: 1199px) {
    .section-title {
        font-size: 36px;
        margin-bottom: 40px;
    }

    .equipment-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }

    .about-block {
        gap: 40px;
    }

    .zb-hero__title {
        font-size: 40px;
    }

    .zb-hero__subtitle {
        font-size: 18px;
    }
}

/* ============================================
   RESPONSIVE: MOBILE (≤767)
   ============================================ */
@media (max-width: 767px) {
    .container {
        padding: 0 16px;
    }

    /* Header Mobile */
    .burger {
        display: flex;
    }

    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: flex-start;
        padding: 80px 24px 24px;
        box-shadow: -4px 0 24px rgba(0, 0, 0, 0.12);
        transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1001;
        gap: 4px;
        overflow-y: auto;
    }

    .nav.active {
        right: 0;
    }

    .nav-link {
        width: 100%;
        padding: 14px 16px;
        font-size: 17px;
        border-radius: 10px;
    }

    .nav-dropdown {
        width: 100%;
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: transparent;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        padding: 0 0 0 16px;
        margin: 0;
        min-width: auto;
    }

    .dropdown-item {
        font-size: 15px;
        padding: 10px 16px;
    }

    /* Hero Mobile */
    .zb-hero {
        padding: 100px 16px 60px;
        min-height: 90vh;
    }

    .zb-hero__logo {
        width: 140px;
        height: 140px;
        margin-bottom: 24px;
    }

    .zb-hero__title {
        font-size: 28px;
        line-height: 1.2;
    }

    .zb-hero__subtitle {
        font-size: 16px;
        margin-bottom: 32px;
    }

    .zb-hero__actions {
        flex-direction: column;
        gap: 12px;
    }

    .zb-hero__actions .btn {
        width: 100%;
    }

    /* Section Title Mobile */
    .section-title {
        font-size: 28px;
        margin-bottom: 32px;
    }

    /* Equipment Mobile */
    .zb-equipment {
        padding: 64px 0;
    }

    .equipment-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .equipment-card {
        min-height: auto;
        padding: 24px 20px;
    }

    /* Projects Mobile */
    .zb-projects {
        padding: 64px 0;
    }

    .projects-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .project-card__body {
        padding: 20px;
    }

    /* Advantages Mobile */
    .zb-advantages {
        padding: 64px 0;
    }

    .advantages-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .advantage-item {
        padding: 24px 20px;
    }

    /* Form Mobile */
    .zb-form {
        padding: 64px 0;
    }

    .form-wrapper {
        padding: 32px 20px;
        border-radius: 16px;
    }

    .form-wrapper__title {
        font-size: 24px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    /* About Mobile */
    .zb-about {
        padding: 64px 0;
    }

    .about-block {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .section-title--left {
        text-align: center;
    }

    /* Footer Mobile */
    .footer {
        padding: 40px 0 24px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
        margin-bottom: 24px;
    }

    .footer-col--brand {
        text-align: center;
    }

    .footer__logo {
        margin: 0 auto 12px;
    }

    .footer-col__title {
        margin-bottom: 12px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 8px;
    }

    /* Mobile Call Button */
    .mobile-call-btn {
        display: flex;
    }
}

/* ============================================
   SUC PAGE SPECIFIC STYLES
   ============================================ */

/* Block: SUC Hero */
.zb-suc-hero {
    position: relative;
    padding: 140px 24px 80px;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    color: #ffffff;
    overflow: hidden;
}

.zb-suc-hero__content {
    max-width: 800px;
}

.zb-suc-hero__title {
    font-size: 44px;
    line-height: 1.15;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

.zb-suc-hero__subtitle {
    font-size: 18px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 32px;
    max-width: 600px;
}

.zb-suc-hero__points {
    list-style: none;
    margin-bottom: 36px;
}

.zb-suc-hero__points li {
    font-size: 16px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    padding: 6px 0 6px 28px;
    position: relative;
}

.zb-suc-hero__points li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #4cd964;
    font-weight: 700;
}

.zb-suc-hero__actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.zb-suc-hero__phone {
    display: block;
    font-size: 18px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    margin-top: 12px;
}

.zb-suc-hero__phone:hover {
    color: #ffffff;
}

/* Inner page hero (shorter) */
.zb-suc-hero.inner-page-hero {
    min-height: 50vh;
    padding: 120px 24px 60px;
}

/* Inner page content section */
.page-content {
    padding: 80px 0 100px;
    background: #ffffff;
}

.page-content--gray {
    background: #f5f5f7;
}

/* Block: How It Works */
.zb-how-works {
    padding: 100px 0;
    background: #ffffff;
}

.how-works-diagram {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.diagram-step {
    text-align: center;
    padding: 24px 20px;
    background: #f5f5f7;
    border-radius: 16px;
    flex: 1;
    min-width: 160px;
    max-width: 220px;
}

.diagram-step__num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: #0071e3;
    color: #ffffff;
    border-radius: 50%;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 12px;
}

.diagram-step__title {
    font-size: 16px;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 6px;
}

.diagram-step__desc {
    font-size: 14px;
    line-height: 1.5;
    color: #6e6e73;
}

.diagram-arrow {
    font-size: 24px;
    color: #86868b;
    flex-shrink: 0;
}

.how-works-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.hw-step {
    padding: 28px 24px;
    background: #f5f5f7;
    border-radius: 16px;
    text-align: center;
}

.hw-step__num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #1d1d1f;
    color: #ffffff;
    border-radius: 50%;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 16px;
}

.hw-step__title {
    font-size: 18px;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 8px;
}

.hw-step__text {
    font-size: 15px;
    line-height: 1.6;
    color: #6e6e73;
}

/* Block: Applications */
.zb-applications {
    padding: 100px 0;
    background: #f5f5f7;
}

.applications-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.app-card {
    padding: 28px 24px;
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.app-card__num {
    font-size: 13px;
    font-weight: 700;
    color: #0071e3;
    margin-bottom: 12px;
    letter-spacing: 0.05em;
}

.app-card__title {
    font-size: 18px;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 8px;
}

.app-card__text {
    font-size: 15px;
    line-height: 1.6;
    color: #6e6e73;
}

/* Block: Models */
.zb-models {
    padding: 100px 0;
    background: #ffffff;
}

.models-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.model-card {
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 16px;
    overflow: hidden;
}

.model-card__header {
    padding: 32px 28px;
    background: #f5f5f7;
}

.model-card__name {
    font-size: 28px;
    font-weight: 700;
    color: #1d1d1f;
    margin-bottom: 8px;
}

.model-card__tagline {
    font-size: 15px;
    color: #6e6e73;
}

.model-card__body {
    padding: 28px;
}

.model-specs-list {
    margin-bottom: 20px;
}

.model-spec-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.model-spec-row:last-child {
    border-bottom: none;
}

.model-spec-row .spec-label {
    font-size: 14px;
    color: #6e6e73;
    font-weight: 500;
}

.model-spec-row .spec-value {
    font-size: 14px;
    color: #1d1d1f;
    font-weight: 600;
}

/* Product single page (for customer) */
.product-single {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
    padding: 48px 0 80px;
    max-width: 1000px;
    margin: 0 auto;
}
@media (max-width: 767px) {
    .product-single { grid-template-columns: 1fr; gap: 32px; padding: 32px 0 60px; }
}
.product-single__img {
    background: #f5f5f7;
    border-radius: 16px;
    padding: 24px;
}
.product-single__title { font-size: 32px; font-weight: 700; margin-bottom: 8px; }
.product-single__tagline { font-size: 16px; color: #6e6e73; margin-bottom: 16px; }
.product-single__desc { font-size: 16px; line-height: 1.7; color: #424245; margin-bottom: 24px; }

/* Product carousel (Faberg-style) */
.product-carousel {
    position: relative;
}
.product-carousel__main {
    position: relative;
    background: #f5f5f7;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 4/3;
    display: flex;
    align-items: center;
    justify-content: center;
}
.product-carousel__track {
    position: relative;
    width: 100%;
    height: 100%;
}
.product-carousel__slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s;
}
.product-carousel__slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
}
.product-carousel__slide img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}
.product-carousel__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background: rgba(255,255,255,0.95);
    box-shadow: 0 2px 12px rgba(0,0,0,0.12);
    color: #1d1d1f;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}
.product-carousel__arrow:hover {
    background: #fff;
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}
.product-carousel__arrow--prev { left: 12px; }
.product-carousel__arrow--next { right: 12px; }
.product-carousel__thumbs {
    display: flex;
    gap: 8px;
    margin-top: 12px;
    overflow-x: auto;
    padding: 4px 0;
    -webkit-overflow-scrolling: touch;
}
.product-carousel__thumb {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    padding: 0;
    border: 2px solid transparent;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    background: #e8e8ed;
    transition: border-color 0.2s, opacity 0.2s;
}
.product-carousel__thumb:hover {
    opacity: 0.9;
}
.product-carousel__thumb.active {
    border-color: #1d1d1f;
}
.product-carousel__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Sales page */
.sales-page { padding: 48px 0 80px; }
.sales-page h1 { font-size: 28px; margin-bottom: 32px; }
.sales-product-card {
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 24px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 24px;
    align-items: start;
}
@media (max-width: 767px) {
    .sales-product-card { grid-template-columns: 1fr; }
}
.sales-product-card__info h3 { font-size: 20px; margin-bottom: 4px; }
.sales-product-card__info .tagline { font-size: 14px; color: #6e6e73; margin-bottom: 12px; }
.sales-product-card__prices { text-align: right; min-width: 180px; }
.sales-product-card__cost { font-size: 14px; color: #86868b; margin-bottom: 4px; }
.sales-product-card__sale { font-size: 18px; font-weight: 700; color: #1d1d1f; }
.sales-product-card__link { font-size: 13px; margin-top: 8px; display: block; }
.sales-warning { background: #fff8e6; border: 1px solid #ffd54f; border-radius: 8px; padding: 16px; margin-bottom: 32px; font-size: 14px; }

/* Accordion */
.accordion {
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    overflow: hidden;
    margin-top: 16px;
}

.accordion__item {
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

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

.accordion__trigger {
    width: 100%;
    padding: 16px 20px;
    background: transparent;
    border: none;
    font-size: 15px;
    font-weight: 600;
    color: #1d1d1f;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: inherit;
    transition: background 0.2s;
}

.accordion__trigger:hover {
    background: rgba(0, 0, 0, 0.03);
}

.accordion__trigger::after {
    content: '+';
    font-size: 20px;
    font-weight: 300;
    color: #86868b;
    transition: transform 0.3s;
}

.accordion__item.open .accordion__trigger::after {
    content: '−';
}

.accordion__content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.accordion__content-inner {
    padding: 0 20px 20px;
    font-size: 15px;
    line-height: 1.6;
    color: #6e6e73;
}

/* Block: Case Study */
.zb-case-study {
    padding: 100px 0;
    background: #f5f5f7;
}

.case-study-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.case-study-photos {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.case-study-photos img {
    width: 100%;
    border-radius: 16px;
    object-fit: cover;
}

.case-study-info {
    padding: 8px 0;
}

.case-study-info h3 {
    font-size: 20px;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 12px;
}

.case-study-info p {
    font-size: 15px;
    line-height: 1.6;
    color: #6e6e73;
    margin-bottom: 20px;
}

.case-study-meta {
    display: grid;
    gap: 16px;
    margin-bottom: 24px;
}

.case-study-meta dt {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #86868b;
    margin-bottom: 4px;
}

.case-study-meta dd {
    font-size: 15px;
    line-height: 1.5;
    color: #1d1d1f;
    margin-bottom: 12px;
}

/* Block: FAQ */
.zb-faq {
    padding: 100px 0;
    background: #ffffff;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

/* Block: Final Form */
.zb-final-form {
    padding: 100px 0;
    background: #f5f5f7;
}

.final-form-wrapper {
    max-width: 640px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 20px;
    padding: 48px 40px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.final-form-wrapper .form-field {
    margin-bottom: 16px;
}

.final-form-wrapper .form-field textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1.5px solid rgba(0, 0, 0, 0.12);
    border-radius: 12px;
    font-size: 16px;
    font-family: inherit;
    color: #1d1d1f;
    background: #ffffff;
    transition: border-color 0.2s, box-shadow 0.2s;
    resize: vertical;
    min-height: 100px;
}

.final-form-wrapper .form-field textarea:focus {
    outline: none;
    border-color: #0071e3;
    box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.12);
}

.final-form-wrapper .form-field textarea::placeholder {
    color: #86868b;
}

/* SUC Page Responsive */
@media (max-width: 1199px) {
    .zb-suc-hero__title {
        font-size: 36px;
    }

    .how-works-steps {
        grid-template-columns: repeat(2, 1fr);
    }

    .applications-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .zb-suc-hero {
        padding: 100px 16px 60px;
    }

    .zb-suc-hero__title {
        font-size: 26px;
    }

    .zb-suc-hero__subtitle {
        font-size: 16px;
    }

    .zb-suc-hero__actions {
        flex-direction: column;
    }

    .zb-suc-hero__actions .btn {
        width: 100%;
    }

    .how-works-diagram {
        flex-direction: column;
    }

    .diagram-step {
        max-width: 100%;
    }

    .diagram-arrow {
        transform: rotate(90deg);
    }

    .how-works-steps {
        grid-template-columns: 1fr;
    }

    .applications-grid {
        grid-template-columns: 1fr;
    }

    .models-grid {
        grid-template-columns: 1fr;
    }

    .case-study-content {
        grid-template-columns: 1fr;
    }

    .final-form-wrapper {
        padding: 32px 20px;
    }

    .zb-how-works,
    .zb-applications,
    .zb-models,
    .zb-case-study,
    .zb-faq,
    .zb-final-form {
        padding: 64px 0;
    }
}

/* ============================================
   STUB PAGES STYLES
   ============================================ */
.zb-stub {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 160px 24px 80px;
    background: #f5f5f7;
}

.zb-stub__title {
    font-size: 36px;
    font-weight: 700;
    color: #1d1d1f;
    margin-bottom: 12px;
}

.zb-stub__text {
    font-size: 16px;
    color: #6e6e73;
    margin-bottom: 24px;
}

/* ============================================
   LEGACY STYLES (for existing pages compatibility)
   ============================================ */

/* Keep catalog/product pages working */
.catalog-page,
.catalog-section,
.product-detail-section {
    padding: 120px 0;
    background-color: #ffffff;
}

.page-title {
    font-size: 44px;
    line-height: 1.15;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 48px;
    text-align: center;
    color: #1d1d1f;
}

.breadcrumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 30px;
    font-size: 14px;
    color: #6e6e73;
}

.breadcrumbs a {
    color: #0071e3;
    text-decoration: none;
    transition: opacity 0.2s;
}

.breadcrumbs a:hover {
    opacity: 0.7;
}

/* Privacy page */
.about {
    padding: 100px 0;
    background: #ffffff;
}

.about-text {
    font-size: 16px;
    line-height: 1.8;
    color: #6e6e73;
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}

.about-text ul {
    list-style: none;
    padding: 0;
}

.about-text li {
    margin: 6px 0;
}



.back-to-top {
    position: fixed;
    right: 20px;
    bottom: 92px;
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background: #111;
    color: #fff;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
    opacity: 0;
    transform: translateY(8px);
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease, background 0.2s ease;
    z-index: 1000;
}

.back-to-top:hover {
    background: #000;
}

.back-to-top.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

@media (max-width: 768px) {
    .back-to-top {
        right: 14px;
        bottom: 84px;
    }
}

/* ============================================
   DEALER CATALOG PAGE STYLES
   ============================================ */

/* Dealer Hero Section */
.dealer-hero {
    min-height: 60vh;
    padding: 140px 24px 80px;
}

.dealer-hero__benefits {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin: 32px 0;
    max-width: 700px;
}

.dealer-hero__benefit {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.1);
    padding: 12px 16px;
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

.dealer-hero__benefit svg {
    color: #4cd964;
    flex-shrink: 0;
}

/* Dealer Catalog Section */
.dealer-catalog-section {
    padding: 80px 0 100px;
}

.dealer-catalog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.dealer-catalog-grid--2 {
    grid-template-columns: repeat(2, 1fr);
}

.dealer-catalog-grid--4 {
    grid-template-columns: repeat(4, 1fr);
}

/* Dealer Category Card */
.dealer-category-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.dealer-category-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
}

.dealer-category-card__header {
    padding: 28px 24px;
    background: #f5f5f7;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.dealer-category-card__title {
    font-size: 20px;
    font-weight: 700;
    color: #1d1d1f;
    margin-bottom: 6px;
}

.dealer-category-card__tagline {
    font-size: 14px;
    color: #6e6e73;
    line-height: 1.5;
}

.dealer-category-card__body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.dealer-models-list {
    list-style: none;
    margin-bottom: auto;
}

.dealer-models-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.dealer-models-item:last-child {
    border-bottom: none;
}

.dealer-models-label {
    font-size: 14px;
    color: #6e6e73;
}

.dealer-models-name {
    font-size: 15px;
    font-weight: 600;
    color: #1d1d1f;
}

.dealer-models-spec {
    font-size: 14px;
    color: #6e6e73;
    background: #f5f5f7;
    padding: 4px 10px;
    border-radius: 6px;
}

/* Dealer Components Grid */
.dealer-components-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.dealer-component-card {
    display: flex;
    flex-direction: column;
    padding: 24px 20px;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 16px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    min-height: 200px;
}

.dealer-component-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
    border-color: transparent;
}

.dealer-component-card__icon {
    margin-bottom: 16px;
}

.dealer-component-card__title {
    font-size: 16px;
    font-weight: 600;
    letter-spacing: -0.01em;
    margin-bottom: 6px;
    color: #1d1d1f;
}

.dealer-component-card__desc {
    font-size: 14px;
    line-height: 1.5;
    color: #6e6e73;
    flex: 1;
}

/* Dealer Kongskilde Block */
.dealer-kongskilde-block {
    background: #ffffff;
    border-radius: 20px;
    padding: 48px;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.dealer-kongskilde-block__content {
    max-width: 700px;
}

.dealer-kongskilde-block__title {
    font-size: 28px;
    font-weight: 700;
    color: #1d1d1f;
    margin-bottom: 16px;
}

.dealer-kongskilde-block__text {
    font-size: 16px;
    line-height: 1.7;
    color: #6e6e73;
    margin-bottom: 24px;
}

.dealer-kongskilde-block__list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 28px;
}

.dealer-kongskilde-block__list li {
    font-size: 15px;
    color: #1d1d1f;
    padding: 6px 0 6px 28px;
    position: relative;
}

.dealer-kongskilde-block__list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #4cd964;
    font-weight: 700;
}

/* Dealer Conditions Grid */
.dealer-conditions-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.dealer-condition-card {
    padding: 32px 24px;
    background: #f5f5f7;
    border-radius: 16px;
    transition: transform 0.3s ease;
}

.dealer-condition-card:hover {
    transform: translateY(-2px);
}

.dealer-condition-card__num {
    font-size: 14px;
    font-weight: 700;
    color: #0071e3;
    margin-bottom: 12px;
    letter-spacing: 0.05em;
}

.dealer-condition-card__title {
    font-size: 18px;
    font-weight: 600;
    letter-spacing: -0.01em;
    margin-bottom: 10px;
    color: #1d1d1f;
}

.dealer-condition-card__text {
    font-size: 15px;
    line-height: 1.6;
    color: #6e6e73;
}

/* Dealer Catalog Responsive */
@media (max-width: 1199px) {
    .dealer-catalog-grid,
    .dealer-catalog-grid--4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .dealer-components-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .dealer-conditions-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .dealer-hero__benefits {
        grid-template-columns: 1fr;
    }

    .dealer-kongskilde-block {
        padding: 32px 24px;
    }
}

@media (max-width: 767px) {
    .dealer-catalog-section {
        padding: 64px 0;
    }

    .dealer-catalog-grid,
    .dealer-catalog-grid--2,
    .dealer-catalog-grid--4 {
        grid-template-columns: 1fr;
    }

    .dealer-components-grid {
        grid-template-columns: 1fr;
    }

    .dealer-conditions-grid {
        grid-template-columns: 1fr;
    }

    .dealer-kongskilde-block__list {
        grid-template-columns: 1fr;
    }

    .dealer-hero {
        min-height: auto;
        padding: 120px 16px 60px;
    }

    .dealer-hero__benefits {
        margin: 24px 0;
    }

    .dealer-kongskilde-block {
        padding: 24px 20px;
        border-radius: 16px;
    }

    .dealer-kongskilde-block__title {
        font-size: 22px;
    }
}
