
/* =========================================================
   BLOKART — MAIN STYLESHEET
   Hybrid Premium
========================================================= */

/* 1. VARIABLES
--------------------------------------------------------- */

:root {
    --navy: #0a1a2b;
    --navy-light: #142b43;
    --navy-soft: #1d3853;

    --orange: #ff6b1a;
    --orange-hover: #e85a0b;

    --white: #ffffff;
    --light: #f4f6f8;
    --light-gray: #e8edf1;
    --gray: #8793a0;
    --text: #263545;

    --container: 1240px;
    --radius: 8px;
    --radius-large: 20px;

    --transition: 0.3s ease;
}


/* 2. RESET
--------------------------------------------------------- */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

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

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

button,
input {
    font: inherit;
}

.container {
    width: min(var(--container), calc(100% - 48px));
    margin: 0 auto;
}


/* 3. TYPOGRAPHY
--------------------------------------------------------- */

h1,
h2,
h3,
h4 {
    line-height: 1.15;
    font-weight: 700;
    letter-spacing: -0.035em;
}

h1 {
    font-size: clamp(38px, 5.5vw, 72px);
}

h2 {
    font-size: clamp(30px, 4vw, 48px);
}

h3 {
    font-size: 21px;
}

p {
    font-size: 16px;
}

.eyebrow {
    display: inline-block;
    color: var(--orange);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 28px;
}

.section-heading {
    max-width: 800px;
    margin: 0 auto 55px;
    text-align: center;
}

.section-heading h2 {
    color: var(--navy);
    margin-bottom: 20px;
}

.section-heading p {
    max-width: 720px;
    margin: 0 auto;
    color: #647282;
    font-size: 17px;
}


/* 4. BUTTONS
--------------------------------------------------------- */

.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 54px;
    padding: 14px 28px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
}

.btn-primary {
    background: var(--orange);
    color: var(--white);
    border: 1px solid var(--orange);
}

.btn-primary:hover {
    background: var(--orange-hover);
    border-color: var(--orange-hover);
    transform: translateY(-2px);
}

.btn-outline-light {
    color: var(--white);
    border: 1px solid rgba(255,255,255,.7);
    background: transparent;
}

.btn-outline-light:hover {
    background: var(--white);
    color: var(--navy);
}

.btn-outline {
    color: var(--navy);
    border: 1px solid var(--navy);
    background: transparent;
}

.btn-outline:hover {
    color: var(--white);
    background: var(--navy);
}


/* 5. SECTIONS
--------------------------------------------------------- */

.section {
    position: relative;
    padding: 80px 0;
    overflow: hidden;
}

.section-light {
    background: var(--light);
}

.section-dark {
    background: var(--navy);
    color: var(--white);
}

.section-dark .section-heading h2,
.section-navy .section-heading h2 {
    color: var(--white);
}

.section-dark .section-heading p,
.section-navy .section-heading p {
    color: #c1ccd7;
}

.section-navy {
    background: var(--navy);
    color: var(--white);
}


/* 6. HERO
--------------------------------------------------------- */

.hero {
   /* position: relative;
    min-height: 632px;
    height: min(900px, 100svh);
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--navy);
    color: var(--white);*/
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    overflow: hidden;
    background: var(--navy);
    color: var(--white)
}

.hero-media,
.hero-overlay {
    position: absolute;
    inset: 0;
}

