
/* =========================================
   KYN SUN — ОСНОВНЫЕ НАСТРОЙКИ
========================================= */

:root {
    --background: #f7f6f2;
    --white: #ffffff;
    --dark: #272721;
    --text: #36362f;
    --muted: #88867d;
    --accent: #a58b6d;
    --border: #e8e5dd;
    --container-width: 1200px;
}

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

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

body {
    min-height: 100vh;
    font-family: Arial, Helvetica, sans-serif;
    background: var(--background);
    color: var(--dark);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -webkit-tap-highlight-color: transparent;
}

img {
    max-width: 100%;
}

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

button {
    font: inherit;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
}

.container {
    width: min(var(--container-width), 90%);
    margin: 0 auto;
}

.section {
    padding: 110px 0;
}

button:focus-visible,
a:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 4px;
}


/* =========================================
   ШАПКА KYN SUN
========================================= */

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 17px 0 15px;
    background: rgba(247, 246, 242, 0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}

.header-main {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 30px;
}


/* ЛОГОТИП */

.brand {
    display: inline-flex;
    align-items: flex-start;
    flex-shrink: 0;
    color: var(--dark);
}

.brand-name {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.brand-title {
    color: var(--dark);
    font-size: 34px;
    font-weight: 700;
    letter-spacing: 3.5px;
    line-height: 1.05;
}

.brand-subtitle {
    margin-top: 6px;
    color: var(--muted);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 3.5px;
}

.brand-location {
    display: block;
    margin-top: 5px;
    color: #9b958a;
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 0.7px;
    line-height: 1.5;
}


/* НАВИГАЦИЯ */

.site-nav {
    display: flex;
    align-items: center;
    gap: 38px;
    margin-top: 18px;
}

.site-nav a {
    color: var(--text);
    font-size: 14px;
    transition: color 0.2s ease;
}

.site-nav a:hover {
    color: var(--accent);
}

.site-nav .nav-contact {
    padding: 12px 23px;
    border: 1px solid var(--dark);
    transition: background 0.2s ease, color 0.2s ease;
}

.site-nav .nav-contact:hover {
    background: var(--dark);
    color: var(--white);
}


/* КОНТАКТЫ */

.header-contacts {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 28px;
    margin-top: 11px;
}

.header-contact {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(54, 54, 47, 0.65);
    font-size: 13px;
    font-weight: 400;
    white-space: nowrap;
    transition: color 0.2s ease;
}

a.header-contact:hover {
    color: var(--accent);
}

.header-contact svg {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.menu-toggle {
    display: none;
}


/* =========================================
   ПЕРВЫЙ ЭКРАН
========================================= */

.hero {
    padding: 75px 0 100px;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    align-items: center;
    gap: 55px;
}

.hero-content {
    min-width: 0;
}

.hero h1 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(62px, 6vw, 84px);
    font-weight: 400;
    line-height: 1.05;
    letter-spacing: -3px;
}

.hero h1 span,
.about-content h2 span,
.contact-inner h2 span {
    color: var(--accent);
    font-style: italic;
}

.hero-description {
    max-width: 450px;
    margin-top: 28px;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.9;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 35px;
}

.button {
    min-height: 56px;
    padding: 0 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    font-size: 13px;
    font-weight: 600;
    transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

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

.button-dark:hover {
    background: var(--accent);
}

.button-light {
    border: 1px solid var(--border);
    color: var(--dark);
}

.button-light:hover {
    border-color: var(--dark);
}

.hero-note {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-top: 55px;
    color: var(--muted);
    font-size: 12px;
    letter-spacing: 0.5px;
}

.note-line {
    width: 35px;
    height: 1px;
    background: var(--accent);
}


/* =========================================
   ГАЛЕРЕЯ ПРОДУКЦИИ
========================================= */

.services {
    background: var(--white);
}

.section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 55px;
}

.section-heading h2,
.about-content h2 {
    margin-top: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(38px, 4vw, 50px);
    font-weight: 400;
    line-height: 1.2;
}

.section-heading > p {
    max-width: 370px;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.8;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 25px;
}

.service-card {
    min-width: 0;
    display: flex;
    flex-direction: column;
    background: var(--white);
}


/* =========================================
   ОБЩАЯ КАРУСЕЛЬ
========================================= */

.product-carousel {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    isolation: isolate;
    background: #e9e5dc;
    touch-action: pan-y;
    user-select: none;
    -webkit-user-select: none;
}

.carousel-viewport {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    width: 100%;
    height: 100%;
    transform: translate3d(0, 0, 0);
    transition: transform 650ms cubic-bezier(0.22, 0.61, 0.36, 1);
    will-change: transform;
}

.carousel-slide {
    position: relative;
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.carousel-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    cursor: zoom-in;
    -webkit-user-drag: none;
}


/* ШИРОКОФОРМАТНЫЕ ФОТОГРАФИИ
   Не обрезаем важные детали */

.carousel-slide.is-landscape img {
    object-fit: contain;
    background: #e9e5dc;
}


/* =========================================
   TOP — ГЛАВНАЯ КАРУСЕЛЬ
========================================= */

.top-carousel {
    aspect-ratio: 1.12 / 1;
    width: 100%;
    background: #e9e5dc;
    box-shadow: 18px 22px 55px rgba(51, 44, 35, 0.09);
}

.top-carousel .carousel-slide img {
    object-fit: contain;
    background: #e9e5dc;
}

.top-carousel .carousel-arrow {
    width: 48px;
    height: 48px;
}


/* =========================================
   СТРЕЛКИ КАРУСЕЛИ
========================================= */

.carousel-arrow {
    display: none;
    position: absolute;
    z-index: 5;
    top: 50%;
    width: 43px;
    height: 43px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.65);
    border-radius: 50%;
    background: rgba(247, 246, 242, 0.88);
    color: var(--dark);
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.09);
    opacity: 0;
    transform: translateY(-50%);
    transition: opacity 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.carousel-prev {
    left: 15px;
}

