/* index.css — Grid-Based Hero Layout */

:root {
    --brand-dark:   #232323;
    --brand-purple: #4B1C4F;
    --brand-plum:   #6B2D70;
    --text-muted:   rgba(35, 35, 35, 0.5);
    --card-bg:      #FFFFFF;
    --bg-light:     #EAEAEA;
    --frame-color:  rgba(0, 0, 0, 0.08);
    --hero-pad:     clamp(40px, 6vw, 140px);
    --card-gap:     clamp(20px, 2.5vw, 40px);
}

/* ================= HERO BLOCK = CSS GRID ================= */

.hero-block {
    position: relative;
    width: 100%;
    max-width: 1920px;
    margin: 0 auto;
    height: 100vh;
    min-height: 700px;
    background: var(--bg-light);
    overflow: hidden;

    /* Grid: 3 равные колонки */
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 1fr auto;
    column-gap: var(--card-gap);
    padding: 120px var(--hero-pad) 30px var(--hero-pad);
    box-sizing: border-box;
    align-items: center;
}

/* Модель — абсолютный фон, исключён из грида */
.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: flex;
    justify-content: center;
    pointer-events: none;
}

.hero-bg img {
    height: 100%;
    width: auto;
    object-fit: cover;
    object-position: center bottom;
}

/* ================= HERO ELEMENTS — GRID PLACEMENT ================= */

/* Базовый стиль: все элементы в потоке грида */
.hero-element {
    position: relative;
    z-index: 10;
}

/* 1. Заголовок — колонка 1, ряд 1 */
.top-left {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
    align-self: center;
    z-index: 20;
    padding-right: 20px;
}

.top-left .badge {
    display: inline-block;
    font-family: 'Manrope', sans-serif;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #fff;
    margin-bottom: 24px;
    padding: 6px 12px;
    background: var(--brand-purple);
    border-radius: 4px;
    box-shadow: 0 4px 10px rgba(75, 28, 79, 0.2);
}

.collection-title {
    display: block;
    font-family: 'Manrope', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: var(--brand-dark);
    margin-bottom: 20px;
}

.top-left h1 {
    font-family: 'El Messiri', sans-serif;
    font-size: clamp(28px, 3vw, 46px);
    line-height: 1.1;
    font-weight: 500;
    color: var(--brand-dark);
    margin-bottom: 20px;
}

.top-left .description {
    font-family: 'Manrope', sans-serif;
    font-size: clamp(12px, 1vw, 14px);
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 30px;
    font-weight: 500;
}

