/* ===== RANCH PAGE — УНИКАЛЬНЫЙ ДИЗАЙН ===== */
:root {
    --ranch-orange: #FF6B00;
    --ranch-dark: #2a2f36;
    --ranch-light: #f8f9fa;
    --ranch-gray: #6c7a8a;
}

/* Hero */
/* ===== HERO — КОМПАКТНЫЙ, КАК В ЖАЛЮЗИ ===== */
/* ===== HERO — МАКСИМАЛЬНО КОМПАКТНЫЙ (КАК В ЖАЛЮЗИ) ===== */
.hero-ranch {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 30px 0 10px;                /* ← минимальные отступы */
    position: relative;
    overflow: hidden;
    min-height: auto !important;
    height: auto !important;
}

.hero-ranch::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(to right, rgba(0,0,0,0.03) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(0,0,0,0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
}

.hero-ranch-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    gap: 3rem;                           /* ← чуть уменьшен */
    position: relative;
    z-index: 2;
}

.hero-ranch-content {
    flex: 1;
}

.hero-ranch-badge {
    display: inline-block;
    font-size: 0.75rem;                  /* ← мельче */
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #FF6B00;
    background: rgba(255,107,0,0.1);
    padding: 0.3rem 0.8rem;              /* ← компактнее */
    border-radius: 30px;
    margin-bottom: 1rem;                 /* ← меньше отступ */
}

.hero-ranch-title {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;                     /* ← уменьшен */
    line-height: 1.1;
    color: #1a1a1a;
    margin-bottom: 0.75rem;              /* ← меньше */
}

.hero-ranch-title-accent {
    color: #FF6B00;
}

.hero-ranch-desc {
    font-size: 0.95rem;                  /* ← меньше */
    color: #4a4a4a;
    margin-bottom: 1.5rem;               /* ← уменьшен */
    line-height: 1.5;
    max-width: 500px;
}

.hero-ranch-stats {
    display: flex;
    gap: 1.5rem;                         /* ← меньше */
    margin-bottom: 1.5rem;               /* ← меньше */
}

.hero-ranch-stats .stat-item {
    text-align: center;
}

.hero-ranch-stats .stat-value {
    display: block;
    font-size: 1.8rem;                   /* ← меньше */
    font-weight: 700;
    color: #FF6B00;
    line-height: 1.2;
}

.hero-ranch-stats .stat-label {
    font-size: 0.7rem;
    color: #666;
    text-transform: uppercase;
}

.hero-ranch-buttons {
    display: flex;
    gap: 1rem;
}

.hero-ranch-visual {
    flex: 1;
    text-align: center;
}

.hero-ranch-visual img {
    max-width: 70%;                      /* ← слегка уменьшено, чтобы не растягивать */
    filter: drop-shadow(0 8px 16px rgba(0,0,0,0.05));
}

.hero-ranch-badge-float {
    position: absolute;
    bottom: 10px;
    left: 0;
    background: white;
    padding: 0.4rem 1rem;
    border-radius: 40px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 6px;
    color: #2a2f36;
    border: 1px solid rgba(255,107,0,0.2);
}

.hero-ranch-scroll {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    color: #6c7a8a;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 3;
}

/* Адаптивность */
@media (max-width: 1024px) {
    .hero-ranch-container {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }
    .hero-ranch-desc {
        margin-left: auto;
        margin-right: auto;
    }
    .hero-ranch-stats {
        justify-content: center;
    }
    .hero-ranch-buttons {
        justify-content: center;
    }
    .hero-ranch-badge-float {
        left: 50%;
        transform: translateX(-50%);
    }
    .hero-ranch-visual img {
        max-width: 80%;
    }
}

@media (max-width: 768px) {
    .hero-ranch {
        padding: 60px 0 30px;
    }
    .hero-ranch-title {
        font-size: 2.5rem;
    }
    .hero-ranch-desc {
        font-size: 0.9rem;
    }
}
/* Конфигуратор */
/* ===== ТРИ ВАРИАНТА РАНЧО (вместо конфигуратора) ===== */
.ranch-options {
    padding: 4rem 0;
    background: #fff;
}

.options-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 3rem 0 1.5rem;
}

.option-card {
    background: #fff;
    border-radius: 24px;
    padding: 2rem 1.5rem 1.5rem;
    text-align: center;
    position: relative;
    border: 1px solid #eef2f6;
    box-shadow: 0 8px 20px rgba(0,0,0,0.02);
    transition: transform 0.2s, box-shadow 0.2s;
}

.option-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.05);
    border-color: #FF6B00;
}