.hero-media {
    /*overflow: hidden;*/
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.hero-poster {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(120deg, #10243a, #344b60);
    background-size: cover;
    background-position: center;
}

.hero-media iframe {
   /* position: absolute;
    top: 40%;
    left: 50%;
    width: 100vw;
    height: 56.25vw;
    min-width: 177.78vh;
    min-height: 100vh;
    transform: translate(-50%, -50%);
    border: 0;
    pointer-events: none;*/

    position: absolute;
    top: 50%;
    left: 50%;
    width: 177.78vh;
    height: 56.25vw;
    min-width: 100%;
    min-height: 100%;
    transform: translate(-50%, -50%);
    border: 0;
    pointer-events: none;
}

.hero-overlay {
    background:
        linear-gradient(
            90deg,
            rgba(5, 17, 30, .88) 0%,
            rgba(5, 17, 30, .58) 48%,
            rgba(5, 17, 30, .12) 100%
        );
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding-top: 60px;
    padding-bottom: 70px;
}

.hero-copy {
    max-width: 760px;
}

.hero h1 {
    max-width: 740px;
    margin-bottom: 25px;
}

.hero-subtitle {
    font-size: clamp(18px, 2vw, 23px);
    color: rgba(255,255,255,.9);
    margin-bottom: 14px;
}

.hero-economy {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 25px;
}

.hero-economy span {
    color: var(--orange);
    padding: 0 7px;
}

.official-label {
    display: inline-block;
    border-left: 3px solid var(--orange);
    padding: 5px 0 5px 14px;
    margin-bottom: 32px;
    color: rgba(255,255,255,.85);
    font-size: 14px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.hero-scroll {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    color: rgba(255,255,255,.65);
    font-size: 11px;
    letter-spacing: .15em;
    text-transform: uppercase;
}


/* 7. BUSINESS CATEGORIES
--------------------------------------------------------- */

.business-list {
    border-top: 1px solid var(--light-gray);
}

.business-row {
    display: grid;
    grid-template-columns: 65px 1.1fr 1.5fr;
    align-items: center;
    gap: 10px;
    padding: 20px 12px;
    border-bottom: 1px solid var(--light-gray);
    transition: var(--transition);
}

.business-row:hover {
    background: var(--white);
    padding-left: 22px;
}

.business-number {
    color: var(--orange);
    font-size: 20px;
    font-weight: 700;
}

.business-row h3 {
    color: var(--navy);
}

.business-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.business-tags span {
    display: inline-block;
    padding: 7px 12px;
    border-radius: 4px;
    background: var(--white);
    color: #5b6876;
    font-size: 12px;
}


/* 8. ECONOMICS
--------------------------------------------------------- */

.economy-section {
    background: var(--navy);
    color: var(--white);
}

.economy-section .section-heading h2 {
    color: var(--white);
}

.economy-section .section-heading p {
    color: #c4cfda;
}

.economy-section .section-heading strong {
    color: var(--white);
}

.economy-stats {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
}

.economy-stat {
    min-height: 150px;
    padding: 28px 18px;
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: var(--radius);
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.economy-stat strong {
    display: block;
    color: var(--white);
    font-size: clamp(21px, 2.4vw, 30px);
    margin-bottom: 10px;
}

.economy-stat span {
    color: #b8c5d2;
    font-size: 13px;
}

.economy-stat-accent {
    background: var(--orange);
    border-color: var(--orange);
}

.economy-stat-accent strong,
.economy-stat-accent span {
    color: var(--white);
}

.section-action {
    margin-top: 38px;
    text-align: center;
}


/* 9. FEATURES
--------------------------------------------------------- */

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.feature-card {
    position: relative;
    min-height: 245px;
    padding: 30px 25px;
    border: 1px solid var(--light-gray);
    border-radius: var(--radius);
    background: var(--white);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(10,26,43,.08);
    border-color: transparent;
}

.feature-number {
    display: block;
    color: var(--orange);
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 25px;
}

.feature-card h3 {
    color: var(--navy);
    margin-bottom: 14px;
}

.feature-card p {
    color: #697684;
    font-size: 14px;
    line-height: 1.7;
}


/* 10. WINTER VIDEO SECTION
--------------------------------------------------------- */

.winter-section {

    
    background: var(--navy);
    color: var(--white);
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    overflow: hidden;

 /*   position: relative;
    overflow: hidden;
    padding: 90px 0;
    background: var(--navy);
    color: var(--white); */
}

.winter-media,
.winter-overlay {
    position: absolute;
    inset: 0;
}

.winter-media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.winter-poster {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(120deg, #152e45, #526a7c);
    background-size: cover;
    background-position: center;
}

.winter-media iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 177.78vh;
    height: 56.25vw;
    min-width: 100%;
    min-height: 100%;
    transform: translate(-50%, -50%);
    border: 0;
    pointer-events: none;
}

.winter-overlay {
    background: linear-gradient(
        90deg,
        rgba(5, 17, 30, .9),
        rgba(5, 17, 30, .66)
    );
}

.winter-content {
    position: relative;
    z-index: 2;
}

.winter-content h2 {
    max-width: 750px;
    margin-bottom: 25px;
    color: var(--white);
}

.winter-description {
    max-width: 760px;
    color: #d3dde6;
    font-size: 18px;
    margin-bottom: 45px;
}

.winter-benefits {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-bottom: 55px;
}

.winter-benefits article {
    padding: 24px;
    border: 1px solid rgba(255,255,255,.2);
    border-radius: var(--radius);
    background: rgba(8,24,40,.48);
}

.winter-benefits h3 {
    color: var(--white);
    margin-bottom: 12px;
}

.winter-benefits p {
    color: #c1ccd7;
    font-size: 14px;
}

.winter-compare {
    max-width: 850px;
    padding: 35px;
    border-left: 4px solid var(--orange);
    background: rgba(8,24,40,.75);
}

.winter-compare h3 {
    font-size: 25px;
    margin-bottom: 25px;
}

.winter-compare ul {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px 30px;
    list-style: none;
}

.winter-compare li {
    position: relative;
    padding-left: 24px;
    color: #dce5ed;
    font-size: 14px;
}

.winter-compare li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--orange);
    font-weight: 700;
}


/* 11. REQUIREMENTS
--------------------------------------------------------- */

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

.requirement-card {
    padding: 35px;
    border: 1px solid rgba(255,255,255,.13);
    border-radius: var(--radius);
    background: rgba(255,255,255,.045);
}

.requirement-value {
    display: block;
    color: var(--orange);
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 18px;
}

.requirement-card h3 {
    margin-bottom: 20px;
    color: var(--white);
}

.requirement-card ul {
    padding-left: 18px;
    color: #c5d0dc;
}

.requirement-card li {
    margin-bottom: 10px;
    font-size: 14px;
}


/* 12. CONSTRUCTION
--------------------------------------------------------- */

.construction-layout {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    align-items: center;
   /* gap: 55px;
    margin-bottom: 55px; */
}

.construction-image {
    min-height: 492px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 25px;
  /*  background: var(--light);*/
    border-radius: var(--radius-large);
}

.construction-image img {
    max-height: 634px;
    object-fit: contain;
    position: absolute;
    z-index: -1
}

.specifications {
    border-top: 1px solid var(--light-gray);
}

.specifications div {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    padding: 17px 0;
    border-bottom: 1px solid var(--light-gray);
}

.specifications span {
    color: #788491;
    font-size: 14px;
}

.specifications strong {
    color: var(--navy);
    text-align: right;
    font-size: 14px;
}

.construction-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.construction-card {
    padding: 25px;
    border-radius: var(--radius);
    background: #f4f6f8c2;
}

.construction-card h3 {
    color: var(--navy);
    margin-bottom: 14px;
}

.construction-card p {
    color: #687584;
    font-size: 14px;
}


/* 13. SAFETY
--------------------------------------------------------- */

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

.safety-card {
    padding: 30px;
    background: var(--white);
    border: 1px solid var(--light-gray);
    border-radius: var(--radius);
}

.safety-card h3 {
    color: var(--navy);
    margin-bottom: 18px;
}

.safety-card ul {
    padding-left: 18px;
    color: #667381;
}

.safety-card li {
    margin-bottom: 9px;
    font-size: 14px;
}

.safety-note {
    margin-top: 35px;
    padding: 35px;
    background: var(--navy);
    color: var(--white);
    border-radius: var(--radius);
    text-align: center;
}

.safety-note h3 {
    margin-bottom: 12px;
}

.safety-note p {
    color: #c4cfda;
}


/* 14. COMPARISON
--------------------------------------------------------- */

.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.comparison-card {
    padding: 38px;
    border-radius: var(--radius-large);
}

.comparison-card h3 {
    margin-bottom: 25px;
    font-size: 25px;
}

.comparison-card ul {
    list-style: none;
}

.comparison-card li {
    position: relative;
    padding: 12px 0 12px 30px;
    border-bottom: 1px solid rgba(0,0,0,.08);
    font-size: 14px;
}

.comparison-negative {
    background: var(--light);
}

.comparison-negative h3 {
    color: #5c6874;
}

.comparison-negative li::before {
    content: "−";
    position: absolute;
    left: 0;
    font-size: 21px;
    color: #a4adb6;
}

.comparison-positive {
    background: var(--navy);
    color: var(--white);
}

.comparison-positive h3 {
    color: var(--white);
}

.comparison-positive li {
    border-color: rgba(255,255,255,.13);
    color: #d1dce5;
}

.comparison-positive li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--orange);
    font-weight: 700;
}


