/* ==========================================
   PARKING & SPACE SECTION
   ========================================== */
   
.parking-space-section {
    background: #fff;
}

.parking-space-row {
    gap: 0;
}

.ps-card {
    display: flex;
    align-items: flex-start;
    gap: 22px;
    background: #F0F7FF;
    border: 1.5px solid #D6EAFF;
    border-radius: 20px;
    padding: 32px 28px;
    height: 100%;
    transition: all 0.3s ease;
    margin-bottom: 24px;
}

.ps-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(3, 106, 167, 0.12);
    border-color: #036aa7;
}

/* Variante para la card de espacio */
.ps-card--space {
    background: #FFF8ED;
    border-color: #FFE0A3;
}

.ps-card--space:hover {
    box-shadow: 0 12px 30px rgba(230, 126, 34, 0.12);
    border-color: #e67e22;
}

.ps-card__icon-wrap {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #036aa7, #0487d1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 16px rgba(3, 106, 167, 0.3);
}

.ps-card--space .ps-card__icon-wrap {
    background: linear-gradient(135deg, #e67e22, #f39c12);
    box-shadow: 0 6px 16px rgba(230, 126, 34, 0.3);
}

.ps-card__body {
    flex: 1;
    min-width: 0;
}

.ps-card__title {
    font-family: 'Grandstander', cursive;
    font-size: 1.6rem;
    font-weight: 800;
    color: #036aa7;
    margin: 0 0 10px;
    line-height: 1.2;
}

.ps-card--space .ps-card__title {
    color: #d35400;
}

.ps-card__text {
    font-size: 1rem;
    color: #555;
    line-height: 1.75;
    margin: 0;
}

.ps-card__text strong {
    color: #333;
}

/* ==========================================
   SERVICES GRID - ESTILOS PRINCIPALES
   ========================================== */

.services-grid-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 30px;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    width: 100%;
}

.service-item-col {
    display: flex;
    flex-direction: column;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.service-grid-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-grid-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.13);
}

.service-grid-card__img-wrap {
    width: 100%;
    min-height: 200px;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f5f5f5;
}

.service-grid-card__img-wrap picture {
    display: flex;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.service-grid-card__img-wrap img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.35s ease;
}

.service-grid-card:hover .service-grid-card__img-wrap img {
    transform: scale(1.04);
}

.teacher-card__info {
    padding: 18px 20px 22px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.teacher-card_text {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.teacher-card_text h5 {
    font-size: 17px;
    font-weight: 700;
    color: #3B4757;
    margin: 0 0 4px;
    line-height: 1.3;
}

.teacher-card_text .main-color-font {
    font-size: 13px;
    font-weight: 600;
    margin: 0 0 8px;
    color: #FF6B35;
}

.teacher-card_text p:last-child {
    font-size: 14px;
    color: #666;
    line-height: 1.55;
    margin: 0;
}

/* ==========================================
   RESPONSIVE
   ========================================== */

/* Tablet (máx 991px) */
@media (max-width: 991px) {
    .ps-card {
        padding: 26px 22px;
        margin-bottom: 20px;
    }

    .ps-card__title {
        font-size: 1.4rem;
    }

    .services-grid-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .service-grid-card__img-wrap {
        min-height: 180px;
    }

    .teacher-card__info {
        padding: 16px 18px 20px;
    }

    .teacher-card_text h5 {
        font-size: 16px;
    }

    .teacher-card_text p:last-child {
        font-size: 13px;
    }
}

/* Móvil (máx 767px) */
@media (max-width: 767px) {
    .ps-card {
        padding: 22px 18px;
        gap: 16px;
        margin-bottom: 16px;
    }

    .ps-card__icon-wrap {
        width: 52px;
        height: 52px;
        border-radius: 12px;
    }

    .ps-card__icon-wrap img,
    .ps-card__icon-wrap svg {
        width: 28px;
        height: 28px;
    }

    .ps-card__title {
        font-size: 1.25rem;
    }

    .ps-card__text {
        font-size: 0.95rem;
    }
}

/* Móvil pequeño (máx 575px) */
@media (max-width: 575px) {
    .services-grid-row {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-top: 20px;
    }

    .service-grid-card__img-wrap {
        min-height: 200px;
    }

    .teacher-card__info {
        padding: 14px 16px 18px;
    }

    .teacher-card_text h5 {
        font-size: 15px;
    }

    .teacher-card_text .main-color-font {
        font-size: 12px;
    }

    .teacher-card_text p:last-child {
        font-size: 12px;
    }
}