/* ============================================
   ТАКТУРА — дизайн-система сайта
   ============================================ */

:root {
    --bg-cream: #fcf7f4;
    --bg-cream-dark: #f3ebe5;
    --bg-white: #ffffff;
    --text-dark: #1a1a1a;
    --text-muted: #6b6560;
    --accent-green: #2d5016;
    --accent-green-light: #4a7c2a;
    --accent-green-dark: #1a3009;
    --border-soft: rgba(26, 26, 26, 0.08);
    --shadow-soft: 0 4px 24px rgba(26, 26, 26, 0.06);
    --shadow-card: 0 8px 40px rgba(26, 26, 26, 0.08);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --font-main: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --header-height: 72px;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-cream);
    color: var(--text-dark);
    -webkit-font-smoothing: antialiased;
    padding-top: var(--header-height);
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
}

html {
    width: 100%;
    overflow-x: hidden;
    max-width: 100%;
    scroll-padding-top: var(--header-height);
}

.page-shell {
    overflow-x: clip;
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

/* Типографика */
.section-eyebrow {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.1;
    color: var(--text-dark);
    letter-spacing: -0.02em;
}

.section-title em {
    font-style: italic;
    font-weight: 400;
    color: var(--text-muted);
}

.section-lead {
    font-size: clamp(1rem, 2vw, 1.2rem);
    line-height: 1.7;
    color: var(--text-muted);
    max-width: 42rem;
}

/* Кнопки */
.btn-taktura {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border-radius: var(--radius-sm);
    transition: all 0.25s ease;
    cursor: pointer;
    border: none;
}

.btn-taktura--primary {
    background: var(--text-dark);
    color: var(--bg-cream);
}

.btn-taktura--primary:hover {
    background: var(--accent-green);
    color: #fff;
}

.btn-taktura--outline {
    background: transparent;
    color: var(--text-dark);
    border: 1.5px solid var(--text-dark);
}

.btn-taktura--outline:hover {
    background: var(--text-dark);
    color: var(--bg-cream);
}

.btn-taktura--green {
    background: var(--accent-green);
    color: #fff;
}

.btn-taktura--green:hover {
    background: var(--accent-green-dark);
}

/* Карточки */
.taktura-card {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border-soft);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.taktura-card:hover {
    box-shadow: var(--shadow-card);
}

/* Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
    z-index: 50;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    transition: background-color 0.35s ease, backdrop-filter 0.35s ease, -webkit-backdrop-filter 0.35s ease, box-shadow 0.35s ease;
}

.site-header.is-scrolled {
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
}

.site-header nav {
    max-width: 100%;
    min-width: 0;
}

.site-header__bar {
    width: 100%;
}

.site-header__nav-wrap {
    min-width: 0;
    padding: 0 0.5rem;
}

.site-header__nav {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    min-width: 0;
    max-width: 100%;
}

.site-header__nav-list {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 0;
}

.site-header__nav-more {
    position: relative;
    flex-shrink: 0;
}

.site-header__nav-more-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    padding: 0;
    border: none;
    border-radius: var(--radius-sm);
    background: transparent;
    color: var(--text-dark);
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.site-header__nav-more-btn:hover,
.site-header__nav-more.is-open .site-header__nav-more-btn {
    background: var(--bg-cream-dark);
    color: var(--accent-green);
}

.site-header__nav-dropdown {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    min-width: 13rem;
    padding: 0.35rem 0;
    background: var(--bg-white);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-card);
    z-index: 60;
}

.site-header__nav-dropdown .site-header__nav-link {
    display: block;
    padding: 0.65rem 1rem;
}

.site-header__nav-dropdown .site-header__nav-link:hover {
    background: var(--bg-cream);
}

.site-header__nav-link {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-dark);
    text-decoration: none;
    letter-spacing: 0.02em;
    transition: color 0.2s;
    white-space: nowrap;
}

.site-header__nav-note {
    font-weight: 500;
    color: var(--text-muted);
    font-size: 0.72rem;
}

.site-header__mobile-link {
    display: block;
    padding: 0.75rem 0;
    font-weight: 600;
    color: var(--text-dark);
    text-decoration: none;
    border-bottom: 1px solid var(--border-soft);
}

.site-header__mobile-link:hover {
    color: var(--accent-green);
}

.site-header__nav-link:hover {
    color: var(--accent-green);
}

.site-header__phone {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-dark);
    text-decoration: none;
    white-space: nowrap;
}

.site-header__phone:hover {
    color: var(--accent-green);
}

/* Hero */
.hero {
    min-height: calc(100vh - var(--header-height));
    display: flex;
    align-items: center;
    padding-bottom: 0;
    position: relative;
    overflow: hidden;
}

.hero > .container {
    width: 100%;
}

.hero__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(26, 26, 26, 0.85) 0%, rgba(26, 26, 26, 0.4) 50%, rgba(26, 26, 26, 0.2) 100%);
}