/* 15. LAUNCH
--------------------------------------------------------- */

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

.launch-grid article {
    min-height: 140px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: var(--white);
    border: 1px solid var(--light-gray);
    border-radius: var(--radius);
}

.launch-grid strong {
    color: var(--navy);
    font-size: 17px;
    margin-bottom: 9px;
}

.launch-grid span {
    color: #74808d;
    font-size: 14px;
}


/* 16. TRUST
--------------------------------------------------------- */

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

.trust-grid article {
    padding: 30px;
    border: 1px solid rgba(255,255,255,.13);
    border-radius: var(--radius);
    background: rgba(255,255,255,.04);
}

.trust-grid h3 {
    color: var(--white);
    margin-bottom: 15px;
}

.trust-grid p {
    color: #bfccd8;
    font-size: 14px;
}

.trust-highlight {
    margin-top: 35px;
    padding: 35px;
    background: var(--orange);
    border-radius: var(--radius);
    color: var(--white);
    text-align: center;
}

.trust-highlight h3 {
    font-size: 26px;
    margin-bottom: 12px;
}

.trust-highlight p {
    color: rgba(255,255,255,.9);
}


/* 17. GALLERY
--------------------------------------------------------- 

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.gallery-grid figure {
    position: relative;
    min-height: 260px;
    overflow: hidden;
    border-radius: var(--radius);
    background: var(--navy);
}

.gallery-grid img {
    width: 100%;
    height: 100%;
    min-height: 260px;
    object-fit: cover;
    transition: transform .6s ease;
}

.gallery-grid figure:hover img {
    transform: scale(1.06);
}

.gallery-grid figcaption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 35px 20px 18px;
    color: var(--white);
    font-weight: 700;
    background: linear-gradient(transparent, rgba(0,0,0,.7));
}
*/

