* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f9f9f9;
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px;
}

/* Header blanco con logo - Responsive */
header {
    background-color: white;
    padding: 10px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: relative;
}

.header-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.logo {
    max-width: 100%;
    height: auto;
    margin-bottom: 15px;
}

.header-contact {
    text-align: center;
}

.phone-number {
    font-size: 1.5rem;
    font-weight: bold;
    color: #1a3a5f;
    margin-bottom: 5px;
}

.address {
    font-size: 1rem;
    color: #555;
    margin-bottom: 5px;
}

.divider {
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, #d4af37 50%, transparent 100%);
    margin: 20px auto;
    width: 90%;
    max-width: 400px;
}

section {
    padding: 30px 0;
}

h2 {
    text-align: center;
    color: #1a3a5f;
    font-size: 1.6rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 12px;
}

h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background-color: #d4af37;
}

.values {
    background-color: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
}

.values p {
    font-size: 1rem;
    margin-bottom: 15px;
    text-align: center;
    color: #444;
    line-height: 1.5;
}

/* Estilo para el párrafo manuscrito */
.handwritten {
    font-family: 'Dancing Script', cursive;
    font-size: 1.5rem !important;
    color: #1a3a5f !important;
    margin-top: 25px !important;
    text-align: center;
    line-height: 1.3;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 12px;
    margin-top: 20px;
}

.service-card {
    background: white;
    border-radius: 6px;
    padding: 15px 10px;
    text-align: center;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.05);
    min-height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-card h3 {
    color: #1a3a5f;
    font-size: 1rem;
    margin: 0;
}

/* Estilos para el carrusel - Responsive */
.carousel-section {
    padding: 30px 0;
    background: #f1f8ff;
}

.carousel-container {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.carousel-slide {
    display: flex;
    transition: transform 0.4s ease-in-out;
}

.carousel-slide img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    flex-shrink: 0;
}

.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(26, 58, 95, 0.7);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    font-size: 18px;
    z-index: 10;
    transition: background 0.3s ease;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-control:hover {
    background: rgba(26, 58, 95, 0.9);
}

.carousel-control.prev {
    left: 10px;
}

.carousel-control.next {
    right: 10px;
}

.carousel-indicators {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.carousel-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background 0.3s ease;
}

.carousel-indicator.active {
    background: white;
}

.reviews {
    background-color: #f1f8ff;
    padding: 30px 0;
    text-align: center;
}

.contact {
    text-align: center;
    padding: 30px 0;
    background-color: white;
}

.contact p {
    font-size: 1rem;
    margin-bottom: 20px;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding: 0 15px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
}

.whatsapp-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #25D366;
    text-decoration: none;
    font-size: 1.4rem;
    font-weight: bold;
    transition: all 0.3s ease;
    margin-bottom: 5px;
}

.whatsapp-link:hover {
    color: #128C7E;
}

.whatsapp-link i {
    font-size: 1.8rem;
}

.contact-info .address {
    font-size: 1rem;
    color: #555;
    margin-bottom: 10px;
}

.email {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #1a3a5f;
    text-decoration: none;
    font-size: 1rem;
    margin-top: 10px;
    padding: 10px 20px;
    background-color: #f5f5f5;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.email:hover {
    background-color: #1a3a5f;
    color: white;
}

.social {
    margin-top: 15px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.social a {
    display: inline-flex;
    align-items: center;
    color: #1a3a5f;
    text-decoration: none;
    font-size: 1rem;
    gap: 5px;
}

.social a i {
    font-size: 1.3rem;
}

.social a:hover {
    color: #d4af37;
}

footer {
    background-color: #1a3a5f;
    color: white;
    text-align: center;
    padding: 15px 0;
    margin-top: 30px;
    font-size: 0.9rem;
}

/* Media queries para tablets */
@media (min-width: 600px) {
    .header-content {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }

    .logo {
        margin-bottom: 0;
        max-width: 300px;
    }

    .header-contact {
        text-align: right;
    }

    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 15px;
    }

    .carousel-slide img {
        height: 350px;
    }
}

/* Media queries para desktop */
@media (min-width: 900px) {
    .container {
        padding: 20px;
    }

    h2 {
        font-size: 2rem;
    }

    .services-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .carousel-slide img {
        height: 400px;
    }

    .contact-info {
        gap: 15px;
    }
}