:root {
    --navy: #02021b;
    --orange: #e0672f;
    --header-height: 90px;
}

@property --stats-card-scale {
    syntax: "<number>";
    inherits: false;
    initial-value: 1;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: Inter, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    min-width: 320px;
    padding-top: var(--header-height);
    overflow-x: hidden;
    color: #fff;
    background: var(--navy);
    font-size: 16px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

header {
    position: fixed;
    top: 0;
    left: 50%;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 80%;
    height: var(--header-height);
    padding: 0 30px;
    background: #fff;
    border-radius: 0 0 20px 20px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .25);
    transform: translateX(-50%);
}

header>img {
    display: block;
    flex: 0 1 auto;
    max-width: 180px;
    height: auto;
}

nav {
    margin-left: auto;
}

nav ul {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    list-style: none;
}

nav a {
    display: block;
    padding: 8px 14px;
    color: var(--navy);
    text-decoration: none;
    border-radius: 6px;
    transition: color .2s, background-color .2s;
}

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

.header-cta {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    margin-left: 34px;
    padding: 0 18px;
    color: #fff;
    background: var(--orange);
    border-radius: 6px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    transition: transform .2s ease, background-color .2s ease;
}

.header-cta::before {
    position: absolute;
    top: 50%;
    left: -18px;
    width: 1px;
    height: 28px;
    background: rgba(2, 2, 27, .22);
    content: "";
    transform: translateY(-50%);
}

.header-cta:hover {
    background: #c95524;
    transform: translateY(-1px);
}

.menu-toggle {
    display: none;
}

main {
    width: auto;
    margin: 0 250px;
}

#home,
#products,
#about,
#contact {
    scroll-margin-top: var(--header-height);
}

#home {
    position: relative;
    width: calc(100vw - 300px);
    min-height: max(500px, calc(100vh - var(--header-height)));
    margin-left: -100px;
    isolation: isolate;
}

#home::before,
#products::before,
.stats-section::before,
#about::before,
#contact::before {
    position: absolute;
    top: 0;
    left: 50%;
    z-index: -1;
    width: 100vw;
    height: 100%;
    background: url("./assets/bg2.png") center / cover no-repeat;
    content: "";
    transform: translateX(-50%);
}

#home::before {
    background-image: url("./assets/bg.png");
}

.home-content,
.about-content>div:first-child {
    position: relative;
    z-index: 2;
    animation: slide-in-left .9s ease-out both;
}

.home-content {
    margin: 0 auto;
}

#home h1 {
    padding: 150px 0 40px;
    color: var(--orange);
    font-size: 96px;
    line-height: 1.1;
}

#home p {
    max-width: 450px;
    font-size: 20px;
    line-height: 1.25;
}

.home-equipment {
    position: absolute;
    top: 10px;
    right: 5%;
    z-index: 2;
    width: min(55vw, 700px);
    max-height: calc(100% - 120px);
    object-fit: contain;
    animation: slide-in-right .9s ease-out both;
}

.home-benefits {
    position: absolute;
    bottom: 70px;
    left: 50%;
    z-index: 3;
    width: 100vw;
    overflow: hidden;
    padding: 25px 0;
    background: rgba(54, 48, 63, .85);
    transform: translateX(-50%);
}

.home-benefits-track {
    display: flex;
    width: max-content;
    animation: benefits-carousel 45s linear infinite;
}

.home-benefits-list {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.home-benefits-list span {
    display: flex;
    align-items: center;
    white-space: nowrap;
    font-size: 16px;
}

.home-benefits-list span::after {
    width: 15px;
    height: 15px;
    margin: 0 24px;
    border-radius: 50%;
    background: var(--orange);
    content: "";
}

#products,
.stats-section,
#about,
#contact {
    position: relative;
    isolation: isolate;
}

#products {
    display: flow-root;
    min-height: calc(100vh - var(--header-height));
}

#products>*,
.stats-section>*,
#about>*,
#contact>* {
    position: relative;
    z-index: 1;
}

.products-title {
    margin: 50px 0;
    text-align: center;
}

.products-title p {
    color: var(--orange);
    font-size: 13px;
}

.products-title h2 {
    color: #fff;
    font-size: 48px;
}

.product-card {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 100px;
}