/* 18. HISTORY
--------------------------------------------------------- */

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

.timeline article {
    position: relative;
    padding: 25px;
    border-left: 3px solid var(--orange);
    background: var(--light);
}

.timeline strong {
    display: block;
    color: var(--orange);
    font-size: 25px;
    margin-bottom: 12px;
}

.timeline p {
    color: #657280;
    font-size: 14px;
}


/* 19. CALCULATOR
--------------------------------------------------------- */

.calculator {
    max-width: 950px;
    margin: 0 auto;
    padding: 40px;
    background: var(--white);
    border-radius: var(--radius-large);
    box-shadow: 0 15px 50px rgba(10,26,43,.07);
}

.calculator-inputs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
}

.calculator-inputs label {
    display: flex;
    flex-direction: column;
    gap: 9px;
    color: var(--navy);
    font-size: 14px;
    font-weight: 700;
}

.calculator-inputs input {
    width: 100%;
    min-height: 52px;
    padding: 12px 15px;
    border: 1px solid #dce2e8;
    border-radius: 6px;
    background: var(--light);
    color: var(--navy);
    outline: none;
}

.calculator-inputs input:focus {
    border-color: var(--orange);
}

.calculator-results {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 35px;
}

.calculator-results div {
    padding: 23px 15px;
    background: var(--navy);
    color: var(--white);
    border-radius: 8px;
    text-align: center;
}

.calculator-results span {
    display: block;
    color: #b9c7d4;
    font-size: 12px;
    margin-bottom: 10px;
}

.calculator-results strong {
    font-size: clamp(18px, 2vw, 24px);
}

.calculator-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-top: 30px;
}

.calculator-note {
    margin-top: 28px;
    font-size: 12px;
    text-align: center;
    line-height: 1.5;
    color: #647282;
}

/* 20. FINAL CTA
--------------------------------------------------------- */

.final-cta {
    position: relative;
    min-height: 550px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--navy);
    color: var(--white);
}

.final-cta-image {
    position: absolute;
    inset: 0 0 0 40%;
    background:
        linear-gradient(90deg, var(--navy), transparent),
        linear-gradient(135deg, #1d3b56, #647b8d);
    background-position: center;
    background-size: cover;
}

.final-cta-content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 100px 0;
}