.option-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #FF6B00;
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.2rem 0.8rem;
    border-radius: 30px;
    letter-spacing: 0.05em;
}
.option-badge.premium {
    background: #2c3e50;
}
.option-badge.eco {
    background: #6c7a8a;
}

.option-image {
    height: 160px;
    margin-bottom: 1.5rem;
}
.option-image img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.option-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    margin-bottom: 1.2rem;
}

.option-specs {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
    text-align: left;
}
.option-specs li {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px dashed #e0e6ed;
    font-size: 0.85rem;
}
.option-specs li span:first-child {
    font-weight: 600;
    color: #2c3e50;
}
.option-specs li span:last-child {
    color: #4a5a6a;
}

.btn-small {
    padding: 0.6rem 1.8rem;
    font-size: 0.9rem;
}

.options-note {
    text-align: center;
    color: #6c7a8a;
    font-size: 0.9rem;
    margin-top: 1rem;
}
.options-note i {
    color: #FF6B00;
    margin-right: 6px;
}

/* Адаптивность */
@media (max-width: 1024px) {
    .options-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 768px) {
    .options-grid {
        grid-template-columns: 1fr;
    }
    .option-card {
        padding: 1.5rem;
    }
}
/* Преимущества */
.ranch-advantages { padding: 5rem 0; background: #fff; }
.ranch-advantages-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; margin-top: 3rem; }
.ranch-adv-item { text-align: center; padding: 2rem 1.5rem; background: #fafcff; border-radius: 24px; transition: transform 0.3s; }
.ranch-adv-item:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(0,0,0,0.05); }
.adv-icon { font-size: 2.5rem; color: var(--ranch-orange); margin-bottom: 1.5rem; }
.ranch-adv-item h3 { font-size: 1.3rem; margin-bottom: 1rem; }
.ranch-adv-item p { color: var(--ranch-gray); line-height: 1.5; }