.hero__title {
    font-size: clamp(2.5rem, 7vw, 5.5rem);
    font-weight: 800;
    line-height: 1.05;
    color: #fff;
    letter-spacing: -0.03em;
}

.hero__subtitle {
    font-size: clamp(1.25rem, 3vw, 2rem);
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
    margin-top: 1rem;
}

.hero__text {
    font-size: 1.05rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.75);
    max-width: 36rem;
    margin-top: 1.5rem;
}

/* Адаптация для невысоких экранов (старые ноутбуки, например ~700px) */
@media (max-height: 720px) {
    .hero {
        align-items: flex-start;
        padding-top: 1.75rem;
        padding-bottom: 2rem;
        min-height: auto;
    }

    .hero__title {
        font-size: clamp(2.1rem, 5.2vw, 3.3rem);
        line-height: 1.05;
    }

    .hero__subtitle {
        font-size: 1.05rem;
        margin-top: 0.6rem;
    }

    .hero__text {
        font-size: 0.98rem;
        line-height: 1.55;
        max-width: 32rem;
        margin-top: 1rem;
    }

    /* Кнопка в первом экране */
    .btn-taktura {
        padding: 0.65rem 1.4rem;
        font-size: 0.78rem;
    }

    /* tailwind-класс из вёрстки: уменьшаем отступ сверху */
    .hero .mt-8 {
        margin-top: 1.2rem !important;
    }

    /* key-stats: на невысоких экранах не наезжает на hero (-mt-16 отключаем) */
    #key-stats {
        margin-top: 0 !important;
        padding-top: 1.5rem;
        padding-bottom: 1.5rem;
        z-index: 1;
    }

    #key-stats .stat-card {
        padding: 1.25rem 1rem;
    }

    #key-stats .stat-card__title {
        font-size: 1.05rem;
    }

    #key-stats .stat-card__text {
        font-size: 0.85rem;
    }
}

/* Key stats */
#key-stats .stat-card {
    padding: 2rem 1.5rem;
    text-align: center;
}

#key-stats .stat-card__icon {
    width: 3.5rem;
    height: 3.5rem;
    margin: 0 auto 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-cream);
    border-radius: 50%;
    color: var(--accent-green);
    font-size: 1.5rem;
}

#key-stats .stat-card__title {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

#key-stats .stat-card__text {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Warehouses */
.warehouses-section .warehouses-map-wrap {
    border-radius: var(--radius-md);
    border: 1px solid var(--border-soft) !important;
    box-shadow: var(--shadow-soft);
}

.warehouses-section .warehouses-city-btn {
    border-radius: var(--radius-sm) !important;
    border: 1px solid var(--border-soft) !important;
}

.warehouses-section .warehouses-city-btn.is-active {
    border-color: var(--accent-green) !important;
    background: rgba(45, 80, 22, 0.06) !important;
}

/* Material split: свойства слева, схема слоёв справа у края */
.material-section {
    overflow-x: clip;
    width: 100%;
}