.final-cta-copy {
    max-width: 650px;
}

.final-cta h2 {
    margin-bottom: 22px;
}

.final-cta-copy > p {
    color: #c5d0dc;
    font-size: 17px;
    margin-bottom: 30px;
}

.final-cta-points {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 35px;
}

.final-cta-points span {
    color: #d2dce5;
    font-size: 12px;
}


/* 21. RESPONSIVE — TABLETS
--------------------------------------------------------- */

@media (max-width: 1024px) {

    .section {
        padding: 85px 0;
    }

    .economy-stats {
        grid-template-columns: repeat(3, 1fr);
    }

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

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

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

    .business-row {
        grid-template-columns: 45px 1fr;
    }

    .business-tags {
        grid-column: 2;
    }

    .hero {
        min-height: 680px;
    }
}


/* 22. RESPONSIVE — MOBILE
--------------------------------------------------------- */

@media (max-width: 640px) {

    .container {
        width: calc(100% - 36px);
    }

    .section {
        padding: 65px 0;
    }

    .section-heading {
        margin-bottom: 35px;
        text-align: left;
    }

    .section-heading p {
        font-size: 15px;
        margin-left: 0;
    }

    .eyebrow {
        margin-bottom: 12px;
    }

    .hero {
        min-height: 720px;
        height: 100svh;
        max-height: 850px;
    }

    .hero-content {
        padding-top: 100px;
        padding-bottom: 70px;
    }

    .hero h1 {
        font-size: clamp(37px, 10vw, 52px);
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .hero-scroll {
        display: none;
    }

    .business-row {
        grid-template-columns: 35px 1fr;
        gap: 10px;
        padding: 22px 5px;
    }

    .business-row h3 {
        font-size: 17px;
    }

    .business-tags {
        gap: 6px;
    }

    .business-tags span {
        font-size: 11px;
        padding: 6px 9px;
    }

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

    .economy-stat {
        min-height: 125px;
        padding: 20px 10px;
    }

    .economy-stat strong {
        font-size: 22px;
    }

    .features-grid,
    .requirements-grid,
    .safety-grid,
    .comparison-grid,
    .trust-grid,
    .launch-grid {
        grid-template-columns: 1fr;
    }

    .feature-card {
        min-height: auto;
    }

    .winter-section {
        padding: 75px 0;
    }

    .winter-content h2 {
        font-size: 34px;
    }

    .winter-description {
        font-size: 15px;
    }

    .winter-benefits {
        grid-template-columns: 1fr;
    }

    .winter-compare {
        padding: 25px 20px;
    }

    .winter-compare h3 {
        font-size: 21px;
    }

    .winter-compare ul {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .requirement-card {
        padding: 25px;
    }

    .construction-layout {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .construction-image {
        min-height: 240px;
    }

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

    .comparison-card {
        padding: 27px 22px;
    }

    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        gap: 9px;
    }

    .gallery-grid figure,
    .gallery-grid img {
        min-height: 170px;
    }

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

    .calculator {
        padding: 23px 18px;
    }

    .calculator-inputs {
        grid-template-columns: 1fr;
    }

    .calculator-results {
        grid-template-columns: 1fr;
    }

    .calculator-results div {
        padding: 20px;
    }

    .calculator-actions {
        flex-direction: column;
    }

    .calculator-actions .btn {
        width: 100%;
    }

    .final-cta {
        min-height: 570px;
    }

    .final-cta-image {
        inset: 0;
        opacity: .25;
    }

    .final-cta-content {
        padding: 75px 0;
    }

    .final-cta-points {
        flex-direction: column;
        gap: 9px;
    }
}


/* 23. REDUCED MOTION
--------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
    }
}

/* Catalog page styles moved from original catalog.css */
/* ============================================================
   Стили страницы «Каталог» — подключаются только в catalog.php
   через переменную $extraCss в header.php
   ============================================================ */

.catalog-full {
  font-family: 'Inter', sans-serif;
  color: #1E1E1E;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  max-width: 100%;
  overflow-x: hidden;
}
.catalog-full h1,
.catalog-full h2,
.catalog-full h3,
.catalog-full h4 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.catalog-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ---------- Шапка каталога ---------- */
.cat-header {
  background: #0A1A2B;
  color: #FFFFFF;
  padding: 64px 0;
}
.cat-header h1 {
  font-size: 42px;
  font-weight: 800;
  margin: 0 0 12px 0;
}
.cat-header p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
}

.back-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #FFFFFF;
  color: #0A1A2B;
  padding: 12px 24px;
  border-radius: 60px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 20px;
  transition: background 0.3s ease, transform 0.3s ease;
}
.back-btn:hover {
  background: #F4F6F9;
  transform: translateX(-4px);
}

