/* RESET */
body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    color: #222;
}

/* NAV */
nav {
    position: fixed;
    width: 95%;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: 0.3s;
}

nav.scrolled {
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(10px);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
    overflow: hidden;
}

nav a {
    text-decoration: none;
    color: #111;
    position: relative;
}

/* HOVER */
nav a::after {
    content: "";
    position: absolute;
    bottom: -4px;
    width: 0%;
    height: 2px;
    background: black;
    transition: 0.3s;
}

nav a:hover::after {
    width: 100%;
}

/* LOGO */
.logo img{
	max-height: 70px;
}

/* HERO */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    padding: 80px;
    background: url('img/hero.png') center/cover no-repeat;
    position: relative;
    color: white;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.5);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
}

.hero h1 {
    font-size: 60px;
}

.hero p {
    font-size: 20px;
}

/* BOTONES */
.btn {
    padding: 12px 20px;
    border-radius: 8px;
    text-decoration: none;
}

.primary {
    background: black;
    color: white;
}

.secondary {
    border: 1px solid black;
    color: black;
}

/* SECCIONES */
section {
    padding: 100px 60px;
}

.section.light {
    background: #f7f7f7;
}

h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

/* GRID */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px,1fr));
    gap: 30px;
}

/* CARDS */
.card {
    padding: 30px;
    border-radius: 12px;
    background: white;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: 0.3s;
}

.card:hover {
    transform: translateY(-5px);
}

/* SPLIT */
.split {
    display: flex;
    gap: 60px;
    align-items: center;
}

.image-placeholder {
    flex: 1;
    height: 300px;
    border: 2px dashed #ccc;
    border-radius: 10px;
}

/* IMPACT */
.impact {
    background: black;
    color: white;
    text-align: center;
    padding: 100px;
}

.stats {
    display: flex;
    justify-content: center;
    gap: 60px;
}

/* CLIENTES */
.clientes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px,1fr));
    gap: 30px;
}

.logo-box {
    height: 80px;
    background: white;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: grayscale(100%);
    transition: 0.3s;
    border: 1px solid #eee;
}

.logo-box:hover {
    filter: grayscale(0%);
    transform: scale(1.05);
}

/* FORM */
.form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 400px;
    margin: auto;
}

.form input,
.form textarea {
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #ddd;
}

/* WHATSAPP */
.whatsapp {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #25D366;
    padding: 15px 18px;
    border-radius: 50px;
    color: white;
    font-weight: 600;
}

/* MENU MOBILE */
.menu-toggle {
    display: none;
}

@media(max-width:768px){

    .menu-toggle {
        display: block;
    }

    nav ul {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 250px;
        background: white;
        flex-direction: column;
        padding-top: 100px;
        gap: 20px;
        transition: 0.3s;
    }

    nav ul.active {
        right: 0;
    }

    .split {
        flex-direction: column;
    }

    .stats {
        flex-direction: column;
        gap: 20px;
    }
}