.carousel-next {
    right: 15px;
}

.carousel-arrow svg {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.product-carousel:hover .carousel-arrow,
.product-carousel:focus-within .carousel-arrow {
    opacity: 1;
}

.carousel-arrow:hover {
    background: var(--white);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.carousel-arrow:active {
    transform: translateY(-50%) scale(0.94);
}

.product-carousel[data-multiple="true"] .carousel-arrow {
    display: flex;
}


/* =========================================
   ТОЧКИ-ИНДИКАТОРЫ
========================================= */

.carousel-dots {
    display: none;
    position: absolute;
    z-index: 5;
    left: 50%;
    bottom: 17px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transform: translateX(-50%);
    padding: 8px 12px;
    border-radius: 30px;
    background: rgba(39, 39, 33, 0.27);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.product-carousel[data-multiple="true"] .carousel-dots {
    display: flex;
}

.carousel-dot {
    width: 7px;
    height: 7px;
    padding: 0;
    border: none;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.65);
    transition: width 0.3s ease, background 0.3s ease;
}

.carousel-dot.is-active {
    width: 22px;
    background: var(--white);
}


/* =========================================
   ПОДПИСИ ПРОДУКЦИИ
========================================= */

.product-info {
    padding: 25px 5px 15px;
}

.product-info h3 {
    color: var(--dark);
    font-size: 21px;
    font-weight: 400;
    line-height: 1.4;
}

.product-info p {
    margin-top: 12px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.85;
}


/* =========================================
   ПОЛНОЭКРАННАЯ ГАЛЕРЕЯ
========================================= */

.lightbox[hidden] {
    display: none !important;
}

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    background: rgba(19, 19, 17, 0.94);
    opacity: 0;
    transition: opacity 250ms ease;
}

.lightbox.is-open {
    opacity: 1;
}

.lightbox-stage {
    position: relative;
    width: min(1100px, 100%);
    height: min(82vh, 850px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-image {
    display: block;
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    user-select: none;
    -webkit-user-select: none;
    -webkit-user-drag: none;
    animation: lightbox-image-appear 300ms ease both;
}

@keyframes lightbox-image-appear {
    from {
        opacity: 0;
        transform: scale(0.985);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}


/* ЗАКРЫТИЕ */

.lightbox-close {
    position: absolute;
    top: 25px;
    right: 30px;
    z-index: 10;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: white;
    transition: background 0.2s ease, transform 0.2s ease;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.lightbox-close svg {
    width: 21px;
    height: 21px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
}


/* СТРЕЛКИ ПОЛНОЭКРАННОЙ ГАЛЕРЕИ */

.lightbox-arrow {
    position: absolute;
    top: 50%;
    z-index: 5;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    transform: translateY(-50%);
    transition: background 0.2s ease, border-color 0.2s ease;
}

.lightbox-arrow:hover {
    background: rgba(255, 255, 255, 0.22);
    border-color: rgba(255, 255, 255, 0.7);
}

.lightbox-arrow svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.lightbox-prev {
    left: 24px;
}

.lightbox-next {
    right: 24px;
}

.lightbox-arrow[hidden] {
    display: none !important;
}


/* СЧЁТЧИК ФОТО */

.lightbox-caption {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.7);
    font-size: 12px;
    letter-spacing: 2px;
    white-space: nowrap;
}

.lightbox-counter {
    font-variant-numeric: tabular-nums;
}


/* =========================================
   О ПРОИЗВОДСТВЕ
========================================= */

.about {
    background: var(--background);
}

.about-grid {
    display: grid;
    grid-template-columns: 0.7fr 1.3fr;
    gap: 80px;
}

.about-decoration {
    margin-top: 30px;
    color: #e5dfd3;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 150px;
    line-height: 1;
}

.about-content h2 {
    max-width: 680px;
}

.about-content > p {
    max-width: 550px;
    margin-top: 28px;
    color: var(--muted);
    font-size: 16px;
    line-height: 2;
}

.text-link {
    display: inline-block;
    margin-top: 30px;
    padding-bottom: 7px;
    border-bottom: 1px solid var(--accent);
    font-size: 14px;
    transition: color 0.2s ease;
}

.text-link:hover {
    color: var(--accent);
}


/* =========================================
   КОНТАКТЫ
========================================= */

.contact-section {
    padding: 100px 0;
    background: var(--dark);
    color: var(--white);
    text-align: center;
}

.contact-inner .eyebrow {
    color: #bdb8ac;
}

.contact-inner h2 {
    margin-top: 25px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(48px, 6vw, 70px);
    font-weight: 400;
    line-height: 1.15;
}

.contact-inner p {
    max-width: 480px;
    margin: 25px auto 30px;
    color: #c2c0b7;
    font-size: 15px;
    line-height: 1.9;
}

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

.button-white:hover {
    background: var(--accent);
    color: var(--white);
}

.contact-note {
    margin: 30px auto 0;
    color: #aaa89e;
    font-size: 12px;
}


/* =========================================
   ПОДВАЛ
========================================= */

.site-footer {
    padding: 30px 0;
    background: var(--dark);
    border-top: 1px solid #44443d;
    color: #c2c0b7;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.footer-brand .brand-title {
    color: var(--white);
}

.footer-brand .brand-subtitle {
    color: #aaa89e;
}

.footer-inner p,
.footer-top {
    font-size: 12px;
}

.footer-top:hover {
    color: var(--white);
}


/* =========================================
   ПЛАНШЕТЫ
========================================= */

@media (max-width: 1000px) {

    .header-main {
        gap: 20px;
    }

    .site-nav {
        gap: 19px;
    }

    .site-nav a {
        font-size: 13px;
    }

    .service-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 35px 24px;
    }

    .about-grid {
        gap: 35px;
    }

    .top-carousel {
        aspect-ratio: 1 / 1;
    }

}


@media (max-width: 800px) {

    .header-main {
        flex-wrap: wrap;
    }

    .site-nav {
        gap: 15px;
    }

    .hero-grid {
        gap: 35px;
    }

    .section-heading {
        gap: 25px;
    }

    .top-carousel {
        aspect-ratio: 1 / 1;
    }

}


/* =========================================
   МОБИЛЬНЫЕ УСТРОЙСТВА
   ANDROID / iOS
========================================= */

@media (max-width: 650px) {

    html {
        scroll-padding-top: 190px;
    }

    .site-header {
        padding-top: max(13px, env(safe-area-inset-top));
        padding-bottom: 13px;
    }

    .header-main {
        align-items: center;
        flex-wrap: wrap;
        gap: 12px;
    }

    .brand-title {
        font-size: 28px;
    }

    .brand-subtitle {
        font-size: 9px;
        letter-spacing: 3px;
    }

    .brand-location {
        max-width: 290px;
        font-size: 10px;
        letter-spacing: 0.4px;
    }


    /* МОБИЛЬНАЯ КНОПКА МЕНЮ */

    .menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 6px;
        width: 44px;
        height: 44px;
        flex-shrink: 0;
        border: 1px solid var(--border);
        background: transparent;
    }

    .menu-toggle span {
        display: block;
        width: 19px;
        height: 1px;
        background: var(--dark);
    }


    /* МОБИЛЬНОЕ МЕНЮ */

    .site-nav {
        display: none;
        order: 3;
        flex-basis: 100%;
        margin-top: 10px;
        padding: 22px 0 12px;
        flex-direction: column;
        align-items: stretch;
        gap: 18px;
        border-top: 1px solid var(--border);
    }

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

    .site-nav a {
        font-size: 14px;
    }

    .site-nav .nav-contact {
        text-align: center;
    }


    /* КОНТАКТЫ */

    .header-contacts {
        gap: 13px 20px;
        margin-top: 13px;
    }

    .header-contact {
        gap: 6px;
        font-size: 11px;
    }

    .header-contact svg {
        width: 14px;
        height: 14px;
    }


    /* ГЛАВНЫЙ ЭКРАН */

    .hero {
        padding: 60px 0 70px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero h1 {
        font-size: clamp(53px, 12vw, 65px);
    }

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

    .top-carousel {
        width: 100%;
        aspect-ratio: 1 / 1;
    }


    /* КАТАЛОГ */

    .section {
        padding: 75px 0;
    }

    .section-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 18px;
        margin-bottom: 35px;
    }

    .section-heading h2 {
        font-size: clamp(34px, 8vw, 43px);
    }

    .section-heading > p {
        font-size: 14px;
    }

    .service-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .product-info {
        padding: 20px 3px 0;
    }

    .product-info h3 {
        font-size: 22px;
    }

    .product-info p {
        font-size: 14px;
    }


    /* КАРУСЕЛИ НА ТЕЛЕФОНЕ */

    .carousel-arrow {
        width: 43px;
        height: 43px;
        opacity: 1;
    }

    .carousel-prev {
        left: 12px;
    }

    .carousel-next {
        right: 12px;
    }


    /* ПОЛНОЭКРАННАЯ ГАЛЕРЕЯ */

    .lightbox {
        padding: 12px;
        padding-top: max(12px, env(safe-area-inset-top));
        padding-bottom: max(12px, env(safe-area-inset-bottom));
    }

    .lightbox-stage {
        width: 100%;
        height: 78vh;
        height: 78dvh;
    }

    .lightbox-image {
        max-width: 100%;
        max-height: 100%;
    }

    .lightbox-close {
        top: max(15px, env(safe-area-inset-top));
        right: 15px;
        width: 43px;
        height: 43px;
    }

    .lightbox-arrow {
        width: 43px;
        height: 43px;
        background: rgba(25, 25, 23, 0.55);
    }

    .lightbox-prev {
        left: 8px;
    }

    .lightbox-next {
        right: 8px;
    }

    .lightbox-caption {
        bottom: 13px;
        font-size: 11px;
    }


    /* О ПРОИЗВОДСТВЕ */

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

    .about-decoration {
        margin-top: 10px;
        font-size: 95px;
    }

    .about-content h2 {
        font-size: 36px;
    }


    /* КОНТАКТЫ */

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

    .contact-inner h2 {
        font-size: clamp(43px, 10vw, 56px);
    }

    .contact-inner p {
        font-size: 14px;
    }


    /* ПОДВАЛ */

    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
    }

}


/* =========================================
   МАЛЕНЬКИЕ ТЕЛЕФОНЫ
========================================= */

@media (max-width: 380px) {

    .container {
        width: 92%;
    }

    .header-contacts {
        gap: 11px 14px;
    }

    .header-contact {
        font-size: 10px;
    }

    .brand-location {
        font-size: 9px;
    }

    .hero h1 {
        font-size: 53px;
    }

    .product-info h3 {
        font-size: 20px;
    }

}


/* =========================================
   НАСТРОЙКИ ДОСТУПНОСТИ
========================================= */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
    }

}