.material-split {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

.material-split__props {
    padding-left: 1rem;
    padding-right: 1rem;
    min-width: 0;
}

.material-split__layers {
    min-width: 0;
    max-width: 100%;
}

@media (min-width: 1024px) {
    .material-split {
        --material-gutter: max(1rem, calc((100% - 72rem) / 2 + 1rem));
        grid-template-columns: minmax(0, 34rem) minmax(0, 1fr);
        column-gap: 2rem;
        padding-left: var(--material-gutter);
        padding-right: 0;
    }

    .material-split__props {
        padding-left: 0;
        padding-right: 0;
    }

    .material-split__layers {
        margin-right: 0;
        padding-right: 0;
    }

    .material-split .material-property-scroll {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Material layers diagram */
.material-layers-visual {
    padding: 0.375rem;
}

@media (min-width: 768px) {
    .material-layers-visual {
        padding: 0.5rem 0.75rem;
    }
}

@media (min-width: 1024px) {
    .material-layers-visual {
        padding: 0.5rem 0 0.5rem 0.75rem;
        border-radius: var(--radius-md) 0 0 var(--radius-md);
    }
}

.material-layers-visual__img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: var(--radius-sm);
}

@media (min-width: 1024px) {
    .material-layers-visual__img {
        min-height: 460px;
        object-fit: contain;
        object-position: right center;
        border-radius: var(--radius-sm) 0 0 var(--radius-sm);
    }
}

.material-property-scroll {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

@media (min-width: 768px) {
    .material-property-scroll {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .material-property-scroll {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .material-split .material-property-scroll {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.material-property-scroll-wrap {
    overflow-x: clip;
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

.material-property-card {
    width: auto;
    min-width: 0;
    padding: 1.5rem;
    text-align: center;
}

.material-video {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    align-items: center;
    padding: 1.25rem;
    border-radius: var(--radius-md);
    overflow: hidden;
}

@media (min-width: 768px) {
    .material-video {
        grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
        gap: 1.5rem;
        padding: 1.5rem 1.75rem;
    }
}

.material-video__content {
    min-width: 0;
}

.material-video__player {
    min-width: 0;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: transparent;
    line-height: 0;
    -webkit-user-select: none;
    user-select: none;
}

.material-video__video {
    display: block;
    width: 100%;
    height: auto;
    vertical-align: top;
    background: transparent;
    border: 0;
    outline: none;
    -webkit-user-select: none;
    user-select: none;
    -webkit-user-drag: none;
    user-drag: none;
}

/* Application areas */
.application-area-item {
    border-radius: var(--radius-md);
    overflow: hidden;
}

.application-area-item__body {
    padding: 2rem;
}

.application-area-item__number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--bg-cream-dark);
    line-height: 1;
    -webkit-text-stroke: 1px var(--text-muted);
    color: transparent;
}

.application-area-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.application-area-tags li {
    padding: 0.35rem 0.85rem;
    background: var(--bg-cream);
    border-radius: 2rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Collections */
.collections-section {
    overflow-x: clip;
    width: 100%;
}

.collections-section .collections-panel {
    border-radius: var(--radius-lg) !important;
    border: 1px solid var(--border-soft) !important;
    box-shadow: var(--shadow-card) !important;
    overflow: hidden;
    background: var(--bg-white);
}

.collections-section .collections-panel__tabs-wrap {
    background: var(--bg-white);
    border-bottom: 1px solid var(--border-soft) !important;
}

.collections-section .collections-panel__gallery {
    background: linear-gradient(180deg, var(--bg-cream) 0%, var(--bg-cream-dark) 100%);
}

.collections-section .collections-panel__cta {
    background: var(--bg-white);
    border-top: 1px solid var(--border-soft) !important;
}

.collections-section .collections-tab-btn {
    border-radius: 999px !important;
    border: 1px solid var(--border-soft) !important;
    background: var(--bg-white) !important;
    color: var(--text-muted) !important;
    font-weight: 700 !important;
    font-size: 0.8rem !important;
    letter-spacing: 0.04em;
    padding: 0.7rem 1rem !important;
    transition: all 0.25s ease !important;
}

.collections-section .collections-tab-btn:hover {
    border-color: rgba(45, 80, 22, 0.25) !important;
    color: var(--accent-green) !important;
    background: rgba(45, 80, 22, 0.04) !important;
}

.collections-section .collections-tab-btn.is-active {
    background: var(--text-dark) !important;
    color: var(--bg-cream) !important;
    border-color: var(--text-dark) !important;
    box-shadow: 0 8px 24px rgba(26, 26, 26, 0.12);
}

.collections-section .collections-sample {
    margin: 0;
    border: 1px solid var(--border-soft) !important;
    border-radius: var(--radius-md) !important;
    background: var(--bg-white) !important;
    box-shadow: var(--shadow-soft);
    overflow: hidden;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.35s ease;
    scroll-snap-align: center;
}

.collections-section .collections-sample--desktop:hover,
.collections-section .collections-sample.texture-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-card);
}

.collections-section .collections-sample__image {
    position: relative;
    border-radius: 0;
    overflow: hidden;
    aspect-ratio: 4 / 5;
    background: var(--bg-cream-dark);
}

.collections-section .collections-sample__image img {
    display: block;
    width: 100%;
    height: 100% !important;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.collections-section .collections-sample--desktop:hover .collections-sample__image img,
.collections-section .collections-sample.texture-card:hover .collections-sample__image img {
    transform: scale(1.06);
}

.collections-section .collections-sample__zoom {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(26, 26, 26, 0.28);
    color: #fff;
    font-size: 1.35rem;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.collections-section .collections-sample:hover .collections-sample__zoom {
    opacity: 1;
}

.collections-section .collections-sample__caption {
    padding: 0.9rem 0.75rem;
    font-size: 0.875rem;
    font-weight: 700;
    text-align: center;
    color: var(--text-dark);
    border-top: 1px solid var(--border-soft) !important;
    background: var(--bg-cream) !important;
    letter-spacing: 0.02em;
    line-height: 1.35;
}

.collections-section .texture-slider-wrap {
    overflow-x: clip;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    position: relative;
}

.collections-section .texture-slider-wrap::before,
.collections-section .texture-slider-wrap::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0.5rem;
    width: 2.5rem;
    z-index: 2;
    pointer-events: none;
}

.collections-section .texture-slider-wrap::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-cream) 0%, rgba(252, 247, 244, 0) 100%);
}

.collections-section .texture-slider-wrap::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-cream-dark) 0%, rgba(243, 235, 229, 0) 100%);
}

