/* ============================================
   SERVICES SECTION — PREMIUM
   ============================================ */

.services {
    padding: 0;
    background-color: #faf6f1;
}

/* Barra de titulo marron */
.services-header {
    background-color: #8b6040;
    padding: 22px 0;
    text-align: center;
    width: 100%;
}

.services-title {
    font-family: 'Great Vibes', cursive;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 400;
    color: #fff;
    margin: 0;
    letter-spacing: 1px;
}

/* Grid de 3 columnas con gap y padding interior */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 24px 52px;
}

/* ============================================
   CARD DE COLUMNA
   ============================================ */

.service-col {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(139, 96, 64, 0.10);
    border-bottom: 3px solid #8b6040;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.service-col:hover {
    transform: translateY(-7px);
    box-shadow: 0 16px 40px rgba(139, 96, 64, 0.18);
}

/* ============================================
   TITULO DE COLUMNA
   ============================================ */

.service-col-title {
    font-family: 'Dancing Script', cursive;
    font-size: clamp(1.35rem, 2.1vw, 1.85rem);
    font-weight: 600;
    color: #0077b6;
    text-align: center;
    padding: 20px 16px 6px;
    margin: 0;
}

/* Línea decorativa bajo el título */
.service-col-title::after {
    content: '';
    display: block;
    width: 44px;
    height: 2px;
    background: linear-gradient(to right, transparent, #0077b6, transparent);
    margin: 8px auto 0;
    border-radius: 1px;
}

/* ============================================
   IMAGEN
   ============================================ */

.service-col-image {
    width: 100%;
    overflow: hidden;
}

.service-col-image img {
    display: block;
    width: 100%;
    height: 260px;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.45s ease;
}

.service-col:hover .service-col-image img {
    transform: scale(1.05);
}

/* ============================================
   LISTA DE SERVICIOS
   ============================================ */

.service-col-list {
    list-style: none;
    margin: 0;
    padding: 14px 24px 28px;
    flex-grow: 1;
}

.service-col-list li {
    font-size: 1rem;
    color: #4a4a4a;
    padding: 9px 0;
    display: flex;
    align-items: center;
    gap: 11px;
    line-height: 1.4;
    border-bottom: 1px solid #f0e8df;
    transition: color 0.2s ease, padding-left 0.2s ease;
    justify-content: space-between;
}

.service-col-list li:last-child {
    border-bottom: none;
}

.service-col-list li:not(:first-child):hover {
    color: #0077b6;
    padding-left: 4px;
}

.service-item-name {
    flex: 1;
}

.service-item-price {
    font-size: 0.88rem;
    font-weight: 700;
    color: #8b6040;
    white-space: nowrap;
    margin-left: 4px;
}

/* Primer elemento — sin solapamiento sobre la imagen */
.service-col-list li:first-child {
    border-bottom: 1px solid #f0e8df;
}

/* ============================================
   ICONOS — círculo de fondo sutil
   ============================================ */

.service-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    min-width: 24px;
    background-color: #e8f4fb;
    border-radius: 50%;
    color: #0077b6;
    font-size: 0.72rem;
    flex-shrink: 0;
    transition: background-color 0.2s ease;
}

.service-col-list li:hover .service-icon {
    background-color: #cce8f5;
}

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

/* Tablet: 2 columnas */
@media (max-width: 900px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        padding: 32px 20px 44px;
    }

    .service-col-image img {
        height: 220px;
    }

    /* Desactivar hover lift en táctil */
    .service-col:hover {
        transform: none;
        box-shadow: 0 4px 20px rgba(139, 96, 64, 0.10);
    }

    .service-col:hover .service-col-image img {
        transform: none;
    }
}

/* Móvil: 1 columna */
@media (max-width: 580px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 24px 16px 36px;
    }

    .service-col-image img {
        height: 200px;
    }
}