/* =========================================
   KYN SUN — ДОПОЛНЕНИЕ НОВЫХ СЕКЦИЙ
   ABOUT / VIDEO / MOBILE REFINEMENTS
========================================= */

.brand-location {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.brand-location svg {
    width: 12px;
    height: 12px;
    flex: 0 0 auto;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.curtain-track-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    background: #eeeae2;
}

.curtain-track-art {
    display: block;
    width: 100%;
    height: 100%;
}

/* Видео электропривода */
.video-showcase {
    background: var(--background);
}

.video-heading {
    align-items: flex-end;
    margin-bottom: 42px;
}

.video-heading .eyebrow {
    margin-bottom: 16px;
}

.video-heading h2 {
    max-width: 650px;
}

.video-heading > p {
    max-width: 360px;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 340px));
    justify-content: center;
    align-items: start;
    gap: 26px;
}

.video-card {
    min-width: 0;
    padding: 14px;
    background: var(--white);
    border: 1px solid var(--border);
    box-shadow: 0 14px 38px rgba(45, 39, 31, 0.055);
}

.video-card-label {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    min-height: 24px;
    padding: 0 2px 12px;
    color: var(--accent);
    font-size: 11px;
    letter-spacing: 2px;
    line-height: 1.2;
}

.video-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 9 / 16;
    max-height: 680px;
    overflow: hidden;
    background: #e9e5dc;
}