@media (max-width: 767px) {
    .collections-section .texture-slider-wrap {
        overflow-x: hidden;
    }

    .collections-section .texture-slider-track .collections-sample {
        flex: 0 0 78%;
        min-width: 0;
        max-width: 78%;
    }

    .collections-section .collections-sample.texture-card:hover {
        transform: none;
        box-shadow: var(--shadow-soft);
    }

    .collections-section .collections-sample.texture-card:hover .collections-sample__image img {
        transform: none;
    }

    .collections-section .collections-sample.texture-card .collections-sample__zoom {
        opacity: 1;
        background: linear-gradient(to top, rgba(26, 26, 26, 0.45) 0%, rgba(26, 26, 26, 0) 55%);
        align-items: flex-end;
        padding-bottom: 0.75rem;
        font-size: 1rem;
    }
}

.collections-section .texture-slider-track {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 0.25rem 0.5rem 1rem;
    scrollbar-width: none;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
}

.collections-section .texture-slider-track::-webkit-scrollbar {
    display: none;
}

.collections-section .collections-desktop-grid .collections-sample {
    flex: none;
    min-width: 0;
}

.collections-section .collections-desktop-grid {
    display: none;
}

@media (min-width: 768px) {
    .collections-section .collections-tab-btn {
        font-size: 0.85rem !important;
        padding: 0.8rem 1.15rem !important;
    }

    .collections-section .collections-desktop-grid {
        display: grid !important;
        grid-template-columns: repeat(4, 1fr);
        gap: 1.25rem;
    }

    .collections-section .texture-slider-wrap {
        display: none;
    }

    .collections-section .collections-sample__image {
        aspect-ratio: 1 / 1;
    }
}