.card-content {
    display: flex;
    flex: 1 1 0;
    flex-direction: column;
    justify-content: flex-start;
    gap: 20px;
    width: 100%;
    max-width: 400px;
    min-width: 0;
    height: auto;
    min-height: 250px;
    padding: 18px;
    color: #fff;
    background: linear-gradient(143deg, rgba(9, 10, 58, .4) 70%, rgba(255, 255, 255, .2) 100%);
    border-top: 1px solid rgba(255, 255, 255, .5);
    border-left: 1px solid rgba(255, 255, 255, .5);
    border-radius: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, .25);
    backdrop-filter: blur(20px) saturate(135%);
    -webkit-backdrop-filter: blur(20px) saturate(135%);
    animation: slide-in-bottom .9s ease-out both;
}

.product-card .card-content:nth-child(2) {
    animation-delay: .12s;
}

.product-card .card-content:nth-child(3) {
    animation-delay: .24s;
}

.card-text {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.card-text h3 {
    color: var(--orange);
    font-size: 20px;
}

.card-text span {
    color: rgba(255, 255, 255, .9);
    font-size: 16px;
    line-height: 1.5;
}

.products-gallery {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    width: 100%;
    margin: 0 0 90px;
}

.gallery-preview {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 10px;
    width: 100%;
}

.gallery-thumb {
    position: relative;
    min-height: 150px;
    overflow: hidden;
    color: rgba(255, 255, 255, .72);
    background: linear-gradient(143deg, rgba(9, 10, 58, .4) 70%, rgba(255, 255, 255, .16) 100%);
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 8px;
    cursor: pointer;
}

.gallery-thumb img,
.gallery-thumb video {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 150px;
    object-fit: cover;
}

.gallery-thumb span {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 700;
}

.gallery-thumb.has-media span {
    display: none;
}

.gallery-open {
    align-self: center;
    flex: 0 0 auto;
    min-height: 46px;
    padding: 0 24px;
    color: #fff;
    background: transparent;
    border: 1px solid var(--orange);
    border-radius: 6px;
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
    transition: transform .2s ease, background-color .2s ease, color .2s ease;
}

.gallery-open:hover {
    background: var(--orange);
    color: #fff;
    transform: translateY(-1px);
}

body.modal-open {
    overflow: hidden;
}

.gallery-modal[hidden] {
    display: none;
}

.gallery-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.gallery-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(2, 2, 27, .82);
    backdrop-filter: blur(8px);
}

.gallery-modal-content {
    position: relative;
    z-index: 1;
    width: min(100%, 1100px);
    max-height: min(760px, calc(100vh - 48px));
    overflow: hidden;
    background: #080b2e;
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 12px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, .42);
}

.gallery-modal-header {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 16px;
    padding: 18px 22px;
    border-bottom: 1px solid rgba(255, 255, 255, .14);
}

.gallery-modal-header h2 {
    color: #fff;
    font-size: 28px;
}

.gallery-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    color: #fff;
    background: transparent;
    border: 0;
    border-radius: 6px;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    transition: color .2s ease;
}

.gallery-close:hover {
    color: var(--orange);
}

.gallery-modal-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    max-height: calc(100vh - 150px);
    padding: 22px;
    overflow: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(226, 94, 43, .9) transparent;
}

.gallery-modal-grid::-webkit-scrollbar {
    width: 8px;
}

.gallery-modal-grid::-webkit-scrollbar-track {
    background: transparent;
}

.gallery-modal-grid::-webkit-scrollbar-thumb {
    background: rgba(226, 94, 43, .82);
    border-radius: 999px;
}

.gallery-modal-grid img,
.gallery-modal-grid video {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    background: transparent;
    border-radius: 8px;
}

.gallery-modal-grid img {
    cursor: zoom-in;
}

.gallery-zoom[hidden] {
    display: none;
}

.gallery-zoom {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(18px, 4vw, 48px);
    background: rgba(2, 2, 27, .92);
}

.gallery-zoom img {
    display: block;
    max-width: 100%;
    max-height: calc(100vh - 96px);
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 22px 60px rgba(0, 0, 0, .42);
    cursor: zoom-out;
}

.gallery-zoom-close {
    position: absolute;
    top: 22px;
    right: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    color: #fff;
    background: transparent;
    border: 0;
    border-radius: 6px;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    transition: color .2s ease;
}

.gallery-zoom-close:hover {
    color: var(--orange);
}

