/* Services Page Styles - Restructured */
:root {
    --primary-brand: #183a83;
    --secondary-brand: #007bff;
    --text-dark: #2c3e50;
    --text-body: #555;
    --bg-soft: #f8f9fa;
    --white: #ffffff;
}

body {
    background-color: var(--white);
}

/* Hero Section */
.hero-section {
    background: transparent;
    padding: 60px 0 40px;
    margin-bottom: 40px;
    color: var(--primary-brand);
    text-align: center;
}

.hero-title {
    font-family: 'SolanoGothic', sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
    margin-bottom: 10px;
}

/* Service Rows (Zig-Zag) */
.service-row {
    display: flex;
    align-items: center;
    margin-bottom: 100px;
    gap: 60px;
}

.service-row.reverse {
    flex-direction: row-reverse;
}

/* Images */
.service-img-col {
    flex: 1;
    position: relative;
}

.img-wrapper {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    transform: perspective(1000px) rotateY(2deg);
    transition: all 0.5s ease;
    height: 400px;
}

.service-row.reverse .img-wrapper {
    transform: perspective(1000px) rotateY(-2deg);
}

.service-row:hover .img-wrapper {
    transform: perspective(1000px) rotateY(0);
    box-shadow: 0 25px 50px rgba(24, 58, 131, 0.2);
}

.img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.service-row:hover .img-wrapper img {
    transform: scale(1.05);
}

/* Text Content */
.service-text-col {
    flex: 1;
}

.service-content {
    padding: 20px;
}

.service-title {
    font-family: 'SolanoGothic', sans-serif;
    font-size: 2.5rem;
    color: var(--primary-brand);
    margin-bottom: 15px;
    line-height: 1.2;
}

.title-underline {
    width: 60px;
    height: 4px;
    background: var(--primary-brand);
    margin-bottom: 25px;
    border-radius: 2px;
}

.service-quote {
    font-size: 1.1rem;
    font-style: italic;
    color: #666;
    margin-bottom: 20px;
    border-left: 3px solid var(--secondary-brand);
    padding-left: 15px;
    background: #f8f9fa;
    padding: 10px 15px;
    border-radius: 0 5px 5px 0;
}

.service-desc {
    font-size: 1.1rem;
    color: var(--text-body);
    margin-bottom: 25px;
    line-height: 1.7;
}

/* List */
.service-list {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.service-list li {
    margin-bottom: 12px;
    font-size: 1rem;
    color: var(--text-dark);
    display: flex;
    align-items: flex-start;
}

.service-list li i {
    color: #28a745;
    margin-right: 12px;
    margin-top: 4px;
    font-size: 1.1rem;
}

/* Meta Data (Responsable / Horario) */
.service-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    background: white;
    border-top: 1px solid #eee;
    padding-top: 25px;
}

.meta-item {
    display: flex;
    align-items: flex-start;
    font-size: 0.9rem;
    color: #555;
    line-height: 1.4;
}

.meta-item i {
    color: var(--primary-brand);
    font-size: 1.4rem;
    margin-right: 15px;
    margin-top: 2px;
}

.meta-item strong {
    color: var(--text-dark);
    display: block;
    margin-bottom: 3px;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
}

/* Mobile Responsiveness */
@media (max-width: 992px) {

    .service-row,
    .service-row.reverse {
        flex-direction: column;
        gap: 30px;
        margin-bottom: 60px;
        text-align: left;
    }

    .img-wrapper {
        height: 250px;
        transform: none !important;
    }

    .service-title {
        font-size: 2rem;
    }

    .service-meta {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}