/* Reset básico para móviles */
* { box-sizing: border-box; margin: 0; padding: 0; font-family: 'Segoe UI', sans-serif; }

body { background-color: #f4f7f6; color: #333; line-height: 1.6; }

/* Hero Section */
/* Actualización del CSS para el Hero Banner */
.hero {
    /* Aquí enlazamos la imagen (image_3.png) */
    /* Y aplicamos un degradado negro (0.6) para oscurecerla y mejorar el contraste del texto */
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('image_3.png');
    
    /* Propiedades cruciales para que se vea ancha y se adapte */
    background-size: cover;          /* Cubre todo el ancho y alto del banner */
    background-position: center bottom; /* Enfoca la parte inferior de la imagen (donde están las canaletas) */
    background-repeat: no-repeat;    /* Evita que la imagen se repita */
    
    /* Altura y relleno para que el texto tenga espacio */
    padding: 100px 20px;            /* Un poco más de padding arriba/abajo */
    text-align: center;
    color: white;                   /* Todo el texto dentro es blanco */
}

/* El resto de tus estilos para .hero h1 y .btn-main siguen igual */
.hero h1 { font-size: 2.2rem; margin-bottom: 10px; font-weight: bold; }
.hero p { font-size: 1.1rem; margin-bottom: 25px; }

.cta-container { display: flex; flex-direction: column; gap: 15px; margin-top: 25px; }

/* Botones principales */
.btn-call {
    background-color: #27ae60; /* Verde éxito */
    color: white;
    padding: 15px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 50px;
    font-size: 1.2rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.2);
}

.btn-quote {
    background-color: #f39c12; /* Naranja acción */
    color: white;
    padding: 15px;
    text-decoration: none;
    border-radius: 50px;
}
/* Service Selector */
.services { padding: 40px 20px; text-align: center; }

.service-grid {
    display: grid;
    /* Esto crea 1 columna en móvil y 3 en escritorio */
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
    justify-items: center; /* Centra las tarjetas en la pantalla */
}

/* Estilo unificado para las tarjetas */
.service-card {
    display: block;
    width: 100%;
    max-width: 350px; 
    height: 300px;    
    overflow: hidden;
    border-radius: 12px;
    background: white;
    border: 2px solid #ddd;
    text-decoration: none;
    color: #333;
    transition: 0.3s;
}

.service-card:hover { 
    border-color: #27ae60; 
    background: #e8f5e9; 
    transform: translateY(-5px);
}

/* Fuerza a la imagen a ser uniforme */
.service-card img {
    width: 100%;
    height: 180px;   
    object-fit: cover; 
    object-position: center;
    display: block; /* Elimina espacios en blanco debajo de la imagen */
}

/* Estilo para el texto dentro de la tarjeta */
.service-card  {
    margin: 20px 10px;
    font-size: 1.1rem;
}

/* Formulario */
#quote-form { padding: 40px 20px; max-width: 500px; margin: auto; }

form input {
    width: 100%;
    padding: 15px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 8px;
}

form button {
    width: 100%;
    padding: 15px;
    background: #333;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    cursor: pointer;
}

/* Botón Sticky que siempre está visible al pie de la pantalla */
.sticky-call {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #27ae60;
    color: white;
    text-align: center;
    padding: 20px;
    font-size: 1.5rem;
    font-weight: bold;
    text-decoration: none;
    z-index: 1000;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.2);
}


/* Estilos adicionales para el nuevo layout */
.hero-cta { margin-top: 30px; }

.btn-main {
    background: #e74c3c; /* Rojo de urgencia */
    color: white;
    padding: 20px 40px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 50px;
    font-size: 1.2rem;
}

.service-btn {
    display: block;
    padding: 25px;
    background: white;
    border: 2px solid #ddd;
    border-radius: 10px;
    text-decoration: none;
    color: #333;
    font-weight: 600;
}

.trust-block {
    padding: 40px 20px;
    background: #f9f9f9;
    text-align: center;
}

.trust-item {
    margin: 10px 0;
    font-weight: 500;
    color: #2c3e50;
}

/* El botón Sticky */
.sticky-call {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #27ae60;
    color: white;
    text-align: center;
    padding: 20px;
    font-size: 1.3rem;
    font-weight: bold;
    text-decoration: none;
    z-index: 1000;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.2);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.02); }
    100% { transform: scale(1); }
}

/* Espaciado para no tapar contenido al hacer scroll */
body { padding-bottom: 80px; }
/* Animación de pulso para mayor CTR */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}
.sticky-call { animation: pulse 2s infinite; }

/* Ajustes para Desktop (pantallas grandes) */
@media (min-width: 768px) {
    .service-grid { grid-template-columns: repeat(3, 1fr); }
    .cta-container { flex-direction: row; justify-content: center; }
}

.footer-disclaimer {
    padding: 30px 20px;
    background-color: #f8f9fa; /* Gris muy claro para diferenciarlo del resto */
    color: #666;               /* Color gris para que no compita visualmente */
    font-size: 0.8rem;         /* Fuente más pequeña */
    text-align: center;
    border-top: 1px solid #eee;
    margin-top: 40px;
}

.footer-disclaimer p {
    max-width: 800px;          /* Limita el ancho del texto para mejor lectura */
    margin: 0 auto;
    line-height: 1.5;
}

/* Espaciado general entre secciones */
.why-choose-us, #faq {
    padding: 40px 20px;
    max-width: 800px;
    margin: 0 auto; /* Centra el contenido */
}

/* Espaciado interno para que no se vea amontonado */
.faq-item {
    margin-bottom: 25px; /* Separa una pregunta de otra */
}

.why-choose-us ul {
    list-style: none; /* Quita los puntos por defecto */
    padding: 0;
}

.why-choose-us li {
    background: #f4f4f4; /* Un fondo gris muy suave */
    margin: 10px 0;
    padding: 10px 15px;
    border-radius: 5px;
    font-weight: bold;
}

h3 {
    color: #2c3e50;
    font-size: 1.3rem; /* Un poco más grande para destacar */
    font-weight: 600;
    margin: 25px 0 10px 0; /* Margen superior e inferior limpio */
    padding-left: 10px;
    border-left: 4px solid #007bff;
    line-height: 1.3;
}

/* Ajuste específico solo para las FAQ si fuera necesario */


.faq-item p {
    line-height: 1.6; /* Aumenta el interlineado para leer mejor */
    color: #555;
    margin-left: 14px; /* Alineado con el título */
}