.gallery-empty {
    grid-column: 1 / -1;
    padding: 40px 20px;
    color: rgba(255, 255, 255, .72);
    text-align: center;
    border: 1px dashed rgba(255, 255, 255, .24);
    border-radius: 8px;
}

.stats-section {
    min-height: 500px;
    padding: 80px 0;
}

.stats-title {
    margin-bottom: 50px;
    text-align: center;
}

.stats-title p {
    color: var(--orange);
    font-size: 13px;
    font-weight: 700;
}

.stats-title h1 {
    max-width: 760px;
    margin: 10px auto 0;
    color: #fff;
    font-size: 48px;
    line-height: 1.08;
}

.stats-video {
    width: min(100%, 680px);
    margin: 0 auto 46px;
    overflow: hidden;
    background: rgba(2, 2, 27, .7);
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 16px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, .22);
}

.stats-video iframe {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    border: 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    width: min(100%, 980px);
    margin: 0 auto;
}

.stats-card {
    --stats-card-scale: 1;
    position: relative;
    display: grid;
    grid-template-columns: auto auto;
    align-content: center;
    align-items: center;
    justify-content: center;
    justify-items: center;
    column-gap: 12px;
    row-gap: 4px;
    min-height: 165px;
    padding: 16px 18px;
    color: #fff;
    text-align: center;
    overflow: hidden;
    background: linear-gradient(145deg, rgba(18, 21, 63, .78), rgba(5, 8, 38, .92));
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 0;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 18px 34px rgba(0, 0, 0, .22);
    transform: skewX(-12deg) scale(var(--stats-card-scale));
    transition: --stats-card-scale .25s ease, box-shadow .25s ease;
    animation: slide-in-bottom-skewed .9s ease-out both;
}

.stats-card:hover {
    --stats-card-scale: 1.04;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 22px 40px rgba(0, 0, 0, .28);
}

.stats-card>* {
    transform: skewX(12deg);
}

.stats-card:nth-child(2) {
    animation-delay: .12s;
}

.stats-card:nth-child(3) {
    animation-delay: .24s;
}

.stats-card:nth-child(4) {
    animation-delay: .36s;
}

.stats-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    order: 2;
    width: 48px;
    height: 48px;
    color: var(--orange);
    background: transparent;
    border: 0;
    border-radius: 0;
}

.stats-icon svg {
    width: 28px;
    height: 28px;
}

.stats-card>span {
    order: -1;
    grid-column: 1 / -1;
    margin-bottom: 8px;
    color: rgba(255, 255, 255, .62);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.stats-card strong {
    display: block;
    order: 3;
    color: var(--orange);
    font-size: 38px;
    line-height: 1;
}

.stats-card p {
    grid-column: 1 / -1;
    order: 4;
    color: #fff;
    font-size: 15px;
    line-height: 1.3;
}

.stats-card .stats-prefix {
    grid-column: 1 / -1;
    order: 2;
    margin: 0 0 4px;
    color: rgba(255, 255, 255, .84);
    font-size: 15px;
}

.stats-card .stats-prefix:empty {
    display: none;
}

.stats-card-production .stats-icon {
    order: 3;
}

.stats-card .stats-prefix+strong {
    order: 4;
    margin-top: 0;
}

.stats-card .stats-prefix~p:not(.stats-prefix) {
    order: 5;
}

#about {
    padding: 80px 0;
}

.about-content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(420px, 1fr);
    align-items: start;
    gap: 20px;
}

.about-content>div:first-child>span {
    color: var(--orange);
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
}

#about h2 {
    margin: 12px 0 18px;
    color: #fff;
    font-size: 34px;
}

#about .about-content>div:first-child>p {
    max-width: 430px;
    color: #fff;
    font-size: 20px;
    line-height: 1.18;
}

.about-content>div:first-child>img {
    display: block;
    width: 365px;
    height: 188px;
    margin: 20px 0 0 2px;
    background: #ddd;
}

.about-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 32px;
    min-height: 650px;
    padding: 30px 20px;
    background: linear-gradient(143deg, rgba(9, 10, 58, .4) 70%, rgba(255, 255, 255, .2) 100%);
    border-top: 1px solid rgba(255, 255, 255, .5);
    border-left: 1px solid rgba(255, 255, 255, .5);
    border-radius: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, .25);
    backdrop-filter: blur(20px) saturate(135%);
    -webkit-backdrop-filter: blur(20px) saturate(135%);
    animation: slide-in-right .9s ease-out both;
}