/* Галерея — masonry */
.ranch-gallery { padding: 5rem 0; background: #f8fafc; }
.ranch-gallery-bg { /* опционально */ }
.gallery-header { text-align: center; margin-bottom: 3rem; }
.gallery-badge {
    display: inline-block; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.2em;
    color: var(--ranch-orange); background: rgba(255,107,0,0.1); padding: 0.4rem 1.2rem; border-radius: 30px;
    margin-bottom: 1rem;
}
.gallery-title { font-family: 'Playfair Display', serif; font-size: 2.8rem; margin-bottom: 0.5rem; }
.gallery-subheader { color: var(--ranch-gray); }
.ranch-gallery-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
    grid-auto-rows: 250px;
}
.gallery-item {
    position: relative; overflow: hidden; border-radius: 20px; cursor: pointer;
    box-shadow: 0 8px 20px rgba(0,0,0,0.05);
}
.gallery-item.large { grid-column: span 2; grid-row: span 2; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item-info {
    position: absolute; bottom: 0; left: 0; right: 0; padding: 1.5rem;
    background: linear-gradient(transparent, rgba(0,0,0,0.7)); color: white;
}
.gallery-item-title { font-weight: 700; display: block; margin-bottom: 0.25rem; }
.gallery-item-location { font-size: 0.8rem; opacity: 0.9; }
.gallery-action { text-align: center; margin-top: 3rem; }
.btn-portfolio {
    display: inline-flex; align-items: center; gap: 0.6rem; padding: 0.9rem 2.2rem;
    border: 2px solid var(--ranch-orange); color: var(--ranch-orange); font-weight: 600;
    border-radius: 40px; text-decoration: none; transition: all 0.3s;
}
.btn-portfolio:hover { background: var(--ranch-orange); color: white; }

/* Ворота */
.ranch-gates { padding: 5rem 0; background: #fff; }
.gates-header { text-align: center; margin-bottom: 3rem; }
.gates-pre-title {
    display: inline-block; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.2em;
    color: var(--ranch-orange); background: rgba(255,107,0,0.1); padding: 0.3rem 1rem;
    border-radius: 30px; margin-bottom: 1rem;
}
.gates-title { font-family: 'Playfair Display', serif; font-size: 2.5rem; }
.gates-showcase { display: flex; gap: 4rem; align-items: center; }
.gates-showcase-text { flex: 1; }
.gates-showcase-list { list-style: none; padding: 0; margin: 2rem 0; }
.gates-showcase-list li { margin-bottom: 0.8rem; display: flex; align-items: center; gap: 10px; }
.gates-showcase-list i { color: var(--ranch-orange); }
.gates-showcase-image { flex: 1; position: relative; }
.gates-showcase-image img { width: 100%; border-radius: 24px; }
.gates-showcase-stats {
    position: absolute; bottom: 20px; right: 20px; display: flex; gap: 1rem;
    background: white; padding: 1rem 1.5rem; border-radius: 60px; box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}
.gates-showcase-stats .stat { text-align: center; }
.gates-showcase-stats .stat span:first-child { font-weight: 700; color: var(--ranch-orange); display: block; }
.gates-showcase-stats .stat span:last-child { font-size: 0.7rem; text-transform: uppercase; }

/* Монтаж */
.ranch-install { padding: 4rem 0; background: var(--ranch-dark); color: white; }
.install-card { display: flex; gap: 3rem; background: #1e242c; border-radius: 32px; padding: 2.5rem; border: 1px solid rgba(255,107,0,0.3); }
.install-left { flex: 2; }
.install-badge {
    display: inline-block; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.2em;
    color: var(--ranch-orange); background: rgba(255,107,0,0.15); padding: 0.3rem 1rem;
    border-radius: 30px; margin-bottom: 1rem;
}
.install-left h3 { font-size: 1.8rem; margin-bottom: 1rem; }
.install-left p { color: #ccc; margin-bottom: 1.5rem; }
.install-checklist { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.check-item { display: flex; align-items: center; gap: 8px; }
.check-item i { color: var(--ranch-orange); }
.install-right { flex: 1; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; }
.install-guarantee { margin-bottom: 2rem; }
.guarantee-years { font-size: 5rem; font-weight: 800; color: var(--ranch-orange); line-height: 1; display: block; }
.guarantee-text { font-size: 1rem; text-transform: uppercase; letter-spacing: 2px; }
.btn-white { border-color: white; color: white; }
.btn-white:hover { background: white; color: var(--ranch-dark); }

/* Адаптивность */
@media (max-width: 1024px) {
    .hero-ranch-container { flex-direction: column; text-align: center; }
    .hero-ranch-desc { margin-left: auto; margin-right: auto; }
    .hero-ranch-stats { justify-content: center; }
    .config-grid { grid-template-columns: 1fr; }
    .ranch-advantages-grid { grid-template-columns: repeat(2, 1fr); }
    .ranch-gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .gallery-item.large { grid-column: span 1; grid-row: span 1; }
    .gates-showcase { flex-direction: column; }
}
@media (max-width: 768px) {
    .hero-ranch-title { font-size: 2.8rem; }
    .ranch-advantages-grid { grid-template-columns: 1fr; }
    .ranch-gallery-grid { grid-template-columns: 1fr; }
    .install-card { flex-direction: column; }
    .install-checklist { grid-template-columns: 1fr; }
}
/* ===== ТРИ ВАРИАНТА РАНЧО — С ФОНОМ И КОМПАКТНЫМ ЗАГОЛОВКОМ ===== */
.ranch-options {
    padding: 3rem 0;
    background: #f8f9fa;                /* ← лёгкий серый фон (как в преимуществах на жалюзи) */
}

/* Уменьшаем отступ после заголовка секции */
.ranch-options .section-header {
    margin-bottom: 1.2rem;              /* было 1.5rem или больше — делаем компактнее */
}

/* Сам заголовок h2 прижимаем к пре-тайтлу */
.ranch-options .section-title {
    margin-bottom: 0.25rem;             /* почти без отступа */
}

/* Подчёркивание заголовка тоже ближе */
.ranch-options .title-underline {
    margin-top: 0.25rem;
}

/* Сетка карточек — отступ сверху уменьшен */
.ranch-options .options-grid {
    margin-top: 1.5rem;                 /* было 3rem — теперь карточки ближе к заголовку */
}

/* Примечание внизу — отступ сверху тоже уменьшаем */
.ranch-options .options-note {
    margin-top: 1.2rem;                 /* было больше */
}

/* Адаптивность */
@media (max-width: 768px) {
    .ranch-options {
        padding: 2rem 0;
    }
    .ranch-options .options-grid {
        margin-top: 1rem;
    }
}
/* ===== КОМПАКТНЫЙ БЛОК "ЧЕСТНЫЕ ПРЕИМУЩЕСТВА" ===== */
.ranch-advantages {
    padding: 2.5rem 0 !important;          /* уменьшаем общий вертикальный отступ секции */
                   /* лёгкий серый фон, как в преимуществах жалюзи */
}

.ranch-advantages .section-header {
    margin-bottom: 1rem !important;        /* отступ после заголовочной части */
}

.ranch-advantages .pre-title {
    margin-bottom: 0.3rem !important;      /* прижимаем пре-тайтл к основному заголовку */
}

.ranch-advantages .section-title {
    margin-bottom: 0.25rem !important;     /* минимизируем отступ под заголовком */
}

/* Сетка преимуществ — уменьшаем отступ сверху */
.ranch-advantages-grid {
    margin-top: 1.2rem !important;         /* карточки ближе к заголовку */
}

/* Адаптивность — на мобильных ещё компактнее */
@media (max-width: 768px) {
    .ranch-advantages {
        padding: 2rem 0 !important;
    }
    .ranch-advantages-grid {
        margin-top: 1rem !important;
    }
}
/* ===== КОМПАКТНЫЙ БЛОК ГАЛЕРЕИ "РЕАЛЬНЫЕ ИСТОРИИ" ===== */
.ranch-gallery {
    padding: 2.5rem 0 !important;          /* уменьшаем общий отступ секции */
}

.ranch-gallery .gallery-header {
    margin-bottom: 1.2rem !important;      /* отступ после заголовочной части */
}

.ranch-gallery .gallery-badge {
    margin-bottom: 0.5rem !important;      /* прижимаем бейдж к заголовку */
}

.ranch-gallery .gallery-title {
    margin-bottom: 0.3rem !important;      /* минимизируем отступ под заголовком */
}

.ranch-gallery .gallery-subheader {
    margin-bottom: 0 !important;           /* убираем лишний отступ у подзаголовка */
}

/* Сетка галереи — отступ сверху уменьшаем */
.ranch-gallery-grid {
    margin-top: 1rem !important;           /* картинки ближе к заголовку */
}

/* Кнопка портфолио — отступ сверху тоже сокращаем */
.ranch-gallery .gallery-action {
    margin-top: 1.5rem !important;
}

/* Адаптивность */
@media (max-width: 768px) {
    .ranch-gallery {
        padding: 2rem 0 !important;
    }
    .ranch-gallery-grid {
        margin-top: 0.8rem !important;
    }
}
/* ===== КОМПАКТНЫЙ БЛОК "ВЪЕЗДНАЯ ГРУППА" ===== */
.ranch-gates {
    padding: 2.5rem 0 !important;          /* уменьшаем общий вертикальный отступ */
}

.ranch-gates .gates-header {
    margin-bottom: 1rem !important;        /* отступ после заголовочной части */
}

.ranch-gates .gates-pre-title {
    margin-bottom: 0.3rem !important;      /* прижимаем пре-тайтл к заголовку */
}

.ranch-gates .gates-title {
    margin-bottom: 0.25rem !important;     /* минимизируем отступ под заголовком */
}

/* Контейнер с текстом и картинкой — отступ сверху уменьшен */
.ranch-gates .gates-showcase {
    margin-top: 0.5rem !important;
}

/* Адаптивность */
@media (max-width: 768px) {
    .ranch-gates {
        padding: 2rem 0 !important;
    }
}
/* ===== УВЕЛИЧИВАЕМ ОТСТУП СВЕРХУ У КОНТАКТНОГО БЛОКА ===== */
.dialog.dialog-v20 {
    padding-top: 3rem !important;      /* было меньше, теперь просторнее */
}

/* Для точной настройки заголовка внутри */
.dialog .v20-header {
    margin-top: 0.5rem !important;
}
/* ===== УВЕЛИЧЕННЫЕ И АКЦЕНТНЫЕ ИЗОБРАЖЕНИЯ В КАРТОЧКАХ ===== */
.option-card {
    background: #fff;
    border-radius: 24px;
    padding: 2rem 1.5rem 1.5rem;
    text-align: center;
    position: relative;
    border: 1px solid #eef2f6;
    box-shadow: 0 8px 20px rgba(0,0,0,0.02);
    transition: transform 0.2s, box-shadow 0.2s;
    overflow: hidden;           /* чтобы эффекты не вылезали за края */
}

.option-image {
    height: 220px;              /* увеличено с 160px */
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fafcff;        /* мягкий фон выделяет изображение */
    border-radius: 16px;
    padding: 0.5rem;
    box-shadow: inset 0 0 0 1px rgba(0,0,0,0.03), 0 6px 12px -6px rgba(0,0,0,0.1);
    transition: box-shadow 0.3s;
}

.option-image img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.option-card:hover .option-image img {
    transform: scale(1.02);       /* лёгкое увеличение при наведении */
}

.option-card:hover .option-image {
    box-shadow: inset 0 0 0 1px rgba(255,107,0,0.15), 0 12px 20px -8px rgba(0,0,0,0.15);
}
/* ===== ИЗОБРАЖЕНИЯ НА ВСЮ ШИРИНУ КАРТОЧКИ ===== */
.option-image {
    width: 100%;
    height: 220px;                      /* фиксированная высота */
    margin-bottom: 1.5rem;
    border-radius: 16px;
    overflow: hidden;                   /* обрезаем края */
    box-shadow: inset 0 0 0 1px rgba(0,0,0,0.03), 0 8px 16px -6px rgba(0,0,0,0.1);
    transition: box-shadow 0.3s;
    background: #fafcff;                /* фон на случай прозрачных картинок */
}

.option-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;                  /* заполняет всё пространство, обрезая лишнее */
    transition: transform 0.3s ease;
    display: block;
}

.option-card:hover .option-image img {
    transform: scale(1.03);             /* лёгкое увеличение при наведении */
}

.option-card:hover .option-image {
    box-shadow: inset 0 0 0 1px rgba(255,107,0,0.2), 0 12px 24px -8px rgba(0,0,0,0.15);
}
/* ===== УНИКАЛЬНЫЙ БЛОК ВОРОТ РАНЧО ===== */
.ranch-gates-unique {
    padding: 1.5rem 0 3rem;   /* верхний отступ уменьшен с 4rem до 2rem */
    background: #f8fafc;
    position: relative;
    overflow: hidden;
}

.ranch-gates-unique::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(90deg, transparent, transparent 2px, rgba(0,0,0,0.02) 2px, rgba(0,0,0,0.02) 6px);
    pointer-events: none;
}

.gates-unique-wrapper {
    display: flex;
    align-items: center;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.gates-unique-content {
    flex: 1;
}

.gates-unique-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #FF6B00;
    background: rgba(255,107,0,0.08);
    padding: 0.4rem 1.2rem;
    border-radius: 30px;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255,107,0,0.15);
}

.gates-unique-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.6rem;
    line-height: 1.2;
    color: #1a1a1a;
    margin-bottom: 1rem;
}

.gates-unique-title span {
    color: #FF6B00;
}

.gates-unique-desc {
    font-size: 1rem;
    color: #4a5a6a;
    margin-bottom: 2rem;
    max-width: 500px;
}

.gates-unique-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem 2rem;
    margin-bottom: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1rem;
    color: #2c3e50;
    font-weight: 500;
}

