/* ============================
   Solar System Repairs Page Styles
   Author: EnergyON Dev Theme
   ============================ */

/* Basic container */
.container{max-width:1200px;margin:0 auto;padding:0 16px}

/* Buttons */
.btn{position:relative;overflow:hidden;display:inline-flex;align-items:center;justify-content:center;padding:12px 24px;font-size:16px;font-weight:600;border-radius:6px;text-decoration:none;transition:transform 0.2s ease;background:linear-gradient(90deg,#007bff,#0056b3);color:#fff;border:none;cursor:pointer}
.btn--primary{background:linear-gradient(90deg,#007bff,#0056b3);color:#fff}
.btn--secondary{background:transparent;border:2px solid #351BA1;color:#351BA1}
.btn--ghost{background:transparent;border:2px solid rgba(53,27,161,0.2);color:#351BA1}
.btn--link{background:none;color:#351BA1}

/* ---------- HERO SECTION ---------- */
.solar-repairs-page .hero-block {
    position: relative;
    overflow: hidden;
    padding: 120px 0 100px;
    color: #0a1a3c;
}

.solar-repairs-page .hero-block__overlay,
.solar-repairs-page .hero-block__overlay-mob {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    z-index: -1;
}

.solar-repairs-page .hero-block__inf {
    max-width: 720px;
    background: rgba(255, 255, 255, 0.95);
    padding: 40px;
    border-radius: 14px;
    box-shadow: 0 8px 28px rgba(0,0,0,0.08);
    backdrop-filter: blur(4px);
}

.solar-repairs-page .hero-block__inf h1.title {
    font-size: 2rem;
    color: #0a1a3c;
    margin-bottom: 15px;
    font-weight: 700;
}

.solar-repairs-page .hero-subtitle {
    font-size: 1.25rem;
    font-weight: 600;
    color: #2E5AAC;
    margin-bottom: 12px;
}

.solar-repairs-page .hero-description {
    font-size: 1.1rem;
    color: #333;
    line-height: 1.6;
}

.solar-repairs-page .hero-location {
    font-style: italic;
    color: #6c757d;
    margin-top: 10px;
}

/* ---------- CTA BUTTONS ---------- */
.hero-block__btn {
    margin-top: 25px;
    display: flex;
    gap: 15px;
}

.hero-block__btn .btn,
.hero-block__btn .btn-primary,
.hero-block__btn .btn-secondary {
    background: #351BA1;
    color: #fff;
    border: none;
    border-radius: 30px;
    padding: 12px 30px;
    position: relative;
    overflow: hidden;
}

.hero-block__btn .btn::after {
    display: none !important;
}

.btn-primary,
.btn-secondary {
    background: #351BA1;
    color: #fff;
    border: none;
    border-radius: 30px;
    padding: 12px 30px;
}

/* ---------- REPAIRS SECTION ---------- */
.repairs-block {
    padding: 100px 0;
    background: #f9fafc;
}

.repairs-block h2.title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 50px;
    color: #0a1a3c;
}

.repairs-block__list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.repairs-block__item {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.05);
    padding: 25px;
    border-left: 5px solid #e74c3c;
}

.repairs-block__item .inf {
    flex: 1;
    min-width: 250px;
}

.repairs-block__item .number {
    font-size: 1.2rem;
    color: #e74c3c;
    font-weight: 700;
    margin-bottom: 10px;
}

.repairs-block__item .title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.repairs-block__item .caption {
    color: #555;
    font-size: 1rem;
    line-height: 1.5;
}

.repairs-block__item .image img {
    width: 100%;
    max-width: 320px;
    border-radius: 10px;
}

/* ---------- CTA SECTION ---------- */
.cta-section {
    padding: 90px 0;
    background: linear-gradient(135deg, #2E5AAC, #0061FF);
    color: #fff;
    text-align: center;
}

.cta-section .cta-content h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.cta-section .cta-content p {
    font-size: 1.1rem;
    max-width: 720px;
    margin: 0 auto 30px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* Стилі для кнопок в .why__cta та .btn--primary */
.why__cta .btn,
.why__cta .btn--primary,
.why__cta .btn--secondary,
.btn--primary {
    background: #351BA1;
    color: #fff;
    border: none;
    border-radius: 30px;
    padding: 12px 30px;
    position: relative;
    overflow: hidden;
}

.why__cta .btn::after,
.why__cta .btn--primary::after,
.btn--primary::after {
    display: none !important;
}

/* Білі кнопки в .cta-buttons */
.cta-buttons .btn,
.cta-buttons .btn-primary,
.cta-buttons .btn-secondary {
    background: #fff;
    color: #351BA1;
    border: 2px solid #fff;
    border-radius: 30px;
    padding: 12px 30px;
    position: relative;
    overflow: hidden;
}

.cta-buttons .btn::after,
.cta-buttons .btn-primary::after {
    display: none !important;
}

/* ---------- EXISTING STYLES ---------- */
.why__inner{display:grid;grid-template-columns:1fr 420px;gap:28px;align-items:start;margin:48px 0}
.why__list{margin-top:16px;padding-left:18px}
.why__list li{margin-bottom:8px}
.card--elevated{background:#fff;border-radius:10px;padding:18px;box-shadow:0 8px 30px rgba(2,6,23,0.06)}

.muted{color:#6b7280}
.section-title{font-size:20px;color:#0f172a;margin-bottom:8px}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 992px) {
    .solar-repairs-page .hero-block {
        padding: 90px 0;
    }
    .repairs-block__item {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 900px){
    .why__inner{grid-template-columns:1fr}
}

@media (max-width: 480px){
    .solar-repairs-page .hero-block {
        padding: 60px 0;
    }
    .solar-repairs-page .hero-block__inf {
        padding: 25px;
    }
    .solar-repairs-page .hero-block__inf h1.title {
        font-size: 1.5rem;
    }
    .hero-block__btn {
        flex-direction: column;
    }
    .repairs-block {
        padding: 60px 0;
    }
}

