/* ==========================================================================
   Service Detail Page Stylesheet
   ========================================================================== */

.sd-hero {
    min-height: 280px;
    background: linear-gradient(135deg, var(--primary) 0%, #03326d 100%);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    text-align: center;
    background-size: cover;
    background-position: center;
    position: relative;
}

.sd-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(15, 23, 42, 0.65);
    z-index: 1;
}

.sd-hero .container-1200 {
    position: relative;
    z-index: 2;
}

.sd-hero-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 12px;
    line-height: 1.2;
}

.sd-hero-subtitle {
    font-size: 1.1rem;
    color: #cbd5e1;
    max-width: 760px;
    margin: 0 auto;
}

/* 2-Column Content/Sidebar Layout */
.sd-layout {
    display: grid;
    grid-template-columns: 2.2fr 1fr;
    gap: 40px;
    align-items: start;
}

.sd-content {
    background-color: #ffffff;
    border-radius: var(--radius-lg);
}

.sd-main-image {
    width: 100%;
    max-height: 420px;
    object-fit: cover;
    border-radius: var(--radius-md);
    margin-bottom: 28px;
    box-shadow: var(--shadow-md);
}

.sd-content h2, .sd-content h3 {
    color: var(--slate-900);
    font-weight: 700;
    margin: 28px 0 14px;
    line-height: 1.3;
}

.sd-content p {
    color: var(--slate-700);
    font-size: 1.02rem;
    line-height: 1.7;
    margin-bottom: 18px;
}

.sd-two-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 24px 0;
}

.sd-two-images img {
    width: 100%;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    object-fit: cover;
    height: 220px;
}

/* Sidebar Widgets */
.sd-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.sd-widget {
    background-color: #ffffff;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-sm);
}

.sd-widget-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--slate-900);
    margin-bottom: 18px;
    border-bottom: 2px solid var(--primary-light);
    padding-bottom: 8px;
}

.sd-widget-title span {
    color: var(--primary);
}

.sd-services-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sd-services-list li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 14px;
    border-radius: var(--radius-md);
    color: var(--slate-700);
    font-weight: 600;
    font-size: 0.95rem;
    transition: all var(--transition-fast);
    background-color: var(--gray-50);
}

.sd-services-list li.active a,
.sd-services-list li a:hover {
    background-color: var(--primary-light);
    color: var(--primary);
}

.sd-emergency-widget {
    background: linear-gradient(135deg, var(--slate-900) 0%, #03326d 100%);
    color: #ffffff;
    text-align: center;
}

.sd-emergency-widget h3 {
    font-size: 1.2rem;
    color: #ffffff;
    margin-bottom: 16px;
}

.sd-phone-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    color: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
}

.sd-phone-icon svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

.emg-num {
    font-size: 1.5rem;
    font-weight: 800;
    color: #ffffff;
    margin: 8px 0;
}

/* Process Section */
.sd-process-boxes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    margin-top: 36px;
}

.sd-process-box {
    background-color: #ffffff;
    border-radius: var(--radius-lg);
    padding: 24px;
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-sm);
}

.sd-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 12px;
}

/* ==========================================================================
   Pricing Table Section
   ========================================================================== */

.sd-pricing-section {
    background-color: var(--gray-50);
}

.pricing-table-container {
    background: #ffffff;
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    margin-top: 32px;
}

.pricing-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.pricing-table th {
    background-color: var(--slate-900);
    color: #ffffff;
    padding: 16px 20px;
    font-size: 1rem;
    font-weight: 700;
}

.pricing-table td {
    padding: 16px 20px;
    border-bottom: 1px solid var(--gray-200);
    font-size: 0.95rem;
    color: var(--slate-700);
}

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

.pricing-table tr:hover td {
    background-color: var(--primary-light);
}

.price-tag {
    font-weight: 800;
    color: var(--primary);
    font-size: 1.05rem;
}

.price-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 700;
    background-color: #e0f2fe;
    color: #0369a1;
}

.stat-container {
    display: table;
    width: 100%;
    margin: 12px 0;
}

.stat-box {
    display: table-cell;
    width: 25%;
    text-align: center;
    background-color: #edf2f7;
    padding: 8px;
    border-right: 2px solid #ffffff;
}

.stat-box:last-child {
    border-right: none;
}

.stat-num {
    font-size: 13pt;
    font-weight: 700;
    color: #2b6cb0;
    display: block;
}

.stat-label {
    font-size: 7.5pt;
    color: #4a5568;
    text-transform: uppercase;
}

/* Responsive Design */
@media (max-width: 991px) {
    .sd-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .sd-hero-title {
        font-size: 1.85rem;
    }
    .sd-two-images {
        grid-template-columns: 1fr;
    }
    .pricing-table-container {
        overflow-x: auto;
    }

}
