:root {
    --primary: #1b4079;
    --secondary: #FFD700;
    --dark: #333;
    --light: #f8f9fa;
    --gray: #6c757d;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    color: var(--dark);
    line-height: 1.6;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header */
header {
    background-color: var(--primary);
    color: white;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    display: flex;
    align-items: center;
}

.logo i {
    margin-right: 10px;
    color: var(--secondary);
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: var(--secondary);
}

.menu-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('banner1.png') no-repeat center top/cover;
    color: white;
    padding: 100px 0;
    text-align: center;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 30px;
}

.btn {
    display: inline-block;
    background-color: var(--secondary);
    color: var(--dark);
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s;
}

.btn:hover {
    background-color: #ffc400;
    transform: translateY(-3px);
}

/* Services */
.services {
    padding: 80px 0;
    background-color: var(--light);
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.section-title p {
    color: var(--gray);
    max-width: 700px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-icon {
    background-color: var(--primary);
    color: white;
    font-size: 2.5rem;
    padding: 30px;
    text-align: center;
}

.service-content {
    padding: 20px;
}

.service-content h3 {
    margin-bottom: 15px;
    color: var(--primary);
}

/* About */
.about {
    padding: 80px 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.about-image {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

.about-text h2 {
    color: var(--primary);
    margin-bottom: 20px;
}

/* Testimonials */
.testimonials {
    padding: 80px 0;
    background-color: var(--light);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.author-image {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
}

.author-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Contact */
.contact {
    padding: 80px 0;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-info h2 {
    color: var(--primary);
    margin-bottom: 20px;
}

.contact-details {
    margin-bottom: 30px;
}

.contact-details p {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.contact-details i {
    margin-right: 10px;
    color: var(--primary);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.contact-form textarea {
    height: 150px;
}

/* Footer */
footer {
    background-color: var(--dark);
    color: white;
    padding: 50px 0 20px;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-section h3 {
    margin-bottom: 20px;
    color: var(--secondary);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #ddd;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: var(--secondary);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    color: white;
    font-size: 1.5rem;
    transition: color 0.3s;
}

.social-links a:hover {
    color: var(--secondary);
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #444;
}

/* WhatsApp Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 25px;
    right: 25px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    background-color: #128C7E;
    transform: scale(1.1);
    box-shadow: 2px 2px 15px rgba(0, 0, 0, 0.4);
}
/* Redes Sociales Mejoradas */
.follow-us {
    margin-top: 30px;
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid #e8ecef;
}

.follow-us h3 {
    margin-bottom: 25px;
    color: var(--primary);
    text-align: center;
    font-size: 1.5rem;
    font-weight: 600;
}

.social-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.social-item {
    text-align: center;
    padding: 25px 15px;
    border-radius: 12px;
    transition: all 0.3s ease;
    background: #f8f9fa;
    text-decoration: none;
    border: 2px solid transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 140px;
}

.social-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-color: currentColor;
}

.social-item.instagram {
    color: #E1306C;
    background: linear-gradient(135deg, #fdf3f8, #fff9fb);
}

.social-item.instagram:hover {
    background: linear-gradient(135deg, #E1306C, #833AB4);
    color: white;
}

.social-item.facebook {
    color: #3b5998;
    background: linear-gradient(135deg, #f0f4ff, #f8faff);
}

.social-item.facebook:hover {
    background: linear-gradient(135deg, #3b5998, #2d4373);
    color: white;
}

.social-item.youtube {
    color: #FF0000;
    background: linear-gradient(135deg, #fff0f0, #fff8f8);
}

.social-item.youtube:hover {
    background: linear-gradient(135deg, #FF0000, #cc0000);
    color: white;
}

.social-item i {
    font-size: 2.2rem;
    margin-bottom: 12px;
    transition: all 0.3s ease;
}

.social-item:hover i {
    transform: scale(1.1);
}

.social-item span {
    display: block;
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 5px;
    transition: all 0.3s ease;
}

.social-item small {
    display: block;
    font-size: 0.8rem;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.social-item:hover span,
.social-item:hover small {
    color: white;
    opacity: 1;
}

.logo-ajustado {
    width: 70px;       
    height: 70px;      
    
    border-radius: 50%;
    margin-right: 25px;
    object-fit: cover;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.whatsapp-float {
    animation: pulse 2s infinite;
}

/* Responsive Design */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    nav ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: var(--primary);
        padding: 20px;
    }

    nav ul.show {
        display: flex;
    }

    nav ul li {
        margin: 10px 0;
    }

    .about-content,
    .contact-container {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    /* WhatsApp button para móviles */
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 25px;
    }

    .social-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .social-item {
        padding: 20px 15px;
        min-height: 120px;
        flex-direction: row;
        text-align: left;
        justify-content: flex-start;
    }
    
    .social-item i {
        font-size: 2rem;
        margin-bottom: 0;
        margin-right: 15px;
        min-width: 40px;
    }
    
    .social-item span {
        font-size: 1.1rem;
    }
    
    .social-item small {
        font-size: 0.85rem;
    }
    
    .follow-us {
        padding: 25px 20px;
        margin-top: 25px;
    }
    
    .follow-us h3 {
        font-size: 1.3rem;
        margin-bottom: 20px;
    }
}