/* Estilos generales */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Encabezado */
header {
    background: #ffffff;
    color: #333;
    padding: 30px 0;
    text-align: center;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    border-bottom: 4px solid #fec00b;
}

.logo-container {
    margin-bottom: 15px;
}

.logo {
    max-width: 180px;
    height: auto;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

header h1 {
    font-size: 2.5rem;
    letter-spacing: 1px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* Secciones principales */
main {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 40px;
}

section {
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

section:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
}

section h2 {
    color: #333;
    font-size: 1.8rem;
    margin-bottom: 20px;
    border-bottom: 2px solid #fec00b;
    padding-bottom: 10px;
}

.description p {
    margin-bottom: 15px;
    font-size: 1.1rem;
    color: #555;
}

/* Estilos para la sección de servicios */
.services-title {
    color: #333;
    font-size: 1.5rem;
    margin: 25px 0 20px;
    text-align: center;
    position: relative;
}

.services-title:after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: #fec00b;
    margin: 10px auto 0;
    border-radius: 2px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin: 25px 0;
}

.service-item {
    background-color: #f9f9f9;
    border-radius: 8px;
    padding: 25px 20px;
    text-align: center;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

.service-item:hover {
    transform: translateY(-8px);
    border-bottom: 3px solid #fec00b;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(254, 192, 11, 0.15);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    text-align: center;
    color: #333;
    transition: all 0.3s ease;
}

.service-item:hover .service-icon {
    background-color: #fec00b;
    color: white;
    transform: scale(1.1);
}

.service-item h4 {
    color: #333;
    margin-bottom: 12px;
    font-size: 1.2rem;
    font-weight: 600;
}

.service-item p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
}

.cta-text {
    text-align: center;
    font-weight: 500;
    margin-top: 30px;
    font-size: 1.15rem;
    color: #444;
    background-color: rgba(254, 192, 11, 0.1);
    padding: 15px;
    border-radius: 6px;
    border-left: 4px solid #fec00b;
}

/* Grid de información de contacto */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 20px;
}

.contact-item {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.contact-item:hover {
    background-color: #e9ecef;
    transform: scale(1.03);
}

.contact-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: rgba(254, 192, 11, 0.15);
    color: #333;
    transition: all 0.3s ease;
}

.contact-item:hover .contact-icon {
    background-color: #fec00b;
    color: white;
    transform: scale(1.1);
}

.contact-item h3 {
    color: #333;
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.contact-item p {
    color: #666;
}

.contact-item a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
}

.contact-item a:hover {
    color: #fec00b;
    text-decoration: underline;
}

/* Pie de página */
footer {
    background: #333;
    border-top: 4px solid #fec00b;
    color: #ffffff;
    text-align: center;
    padding: 20px 0;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    box-shadow: 0 -4px 6px rgba(0, 0, 0, 0.1);
}

footer p {
    font-size: 0.9rem;
}

/* Diseño responsivo */
@media (max-width: 768px) {
    header {
        padding: 20px 0;
    }
    
    header h1 {
        font-size: 2rem;
    }
    
    .logo {
        max-width: 150px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    section {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    header h1 {
        font-size: 1.8rem;
    }
    
    .logo {
        max-width: 120px;
    }
    
    section h2 {
        font-size: 1.5rem;
    }
    
    .description p,
    .contact-item p {
        font-size: 1rem;
    }
}