/* ---------- Заголовки секций ---------- */
.catalog-full .section-title {
  font-size: 32px;
  font-weight: 700;
  color: #FF6600;
  text-align: center;
  margin: 0 0 30px;
  padding-top: 30px;
}

/* ---------- Сетки ---------- */
.catalog-grid-1 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  padding: 10px 0 40px;
  max-width: 900px;
  margin: 0 auto;
}
.catalog-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 10px 0 40px;
}
.catalog-grid-4.accessories .product-card {
  max-width: 300px;
  justify-self: center;
}

/* ---------- Карточка товара ---------- */
.product-card {
  background: #FFFFFF;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 40px -15px rgba(0, 0, 0, 0.3);
}

.img-wrapper {
  width: 100%;
  height: 229px;
  overflow: hidden;
  background: #FFFFFF;
  position: relative;
  box-sizing: border-box;
}
.img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

/* ---------- Подмена картинки при hover ---------- */
.has-swap .img-wrapper img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.has-swap .img-primary {
  z-index: 1;
  transition: opacity 0.4s ease;
}
.has-swap .img-secondary {
  z-index: 0;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.has-swap:hover .img-primary { opacity: 0; }
.has-swap:hover .img-secondary { opacity: 1; }

/* ---------- Информация о товаре ---------- */
.product-info { padding: 24px 22px; }
.product-info h3 {
  font-size: 18px;
  margin: 0 0 8px 0;
  color: #0A1A2B;
}
.product-info .price {
  font-size: 14px;
  font-weight: 700;
  color: #FF6600;
  margin: 0 0 16px 0;
}
.product-info p {
  font-size: 14px;
  color: #4A5A6A;
  margin: 0;
  line-height: 1.5;
}

/* ---------- CTA внизу ---------- */
.catalog-cta {
  text-align: center;
  padding: 60px 0;
  background: #F4F6F9;
}
.catalog-cta h2 {
  font-size: 32px;
  margin: 0 0 16px 0;
  color: #0A1A2B;
}
.catalog-cta p {
  font-size: 18px;
  color: #4A5A6A;
  margin: 0 0 32px 0;
}
.cta-btn {
  display: inline-block;
  padding: 16px 40px;
  background: #FF6600;
  color: #FFFFFF;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  border-radius: 60px;
  transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}
.cta-btn:hover {
  background: #FF8C33;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(255, 102, 0, 0.2);
}

/* ---------- Примечание под ценами ---------- */
.price-note {
  text-align: center;
  font-size: 13px;
  color: #7A8694;
  margin-top: 10px;
  padding-bottom: 40px;
}

/* ---------- Адаптив ---------- */
@media (max-width: 1000px) {
  .catalog-grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .catalog-grid-4 { grid-template-columns: 1fr; }
  .catalog-grid-1 { max-width: 100%; }
  .cat-header { padding: 40px 0; }
  .cat-header h1 { font-size: 32px; }
  .catalog-full .section-title { font-size: 28px; }
  .catalog-grid-4.accessories .product-card { max-width: 100%; }
  .catalog-container { padding: 0 20px; }
}

/* =========================================================
   24. SITE HEADER — isolated from page sections
========================================================= */

.site-header {
    position: relative;
    z-index: 100;
    width: 100%;
    background: var(--navy);
    color: var(--white);
}

.page-home .site-header {
    position: absolute;
    top: 0;
    left: 0;
    background: transparent;
}

.header-container {
    position: relative;
    width: min(var(--container), calc(100% - 48px));
    min-height: 74px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.header-logo {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
}

.header-logo img {
    display: block;
    width: 124px;
    max-height: 44px;
    object-fit: contain;
}

.header-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(16px, 2vw, 28px);
    padding: 8px;
    background: #ffffff33;
    border-radius: 6px;
}

.header-nav a,
.header-phone {
    color: var(--white);
    font-size: 13px;
    line-height: 1.3;
    font-weight: 700;
    white-space: nowrap;
    transition: color var(--transition);
}

.header-nav a:hover,
.header-phone:hover {
    color: var(--orange);
}

.header-phone {
    flex: 0 0 auto;
    font-size: 14px;
}

.header-burger {
    display: none;
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    padding: 9px;
    border: 1px solid rgba(255,255,255,.3);
    border-radius: 8px;
    background: transparent;
    cursor: pointer;
}

.header-burger span {
    display: block;
    width: 100%;
    height: 2px;
    margin: 5px 0;
    border-radius: 2px;
    background: var(--white);
}

/* =========================================================
   25. SITE FOOTER — compact, without a logo
========================================================= */

.site-footer {
    padding: 24px 0;
    background: var(--navy);
    color: rgba(255,255,255,.82);
}

.footer-container {
    width: min(var(--container), calc(100% - 48px));
    margin: 0 auto;
    text-align: center;
}

.footer-copy {
    margin: 0 0 6px;
    font-size: 13px;
    line-height: 1.5;
}

.footer-note {
    max-width: 900px;
    margin: 0 auto;
    color: rgba(255,255,255,.58);
    font-size: 11px;
    line-height: 1.5;
}

/* =========================================================
   26. OPERATORS MAP MODAL
========================================================= */

.map-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(3,12,22,.78);
    backdrop-filter: blur(5px);
}

