* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Inter', sans-serif;
}

body {
    background: #f5f7fa;
    color: #333;
}

/* UTILIDADES */
.container {
    max-width: 1200px;
    margin: auto;
    padding: 0 20px;
}

.section {
    padding: 60px 20px;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
    font-size: 28px;
}

.gray {
    background: #eef2f6;
}

/* HEADER */
.header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,.05);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

/* LOGO + HAMBURGUESA */
.logo-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    max-width: 250px;
}

/* BOTÓN HAMBURGUESA */
.menu-toggle {
    font-size: 28px;
    background: none;
    border: none;
    cursor: pointer;
}

/* MENÚ */
.nav {
    display: none; /* oculto por defecto */
    flex-direction: column;
    margin-top: 10px;
}

.nav a {
    padding: 12px 0;
    text-decoration: none;
    color: #333;
    font-weight: 600;
    border-bottom: 1px solid #eee;
}

.nav.open {
    display: flex;
}


/* HERO */
.hero {
    background: url("../img/hero.png") center/cover no-repeat;
    height: 420px;
    position: relative;
}

.hero-overlay {
    background: rgba(0,0,0,.45);
    height: 100%;
}

.hero-content {
    color: #fff;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero h1 {
    font-size: 36px;
    margin-bottom: 10px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    flex-wrap: wrap;
}

/* BOTONES */
.btn {
    padding: 14px 22px;
    border: none;
    border-radius: 8px;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
}

.blue { background: #2f80ed; }
.green { background: #27ae60; }
.gold { background: #f2c94c; color:#000; }

/* CARDS */
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px,1fr));
    gap: 20px;
}

.card {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 10px 20px rgba(0,0,0,.06);
}

.card span {
    font-size: 36px;
}

/* GRID */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px,1fr));
    gap: 25px;
}

.box {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 10px 20px rgba(0,0,0,.05);
}

.box label {
    display: block;
    margin-top: 10px;
    font-size: 14px;
}

.box input {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border-radius: 6px;
    border: 1px solid #ccc;
}

.result {
    margin-top: 20px;
    font-size: 18px;
}

/* VIDEO */
.video {
    background: #ddd;
    height: 180px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
}

/* IMAGEN */
.img-fluid {
    width: 100%;
    border-radius: 10px;
}

/* WHATSAPP */
.whatsapp {
    position: fixed;
    right: 20px;
    bottom: 20px;
    background: #25d366;
    color: #fff;
    font-size: 28px;
    padding: 14px;
    border-radius: 50%;
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(0,0,0,.3);
}

.intro-text, .mission-text {
    max-width: 800px;
    margin: auto;
    font-size: 1.1rem;
    line-height: 1.7;
}

.services-list {
    max-width: 700px;
    margin: auto;
    list-style: none;
    padding: 0;
}

.services-list li {
    padding: 10px 0;
    font-size: 1.05rem;
}

.contact-info p {
    text-align: center;
    margin: 6px 0;
}

.hero-carousel {
    position: relative;
    height: 90vh;
    overflow: hidden;
}

.carousel {
    height: 100%;
    width: 100%;
    position: relative;
}

.slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease;
}

.slide.active {
    opacity: 1;
    z-index: 1;
}

.video-slide video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.55);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px;
    color: #fff;
}

.overlay h1 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    margin-bottom: 10px;
}

.overlay p {
    font-size: 1.2rem;
}

.hero-buttons {
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 10;
    flex-wrap: wrap;
    justify-content: center;
}

.hero-disclaimer {
    position: absolute;
    bottom: 20px;
    width: 100%;
    text-align: center;
    font-size: 0.8rem;
    color: #ddd;
    z-index: 10;
}



/* RESPONSIVO */
@media(max-width:768px){
    .hero h1 {
        font-size: 28px;
    }
}

@media (min-width: 480px) {

    .menu-toggle {
        display: none;
    }

    .nav {
        display: flex !important;
        flex-direction: row;
        justify-content: center;
        gap: 30px;
        margin-top: 15px;
    }

    .nav a {
        border: none;
        padding: 0;
    }
}