.about-cards>span {
    grid-column: 1 / -1;
    color: #fff;
    font-size: 22px;
    font-weight: 700;
    text-align: center;
}

.card1,
.card2 {
    display: flex;
    align-items: center;
    gap: 8px;
}

.card1 img,
.card2 img {
    flex: 0 0 50px;
    width: 50px;
    height: 50px;
    padding: 10px;
    background: var(--orange);
    border-radius: 4px;
}

.card1 p,
.card2 p {
    color: #fff;
    font-size: 20px;
    line-height: 1.1;
}

#contact {
    display: flex;
    align-items: flex-start;
    min-height: calc(100vh - var(--header-height));
    padding: 100px 0 0;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
    gap: 100px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-main {
    display: flex;
    flex-direction: column;
    min-height: 625px;
}

.contact-main>span {
    color: var(--orange);
    font-size: 12px;
    font-weight: 700;
}

.contact-main h2 {
    margin: 8px 0 26px;
    color: #fff;
    font-size: 44px;
}

.contact-main>div:not(.map-container),
.contact-link {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 14px;
}

.contact-main>div:not(.map-container) img,
.contact-link img {
    display: block;
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.contact-main>div:not(.map-container) img[src*="phone"],
.contact-main>div:not(.map-container) img[src*="pin"],
.contact-main>div:not(.map-container) img[src*="email"],
.contact-link img[src*="email"] {
    filter: invert(1);
}

.contact-main>div:not(.map-container) img[src*="whatsapp"] {
    flex-basis: 24px;
    width: 24px;
    height: 24px;
}

.contact-main p {
    color: #fff;
    font-size: 16px;
    line-height: 1.15;
}

.contact-main a {
    color: inherit;
    text-decoration: none;
    transition: color .2s ease;
}

.contact-main a:hover {
    color: var(--orange);
}

.contact-link {
    margin-bottom: 36px;
}

.map-container {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 550px;
    height: 350px;
    min-height: 350px;
    margin-top: auto;
    overflow: hidden;
    border-radius: 14px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.email {
    height: 100%;
}

.email form {
    display: flex;
    flex-direction: column;
    gap: 8px;
    height: 100%;
}

.email label {
    margin-top: 4px;
    color: #fff;
    font-size: 16px;
}

.email input,
.email textarea {
    width: 100%;
    padding: 14px 24px;
    color: #222;
    background: #fff;
    border: 0;
    border-radius: 12px;
    font: inherit;
}

.email input {
    height: 52px;
}

.email textarea {
    flex: 1;
    min-height: 190px;
    resize: vertical;
}

.form-honey {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.form-status {
    min-height: 20px;
    color: rgba(255, 255, 255, .82);
    font-size: 14px;
    line-height: 1.35;
}

.form-status.success {
    color: #7ce7a0;
}

.form-status.error {
    color: #ff9a82;
}

.email button {
    height: 42px;
    margin-top: 24px;
    color: #fff;
    background: var(--orange);
    border: 0;
    border-radius: 6px;
    font-size: 18px;
    cursor: pointer;
}

.email button:disabled {
    cursor: wait;
    opacity: .72;
}

.btn-whats {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 1100;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    padding: 0;
    background: transparent;
}

.btn-whats img {
    display: block;
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.btn-whats:hover {
    transform: scale(1.1);
    transition: transform .3s ease;
}

@keyframes benefits-carousel {
    to {
        transform: translateX(-50%);
    }
}

@keyframes slide-in-left {
    from {
        opacity: 0;
        transform: translateX(-80px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slide-in-right {
    from {
        opacity: 0;
        transform: translateX(80px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slide-in-bottom {
    from {
        opacity: 0;
        transform: translateY(80px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes slide-in-bottom-skewed {
    from {
        opacity: 0;
        transform: translateY(80px) skewX(-12deg) scale(var(--stats-card-scale));
    }

    to {
        opacity: 1;
        transform: translateY(0) skewX(-12deg) scale(var(--stats-card-scale));
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-content,
    .about-content>div:first-child,
    .home-equipment,
    .about-cards,
    .product-card .card-content,
    .stats-card {
        animation: none;
    }
}

@media (max-width: 1280px) {
    main {
        margin: 0 clamp(32px, 6vw, 90px);
    }

    #home {
        width: 100%;
        margin-left: 0;
    }

    .home-equipment {
        right: 0;
        width: min(48vw, 560px);
    }

    .contact-content {
        gap: 48px;
    }

    .map-container {
        width: 100%;
    }
}

@media (max-width: 960px) {
    :root {
        --header-height: 78px;
    }

    header {
        width: calc(100% - 32px);
        padding: 0 18px;
        border-radius: 0 0 14px 14px;
    }

    header>img {
        width: 130px;
        max-width: 35vw;
    }

    .header-cta {
        min-height: 38px;
        margin-left: auto;
        padding: 0 14px;
        font-size: 13px;
    }

    .header-cta::before {
        display: none;
    }

    main {
        margin: 0 24px;
    }

    nav {
        position: absolute;
        top: calc(100% + 10px);
        right: 0;
        width: min(280px, calc(100vw - 48px));
        padding: 14px;
        background: #fff;
        border-radius: 14px;
        box-shadow: 0 14px 32px rgba(0, 0, 0, .28);
        opacity: 0;
        pointer-events: none;
        transform: translateY(-8px);
        transition: opacity .2s ease, transform .2s ease;
    }

    header.menu-open nav {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

    nav ul {
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
    }

    nav a {
        padding: 12px 14px;
    }

    .menu-toggle {
        display: inline-flex;
        flex-direction: column;
        justify-content: center;
        gap: 5px;
        width: 42px;
        height: 42px;
        background: transparent;
        border: 0;
        cursor: pointer;
    }

    .menu-toggle span {
        display: block;
        width: 24px;
        height: 2px;
        margin: 0 auto;
        background: var(--navy);
        border-radius: 999px;
        transition: transform .2s ease, opacity .2s ease;
    }

    header.menu-open .menu-toggle span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    header.menu-open .menu-toggle span:nth-child(2) {
        opacity: 0;
    }

    header.menu-open .menu-toggle span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    #home {
        min-height: calc(100vh - var(--header-height));
        padding-bottom: 96px;
    }

    #home h1 {
        padding: 90px 0 22px;
        font-size: clamp(48px, 12vw, 72px);
    }

    #home p {
        max-width: min(100%, 480px);
        font-size: 18px;
    }

    .home-equipment {
        position: relative;
        top: auto;
        right: auto;
        display: block;
        width: min(92%, 520px);
        max-height: none;
        margin: 28px auto 72px;
    }

    .home-benefits {
        bottom: 0;
        padding: 18px 0;
    }

    .product-card {
        flex-direction: column;
        align-items: stretch;
        gap: 22px;
        margin-bottom: 40px;
    }

    #products .card-content {
        flex: none;
        width: 100%;
        max-width: none;
        height: auto;
        min-height: auto;
    }

    .products-gallery {
        flex-direction: column;
        align-items: stretch;
        gap: 18px;
        margin: 0 0 70px;
    }

    .gallery-open {
        align-self: center;
    }

    .gallery-preview {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .gallery-thumb,
    .gallery-thumb img,
    .gallery-thumb video {
        min-height: 135px;
    }

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

    .stats-section {
        min-height: auto;
        padding: 70px 0;
    }

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

    .stats-title h1 {
        font-size: 40px;
    }

    .stats-video {
        width: min(100%, 620px);
        margin-bottom: 38px;
    }

    .stats-card {
        min-height: 155px;
        padding: 16px 18px;
    }

    .stats-icon {
        width: 46px;
        height: 46px;
    }

    .stats-icon svg {
        width: 26px;
        height: 26px;
    }

    .stats-card strong {
        font-size: 36px;
    }

    .stats-card p,
    .stats-card .stats-prefix {
        font-size: 14px;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 38px;
    }

    #about .about-content>div:first-child>p {
        max-width: 100%;
        font-size: 18px;
    }

    .about-content>div:first-child>img {
        width: min(100%, 365px);
        height: auto;
    }

    .about-cards {
        min-height: auto;
    }

    #contact {
        min-height: auto;
        padding: 70px 0 80px;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .contact-main {
        min-height: auto;
    }

    .contact-main h2 {
        margin-bottom: 32px;
        font-size: 40px;
    }

    .email form {
        height: auto;
    }

    .email textarea {
        min-height: 170px;
    }
}

@media (max-width: 600px) {
    :root {
        --header-height: 68px;
    }

    body {
        font-size: 15px;
    }

    header {
        width: calc(100% - 20px);
        padding: 0 14px;
    }

    header>img {
        width: 96px;
    }

    .header-cta {
        max-width: 136px;
        padding: 0 10px;
        font-size: 12px;
    }

    main {
        margin: 0 22px;
    }

    #home {
        width: 100%;
        margin-left: 0;
        min-height: auto;
        padding-bottom: 88px;
    }

    #home h1 {
        padding: 64px 0 18px;
        font-size: 44px;
    }

    #home p {
        font-size: 16px;
        line-height: 1.35;
    }

    .home-equipment {
        width: 100%;
        margin: 26px auto 58px;
    }

    .home-benefits-list span {
        font-size: 14px;
    }

    .home-benefits-list span::after {
        width: 10px;
        height: 10px;
        margin: 0 18px;
    }

    .products-title {
        margin: 40px 0 28px;
    }

    .products-title p {
        margin-bottom: 8px;
        font-size: 12px;
        line-height: 1.2;
    }

    .products-title h2 {
        font-size: 34px;
        line-height: 1.05;
    }

    .product-card {
        align-items: stretch;
        gap: 18px;
        margin-bottom: 32px;
    }

    #products .card-content {
        flex: none;
        gap: 16px;
        width: 100%;
        max-width: none;
        height: auto;
        min-height: auto;
        padding: 16px;
        border-radius: 16px;
        overflow: hidden;
    }

    #products .card-text h3 {
        font-size: 19px;
        line-height: 1.2;
    }

    #products .card-text span {
        display: block;
        font-size: 15px;
        line-height: 1.45;
        overflow-wrap: break-word;
    }

    .products-gallery {
        gap: 16px;
        margin-bottom: 54px;
    }

    .gallery-preview {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .gallery-thumb {
        min-height: 145px;
    }

    .gallery-thumb img,
    .gallery-thumb video {
        min-height: 145px;
    }

    .gallery-modal {
        padding: 14px;
    }

    .gallery-modal-content {
        max-height: calc(100vh - 28px);
        border-radius: 10px;
    }

    .gallery-modal-grid {
        grid-template-columns: 1fr;
        max-height: calc(100vh - 120px);
        padding: 16px;
    }

    .stats-section {
        padding: 56px 0;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .stats-title {
        margin-bottom: 32px;
    }

    .stats-title h1 {
        font-size: 34px;
    }

    .stats-video {
        width: min(100%, 420px);
        margin-bottom: 30px;
        border-radius: 12px;
    }

    .stats-card {
        min-height: 150px;
        padding: 16px;
    }

    .stats-icon {
        width: 44px;
        height: 44px;
    }

    .stats-icon svg {
        width: 24px;
        height: 24px;
    }

    .stats-card>span {
        margin-bottom: 8px;
        font-size: 12px;
    }

    .stats-card strong {
        font-size: 34px;
    }

    .stats-card p,
    .stats-card .stats-prefix {
        font-size: 14px;
    }

    #about {
        padding: 56px 0;
    }

    #about h2 {
        font-size: 30px;
    }

    .about-cards {
        grid-template-columns: 1fr;
        gap: 18px;
        padding: 22px 16px;
        border-radius: 16px;
    }

    .about-cards>span {
        font-size: 20px;
    }

    .card1 p,
    .card2 p {
        font-size: 17px;
        line-height: 1.2;
    }

    #contact {
        padding: 58px 0 72px;
    }

    .contact-main h2 {
        margin-bottom: 18px;
        font-size: 34px;
    }

    .contact-main>div:not(.map-container),
    .contact-link {
        align-items: flex-start;
    }

    .contact-link {
        margin-bottom: 28px;
    }

    .contact-main p {
        font-size: 15px;
        line-height: 1.35;
    }

    .map-container {
        height: 260px;
        min-height: 260px;
        margin-top: 18px;
    }

    .email input,
    .email textarea {
        padding: 12px 16px;
        border-radius: 10px;
    }

    .email input {
        height: 46px;
    }

    .email button {
        height: 46px;
        margin-top: 18px;
    }

    .btn-whats {
        right: 14px;
        bottom: 14px;
        width: 44px;
        height: 44px;
    }

    .btn-whats img {
        width: 44px;
        height: 44px;
    }
}