.brand-video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #e9e5dc;
}

/* Блок «О нас» — две колонки карточек */
.about {
    padding-top: 100px;
    padding-bottom: 90px;
    background: var(--background);
}

.about-intro {
    margin-bottom: 42px;
}

.eyebrow {
    color: var(--accent);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2.5px;
    line-height: 1.5;
}

.about-heading-row {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.75fr);
    align-items: end;
    gap: 55px;
    margin-top: 18px;
}

.about-heading-row h2 {
    max-width: 760px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(42px, 5vw, 64px);
    font-weight: 400;
    line-height: 1.12;
    letter-spacing: -1.8px;
}

.about-heading-row h2 span {
    color: var(--accent);
    font-style: italic;
}

.about-lead {
    max-width: 430px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.9;
}

.about-facts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-bottom: 42px;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.about-fact {
    display: flex;
    flex-direction: column;
    gap: 7px;
    min-height: 82px;
    padding: 17px 24px;
    border-right: 1px solid var(--border);
}

.about-fact:first-child {
    padding-left: 0;
}

.about-fact:last-child {
    border-right: 0;
}

.about-fact strong {
    color: var(--dark);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 25px;
    font-weight: 400;
    line-height: 1.2;
}

.about-fact span {
    color: var(--muted);
    font-size: 12px;
    line-height: 1.5;
}

