/* css/style.css */
:root {
    --color-bg: #FEF5E7;
    --color-text: #2C3E50;
    --color-accent: #DB4455;
    --font-main: 'Montserrat', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    background-color: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-main);
    line-height: 1.6;
}

img { max-width: 100%; height: auto; display: block; }

/* Tipografía */
h1, h2, h3 { margin-bottom: 1rem; font-weight: 700; }

h2 {
    font-size: 2.5rem;
    text-transform: uppercase;
    position: relative;
    display: inline-block;
    margin-bottom: 2rem;
}

.title-underline::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--color-accent);
    margin-top: 10px;
}

p { margin-bottom: 1.5rem; }

/* Layout */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
section { padding: 4rem 0; }

/* Header */
header {
    background: rgba(0,0,0,0.8);
    position: absolute;
    width: 100%;
    top: 0;
    z-index: 100;
    padding: 1rem 0;
}

nav ul { list-style: none; display: flex; justify-content: flex-end; gap: 2rem; }
nav a { color: white; text-decoration: none; font-weight: 600; text-transform: uppercase; }

/* Hero con imagen real */
.hero {
    /* Usamos la imagen ancha TORNADO1920_2.jpg */
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url('../assets/tornado1920_2.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    height: 80vh;
    display: flex;
    align-items: center;
}

.hero-content { max-width: 800px; }
.hero h1 { font-size: 3.5rem; text-transform: uppercase; }

/* Bloques */
.feature-block { display: flex; align-items: center; gap: 4rem; margin-bottom: 2rem; }
.feature-block.reverse { flex-direction: row-reverse; }
.feature-text { flex: 1; }
.feature-img { flex: 1; display: flex; justify-content: center; }
/* Ajuste para que los logos no se vean gigantes */
.feature-img img { max-height: 400px; } 

.types-list dt { font-weight: 700; font-size: 1.1rem; margin-top: 1rem; }

/* Stats */
.stats-bar { background-color: var(--color-accent); color: white; padding: 3rem 0; text-align: center; }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.stat-item h3 { font-size: 3rem; margin-bottom: 0.5rem; }

/* Grids */
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; text-align: center; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2rem; text-align: center; }

.icon-circle {
    background: var(--color-accent);
    color: white;
    width: 80px; height: 80px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 1.5rem; font-weight: bold;
}

/* Equipo */
.team-card { background: white; padding: 2rem; box-shadow: 0 4px 6px rgba(0,0,0,0.1); border-radius: 8px; }
.team-img {
    width: 120px; height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 1rem;
    border: 3px solid var(--color-bg);
}
.team-name { color: var(--color-accent); font-weight: 700; text-transform: uppercase; }

/* Video */
.video-container {
    position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; margin-bottom: 3rem; border-radius: 10px;
}
.video-container iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }

@media (max-width: 768px) {
    .feature-block, .feature-block.reverse { flex-direction: column; }
    .stats-grid { grid-template-columns: 1fr; }
    .hero h1 { font-size: 2.5rem; }
}