
body {
    margin: 0;
    font-family: 'Segoe UI', sans-serif;
    background-color: #f9f9f9;
    color: #5E3023;
}

header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 2rem;
    box-sizing: border-box; /* ✅ NUEVO */
    background-color: #ffffff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    height: 70px;
      position: fixed; /* 🚨 Nuevo */
    top: 0;          /* 🚨 Nuevo */
    left: 0;         /* 🚨 Nuevo */
    width: 100%;     /* 🚨 Nuevo */
    z-index: 999;    /* 🚨 Nuevo para que quede encima */
}

.logo img {
    height: 70px;
    width: auto;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
}

.nav-links a {
    text-decoration: none;
    color: #5E3023;
    font-weight: bold;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #C9A14B;
}

.hero {
    background: linear-gradient(to right, #5E3023, #7a4d35);
    color: white;
    padding: 4rem 2rem;
    text-align: center;
    
}

.hero .logo {
    width: 150px;
    max-width: 90%;
    height: auto;
    margin-bottom: 1rem;
     margin-top: 80px;
}

.hero-title {
    font-size: 2.5rem;
    margin: 0.5rem 0;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.btn {
    background-color: #C9A14B;
    color: white;
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 25px;
    font-size: 1rem;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: #5E3023;
}

.services {
    padding: 3rem 2rem;
    background-color: #fff;
    text-align: center;
}

.services-container {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
}

.service-card {
    background-color: #f1f1f1;
    padding: 2rem;
    border-radius: 15px;
    max-width: 300px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 5px solid #C9A14B; /* ✅ Toque verde */
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.service-icon {
    color: #5E3023; /* Azul por defecto */
    transition: color 0.3s ease;
}

.service-card:hover .service-icon {
    color: #C9A14B; /* Verde al hover */
}


footer {
    background-color: #5E3023;
    color: white;
    text-align: center;
    padding: 1rem;
    margin-top: 2rem;
}

@keyframes fadeIn {
    from {opacity: 0; transform: translateY(-20px);}
    to {opacity: 1; transform: translateY(0);}
}



/* ======== Hero de servicios ======== */
.services-hero {
    background: linear-gradient(to right, #5E3023, #7a4d35);
    color: white;
    text-align: center;
    padding: 4rem 2rem;
}

.services-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.services-hero p {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.2rem;
}

/* ======== Contenedor de tarjetas ======== */
.services-cards-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    padding: 3rem 2rem;
}

/* ======== Tarjeta individual ======== */
.service-card {
    background-color: #ffffff;
    border-radius: 15px;
    padding: 2rem;
    max-width: 300px;
    flex: 1 1 250px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 1rem;
}

/* ======== Títulos y textos ======== */
.service-card h3 {
    color: #5E3023;
    margin: 0.5rem 0;
    font-size: 1.3rem;
}

.service-card p {
    font-size: 1rem;
    margin-bottom: 1rem;
}

/* ======== Lista de servicios ======== */
.service-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-card ul li {
    font-size: 0.95rem;
    padding: 0.4rem 0;
    border-bottom: 1px solid #eee;
}

.service-card ul li:last-child {
    border-bottom: none;
}

/* ======== Responsive ======== */
@media (max-width: 768px) {
    .services-hero h1 {
        font-size: 1.8rem;
    }
    .services-hero p {
        font-size: 1rem;
    }
}


/* ======== Hero de nosotros ======== */
.about-hero {
    background: linear-gradient(to right, #5E3023, #7a4d35);
    color: white;
    text-align: center;
    padding: 4rem 2rem;
}

.about-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.about-hero p {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.2rem;
}

/* ======== Contenido ======== */
.about-content {
    padding: 3rem 2rem;
    max-width: 900px;
    margin: 0 auto;
    text-align: left;
}

.about-content h2 {
    color: #5E3023;
    margin-top: 2rem;
}

.about-content p {
    font-size: 1rem;
    line-height: 1.6;
}

.about-content ul {
    list-style: none;
    padding: 0;
}

.about-content ul li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
}

.about-content ul li::before {
    content: "✔";
    color: #C9A14B;
    position: absolute;
    left: 0;
}

/* ======== CTA final ======== */
.about-cta {
    text-align: center;
    padding: 3rem 2rem;
    background-color: #f1f1f1;
}

.about-cta h2 {
    margin-bottom: 1rem;
    color: #5E3023;
}

.about-cta .btn {
    background-color: #C9A14B;
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.about-cta .btn:hover {
    background-color: #5E3023;
}

/* ======== Responsive ======== */
@media (max-width: 768px) {
    .about-hero h1 {
        font-size: 1.8rem;
    }
    .about-hero p {
        font-size: 1rem;
    }
}


/* ======== Hero de contacto ======== */
.contact-hero {
    background: linear-gradient(to right, #5E3023, #7a4d35);
    color: white;
    text-align: center;
    padding: 4rem 2rem;
}

.contact-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.contact-hero p {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.2rem;
}

/* ======== Formulario ======== */
.contact-form-section {
    padding: 3rem 2rem;
    max-width: 700px;
    margin: 0 auto;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 0.5rem;
    color: #5E3023;
    font-weight: bold;
}

.form-group input,
.form-group textarea {
    padding: 0.8rem;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #C9A14B;
    outline: none;
}

.contact-form .btn {
    background-color: #C9A14B;
    color: white;
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 25px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.contact-form .btn:hover {
    background-color: #5E3023;
}

/* ======== Info adicional ======== */
.contact-info {
    text-align: center;
    padding: 3rem 2rem;
    background-color: #f1f1f1;
}

.contact-info h2 {
    color: #5E3023;
    margin-bottom: 1rem;
}

.contact-info p {
    margin: 0.3rem 0;
}

/* ======== Responsive ======== */
@media (max-width: 768px) {
    .contact-hero h1 {
        font-size: 1.8rem;
    }
    .contact-hero p {
        font-size: 1rem;
    }
}

.service-icon {
    font-size: 64px; /* Puedes ajustar: 48px, 64px, etc. */
    color: #ffffff; /* O el color que quieras (por ejemplo blanco si va sobre fondo azul) */
    background-color: #5E3023; /* Si quieres el fondo azul */
    padding: 20px; /* Espacio interno para que quede circular */
    border-radius: 50%; /* Para hacerlo redondo */
    display: inline-block; /* Para que el círculo funcione correctamente */
    margin-bottom: 15px; /* Espacio con el título */
}

.service-icon-small {
    font-size: 32px; /* Puedes subir a 40px si quieres más grande */
    color: #5E3023;
    margin-bottom: 10px;
}

.about-icon {
    color: #5E3023;
    margin-right: 8px;
}

/* ======== Estilo base para tarjetas (index) ======== */
.card {
    background-color: white;
    border: 1px solid #e0e0e0;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

/* ======== Diferenciales ======== */
.differentials {
    padding: 4rem 2rem;
    background-color: #f9f9f9;
    text-align: center;
}

.differentials-container {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: center;
    margin-top: 2rem;
}

.differential-card i {
    font-size: 36px;
    color: #C9A14B;
    margin-bottom: 10px;
}

/* ======== Proyectos ======== */
.projects {
    padding: 4rem 2rem;
    background-color: #fff;
    text-align: center;
}

.projects-container {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: center;
    margin-top: 2rem;
}

.project-card {
    width: 300px;
    overflow: hidden;
    padding: 0;
}

.project-card img {
    width: 100%;
    height: auto;
    border-radius: 16px 16px 0 0;
}

.project-card h3 {
    color: #5E3023;
    font-size: 1.2rem;
    margin: 1rem 0 0.5rem;
}

.project-card p {
    padding: 0 1.5rem 1.5rem;
    font-size: 0.95rem;
    color: #555;
}

/* ======== Testimonios ======== */
.testimonials {
    padding: 4rem 2rem;
    background-color: #f9f9f9;
    text-align: center;
}

.testimonials-container {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: center;
    margin-top: 2rem;
}

.testimonial-card {
    max-width: 300px;
}

.testimonial-card p {
    font-style: italic;
    color: #444;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.testimonial-card strong {
    color: #5E3023;
    font-weight: 600;
    font-size: 0.95rem;
}

/* ======== CTA Final ======== */
.cta-final {
    background: linear-gradient(to right, #5E3023, #7a4d35);
    color: white;
    text-align: center;
    padding: 4rem 2rem;
}

.cta-final h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.cta-final .btn {
    background-color: #C9A14B;
    color: white;
    padding: 0.8rem 1.8rem;
    border: none;
    border-radius: 25px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-decoration: none;
    font-weight: 600;
}

.cta-final .btn:hover {
    background-color: #5E3023;
}

/* ======== Responsive específico para tarjetas index ======== */
@media (max-width: 768px) {
    .differential-card,
    .project-card,
    .testimonial-card {
        width: 100% !important;
        max-width: 90%;
    }
}

/* ======== Botón hamburguesa ======== */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.menu-toggle span {
    height: 3px;
    width: 25px;
    background: #5E3023;
    margin: 4px 0;
    border-radius: 2px;
}

/* ======== Responsive para menú ======== */
@media (max-width: 768px) {
    .nav-links {
        flex-direction: column;
        background-color: white;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        display: none;
        padding: 1rem 0;
        box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    }
    .nav-links.show {
        display: flex;
    }
    .menu-toggle {
        display: flex;
    }
}

@media (max-width: 768px) {
    .nav-links {
        flex-direction: column;
        background-color: white;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        display: none;
        padding: 1rem 0;
        box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    }
    .nav-links.show {
        display: flex;
    }
    .nav-links a {
        padding: 1rem 2rem;
        border-bottom: 1px solid #eee;
        text-align: left;
    }
    .nav-links a:last-child {
        border-bottom: none;
    }
    .menu-toggle {
        display: flex;
    }
}

body > section:first-of-type {
    margin-top: 80px;
}

.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 60px;
    height: 60px;
    background-color: #C9A14B; /* ✅ Tu verde corporativo */
    color: white;
    border-radius: 50%;
    display: flex;           /* ✅ Cambio clave */
    justify-content: center; /* ✅ Centro horizontal */
    align-items: center;     /* ✅ Centro vertical */
    font-size: 28px;         /* Ajusta tamaño del icono */
    z-index: 1000;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

.about-logo {
    max-width: 200px;
    height: auto;
    margin: 1rem auto;
    display: block;
}

.virtual-icon {
    color: #5E3023; /* Color principal o el que uses en tu branding */
    font-size: 1.5rem;
    margin-left: 15px;
    transition: color 0.3s ease, transform 0.3s ease;
}

.virtual-icon:hover {
    color: #C9A14B;
    transform: scale(1.2);
}

.menu-text {
    margin-left: 5px;
    font-size: 0.9rem;
}

/* Opcional: Si quieres ajustar estilo a los íconos */
.nav-links li a i {
    color: #5E3023;
    font-size: 1.2rem;
    transition: color 0.3s ease, transform 0.3s ease;
}

.nav-links li a:hover i {
    color: #C9A14B;
    transform: scale(1.2);
}