.about-card-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 26px;
}

.about-card {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    min-width: 0;
    min-height: 320px;
    background: var(--white);
    box-shadow: 0 12px 34px rgba(45, 39, 31, 0.045);
}

.about-card-image {
    grid-column: 1;
    grid-row: 1;
    min-width: 0;
    min-height: 320px;
    overflow: hidden;
    background: #e9e5dc;
}

.about-card-image img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 320px;
    object-fit: cover;
    object-position: center;
}

.about-card-content {
    grid-column: 2;
    grid-row: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    padding: 30px 28px;
}

.about-card:nth-child(even) .about-card-image {
    grid-column: 2;
}

.about-card:nth-child(even) .about-card-content {
    grid-column: 1;
}

.about-card-kicker {
    margin-bottom: 17px;
    color: var(--accent);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1.7px;
    line-height: 1.5;
}

.about-card-content h3 {
    margin-bottom: 16px;
    color: var(--dark);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(23px, 2.2vw, 29px);
    font-weight: 400;
    line-height: 1.22;
}

.about-card-content p {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.9;
}

.about-card-content p + p {
    margin-top: 16px;
}

.about-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    margin-top: 42px;
    padding-top: 25px;
    border-top: 1px solid var(--border);
}

.about-footer p {
    max-width: 650px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.8;
}