.map-modal-overlay.active {
    display: flex;
}

.map-modal-container {
    position: relative;
    width: min(100%, 1000px);
    max-height: min(90vh, 760px);
    padding: 28px;
    overflow: auto;
    border-radius: var(--radius-large);
    background: var(--white);
    box-shadow: 0 24px 80px rgba(0,0,0,.3);
}

.map-modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 2;
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 50%;
    background: var(--light);
    color: var(--navy);
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
}

.map-modal-title {
    padding-right: 48px;
    margin: 0 0 20px;
    color: var(--navy);
    font-size: 24px;
}

.map-iframe-wrapper {
    width: 100%;
    min-height: 420px;
    overflow: hidden;
    border-radius: var(--radius);
    background: var(--light);
}

.map-iframe-wrapper iframe {
    display: block;
    width: 100%;
    height: 520px;
    border: 0;
}

body.modal-open {
    overflow: hidden;
}

/* Header/footer responsive rules are scoped to their own components. */
@media (max-width: 900px) {
    .header-container {
        min-height: 70px;
        gap: 16px;
    }

    .header-burger {
        display: block;
        margin-left: auto;
    }

    .header-phone {
        display: none;
    }

    .header-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        display: none;
        align-items: stretch;
        flex-direction: column;
        gap: 0;
        padding: 8px 18px 14px;
        background: var(--navy);
        border-top: 1px solid rgba(255,255,255,.1);
        box-shadow: 0 14px 24px rgba(0,0,0,.18);
    }

    .header-nav.is-open {
        display: flex;
    }

    .header-nav a {
        display: block;
        padding: 12px 0;
        font-size: 14px;
    }
}

@media (max-width: 640px) {
    .header-container,
    .footer-container {
        width: calc(100% - 36px);
    }

    .header-logo img {
        width: 116px;
        max-height: 42px;
    }

    .site-footer {
        padding: 20px 0;
    }

    .footer-copy {
        font-size: 12px;
    }

    .footer-note {
        font-size: 10px;
    }

    .map-modal-overlay {
        padding: 12px;
    }

    .map-modal-container {
        padding: 22px 16px 16px;
    }

    .map-modal-title {
        font-size: 20px;
    }

    .map-iframe-wrapper {
        min-height: 360px;
    }

    .map-iframe-wrapper iframe {
        height: 420px;
    }
}

/* Homepage header overlays the first screen without creating a gap. */
@media (min-width: 901px) {
.site-header {
        background: linear-gradient(180deg, rgba(5, 17, 30, .42), rgba(5, 17, 30, 0));
    }
}

/* Keep anchor targets visible below the overlaid header. */
html {
    scroll-padding-top: 84px;
}

/* =========================================================
   17. MEDIA GALLERY — КАРУСЕЛЬ ФОТО И ВИДЕО
========================================================= */