.feature-icon {
    font-size: 1.4rem;
    min-width: 1.8rem;
    text-align: center;
}

.gates-unique-guarantee {
    display: flex;
    gap: 3rem;
    margin-bottom: 2rem;
}

.guarantee-item {
    display: flex;
    flex-direction: column;
}

.guarantee-years {
    font-size: 2.5rem;
    font-weight: 800;
    color: #FF6B00;
    line-height: 1;
}

.guarantee-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #6c7a8a;
}

.btn-gates-unique {
    padding: 0.9rem 2.5rem;
    font-size: 1rem;
}

.gates-unique-image {
    flex: 1;
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 30px -10px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.gates-unique-image:hover {
    transform: scale(1.01);
}

.gates-unique-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.gates-unique-image-overlay {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(4px);
    padding: 0.6rem 1.2rem;
    border-radius: 40px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: #FF6B00;
    border: 1px solid rgba(255,107,0,0.3);
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

/* Адаптивность */
@media (max-width: 1024px) {
    .gates-unique-wrapper {
        flex-direction: column;
        gap: 2rem;
    }
    .gates-unique-content {
        text-align: center;
    }
    .gates-unique-desc {
        margin-left: auto;
        margin-right: auto;
    }
    .gates-unique-features {
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }
    .gates-unique-guarantee {
        justify-content: center;
    }
    .gates-unique-image {
        max-width: 600px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .ranch-gates-unique {
        padding: 3rem 0;
    }
    .gates-unique-title {
        font-size: 2rem;
    }
    .gates-unique-features {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }
    .feature-item {
        justify-content: flex-start;
    }
    .gates-unique-guarantee {
        gap: 2rem;
    }
    .guarantee-years {
        font-size: 2rem;
    }
}
/* ===== БЛОК МОНТАЖА БЕЗ ЦИФР ГАРАНТИИ ===== */
.ranch-install .install-guarantee {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.ranch-install .guarantee-icon {
    font-size: 2.5rem;
    color: #FF6B00;
}

.ranch-install .guarantee-text {
    font-size: 1.1rem;
    font-weight: 600;
    text-align: center;
    line-height: 1.4;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #ffffff;
}

/* Адаптивность */
@media (max-width: 768px) {
    .ranch-install .guarantee-text {
        font-size: 1rem;
    }
}