:root {
    --negro: #000000;
    --blanco: #ffffff;
    --negroginda: #170000;
    --gindanegro: #350a06;
    --ginda: #56070c;
    --rosaNegro: #8f3d38;
    --rosa: #cb7169;
    --gris: #A6A09B;
    --gris2: #E7E5E4;

}

/* RESET Y CONFIGURACIONES GLOBALES */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Lexend", sans-serif;
    font-optical-sizing: auto;
    font-weight: weight;
    font-style: normal;
}

html {
    scroll-behavior: smooth;
    /* Navegación suave entre secciones */
}

body {
    line-height: 1.6;
    overflow-x: hidden;
}

/* NAVEGACIÓN */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    height: 11%;
    background: var(--ginda);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.logo {
    font-size: 2rem;
    font-weight: 700;
    color: var(--blanco);
    text-decoration: none;
}

.logo span {
    color: var(--gris2);
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--blanco);
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

.nav-links a:hover {
    color: var(--gris);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gris);
    transition: width 0.3s;
}

.nav-links a:hover::after {
    width: 100%;
}

/* SECCIONES CON VIDEO DE FONDO */
.video-section {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.background-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: -1;
}

.content-wrapper {
    position: relative;
    align-items: center;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    width: 90%;
    margin: 0 auto;
    padding: 2rem;
    color: white;
}

.text-content {
    text-align: center;
    flex: 1;
    min-width: 300px;
    padding: 2rem;

}

.image-content {
    flex: 1;
    min-width: 300px;
    padding: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.featured-image {
    width: 100%;
    max-width: 400px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    transition: transform 0.5s ease;
}

.featured-image:hover {
    transform: scale(1.05);
}

.intermedio {
    display: grid;
    grid-template-rows: 10% 50%;
}

.intermedio .text-content {
    color: var(--blanco);
}

.intermedio2 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: center;
}

.intermedio2 img {
    height: 13rem;
}

/* SECCIONES NORMALES */
.normal-section {
    color: var(--negro);
    padding: 6rem 2rem;
    max-width: 100%;
    margin: 0 auto;
    /*background-image: url(../img/city4.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;*/
    background-color: var(--blanco);
    z-index: -2;
}

.normal-section:nth-child(even) {
    background: #f8f9fa;
}

/* ESTILOS DE TIPOGRAFÍA */
h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
    line-height: 1.2;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--negro);
    text-align: center;
    position: relative;
}

h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gris);
}

.subtitle {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 300;
    opacity: 0.9;
}

p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

/* BOTONES */
.cta-button {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--gris);
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.cta-button:hover {
    color: var(--negro);
    background-color: var(--gris2);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* TARJETAS DE SERVICIOS */
.subtitle {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 2rem;
}

.services {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: var(--rosa);
    color: var(--blanco);
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    flex: 1;
    min-width: 250px;
    max-width: 350px;
    text-align: center;
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-icon {
    font-size: 3rem;
    color: var(--blanco);
    margin-bottom: 1rem;
}

.service-card h3 {
    margin-bottom: 1rem;
    color: var(--blanco);
}

.service-card p {
    color: var(--blanco);
}


/* FORMULARIO DE CONTACTO */
#contatc {
    padding: 0 20rem;
}

.contact-form {
    max-width: 430px;
    margin: 0 auto;
    background: var(--rosa);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

.form-group textarea {
    max-height: 3rem;
}

.form-group textarea {
    height: 150px;
    resize: vertical;
}


/*Testimonials*/
.testimonials-section {
    background: var(--blanco);
    max-height: 35rem;
    display: grid;
    grid-template-rows: 20% 50%;
    justify-items: center;
}

.section-header-testimonials {
    height: 10px;
    padding-bottom: 25%;
    text-align: center;
    margin-bottom: 10rem;
    color: white;
    z-index: 1;
}

.testimonials-section {
    height: auto;
    margin-bottom: 8rem;
}

.testimonials-container {
    margin-top: 5rem;
    padding: 15rem 0 6rem 6rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 0rem;
    align-items: center;
}

.testimonial-modern {
    background: var(--blanco);
    color: var(--blanco);
}

.testimonial-modern .testimonial-text {
    color: var(--blancos);
}


.testimonial-card {
    text-align: center;
    background: var(--rosa);
    height: auto;
    max-width: 70%;
    border-radius: 15px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
}


/* FOOTER */
footer {
    background: var(--rosa);
    color: white;
    padding: 2 rem 2rem;
    text-align: center;

}

footer p .copyright {
    font-size: 2.5rem;
}

.footer-content {
    padding: 1rem 0;
    display: grid;
    width: 100%;
    margin-top: 0 auto;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin: 1rem 0;
}

.social-links span {
    font-size: 1.2rem;
    text-decoration: underline;
}

.social-links a {
    color: white;
    font-size: 1.5rem;
    transition: color 0.3s;
}

.social-links a:hover {
    color: #3498db;
}

.copyright {
    margin-top: 2rem;
    opacity: 0.7;
    font-size: 0.9rem;
}

.service-card .animate-up {
    animation-delay: 0.2s;
}

.animate-up {
    animation: fadeInUp 1s ease-out;
}

.animate-left {
    animation: fadeInLeft 1s ease-out;
}

.animate-right {
    animation: fadeInRight 1s ease-out;
}

@media (max-width: 992px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .content-wrapper {
        flex-direction: column;
        text-align: center;
    }

    .text-content,
    .image-content {
        padding: 1rem;
    }

    h1 {
        font-size: 2rem;
    }

    .nav-links {
        display: none;
        /* Menú hamburguesa simplificado */
    }

    .mobile-menu-btn {
        display: block;
    }

    .services {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.8rem;
    }

    .normal-section {
        padding: 4rem 1rem;
    }

    .service-card {
        min-width: 100%;
    }
}