.media-gallery {
    --gallery-gap: 22px;
    position: relative;
    width: 100%;
    margin-top: 34px;
}

.media-gallery-viewport {
    width: 100%;
    overflow: hidden;
    padding: 18px 0 24px;
    touch-action: pan-y;
}

.media-gallery-track {
    display: flex;
    align-items: center;
    gap: var(--gallery-gap);
    width: max-content;
    transition: transform .55s cubic-bezier(.22,.7,.25,1);
    will-change: transform;
}

.media-gallery-slide {
    position: relative;
    flex: 0 0 min(68vw, 820px);
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border-radius: 18px;
    background: #10263a;
    opacity: .42;
    transform: scale(.91);
    transition:
        opacity .45s ease,
        transform .45s ease,
        box-shadow .45s ease;
    box-shadow: 0 12px 35px rgba(8, 24, 39, .12);
}

.media-gallery-slide.is-active {
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 22px 55px rgba(8, 24, 39, .2);
}

.media-gallery-image-button,
.media-gallery-video-wrap {
    display: block;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    background: #10263a;
}

.media-gallery-image-button {
    cursor: zoom-in;
}

.media-gallery-image-button img,
.media-gallery-video-wrap video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.media-gallery-video-wrap video {
    object-fit: contain;
    background: #071421;
}

.media-gallery-type {
    position: absolute;
    z-index: 3;
    top: 16px;
    left: 16px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 11px;
    border: 1px solid rgba(255,255,255,.25);
    border-radius: 30px;
    color: #fff;
    background: rgba(8, 24, 39, .58);
    backdrop-filter: blur(8px);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    pointer-events: none;
}

.media-gallery-zoom {
    position: absolute;
    right: 18px;
    bottom: 18px;
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    background: rgba(8, 24, 39, .62);
    font-size: 24px;
    line-height: 1;
}

.media-gallery-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 22px;
    margin-top: 4px;
}

.media-gallery-arrow {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(16, 38, 58, .2);
    border-radius: 50%;
    color: var(--navy);
    background: transparent;
    font-size: 22px;
    cursor: pointer;
    transition: color .2s ease, background .2s ease, border-color .2s ease;
}

.media-gallery-arrow:hover {
    color: #fff;
    background: var(--navy);
    border-color: var(--navy);
}

.media-gallery-counter {
    min-width: 62px;
    color: rgba(16, 38, 58, .55);
    font-size: 13px;
    letter-spacing: .08em;
    text-align: center;
}

.media-gallery-counter strong {
    color: var(--navy);
    font-weight: 800;
}

.media-lightbox {
    position: fixed;
    z-index: 9999;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 35px;
    background: rgba(3, 12, 21, .94);
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s ease, visibility .25s ease;
}

.media-lightbox.is-open {
    opacity: 1;
    visibility: visible;
}

.media-lightbox img {
    display: block;
    max-width: min(94vw, 1500px);
    max-height: 88vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
}

.media-lightbox-close {
    position: absolute;
    top: 18px;
    right: 24px;
    width: 46px;
    height: 46px;
    border: 1px solid rgba(255,255,255,.35);
    border-radius: 50%;
    color: #fff;
    background: transparent;
    font-size: 30px;
    cursor: pointer;
}

/* МОБИЛЬНАЯ ВЕРСИЯ */

@media (max-width: 640px) {
    .media-gallery {
        --gallery-gap: 14px;
    }

    .media-gallery-viewport {
        padding: 12px 0 18px;
    }

    .media-gallery-slide {
        flex-basis: 82vw;
        border-radius: 13px;
    }

    .media-gallery-type {
        top: 10px;
        left: 10px;
        padding: 6px 9px;
        font-size: 10px;
    }

    .media-gallery-controls {
        gap: 17px;
    }

    .media-gallery-arrow {
        width: 40px;
        height: 40px;
    }

    .media-lightbox {
        padding: 15px;
    }

    .media-lightbox-close {
        top: 10px;
        right: 10px;
    }
}

/* УЧЁТ НАСТРОЙКИ УМЕНЬШЕНИЯ АНИМАЦИИ */

@media (prefers-reduced-motion: reduce) {
    .media-gallery-track,
    .media-gallery-slide,
    .media-lightbox {
        transition: none;
    }
}