/* ===== RESET ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

body {
    background-color: #0d0d0d;
    color: #ffffff;
}


/* ===== HEADER NUEVO ===== */
.header {
    width: 100%;
    padding: 18px 0;
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    width: 90%;
    max-width: 1300px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 50px;
}

.navbar ul {
    list-style: none;
    display: flex;
    gap: 28px;
}

.navbar a {
    color: #ffffff;
    text-decoration: none;
    font-size: 16px;
    transition: 0.3s;
}

.navbar a:hover,
.navbar a.active {
    color: #4cc9f0;
}

.phone {
    color: #ffffff;
    font-size: 14px;
}

.phone strong {
    color: #4cc9f0;
}


/* ===== HERO ===== */
.hero {
    width: 100%;
    height: 45vh;
    background: url("../img/hero.png") center/cover no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.55);
    backdrop-filter: blur(4px);
}

.hero-content {
    text-align: center;
    position: relative;
}

.hero-content h1 {
    font-size: 2.6rem;
    color: #33ccff;
}

/* CONTAINER */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 50px auto;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 30px;
    color: #33ccff;
}

/* ===== INTRO ===== */
.intro p {
    line-height: 1.8;
    font-size: 1.15rem;
    opacity: 0.9;
}

/* ===== ACTORES ===== */
.actors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
}

.actor-card {
    background: #101010;
    padding: 25px;
    border-radius: 12px;
    border: 1px solid #1a1a1a;
    text-align: center;
    transition: 0.3s;
}

.actor-card i {
    font-size: 40px;
    color: #33ccff;
    margin-bottom: 15px;
}

.actor-card:hover {
    border-color: #33ccff;
    transform: translateY(-4px);
}

/* ===== FEATURES ===== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
}

.feature-card {
    background: #111;
    padding: 25px;
    border-radius: 14px;
    border: 1px solid #1e1e1e;
    transition: 0.3s;
}

.feature-card i {
    font-size: 38px;
    color: #33ccff;
    margin-bottom: 15px;
}

.feature-card:hover {
    border-color: #33ccff;
    box-shadow: 0 0 15px rgba(51, 204, 255, 0.25);
}

/* ===== DEVELOPMENT ===== */
.development-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 25px;
}

.dev-card {
    background: #111;
    padding: 25px;
    border-radius: 14px;
    border: 1px solid #1f1f1f;
    text-align: center;
    transition: 0.3s;
}

.dev-card i {
    font-size: 45px;
    color: #33ccff;
    margin-bottom: 15px;
}

.dev-card:hover {
    transform: translateY(-4px);
    border-color: #33ccff;
}

/* ===== BUSINESS ===== */
.business-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
}

.business-card {
    background: #111;
    padding: 25px;
    border-radius: 14px;
    border: 1px solid #1e1e1e;
    transition: 0.3s ease;
}

.business-card.full {
    grid-column: span 2;
}

.business-card i {
    font-size: 40px;
    color: #33ccff;
    margin-bottom: 15px;
}

.business-card:hover {
    border-color: #33ccff;
    box-shadow: 0 0 15px rgba(51, 204, 255, 0.25);
}

/* ===== CTA ===== */
.cta {
    text-align: center;
    margin: 60px 0;
}

.cta a {
    background: #33ccff;
    color: #000;
    padding: 14px 35px;
    border-radius: 40px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s;
}

.cta a:hover {
    background: #009fcc;
}

/* ===== FOOTER ===== */
footer {
    text-align: center;
    padding: 30px;
    background: #0b0b0b;
    color: #777;
    border-top: 1px solid #1a1a1a;
    margin-top: 40px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 1.9rem;
    }
}


/* ===== MENÚ RESPONSIVE ===== */

.menu-toggle {
    display: none;
    font-size: 28px;
    cursor: pointer;
    color: white;
}

/* Para móviles */
@media (max-width: 900px) {

    /* Ocultar teléfono */
    .phone {
        display: none;
    }

    /* Botón hamburguesa visible */
    .menu-toggle {
        display: block;
    }

    /* Navbar pasa a menú vertical */
    .navbar {
        position: absolute;
        top: 80px;
        right: 0;
        width: 100%;
        background: rgba(10,10,10,0.95);
        padding: 25px 0;
        display: none;
        text-align: center;
        backdrop-filter: blur(10px);
    }

    .navbar ul {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .navbar a {
        font-size: 18px;
    }

    /* Cuando esté activo */
    .navbar.active {
        display: block;
        animation: fadeMenu 0.3s ease;
    }

    @keyframes fadeMenu {
        from { opacity: 0; transform: translateY(-10px); }
        to { opacity: 1; transform: translateY(0); }
    }

    /* Logo más pequeño */
    .logo img {
        height: 42px;
    }
}

/* ================================
   RESPONSIVE GENERAL
================================ */

/* Ajustes en el HERO */
@media (max-width: 768px) {
    .hero {
        height: 30vh;
    }

    .hero-content h1 {
        font-size: 1.6rem;
        padding: 0 20px;
    }

    .hero-content p {
        font-size: 0.9rem;
        padding: 0 25px;
    }
}

/* Intro */
@media (max-width: 768px) {
    .intro p {
        font-size: 1rem;
        text-align: center;
    }
}


/* ================================
   GRID RESPONSIVE
================================ */

/* Actores */
@media (max-width: 600px) {
    .actors-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* Features */
@media (max-width: 600px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
}

/* Development */
@media (max-width: 600px) {
    .development-grid {
        grid-template-columns: 1fr;
    }
}

/* Business */
@media (max-width: 700px) {
    .business-grid {
        grid-template-columns: 1fr;
    }

    .business-card.full {
        grid-column: span 1;
    }
}

/* CTA */
@media (max-width: 600px) {
    .cta a {
        font-size: 1rem;
        padding: 12px 25px;
    }
}

/* Footer */
@media (max-width: 600px) {
    footer {
        font-size: 0.9rem;
        padding: 20px;
    }
}

