:root {
    --primary-color: #1a237e;
    --secondary-color: #f5f5ff;
    --cta-color: #ff9800;
    --text-color: #333;
    --light-text-color: #ffffff;
    --success-color: #4CAF50;
    --header-height: 70px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Roboto', sans-serif; color: var(--text-color); line-height: 1.6; background-color: #fff; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
h1 { font-size: clamp(2.2rem, 1.625rem + 2.88vw, 3.5rem); }
h2 { font-size: clamp(1.8rem, 1.4rem + 2vw, 2.8rem); }
h3 { font-size: 1.5rem; }
h1, h2, h3 { line-height: 1.2; margin-bottom: 20px; font-weight: 700; }
p { margin-bottom: 20px; max-width: 650px; margin-left: auto; margin-right: auto; }
section { padding: 60px 0; }
.cta-button { display: inline-block; background-color: var(--cta-color); color: var(--light-text-color); text-decoration: none; font-weight: 700; padding: 15px 30px; border-radius: 8px; text-align: center; font-size: 1.1rem; transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease; border: none; cursor: pointer; text-shadow: 1px 1px 2px rgba(0,0,0,0.2); }
.cta-button:hover { transform: translateY(-3px); background-color: #fb8c00; box-shadow: 0 6px 12px rgba(0,0,0,0.25); }

/* HEADER */
.sticky-header { background-color: #ffffff; padding: 0 15px; position: fixed; top: 0; left: 0; width: 100%; z-index: 1000; display: flex; align-items: center; justify-content: space-between; gap: 15px; box-shadow: 0 2px 5px rgba(0,0,0,0.1); height: var(--header-height); }
.logo { display: flex; align-items: center; height: 100%; padding: 10px 0; }
.logo-img { max-height: calc(var(--header-height) - 20px); width: auto; object-fit: contain; }
.header-cta { display: flex; background-color: var(--cta-color); color: var(--light-text-color); padding: 8px 12px; border-radius: 5px; text-decoration: none; text-align: center; font-weight: 700; flex-direction: column; justify-content: center; line-height: 1.2; }
.header-cta .cta-text { font-size: 0.75rem; }
.header-cta .phone { font-size: 1rem; white-space: nowrap; }
main { padding-top: var(--header-height); }

/* HERO SECTION */
.hero { padding: 60px 20px; background-image: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('https://images.pexels.com/photos/1216552/pexels-photo-1216552.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=1'); background-size: cover; background-position: center; color: var(--light-text-color); text-align: center; }
.hero .subtitle { font-size: 1.1rem; margin-top: 20px; margin-bottom: 30px; }
.hero .giant-phone { font-size: clamp(1.8rem, 1.15rem + 3.2vw, 2.8rem); font-weight: 900; margin-bottom: 30px; letter-spacing: 1px; }
.hero .giant-phone a { color: var(--cta-color); text-decoration: none; }
#dynamic-message { margin: 20px auto; padding: 15px; font-weight: 700; color: var(--text-color); background-color: rgba(255, 255, 255, 0.9); border-radius: 8px; min-height: 60px; max-width: 600px; line-height: 1.5; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; transition: background-color 0.3s ease; }
#dynamic-message .greeting, #dynamic-message .status { display: block; width: 100%; }
.secondary-cta { margin-top: 15px; }
.secondary-cta a { color: #fff; font-weight: 700; text-decoration: underline; }

/* TRUST BAR */
.trust-bar { background-color: var(--secondary-color); }
.trust-elements { display: flex; flex-direction: column; gap: 20px; text-align: center; list-style: none; padding: 0; margin: 0; align-items: center; }
.trust-element { font-weight: 700; }
.trust-element::before { content: '✓'; color: var(--primary-color); margin-right: 10px; }

/* SERVICE AREAS */
.service-areas { background-color: #fff; text-align: center; }
.state-grid { display: grid; grid-template-columns: 1fr; gap: 20px; margin-top: 40px; text-align: left; }
.state-card { background-color: var(--secondary-color); padding: 20px; border-radius: 8px; border-left: 5px solid var(--primary-color); display: flex; flex-direction: column; }
.state-card h3 { font-size: 1.4rem; margin-bottom: 15px; color: var(--primary-color); }
.state-card a { display: block; color: var(--text-color); text-decoration: none; font-weight: 700; transition: color 0.2s ease; margin-bottom: 5px; }
.state-card a:hover { color: var(--cta-color); }

/* BENEFITS & TESTIMONIALS */
.benefits, .testimonials, .services, .final-cta { text-align: center; }
.benefits-grid, .testimonials-grid { display: grid; grid-template-columns: 1fr; gap: 30px; text-align: left; margin-top: 40px; align-items: stretch; }
.benefit-item, .testimonial-card { display: flex; flex-direction: column; }
.benefit-item p, .testimonial-card p { flex-grow: 1; }
.benefit-item { background: #fff; padding: 25px; border-radius: 8px; box-shadow: 0 4px 15px rgba(0,0,0,0.08); border-top: 4px solid var(--primary-color); }
.testimonials { background-color: var(--secondary-color); }
.testimonial-card { background: #fff; padding: 25px; border-radius: 8px; box-shadow: 0 4px 15px rgba(0,0,0,0.08); border-left: 5px solid var(--success-color); }
.testimonial-card p { font-style: italic; margin-bottom: 15px; margin-left: unset; margin-right: unset; }
.testimonial-card .author { font-weight: 700; text-align: right; }


/* ----- AJUSTE DE SIMETRÍA PARA LA LISTA DE SERVICIOS ----- */
.services-list { 
    list-style: none; 
    margin: 40px auto; 
    display: grid; 
    grid-template-columns: 1fr;
    gap: 20px; /* Aumentado el espacio para que respire */
    max-width: 1000px; /* Se establece un ancho máximo para la cuadrícula */
}
.services-list li { 
    background-color: var(--secondary-color); 
    padding: 20px;
    border-radius: 5px; 
    font-weight: 700; 
    border-left: 5px solid var(--primary-color);
    text-align: center;
}
/* ----- FIN DEL AJUSTE ----- */


/* FOOTER */
.final-cta { background-color: var(--primary-color); color: var(--light-text-color); }
.final-cta .final-phone { font-size: clamp(2rem, 1.35rem + 3.2vw, 3.2rem); font-weight: 900; margin-bottom: 30px; }
.final-cta .final-phone a { color: var(--cta-color); text-decoration: none; }
footer { background-color: #212121; color: #aaa; padding: 40px 20px; font-size: 0.9rem; }
.footer-content { text-align: center; }
.footer-content p.disclaimer-text { text-align: justify; max-width: 800px; margin-left: auto; margin-right: auto; }


/* --- RESPONSIVE ADJUSTMENTS --- */
@media (min-width: 600px) {
    .trust-elements { flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 20px 30px; }
    .trust-element { flex-basis: 280px; }
    .benefits-grid, .testimonials-grid { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
    
    .state-grid { grid-template-columns: repeat(2, 1fr); }
    .services-list { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
    section { padding: 80px 0; }
    .container { padding: 0 40px; }
    h1 { font-size: 3.8rem; }
    h2 { font-size: 3rem; }

    .state-grid { grid-template-columns: repeat(4, 1fr); }
    .services-list { grid-template-columns: repeat(3, 1fr); }
}