/* ==========================================
   SERVICES & INSTALLATION PAGE STYLES
   ========================================== */

/* Hero Section */
.services-hero {
    background: linear-gradient(135deg, #d0021b 0%, #a60014 100%);
    padding: 80px 0;
    color: white;
    position: relative;
    overflow: hidden;
}

.services-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120"><path fill="rgba(255,255,255,0.05)" d="M0,0V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,52.47V0Z" opacity=".25"/></svg>') no-repeat bottom;
    background-size: cover;
    opacity: 0.3;
}

.services-hero .hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.services-hero .hero-title {
    font-size: 48px;
    font-weight: 900;
    margin: 0 0 15px 0;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.services-hero .hero-subtitle {
    font-size: 20px;
    font-weight: 300;
    margin: 0 0 50px 0;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.services-hero .hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}

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

.services-hero .stat-number {
    font-size: 48px;
    font-weight: 900;
    margin-bottom: 10px;
}

.services-hero .stat-label {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.9;
}

/* Services Overview Section */
.services-overview {
    padding: 80px 0;
    background: #f4f4f4;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    color: #d0021b;
    margin-bottom: 30px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(135deg, #d0021b 0%, #a60014 100%);
    border-radius: 2px;
}

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

.text-center .section-title::after {
    left: 50%;
    transform: translateX(-50%);
}

.section-subtitle {
    text-align: center;
    font-size: 18px;
    color: #666;
    margin-bottom: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    background: white;
    padding: 40px 35px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 2px solid transparent;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 40px rgba(208, 2, 27, 0.15);
    border-color: #d0021b;
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #d0021b 0%, #a60014 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.service-icon i {
    font-size: 36px;
    color: white;
}

.service-card h3 {
    font-size: 22px;
    font-weight: 700;
    color: #333;
    margin: 0 0 15px 0;
}

.service-card p {
    font-size: 15px;
    line-height: 1.7;
    color: #666;
    margin: 0 0 20px 0;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-features li {
    font-size: 14px;
    color: #555;
    padding: 6px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.service-features li i {
    color: #d0021b;
    font-size: 12px;
    flex-shrink: 0;
}

/* Installation Categories Section */
.installation-categories {
    padding: 80px 0;
    background: white;
}

.install-grid {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: 50px;
}

.install-card {
    display: flex;
    align-items: center;
    gap: 30px;
    background: #f8f8f8;
    padding: 35px 40px;
    border-radius: 12px;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.install-card:hover {
    background: white;
    border-color: #d0021b;
    box-shadow: 0 8px 30px rgba(208, 2, 27, 0.12);
    transform: translateX(10px);
}

.install-icon {
    width: 90px;
    height: 90px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
}

.install-card:hover .install-icon {
    background: linear-gradient(135deg, #d0021b 0%, #a60014 100%);
    box-shadow: 0 6px 20px rgba(208, 2, 27, 0.3);
}

.install-icon-img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: filter 0.3s;
}

.install-card:hover .install-icon-img {
    filter: brightness(0) invert(1);
}

.install-content {
    flex: 1;
}

.install-content h3 {
    font-size: 22px;
    font-weight: 700;
    color: #333;
    margin: 0 0 10px 0;
}

.install-content p {
    font-size: 15px;
    line-height: 1.7;
    color: #666;
    margin: 0 0 15px 0;
}

.install-details {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.detail-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    color: #d0021b;
    font-weight: 600;
    border: 1px solid rgba(208, 2, 27, 0.2);
}

.detail-tag i {
    font-size: 12px;
}

/* Service Process Section */
.service-process {
    padding: 80px 0;
    background: #f4f4f4;
}

.process-timeline {
    max-width: 700px;
    margin: 50px auto 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.process-step {
    display: flex;
    align-items: flex-start;
    gap: 25px;
    width: 100%;
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #d0021b 0%, #a60014 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 900;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(208, 2, 27, 0.3);
}

.step-content {
    flex: 1;
    background: white;
    padding: 25px 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
}

.step-content h3 {
    font-size: 20px;
    font-weight: 700;
    color: #333;
    margin: 0 0 8px 0;
}

.step-content p {
    font-size: 15px;
    line-height: 1.6;
    color: #666;
    margin: 0;
}

.process-connector {
    width: 4px;
    height: 30px;
    background: linear-gradient(to bottom, #d0021b, #a60014);
    margin-left: 28px;
    border-radius: 2px;
}

/* Why Choose Us Section */
.why-choose-us {
    padding: 80px 0;
    background: white;
}

.reasons-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.reason-card {
    background: #f8f8f8;
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.reason-card:hover {
    background: white;
    border-color: #d0021b;
    transform: translateY(-8px);
    box-shadow: 0 10px 40px rgba(208, 2, 27, 0.15);
}

.reason-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #d0021b 0%, #a60014 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.reason-icon i {
    font-size: 32px;
    color: white;
}

.reason-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin: 0 0 12px 0;
}

.reason-card p {
    font-size: 14px;
    line-height: 1.7;
    color: #666;
    margin: 0;
}

/* Call to Action Section */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #d0021b 0%, #a60014 100%);
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-size: 40px;
    font-weight: 700;
    margin: 0 0 20px 0;
}

.cta-content p {
    font-size: 18px;
    margin: 0 0 40px 0;
    opacity: 0.9;
}

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

.btn-primary,
.btn-secondary {
    padding: 18px 40px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.btn-primary {
    background: white;
    color: #d0021b;
}

.btn-primary:hover {
    background: #f0f0f0;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #d0021b;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-50px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(50px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in { animation: fadeIn 1s ease-out; }
.slide-in-left { animation: slideInLeft 0.8s ease-out; }
.slide-in-right { animation: slideInRight 0.8s ease-out; }
.fade-in-up { animation: fadeInUp 0.8s ease-out; animation-fill-mode: both; }

/* ==========================================
   PRICING SECTION
   ========================================== */

.pricing-section {
    background: #f4f4f4;
    padding-top: 80px;
}

.price-tabs-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 30px;
    padding-bottom: 4px;
}

.price-tabs {
    display: flex;
    gap: 8px;
    min-width: max-content;
    background: white;
    padding: 8px;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.price-tab {
    padding: 12px 22px;
    border: none;
    background: transparent;
    color: #555;
    font-size: 14px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.25s;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: inherit;
}

.price-tab i {
    font-size: 13px;
}

.price-tab:hover {
    background: rgba(208,2,27,0.08);
    color: #d0021b;
}

.price-tab.active {
    background: linear-gradient(135deg, #d0021b 0%, #a60014 100%);
    color: white;
    box-shadow: 0 4px 14px rgba(208,2,27,0.35);
}

.price-content {
    display: none;
}

.price-content.active {
    display: block;
}

.price-group {
    background: white;
    border-radius: 12px;
    margin-bottom: 20px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.price-group-header {
    background: linear-gradient(135deg, #1a1a1a 0%, #333 100%);
    color: white;
    padding: 14px 22px;
    font-size: 15px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}

.price-group-header i {
    color: #ff4d4d;
    font-size: 14px;
}

.price-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.price-table thead tr {
    background: #f9f9f9;
    border-bottom: 2px solid #eee;
}

.price-table th {
    padding: 12px 18px;
    text-align: left;
    font-weight: 700;
    color: #444;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.price-table td {
    padding: 11px 18px;
    color: #555;
    border-bottom: 1px solid #f0f0f0;
    vertical-align: middle;
}

.price-table tbody tr:last-child td {
    border-bottom: none;
}

.price-table tbody tr:hover {
    background: #fef8f8;
}

.price-cell {
    font-weight: 700;
    color: #d0021b !important;
    font-size: 15px;
    white-space: nowrap;
}

.price-contact {
    color: #e67e22 !important;
    font-style: italic;
}

.price-highlight {
    font-size: 17px !important;
    color: #d0021b !important;
}

.vc-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
}

.vc-badge.vc1 {
    background: #e8f4fd;
    color: #1a6fa8;
}

.vc-badge.vc2 {
    background: #f0f7e6;
    color: #3a7d2c;
}

.vc-badge.no-vc {
    background: #f5f5f5;
    color: #888;
}

.price-vc-note {
    background: white;
    border-left: 4px solid #d0021b;
    padding: 14px 20px;
    margin-bottom: 20px;
    border-radius: 0 8px 8px 0;
    font-size: 14px;
    color: #555;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.price-note-inline {
    background: #fffbf0;
    border-left: 4px solid #f0a500;
    padding: 14px 20px;
    margin-bottom: 20px;
    border-radius: 0 8px 8px 0;
    font-size: 14px;
    color: #555;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.price-note-inline i {
    color: #f0a500;
    margin-top: 2px;
    flex-shrink: 0;
}

/* Notes Section */
.price-notes-section {
    background: #1a1a1a;
    padding: 50px 0;
    margin-top: 0;
}

.price-notes-header {
    font-size: 20px;
    font-weight: 700;
    color: white;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.price-notes-header i {
    color: #ff4d4d;
}

.price-notes-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.price-notes-list li {
    font-size: 13px;
    color: #bbb;
    line-height: 1.6;
    padding-left: 16px;
    position: relative;
}

.price-notes-list li::before {
    content: '—';
    position: absolute;
    left: 0;
    color: #d0021b;
    font-weight: 700;
}

.price-notes-list strong {
    color: #fff;
}

/* Responsive Design */
@media (max-width: 768px) {
    .price-notes-list {
        grid-template-columns: 1fr;
    }
    .price-table {
        font-size: 13px;
    }
    .price-table th,
    .price-table td {
        padding: 9px 12px;
    }
}

@media (max-width: 992px) {
    .services-hero .hero-title { font-size: 36px; }
    .services-hero .hero-subtitle { font-size: 16px; }
    .services-hero .stat-number { font-size: 36px; }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .reasons-grid {
        grid-template-columns: 1fr 1fr;
    }

    .install-card {
        flex-direction: column;
        text-align: center;
        padding: 30px;
    }

    .install-details {
        justify-content: center;
    }

    .cta-content h2 { font-size: 28px; }
}

@media (max-width: 576px) {
    .services-hero { padding: 50px 0; }
    .services-hero .hero-title { font-size: 28px; }
    .services-hero .hero-subtitle { font-size: 14px; }
    .services-hero .hero-stats { gap: 30px; }
    .services-hero .stat-number { font-size: 28px; }
    .services-hero .stat-label { font-size: 12px; }

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

    .services-overview,
    .installation-categories,
    .service-process,
    .why-choose-us,
    .cta-section {
        padding: 50px 0;
    }

    .reasons-grid {
        grid-template-columns: 1fr;
    }

    .process-step { gap: 15px; }
    .step-number { width: 48px; height: 48px; font-size: 20px; }
    .process-connector { margin-left: 22px; height: 20px; }
    .step-content { padding: 20px; }

    .cta-buttons { flex-direction: column; }
    .btn-primary, .btn-secondary { width: 100%; justify-content: center; }
}