.about-footer .text-link {
    flex: 0 0 auto;
    margin-top: 0;
}

/* Средние экраны */
@media (max-width: 1100px) {
    .about-card-content {
        padding: 24px 20px;
    }

    .about-card-content h3 {
        font-size: 24px;
    }

    .about-card-content p {
        font-size: 12px;
    }
}

/* Планшеты */
@media (max-width: 900px) {
    .about-heading-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .about-lead {
        max-width: 620px;
    }

    .about-card-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .about-card {
        grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    }

    .video-grid {
        grid-template-columns: repeat(2, minmax(0, 320px));
    }
}

/* Телефоны: приоритет для Android / iOS */
@media (max-width: 650px) {
    .video-showcase {
        padding-top: 72px;
        padding-bottom: 72px;
    }

    .video-heading {
        margin-bottom: 30px;
    }

    .video-heading h2 {
        font-size: clamp(36px, 9vw, 48px);
    }

    .video-grid {
        grid-template-columns: minmax(0, 1fr);
        width: min(100%, 390px);
        margin: 0 auto;
        gap: 22px;
    }

    .video-card {
        padding: 12px;
    }

    .video-frame {
        max-height: none;
    }

    .about {
        padding-top: 72px;
        padding-bottom: 70px;
    }

    .about-intro {
        margin-bottom: 28px;
    }

    .about-heading-row {
        gap: 16px;
        margin-top: 14px;
    }

    .about-heading-row h2 {
        font-size: clamp(37px, 9vw, 48px);
        letter-spacing: -1px;
    }

    .about-lead {
        font-size: 13px;
        line-height: 1.8;
    }

    .about-facts {
        grid-template-columns: 1fr;
        margin-bottom: 28px;
    }

    .about-fact,
    .about-fact:first-child {
        min-height: auto;
        padding: 14px 0;
        border-right: 0;
        border-bottom: 1px solid var(--border);
    }

    .about-fact:last-child {
        border-bottom: 0;
    }

    .about-fact strong {
        font-size: 23px;
    }

    .about-card-grid {
        gap: 18px;
    }

    .about-card,
    .about-card:nth-child(even) {
        grid-template-columns: 1fr;
    }

    .about-card-image,
    .about-card:nth-child(even) .about-card-image {
        grid-column: 1;
        grid-row: 1;
        min-height: 290px;
    }

    .about-card-image img {
        min-height: 290px;
        max-height: 420px;
    }

    .about-card-content,
    .about-card:nth-child(even) .about-card-content {
        grid-column: 1;
        grid-row: 2;
        padding: 24px 22px 26px;
    }

    .about-card-content h3 {
        font-size: 26px;
    }

    .about-card-content p {
        font-size: 13px;
    }

    .about-footer {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
        margin-top: 28px;
        padding-top: 20px;
    }

    .about-footer .text-link {
        margin-top: 8px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .carousel-track {
        transition: none;
    }
}
