/* --- Estilos Generales y Tipografía --- */
:root {
    --color-primary: #e9166b; /* Fucsia Vibrante */
    --color-secondary: #2c3e50; /* Gris Oscuro (casi negro) */
    --color-background-white: #ffffff; /* Fondo Blanco */
    --color-background-light: #f4f4f4; /* Fondo blanco-gris sutil para secciones */
    --color-text-dark: #333333;
    --color-text-light: #ffffff; 
    --color-border-subtle: #eeeeee; 

    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Poppins', sans-serif;
}

body {
    font-family: var(--font-body);
    margin: 0;
    padding: 0;
    background-color: var(--color-background-white);
    color: var(--color-text-dark);
    line-height: 1.7;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow-x: hidden; /* CRÍTICO: EVITA EL SCROLL HORIZONTAL */
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    width: 100%; 
    padding: 0 25px;
    box-sizing: border-box;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
    white-space: nowrap;
}

/* --- Botones Generales (CTA) --- */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.05em;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-text-light);
    border: 2px solid var(--color-primary);
}

.btn-primary:hover {
    background-color: var(--color-secondary);
    border-color: var(--color-secondary);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
}

.btn-secondary:hover {
    background-color: var(--color-primary);
    color: var(--color-text-light);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(233, 22, 107, 0.4);
}

/* ---------------------------------------------------------------------- */
/* --- Header y Logo --- */
/* ---------------------------------------------------------------------- */
.hero-section {
    background-color: var(--color-background-white);
    padding: 40px 0 30px 0; 
    border-bottom: 1px solid var(--color-border-subtle); 
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.header-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.logo {
    width: 420px; 
    max-width: 90%; /* CRÍTICO para Móviles */
    height: auto;
    object-fit: contain;
    border: none;
    box-shadow: none;
    transition: transform 0.3s ease;
}

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

/* ---------------------------------------------------------------------- */
/* --- Redes Sociales (Íconos Grandes, Fucsia) --- */
/* ---------------------------------------------------------------------- */
.social-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    padding: 10px 0;
}

.social-links a {
    color: var(--color-primary);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    
    width: 55px; 
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-background-white);
    border: 2px solid var(--color-primary); 
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.social-links a i {
    font-size: 2em;
    color: inherit;
}

.social-links a:hover {
    background-color: var(--color-primary);
    color: var(--color-text-light);
    transform: translateY(-5px); 
    box-shadow: 0 12px 25px rgba(233, 22, 107, 0.5);
}
.social-links a:hover i {
    color: var(--color-text-light);
}

/* ---------------------------------------------------------------------- */
/* --- Sección 1: Introducción --- */
/* ---------------------------------------------------------------------- */
.intro-section {
    padding: 80px 0;
    text-align: center;
}

.intro-section h2 {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 3.5em;
    color: var(--color-secondary);
    margin-bottom: 25px;
    line-height: 1.1;
    letter-spacing: -1px;
}

.intro-section .lead-text {
    font-size: 1.3em;
    font-weight: 300;
    color: var(--color-text-dark);
    max-width: 800px;
    margin: 0 auto 50px auto;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* ---------------------------------------------------------------------- */
/* --- Sección 2: Video (Fondo en Contraste) --- */
/* ---------------------------------------------------------------------- */
.video-section {
    padding: 100px 0;
    background-color: var(--color-background-light); 
    color: var(--color-text-dark);
    text-align: center;
}

.video-section h3 {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 2.5em;
    color: var(--color-primary);
    margin-bottom: 40px;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    max-width: 900px;
    margin: 0 auto 40px auto;
    border-radius: 10px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1); 
    border: 5px solid var(--color-primary);
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* ---------------------------------------------------------------------- */
/* --- Sección 3: Sobre Nosotros (Diseño Grid) --- */
/* ---------------------------------------------------------------------- */
.about-section {
    padding: 100px 0;
    background-color: var(--color-background-white);
}

.about-section h3 {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 2.8em;
    color: var(--color-secondary);
    margin-bottom: 50px;
    text-align: center;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    text-align: left;
}

.about-text p {
    font-size: 1.1em;
    margin-bottom: 25px;
    color: var(--color-text-dark);
}

.about-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

/* ---------------------------------------------------------------------- */
/* --- Sección 4: Contacto/Contrataciones --- */
/* ---------------------------------------------------------------------- */
.contact-section {
    padding: 100px 0;
    background-color: var(--color-background-white);
    text-align: center;
}

.contact-section h3 {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 3em;
    color: var(--color-secondary);
    margin-bottom: 20px;
}

.contact-section p {
    font-size: 1.15em;
    margin-bottom: 50px;
    color: var(--color-text-dark);
    word-break: break-word; /* CRÍTICO: Rompe palabras largas en contenedores estrechos */
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    justify-content: center;
}

.contact-item {
    background-color: var(--color-background-light);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    background-color: var(--color-background-white);
}

.contact-item i {
    font-size: 2.5em;
    color: var(--color-primary);
    margin-bottom: 15px;
}

.contact-item h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.4em;
    color: var(--color-secondary);
    margin-bottom: 10px;
}

.contact-item p {
    margin: 0;
    word-break: break-word; /* CRÍTICO: Rompe palabras largas dentro del elemento de contacto */
}

.contact-item a {
    color: var(--color-primary); 
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9em;
    transition: color 0.3s ease;
    display: block;
    line-height: 1.4;
}

.contact-item a:hover {
    color: var(--color-secondary);
    text-decoration: underline;
}

/* ---------------------------------------------------------------------- */
/* --- Footer --- */
/* ---------------------------------------------------------------------- */
.footer {
    padding: 30px 0;
    background-color: var(--color-secondary); 
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
    margin-top: 50px;
    border-top: 3px solid var(--color-primary);
}

/* ---------------------------------------------------------------------- */
/* --- Media Queries (Responsividad Reforzada) --- */
/* ---------------------------------------------------------------------- */
@media (max-width: 992px) {
    .container {
        padding: 0 20px;
    }
    .about-grid {
        grid-template-columns: 1fr; 
        gap: 30px;
    }
    .about-image {
        order: -1; 
    }
}

@media (max-width: 768px) {
    .hero-section, .intro-section, .video-section, .about-section, .contact-section {
        padding: 50px 0;
    }
    
    .logo {
        width: 80vw; 
        max-width: 300px;
    }

    .social-links {
        gap: 20px;
    }
    .social-links a {
        width: 40px;
        height: 40px;
    }
    .social-links a i {
        font-size: 1.5em;
    }

    .intro-section h2 {
        font-size: 2.5em;
    }
    .intro-section .lead-text {
        font-size: 1.1em;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .about-section h3, .video-section h3, .contact-section h3 {
        font-size: 2em;
    }
    
    .about-text, .contact-item {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .logo {
        width: 75vw;
        max-width: 200px;
    }

    .intro-section h2 {
        font-size: 1.8em;
    }

    .btn {
        padding: 10px 20px;
        font-size: 1em;
    }
}