@media (min-width: 1024px) {
    .collections-section .collections-desktop-grid {
        gap: 1.5rem;
    }
}

/* Specs */
.specs-accent {
    background: var(--text-dark);
    color: var(--bg-cream);
    border-radius: var(--radius-lg);
    padding: 3rem 2rem;
    text-align: center;
}

.specs-accent__label {
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    opacity: 0.7;
    margin-bottom: 1rem;
}

.specs-accent__value {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 1rem;
}

.specs-param-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.specs-param-item {
    padding: 1.5rem;
    text-align: center;
}

.specs-param-item__label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.specs-param-item__value {
    font-size: 1.5rem;
    font-weight: 800;
}

.specs-param-item__note {
    font-size: 0.875rem;
    line-height: 1.6;
    color: var(--text-muted);
    margin-top: 0.75rem;
    min-height: 4.75rem;
}

/* Mount */
.mount-section {
    position: relative;
    overflow: hidden;
    background-image: url('/img/parallax.webp');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
}

.mount-section__overlay {
    position: absolute;
    inset: 0;
    background: rgba(252, 247, 244, 0.9);
    pointer-events: none;
}

@media (max-width: 768px) {
    .mount-section {
        background-attachment: scroll;
    }
}

.mount-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
    margin-bottom: 3rem;
}

.mount-method-card {
    padding: 1.5rem;
    text-align: center;
}

.mount-method-card__icon {
    font-size: 2rem;
    color: var(--accent-green);
    margin-bottom: 1rem;
}

.mount-steps {
    display: grid;
    gap: 1rem;
}

.mount-step {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    padding: 1.5rem;
}

.mount-step__number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--bg-cream-dark);
    -webkit-text-stroke: 1px var(--text-muted);
    color: transparent;
    flex-shrink: 0;
    min-width: 3rem;
}

/* Partners */
.partners-split {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    align-items: stretch;
}

@media (min-width: 1024px) {
    .partners-split {
        grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
        gap: 2rem;
        align-items: stretch;
    }
}

.partners-split__visual {
    padding: 0;
    overflow: hidden;
    min-height: 280px;
    background: var(--bg-cream-dark);
}

@media (min-width: 1024px) {
    .partners-split__visual {
        min-height: 100%;
    }
}

.partners-split__img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 280px;
    object-fit: cover;
}

@media (min-width: 1024px) {
    .partners-split__img {
        min-height: 420px;
    }
}

.partners-formats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 640px) {
    .partners-formats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1rem;
    }
}

.partners-format-card {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1.5rem;
    border-left: 3px solid var(--accent-green);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.partners-format-card__number {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--accent-green);
}

.partners-format-card__title {
    font-size: 1.05rem;
    font-weight: 800;
    line-height: 1.25;
    color: var(--text-dark);
}

.partners-format-card__text {
    font-size: 0.875rem;
    line-height: 1.65;
    color: var(--text-muted);
    margin: 0;
}

/* Team */
.team-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem 1rem;
}

@media (min-width: 768px) {
    .team-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 1.5rem;
    }
}

.team-card {
    text-align: center;
}

.team-card__photo {
    aspect-ratio: 3/4;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--bg-cream-dark);
    margin-bottom: 1rem;
}

@media (max-width: 767px) {
    .team-card__photo {
        margin-bottom: 0.5rem;
        border-radius: var(--radius-sm);
    }
}

.team-card__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-card__role {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.4;
}

@media (max-width: 767px) {
    .team-card__role {
        font-size: 0.72rem;
        line-height: 1.35;
    }
}