.hero-trust-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.hero-trust-list li {
    font-family: 'Manrope', sans-serif;
    font-size: clamp(12px, 1vw, 14px);
    color: var(--brand-dark);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.hero-trust-list li::before {
    content: '\2713';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background: rgba(75, 28, 79, 0.1);
    color: var(--brand-purple);
    border-radius: 50%;
    font-size: 11px;
    font-weight: 700;
    flex-shrink: 0;
}

.hero-form-heading {
    font-family: 'El Messiri', sans-serif;
    font-size: clamp(16px, 1.3vw, 20px);
    font-weight: 600;
    color: var(--brand-dark);
    line-height: 1.3;
    margin-bottom: 16px;
}

/* ================= 2. LEAD FORM — колонка 3, ряд 1 ================= */

.form-wrapper {
    grid-column: 3 / 4;
    grid-row: 1 / 2;
    align-self: center;
    z-index: 20;
    /* Ширина = ширина 3-й колонки грида автоматически */
}

.panel-card {
    background: var(--card-bg);
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
}

.top-card {
    padding: clamp(16px, 1.5vw, 24px) clamp(14px, 1.2vw, 20px);
}

.panel-row-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.panel-row-flex span {
    font-family: 'Manrope', sans-serif;
    font-size: clamp(12px, 0.9vw, 14px);
    color: var(--text-muted);
}
.panel-row-flex strong {
    color: var(--brand-dark);
    font-weight: 700;
}

.color-dots {
    display: flex;
    gap: 8px;
}

.dot {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    cursor: pointer;
    position: relative;
    transition: transform 0.2s;
}

.dot.active::after {
    content: '';
    position: absolute;
    top: -4px; right: -4px; bottom: -4px; left: -4px;
    border: 1px solid var(--brand-dark);
    border-radius: 50%;
    pointer-events: none;
}

.panel-divider {
    height: 1px;
    background: #F0F0F0;
    margin: 16px 0;
}

.panel-meta p {
    font-family: 'Manrope', sans-serif;
    font-size: clamp(11px, 0.85vw, 13px);
    color: var(--brand-dark);
    margin-bottom: 8px;
}
.panel-meta strong {
    font-weight: 700;
}

.panel-size-select label {
    display: block;
    font-family: 'Manrope', sans-serif;
    font-size: 13px;
    font-weight: 600;
    margin: 14px 0 8px 0;
}

.sizes-box {
    display: flex;
    gap: 8px;
}

.size-btn {
    flex: 1;
    text-align: center;
    padding: 10px 0;
    border: 1px solid #EAEAEA;
    background: #fff;
    border-radius: 4px;
    font-family: 'Manrope', sans-serif;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.size-btn:hover { border-color: #ccc; }
.size-btn.active {
    background: var(--brand-plum);
    color: #fff;
    border-color: var(--brand-plum);
}

.phone-input {
    box-sizing: border-box;
    width: 100%;
    margin-top: 14px;
    padding: 10px 12px;
    border: 1px solid #EAEAEA;
    border-radius: 4px;
    font-family: 'Manrope', sans-serif;
    font-size: 14px;
    outline: none;
}
.phone-input:focus { border-color: var(--brand-dark); }

.mt-btn,
.shop-btn-white {
    box-sizing: border-box;
    display: block;
    margin-top: 16px;
    background: var(--brand-dark);
    color: #fff;
    padding: 14px;
    border-radius: 4px;
    text-align: center;
    text-transform: uppercase;
    font-family: 'Manrope', sans-serif;
    font-size: 13px;
    font-weight: 600;
    width: 100%;
    cursor: pointer;
    border: none;
    transition: background 0.3s;
    letter-spacing: 0.05em;
}
.mt-btn:hover,
.shop-btn-white:hover {
    background: var(--brand-purple);
    color: #fff;
}

/* ================= 3. BOTTOM CARDS — ряд 2, все 3 колонки ================= */

.bottom-cards-group {
    grid-column: 1 / -1;
    grid-row: 2 / 3;
    align-self: end;

    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: var(--card-gap);
    z-index: 30;
}

.b-card-wrapper {
    position: relative;
}

.b-card {
    background: var(--card-bg);
    border-radius: 6px;
    padding: clamp(16px, 1.5vw, 24px) clamp(14px, 1.2vw, 20px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
    min-height: 100px;
    height: 100%;
    width: 100%;
    box-sizing: border-box;
    transition: transform 0.3s;
}

.b-card:hover {
    transform: translateY(-5px);
}

/* Чёрная кнопка-стрелка: вытянута на высоту карточки, прилегает слева */
.arrow-circle {
    position: absolute;
    left: -60px;
    top: 0;
    bottom: 0;
    width: 48px;
    background: var(--brand-dark);
    color: #fff;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(35,35,35,0.25);
    cursor: pointer;
    transition: all 0.3s;
    z-index: 2;
}
.b-card-wrapper:hover .arrow-circle {
    background: var(--brand-purple);
    transform: scale(1.04);
}

.card-desc strong {
    font-family: 'Manrope', sans-serif;
    font-size: clamp(12px, 1vw, 15px);
    font-weight: 800;
    display: block;
    margin-bottom: 6px;
    color: var(--brand-dark);
}
.card-desc p {
    font-family: 'Manrope', sans-serif;
    font-size: clamp(10px, 0.85vw, 13px);
    color: var(--text-muted);
    line-height: 1.5;
}

/* ================= 4. MARQUEE (Social Proof) ================= */

.social-proof-section {
    position: relative;
    padding: 60px 0;
    width: 100%;
    background-color: var(--card-bg);
    border-top: 1px solid var(--frame-color);
    border-bottom: 1px solid var(--frame-color);
    overflow: hidden;
    z-index: 10;
}

.marquee-wrapper {
    display: flex;
    align-items: center;
    gap: 60px;
    animation: marqueeScroll 25s linear infinite;
    will-change: transform;
}

.marquee-wrapper:hover {
    animation-play-state: paused;
}

.marquee-item {
    display: flex;
    align-items: center;
    gap: 60px;
    flex-shrink: 0;
}

.brand-item {
    font-family: 'Oswald', 'El Messiri', sans-serif;
    font-size: clamp(24px, 3vw, 40px);
    text-transform: uppercase;
    font-weight: 500;
    color: var(--text-muted);
    letter-spacing: 0.05em;
    white-space: nowrap;
    transition: color 0.3s;
}

.brand-item:hover {
    color: var(--brand-dark);
}

@keyframes marqueeScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ================= 5. CATALOG GALLERY ================= */

.catalog-gallery-section {
    padding: 100px var(--hero-pad);
    background: var(--bg-light);
    position: relative;
}

.section-container {
    max-width: 1920px;
    margin: 0 auto;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 40px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 20px;
}

.section-title {
    font-family: 'El Messiri', sans-serif;
    font-size: clamp(32px, 4vw, 56px);
    line-height: 1.1;
    color: var(--brand-dark);
}

.section-subtitle {
    font-size: 14px;
    color: var(--text-muted);
    text-transform: uppercase;
    max-width: 250px;
    text-align: right;
    font-weight: 500;
}

.catalog-slider {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding-bottom: 20px; /* modified for scrollbar */
    scroll-snap-type: x mandatory;
    
    /* Стилизация скроллбара */
    scrollbar-width: thin;
    scrollbar-color: var(--brand-dark) transparent;
}

.catalog-slider::-webkit-scrollbar {
    height: 6px;
}

.catalog-slider::-webkit-scrollbar-track {
    background: rgba(0,0,0,0.05);
    border-radius: 4px;
}

.catalog-slider::-webkit-scrollbar-thumb {
    background: var(--brand-dark);
    border-radius: 4px;
}

.catalog-slider::after {
    content: '';
    flex: 0 0 var(--hero-pad, 40px);
}

.catalog-slide {
    /* Slightly smaller max-width so 5 cards fit on a large screen */
    flex: 0 0 clamp(220px, 17vw, 310px);
    scroll-snap-align: start;
    position: relative;
    cursor: pointer;
}

.catalog-slide img {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    border-radius: 6px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: transform 0.4s ease;
}

.catalog-slide:hover img {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.slide-info {
    margin-top: 16px;
    font-family: 'Manrope', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: var(--brand-dark);
}

.slide-info span {
    font-size: 12px;
    font-weight: 500;
    color: var(--text-muted);
    text-transform: uppercase;
}

.catalog-cta {
    margin-top: 20px;
    display: flex;
    justify-content: center;
}

.btn-dark {
    width: auto;
    padding: 16px 40px;
}

/* ================= 6. SERVICES (BENTO GRID) ================= */

.services-section {
    padding: 100px var(--hero-pad);
    background: var(--card-bg); /* Белый фон для контраста */
}

.services-bento {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.s-card {
    background: var(--bg-light);
    padding: 40px;
    border-radius: 8px; /* Легкое скругление по стилю SOHO */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 280px;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    border: 1px solid rgba(0,0,0,0.03);
}

.s-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.06);
}

.s-card-1 { grid-column: 1 / 2; grid-row: 1 / 3; } /* Высокая карточка */
.s-card-2 { grid-column: 2 / 4; grid-row: 1 / 2; } /* Широкая карточка */
.s-card-3 { grid-column: 2 / 3; grid-row: 2 / 3; }
.s-card-4 { grid-column: 3 / 4; grid-row: 2 / 3; }

.s-num {
    font-family: 'Oswald', sans-serif;
    font-size: 48px;
    font-weight: 300;
    color: rgba(35, 35, 35, 0.15); /* Очень светлый номер */
    line-height: 1;
    margin-bottom: 20px;
}

.s-card h3 {
    font-family: 'El Messiri', sans-serif;
    font-size: 24px;
    color: var(--brand-dark);
    margin-bottom: 12px;
}

.s-card p {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ================= 7. PRODUCTION (TRUST BLOCK) ================= */

.production-section {
    position: relative;
    padding: 120px var(--hero-pad);
    background-color: var(--bg-light);
    border-top: 1px solid var(--frame-color);
}

.production-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.prod-image-wrapper {
    position: relative;
}

.prod-img {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}

.prod-caption {
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 15px;
    padding-left: 15px;
    border-left: 1px solid var(--frame-color);
}

.prod-content {
    padding: 40px 0;
}

.prod-tag {
    font-size: 11px;
    color: var(--brand-purple);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 30px;
    display: block;
    font-weight: 700;
}

.prod-title {
    font-family: 'El Messiri', sans-serif;
    font-size: clamp(36px, 5vw, 56px);
    line-height: 1.1;
    margin-bottom: 10px;
    color: var(--brand-dark);
}

.prod-subtitle {
    font-size: 16px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 50px;
    font-weight: 500;
}

.prod-manifesto {
    font-size: 16px;
    line-height: 1.8;
    color: var(--brand-dark);
    margin-bottom: 50px;
}

.prod-manifesto p {
    margin-bottom: 20px;
}

.prod-facts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    padding-top: 40px;
    border-top: 1px solid var(--frame-color);
}

.fact-item {
    text-align: left;
}

.fact-number {
    font-family: 'Oswald', sans-serif;
    font-size: 48px;
    font-weight: 500;
    color: var(--brand-dark);
    display: block;
    margin-bottom: 10px;
    line-height: 1;
}

.fact-label {
    font-size: 13px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 500;
}

/* ================= 8. FAQ (ЧАСТЫЕ ВОПРОСЫ) ================= */

.faq-section {
    padding: 100px var(--hero-pad);
    background: var(--card-bg); /* Белый фон */
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-header {
    text-align: center;
    margin-bottom: 60px;
}

.faq-title {
    font-family: 'El Messiri', sans-serif;
    font-size: clamp(32px, 4vw, 48px);
    color: var(--brand-dark);
    margin-bottom: 10px;
    line-height: 1.1;
}

.faq-subtitle {
    font-size: 16px;
    color: var(--text-muted);
    font-weight: 500;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: 8px;
    overflow: hidden;
    background: var(--bg-light);
    transition: all 0.3s;
}

.faq-question {
    padding: 25px 30px;
    font-family: 'Manrope', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: var(--brand-dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s;
}

.faq-question:hover {
    background: rgba(0,0,0,0.02);
}

.faq-icon {
    font-size: 24px;
    font-weight: 300;
    color: var(--brand-dark);
    transition: transform 0.3s;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 30px;
    color: var(--text-muted);
    line-height: 1.6;
    font-size: 15px;
}

.faq-item.active {
    border-color: rgba(0,0,0,0.1);
    box-shadow: 0 10px 20px rgba(0,0,0,0.03);
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding: 0 30px 25px 30px;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

/* ================= 9. FOOTER — see footer.css ================= */

/* ================= 10. B2B LEAD FORM ================= */

.lead-section {
    position: relative;
    padding: 100px var(--hero-pad);
    background: var(--card-bg);
    overflow: hidden;
    border-top: 1px solid var(--frame-color);
}

.lead-bg-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 1200px;
    height: 100%;
    background: radial-gradient(circle at center, rgba(75, 28, 79, 0.04) 0%, transparent 60%);
    z-index: 0;
    pointer-events: none;
}

.lead-container {
    position: relative;
    z-index: 2;
    max-width: 1100px;
    margin: 0 auto;
    background: var(--bg-light);
    border: 1px solid var(--frame-color);
    border-radius: 8px;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    box-shadow: 0 20px 50px rgba(0,0,0,0.06);
}

.lead-info {
    padding: 50px;
    border-right: 1px solid var(--frame-color);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 40px;
    background: linear-gradient(135deg, rgba(75, 28, 79, 0.03) 0%, transparent 100%);
    border-radius: 8px 0 0 8px;
}

.lead-title {
    font-family: 'El Messiri', sans-serif;
    font-size: 36px;
    line-height: 1.1;
    margin-bottom: 20px;
    color: var(--brand-dark);
}

.lead-subtitle {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}

.lead-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.feat-item {
    display: flex;
    gap: 15px;
}

.feat-icon {
    width: 24px;
    height: 24px;
    border: 1px solid var(--brand-purple);
    border-radius: 50%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: var(--brand-purple);
}

.feat-text {
    display: flex;
    flex-direction: column;
}

.feat-title {
    font-size: 14px;
    color: var(--brand-dark);
    font-weight: 600;
    margin-bottom: 2px;
}

.feat-desc {
    font-size: 12px;
    color: var(--text-muted);
}

.lead-form-box {
    padding: 50px;
    border-radius: 0 8px 8px 0;
}

.form-row {
    margin-bottom: 25px;
}

.form-label {
    display: block;
    font-family: 'Manrope', sans-serif;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.form-input,
.form-select {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--frame-color);
    color: var(--brand-dark);
    padding: 10px 0;
    font-family: 'Manrope', sans-serif;
    font-size: 16px;
    outline: none;
    transition: border-color 0.3s;
}

.form-input:focus,
.form-select:focus {
    border-color: var(--brand-purple);
}

.form-select option {
    background: #fff;
}

.range-wrap {
    margin-top: 10px;
}

.range-val {
    font-family: 'Oswald', sans-serif;
    font-size: 24px;
    color: var(--brand-dark);
    display: block;
    margin-bottom: 5px;
}

input[type=range] {
    width: 100%;
    -webkit-appearance: none;
    appearance: none;
    background: transparent;
}

input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    height: 16px;
    width: 16px;
    border-radius: 50%;
    background: var(--brand-purple);
    cursor: pointer;
    margin-top: -7px;
}

input[type=range]::-webkit-slider-runnable-track {
    width: 100%;
    height: 2px;
    background: var(--frame-color);
}

.lead-warning {
    font-size: 12px;
    color: #d32f2f;
    margin-top: 8px;
    display: none;
    opacity: 0;
    transition: opacity 0.3s;
}

.lead-btn {
    width: 100%;
    background: var(--brand-dark);
    color: #fff;
    border: none;
    padding: 18px;
    font-family: 'Manrope', sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    margin-top: 20px;
    border-radius: 4px;
    transition: 0.3s;
}

.lead-btn:hover {
    background: var(--brand-purple);
}

.lead-btn:disabled {
    background: #ccc;
    color: #888;
    cursor: not-allowed;
}

.lead-consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
}

.lead-consent input {
    margin-top: 3px;
    accent-color: var(--brand-purple);
    flex-shrink: 0;
}

.hero-consent {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-top: 12px;
    font-size: 11px;
    line-height: 1.35;
    color: var(--text-muted);
    cursor: pointer;
}

.hero-consent input {
    margin-top: 2px;
    accent-color: var(--brand-purple);
    flex-shrink: 0;
}

.contact-choice {
    width: 100%;
}

.contact-choice-title {
    display: block;
    margin: 12px 0 8px;
    font-family: 'Manrope', sans-serif;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.contact-choice-options {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
}

.contact-choice label {
    display: block;
    min-width: 0;
    cursor: pointer;
}

.contact-choice input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.contact-choice label span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 7px 6px;
    border: 1px solid #E2E2E2;
    border-radius: 4px;
    background: #fff;
    color: rgba(35,35,35,0.72);
    font-family: 'Manrope', sans-serif;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.1;
    text-align: center;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.contact-choice input:checked + span {
    border-color: var(--brand-dark);
    background: var(--brand-dark);
    color: #fff;
}

.contact-choice input:focus-visible + span {
    outline: 2px solid var(--brand-purple);
    outline-offset: 2px;
}

.form-microcopy {
    margin: 12px 0 0;
    padding-top: 10px;
    border-top: 1px solid rgba(0,0,0,0.08);
    font-family: 'Manrope', sans-serif;
    font-size: 11px !important;
    line-height: 1.45;
    color: var(--text-muted);
}

.form-microcopy-dark {
    font-size: 12px !important;
    color: rgba(35,35,35,0.62);
}

@media (max-width: 900px) {
    .lead-container {
        grid-template-columns: 1fr;
    }
    .lead-info {
        border-right: none;
        border-bottom: 1px solid var(--frame-color);
        padding: 30px 20px;
        border-radius: 8px 8px 0 0;
    }
    .lead-form-box {
        padding: 30px 20px;
        border-radius: 0 0 8px 8px;
    }
    .lead-section {
        padding: 60px 20px;
    }
}

/* ================= 11. READ ALSO (BLOG CARDS) ================= */

.read-also-section {
    padding: 100px var(--hero-pad);
    background: var(--bg-light);
    border-top: 1px solid var(--frame-color);
}

.read-also-section h2 {
    font-family: 'El Messiri', sans-serif;
    font-size: clamp(32px, 4vw, 48px);
    color: var(--brand-dark);
    margin-bottom: 40px;
    text-align: center;
}

.read-also-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1400px;
    margin: 0 auto;
}

.mini-blog-card {
    background: var(--card-bg);
    border: 1px solid var(--frame-color);
    border-radius: 8px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: transform 0.4s, box-shadow 0.4s;
    display: flex;
    flex-direction: column;
}

.mini-blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

.mini-blog-img {
    width: 100%;
    height: 220px;
    background-size: cover;
    background-position: center;
    background-color: var(--bg-light);
}

.mini-blog-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.mini-blog-tag {
    display: inline-block;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 700;
    color: var(--brand-purple);
    margin-bottom: 12px;
    padding: 4px 10px;
    border: 1px solid var(--frame-color);
    border-radius: 4px;
    width: fit-content;
}

.mini-blog-title {
    font-family: 'El Messiri', sans-serif;
    font-size: 18px;
    line-height: 1.3;
    color: var(--brand-dark);
    margin-bottom: 16px;
    flex: 1;
}

.mini-blog-link {
    font-size: 13px;
    font-weight: 600;
    color: var(--brand-purple);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

@media (max-width: 768px) {
    .read-also-section {
        padding: 60px 20px;
    }
    .read-also-grid {
        grid-template-columns: 1fr !important;
        gap: 16px;
    }
    .mini-blog-card {
        flex-direction: row;
    }
    .mini-blog-img {
        width: 120px;
        height: auto;
        min-height: 120px;
        flex-shrink: 0;
    }
    .mini-blog-content {
        padding: 16px;
    }
    .mini-blog-title {
        font-size: 14px;
        margin-bottom: 8px;
    }
    .mini-blog-tag {
        font-size: 9px;
        padding: 2px 6px;
        margin-bottom: 6px;
    }
}

/* ================= 12. SEO TAG CLOUD (ACCORDION) ================= */

.seo-accordion {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px var(--hero-pad);
    border-top: 1px solid var(--frame-color);
    text-align: center;
    background: var(--card-bg);
}

.seo-trigger {
    font-family: 'Manrope', sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: color 0.3s;
    background: none;
    border: none;
    padding: 16px 24px;
}

.seo-trigger:hover {
    color: var(--brand-dark);
}

.seo-trigger::after {
    content: '+';
    font-size: 18px;
    font-weight: 300;
}

.seo-trigger.active::after {
    content: '\2212';
}

.seo-content {
    display: none;
    justify-content: center;
    gap: 60px;
    margin-top: 40px;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.4s, transform 0.4s;
    text-align: left;
}

.seo-content.active {
    display: flex;
    opacity: 1;
    transform: translateY(0);
}

.seo-col {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.seo-col-title {
    font-family: 'Manrope', sans-serif;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 15px;
}

.seo-tag {
    color: rgba(35, 35, 35, 0.5);
    font-size: 13px;
    text-decoration: none;
    transition: color 0.3s;
    display: inline-block;
}

.seo-tag:hover {
    color: var(--brand-purple);
}

@media (max-width: 767px) {
    .seo-accordion {
        padding: 30px 20px;
    }
    .seo-content {
        flex-direction: column;
        gap: 30px;
    }
}

/* ================= RESPONSIVE ================= */

/* Средние экраны — сжимаем аккуратно */
@media (max-width: 1400px) {
    .hero-block {
        --card-gap: 16px;
        --hero-pad: clamp(30px, 4vw, 80px);
        padding-bottom: 24px;
    }

    .arrow-circle {
        left: -54px;
        width: 42px;
    }
}

/* Планшеты — 2 колонки: h1 слева, форма справа, карточки внизу стопкой */
@media (max-width: 1024px) {
    .hero-block {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 1fr auto;
        --hero-pad: 5vw;
        --card-gap: 16px;
        min-height: 100vh;
        height: auto;
        padding: 100px var(--hero-pad) 30px var(--hero-pad);
    }

    .hero-bg {
        position: absolute;
        opacity: 1;
    }

    .top-left {
        grid-column: 1 / 2;
        grid-row: 1 / 2;
    }

    .form-wrapper {
        grid-column: 2 / 3;
        grid-row: 1 / 2;
    }

    .bottom-cards-group {
        grid-column: 1 / -1;
        grid-template-columns: 1fr 1fr;
    }

    .b-card-3 {
        grid-column: 1 / -1;  /* 3-я карточка на всю ширину */
    }

    .b-card-wrapper {
        position: relative;
        display: flex;
        flex-direction: column;
    }

    .arrow-circle {
        position: absolute;
        top: 15px;
        right: 15px;
        left: auto;
        bottom: auto;
        width: 36px;
        height: 36px;
        margin-bottom: 0;
        border-radius: 50%;
        z-index: 10;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    }

    .arrow-circle svg {
        width: 16px;
        height: 16px;
    }

    .b-card-1 {
        height: auto;
    }

    /* Новые секции 1024px */
    .services-bento {
        grid-template-columns: 1fr 1fr;
    }
    .s-card-1 { grid-column: 1 / -1; grid-row: auto; }
    .s-card-2 { grid-column: 1 / -1; grid-row: auto; }
    .s-card-3 { grid-column: 1 / 2; grid-row: auto; }
    .s-card-4 { grid-column: 2 / 3; grid-row: auto; }

    .production-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .prod-img {
        height: 500px;
    }
}

/* Мобильные */
@media (max-width: 768px) {
    .hero-block {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto auto; /* 4 строки на мобилках */
        --hero-pad: 20px;
        padding: 80px var(--hero-pad) 24px var(--hero-pad);
        height: auto;
    }

    .top-left {
        grid-column: 1;
        grid-row: 1;
        padding-right: 0;
        margin-bottom: 20px;
    }

    .hero-bg {
        position: relative;
        grid-column: 1;
        grid-row: 2;
        height: 500px;
        margin: 0 calc(-1 * var(--hero-pad)) 40px calc(-1 * var(--hero-pad)); /* вырываемся на всю ширину экрана */
        z-index: 0;
    }

    .hero-bg img {
        object-fit: cover;
        object-position: center top;
        width: 100%;
        height: 100%;
    }

    .form-wrapper {
        grid-column: 1;
        grid-row: 3;
        margin-bottom: 20px;
    }

    .bottom-cards-group {
        grid-column: 1;
        grid-row: 4;
        grid-template-columns: 1fr;
    }

    .b-card-3 {
        grid-column: 1;
    }

    /* Новые секции 768px */
    .services-bento {
        grid-template-columns: 1fr;
    }
    .s-card-1, .s-card-2, .s-card-3, .s-card-4 {
        grid-column: 1 / -1;
    }

    .prod-facts {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    

    /* Fix 2: section-header vertical align */
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    .section-subtitle {
        text-align: left;
    }

    /* Fix 3: prod-img ratio */
    .prod-img {
        height: auto;
        aspect-ratio: 3/4;
    }

    /* Fix 4: form hierarchy */
    .form-row {
        margin-bottom: 35px;
    }
    .form-label {
        margin-bottom: 8px;
    }
}
