/* VARIABLES Y RESET */
:root {
    --primary-color: #0056b3; 
    --secondary-color: #f39c12; 
    --whatsapp-color: #25D366; 
    --dark-color: #333;
    --light-color: #f4f4f4;
    --white: #ffffff;
    --font-main: 'Open Sans', sans-serif;
    --font-title: 'Montserrat', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    line-height: 1.6;
    color: var(--dark-color);
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* CLASES UTILITARIAS */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: bold;
    transition: all 0.3s ease;
    text-align: center;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--secondary-color);
    color: var(--white);
}
.btn-primary:hover {
    background-color: #e67e22;
}

.btn-whatsapp {
    background-color: var(--whatsapp-color);
    color: var(--white);
    margin-top: 10px;
}
.btn-whatsapp:hover {
    background-color: #128C7E;
}

.btn-outline {
    border: 2px solid var(--white);
    color: var(--white);
    margin-left: 10px;
}
.btn-outline:hover {
    background-color: var(--white);
    color: var(--dark-color);
}

.section {
    padding: 80px 0;
}

.bg-light {
    background-color: var(--light-color);
}

/* NAVBAR */
.navbar {
    background-color: var(--white);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    font-family: var(--font-title);
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

.nav-links {
    display: flex;
}
.nav-links li {
    margin-left: 20px;
}
.nav-links a {
    font-weight: 600;
}
.btn-nav {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 8px 15px;
    border-radius: 4px;
}

/* HERO SECTION */
.hero {
    /* Múltiples fondos: el primero es la imagen traslúcida, el segundo es la imagen principal */
    background-image: 
        url('imagenes/1.jpg'), /* <-- NUEVA IMAGEN TRASLÚCIDA */
        url('imagenes/5.jpg'); /* Imagen de fondo principal */
    background-size: 
        500px 250px, /* Tamaño del patrón (ajusta si es necesario) */
        cover;      /* La imagen principal cubre todo */
    background-position: 
        center center, /* Posición del patrón */
        center center; /* Posición de la imagen principal */
    background-repeat: 
        repeat,     /* El patrón se repite */
        no-repeat;  /* La imagen principal no se repite */

    height: 90vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Ajustado para ser un poco menos oscuro, para que la imagen traslúcida se vea más */
    background: rgba(0, 0, 0, 0.5); 
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-family: var(--font-title);
    font-size: 3rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7); /* Añadido para mejor legibilidad */
}

.hero .subtitle {
    font-size: 1.5rem;
    margin-bottom: 30px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.7); /* Añadido para mejor legibilidad */
}

/* SOBRE MÍ */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.about-img img {
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.highlight {
    font-size: 1.2rem;
    font-style: italic;
    color: var(--primary-color);
    border-left: 4px solid var(--secondary-color);
    padding-left: 15px;
    margin: 20px 0;
}

/* CONFERENCIAS */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 10px;
    font-family: var(--font-title);
}
.section-subtitle {
    text-align: center;
    margin-bottom: 50px;
    font-size: 1.2rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    background: var(--white);
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}
.card:hover {
    transform: translateY(-5px);
}
.card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

/* VIDEO */
.video-container {
    margin-top: 60px;
    text-align: center;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; 
    height: 0;
    overflow: hidden;
    max-width: 800px;
    margin: 20px auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    background: #000;
}
.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* CLIENTES */
.social-proof {
    background-color: var(--primary-color);
    color: var(--white);
    text-align: center;
}
.clients-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 30px;
}
.client {
    font-size: 1.5rem;
    font-weight: bold;
    opacity: 0.8;
}

/* CONTACTO */
.contact-intro {
    text-align: center;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.contact-card {
    background: #f9f9f9;
    padding: 40px 20px;
    border-radius: 10px;
    text-align: center;
    border: 1px solid #eee;
}

.contact-card i {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.whatsapp-card i { color: var(--whatsapp-color); }
.social-card i { color: var(--primary-color); }

.social-links {
    margin-top: 20px;
}
.social-links a {
    display: inline-block;
    margin: 0 10px;
    font-size: 2rem;
    color: var(--primary-color);
    transition: color 0.3s;
}
.social-links a:hover {
    color: var(--secondary-color);
}

/* FOOTER */
footer {
    background: var(--dark-color);
    color: var(--white);
    text-align: center;
    padding: 20px 0;
    margin-top: 0;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .hero h1 { font-size: 2rem; }
    .about-grid { grid-template-columns: 1fr; }
    
    .nav-links { display: none; } 
    
    .hero-btns { display: flex; flex-direction: column; gap: 10px; }
    .btn-outline { margin-left: 0; }
    
    .contact-grid {
        grid-template-columns: 1fr; 
    }
}