/* Contact */
.contact-map {
    border-radius: var(--radius-md);
    overflow: hidden;
    min-height: 300px;
    border: 1px solid var(--border-soft);
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    min-height: 300px;
    border: 0;
}

.contact-2gis-link {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.5rem 0.85rem 0.5rem 0.5rem;
    background: #fff;
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-sm);
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-2gis-link:hover {
    border-color: #3cb371;
    box-shadow: var(--shadow-soft);
    color: var(--text-dark);
}

.contact-2gis-link__icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    line-height: 0;
}

.contact-2gis-link__icon svg {
    display: block;
    width: 32px;
    height: 32px;
}

/* Footer */
.site-footer {
    background: var(--text-dark);
    color: rgba(255, 255, 255, 0.8);
    padding: 3rem 0 2rem;
    overflow-x: clip;
    max-width: 100%;
}

.site-footer a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.2s;
}

.site-footer a:hover {
    color: #fff;
}

.site-footer__logo {
    display: block;
    height: 2.5rem;
    width: auto;
    max-width: 200px;
    margin-bottom: 1rem;
    filter: invert(1) brightness(1.15);
}

.site-footer__legal a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    transition: color 0.2s;
}

.site-footer__legal a:hover {
    color: #fff;
}

body.cookie-consent-active .site-footer {
    padding-bottom: calc(2rem + var(--cookie-banner-offset, 5.5rem));
}

/* Modals */
.site-modal .site-modal__content,
[id$="-modal-content"] {
    border-radius: var(--radius-md) !important;
    border: none !important;
    box-shadow: var(--shadow-card) !important;
}

[id$="-modal"] input,
[id$="-modal"] textarea,
[id$="-modal"] select {
    border-radius: var(--radius-sm) !important;
    border: 1px solid var(--border-soft) !important;
}

[id$="-modal"] input:focus,
[id$="-modal"] textarea:focus {
    border-color: var(--accent-green) !important;
}

/* Scroll reveal */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Override legacy brutalist borders */
.key-stats-section .key-stats-card,
.material-section .material-property-card,
.application-areas-section .application-area-card,
.warehouses-section .warehouses-city-btn,
.warehouses-section .warehouses-map-wrap {
    border: 1px solid var(--border-soft) !important;
    border-radius: var(--radius-md) !important;
    box-shadow: var(--shadow-soft) !important;
}

.application-areas-section .application-area-item {
    width: 100%;
}

.application-areas-section .application-area-item.taktura-card {
    display: block;
}

/* Mobile menu */
.site-mobile-menu {
    border-top: 1px solid var(--border-soft);
    padding-top: 1rem;
}

.site-mobile-menu a {
    display: block;
    padding: 0.75rem 0;
    font-weight: 600;
    color: var(--text-dark);
    text-decoration: none;
    border-bottom: 1px solid var(--border-soft);
}

.site-mobile-menu a:hover {
    color: var(--accent-green);
}

/* Cookie consent */
.cookie-consent {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 45;
    background: #e8f0e3;
    border-top: 1px solid rgba(45, 80, 22, 0.18);
    box-shadow: 0 -8px 32px rgba(26, 26, 26, 0.08);
    transform: translateY(100%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.35s ease, opacity 0.35s ease, visibility 0.35s;
}

.cookie-consent.is-visible {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.cookie-consent__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem 1.5rem;
    padding: 1rem 0;
    max-width: 72rem;
}

.cookie-consent__text {
    flex: 1 1 16rem;
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.55;
    color: var(--text-dark);
}

.cookie-consent__text a {
    color: var(--accent-green);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.cookie-consent__text a:hover {
    color: var(--accent-green-light);
}

.cookie-consent__btn {
    flex-shrink: 0;
    padding: 0.75rem 1.5rem;
    font-size: 0.8rem;
}

@media (max-width: 767px) {
    .cookie-consent__inner {
        padding: 0.875rem 0;
    }

    .cookie-consent__btn {
        width: 100%;
    }
}
