/* ============================================
   VALORACIÓN ESPECIALIZADA - ESTILOS
   ============================================ */

/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* ============================================
   CONTENEDOR PRINCIPAL
   ============================================ */
.valoracion-container {
    position: relative;
    min-height: 500px;
    width: 100%;
    overflow: hidden;
    background-image: url('../img/nuestros_servicios.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Overlay oscuro */
.background-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.6);
}

/* Línea decorativa SVG */
.decorative-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

/* ============================================
   CONTENIDO
   ============================================ */
.content {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 64px 16px;
}

/* Encabezado "SERVICIOS" */
.header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.header-line {
    width: 32px;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.7);
}

.header-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 12px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-weight: 300;
}

/* Título principal */
.titulo {
    color: white;
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 0.05em;
    margin-bottom: 40px;
    text-align: center;
}

/* ============================================
   TARJETAS
   ============================================ */
.cards-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    width: 100%;
    max-width: 1000px;
    margin-bottom: 40px;
    padding: 0 16px;
}

.card {
    background-color: white;
    border-radius: 16px;
    padding: 24px;
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 
                0 4px 6px -2px rgba(0, 0, 0, 0.05);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 
                0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.card-text {
    color: #475569;
    font-size: 16px;
    font-weight: 500;
    text-align: center;
    line-height: 1.4;
}

/* ============================================
   BOTÓN
   ============================================ */
.btn-ampliar {
    background-color: #4a9ba5;
    color: white;
    border: none;
    padding: 14px 32px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-ampliar:hover {
    background-color: #3d858e;
}

/* ============================================
   MEDIA QUERIES - RESPONSIVE
   ============================================ */

/* Tablets (768px+) */
@media (min-width: 768px) {
    .valoracion-container {
        min-height: 600px;
    }

    .content {
        padding: 96px 24px;
    }

    .header-line {
        width: 48px;
    }

    .header-text {
        font-size: 14px;
    }

    .titulo {
        font-size: 36px;
        margin-bottom: 56px;
    }

    .cards-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
        margin-bottom: 56px;
    }

    .card {
        padding: 32px;
        min-height: 120px;
    }

    .card-text {
        font-size: 18px;
    }

    .btn-ampliar {
        font-size: 15px;
        padding: 16px 40px;
    }
}

/* Desktop (1024px+) */
@media (min-width: 1024px) {
    .titulo {
        font-size: 42px;
    }

    .cards-container {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Desktop grande (1280px+) */
@media (min-width: 1280px) {
    .titulo {
        font-size: 48px;
    }
}
