* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: #05070B;
    color: #EAF2FF;
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

/* ── NAVBAR ── */
.navbar {
    width: 100%;
    padding: 8px 36px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(5, 7, 11, 0.92);
    border-bottom: 1px solid rgba(0, 183, 255, 0.14);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(8px);
}

.nav-logo {
    height: 43px;
    width: auto;
    filter: brightness(2.4) saturate(1.25);
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    position: relative;
    color: #DDEBFF;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    padding: 8px 6px;
    transition: color 0.25s ease;
    white-space: nowrap;
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #00A8FF, #22C7FF);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.25s ease;
}

.nav-links a:hover { color: #FFFFFF; }
.nav-links a:hover::after { transform: scaleX(1); }

/* ── HERO ── */
.hero {
    position: relative;
    overflow: hidden;
    padding: 100px 20px 95px;
    text-align: center;
    background:
        linear-gradient(rgba(5, 7, 11, 0.78), rgba(5, 7, 11, 0.88)),
        url("images/hero-bg.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to right, rgba(0, 170, 255, 0.04), transparent 20%, transparent 80%, rgba(0, 170, 255, 0.04)),
        radial-gradient(circle at 50% 18%, rgba(0, 170, 255, 0.14), transparent 30%),
        radial-gradient(circle at 15% 75%, rgba(0, 120, 255, 0.07), transparent 28%),
        radial-gradient(circle at 85% 30%, rgba(0, 220, 255, 0.06), transparent 24%);
    pointer-events: none;
}

.hero-layout {
    position: relative;
    z-index: 2;
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    align-items: center;
    gap: 40px;
}

.hero-images {
    position: relative;
    height: 520px;
    display: flex;
    justify-content: center;
}

.hero-card {
    position: absolute;
    width: 380px;
    height: 220px;
    object-fit: cover;
    object-position: center;
    border-radius: 24px;
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow:
        0 24px 55px rgba(0,0,0,0.50),
        0 0 26px rgba(0, 168, 255, 0.10);
}

.card-1 { top: 15px; left: 5px; z-index: 1; opacity: 0.72; transform: scale(0.92) rotate(-2deg); }
.card-2 { top: 90px; left: 180px; z-index: 3; transform: scale(1.02); }
.card-3 { top: 230px; left: 35px; z-index: 2; opacity: 0.9; transform: scale(0.96) rotate(1.5deg); }

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 760px;
    margin-left: auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    padding-left: 30px;
}

.hero-badge {
    display: inline-block;
    margin-bottom: 26px;
    padding: 11px 22px;
    border: 1px solid rgba(37, 194, 255, 0.28);
    border-radius: 999px;
    background: rgba(5, 15, 30, 0.45);
    color: #7FDBFF;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    backdrop-filter: blur(6px);
}

.hero h1 {
    font-size: 72px;
    line-height: 1.02;
    margin-bottom: 24px;
    color: #F5FAFF;
    letter-spacing: -1.5px;
    text-align: left;
}

.hero p {
    max-width: 720px;
    margin: 0 0 36px;
    color: #D3E1EF;
    font-size: 22px;
    line-height: 1.55;
    text-align: left;
}

/* ── BOTONES ── */
.btn {
    display: inline-block;
    background: linear-gradient(135deg, #00A8FF, #006BFF);
    color: white;
    text-decoration: none;
    padding: 14px 28px;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.08);
    cursor: pointer;
    font-size: 16px;
    font-weight: 700;
    box-shadow: 0 0 24px rgba(0, 157, 255, 0.28);
    transition: 0.25s;
}

.contact-form .btn {
    width: auto;
    align-self: center;
    padding: 12px 32px;
    font-size: 15px;
    border-radius: 10px;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 34px rgba(0, 157, 255, 0.42);
}

/* ── SECTIONS ── */
.section {
    padding: 90px 20px;
}

.services-section {
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.services-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top right, rgba(0,168,255,0.10), transparent 28%),
        radial-gradient(circle at bottom left, rgba(0,168,255,0.06), transparent 24%);
    pointer-events: none;
}

.services-section .container {
    position: relative;
    z-index: 2;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
}

.section h2 {
    font-size: 40px;
    margin-bottom: 12px;
    text-align: center;
    color: #F5FAFF;
}

.section-text {
    text-align: center;
    color: #AEBED1;
    max-width: 700px;
    margin: 0 auto 50px;
}

/* ── CARDS ── */
.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.card {
    background: #0B111B;
    border: 1px solid rgba(37, 194, 255, 0.12);
    padding: 28px;
    border-radius: 16px;
    transition: 0.25s;
}

.card:hover {
    transform: translateY(-4px);
    border-color: rgba(37, 194, 255, 0.45);
    box-shadow: 0 0 24px rgba(0, 157, 255, 0.10);
}

.card h3 { margin-bottom: 12px; color: #FFFFFF; }
.card p { color: #B8C1CC; font-size: 15px; }

.card-btn {
    display: inline-block;
    margin-top: 22px;
    color: #7FDBFF;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    border-bottom: 1px solid rgba(127, 219, 255, 0.5);
    transition: 0.25s;
}

.card-btn:hover { color: #FFFFFF; border-bottom-color: #FFFFFF; }

/* ── CONTACT ── */
.contact-section {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(to bottom, rgba(5,7,11,0.78), rgba(5,7,11,0.88)),
        url("images/contact-bg.jpg");
    background-size: cover;
    background-position: center;
}

.contact-form {
    max-width: 550px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 14px 16px;
    border-radius: 10px;
    border: 1px solid rgba(37, 194, 255, 0.14);
    appearance: none;
    background: #0B111B;
    color: #94A3B8;
    font-size: 15px;
    outline: none;
}

.contact-form select option { background: #0B111B; color: #EAF2FF; }

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus { border-color: #25C2FF; }

.form-message { text-align: center; margin-top: 20px; color: #7DD3A7; }

/* ── FOOTER ── */
.site-footer {
    border-top: 1px solid rgba(37,194,255,0.12);
    padding: 26px 40px;
    background: #05070B;
}

.footer-simple {
    max-width: 1250px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.footer-mini-logo { height: 24px; width: auto; opacity: 0.9; }

.footer-simple p,
.footer-simple span { color: #7E93A8; font-size: 14px; margin: 0; }

/* ══════════════════════════════
   RESPONSIVE — TABLET 1200px
══════════════════════════════ */
@media (max-width: 1200px) {
    .hero-layout {
        grid-template-columns: 1fr;
        gap: 24px;
        justify-items: center;
    }

    .hero-content {
        order: 1;
        max-width: 850px;
        margin: 0 auto;
        padding-left: 0;
        align-items: center;
        text-align: center;
    }

    .hero-images {
        order: 2;
        width: 100%;
        max-width: 520px;
        height: 240px;
        margin: 20px auto 0;
    }

    .hero-card { width: 220px; height: 135px; border-radius: 16px; }
    .card-1 { top: 10px; left: 80px; }
    .card-2 { top: 55px; left: 205px; }
    .card-3 { top: 115px; left: 100px; }

    .hero h1, .hero p { text-align: center; }
    .hero h1 { font-size: 56px; }
    .hero p { font-size: 19px; max-width: 760px; }
}

/* ══════════════════════════════
   RESPONSIVE — TABLET 900px
══════════════════════════════ */
@media (max-width: 900px) {
    .navbar { padding: 10px 20px; }
    .nav-logo { height: 36px; }
    .nav-links { gap: 18px; }

    .hero { padding: 70px 20px 80px; }

    .hero-images { max-width: 360px; height: 180px; }
    .hero-card { width: 155px; height: 96px; border-radius: 14px; }
    .card-1 { top: 0; left: 0; }
    .card-2 { top: 32px; left: 105px; }
    .card-3 { top: 78px; left: 24px; }

    .hero h1 { font-size: 42px; line-height: 1.08; }
    .hero p { font-size: 17px; max-width: 640px; }

    /* Cards en 2 columnas en tablet */
    .cards { grid-template-columns: repeat(2, 1fr); }
}

/* ══════════════════════════════
   RESPONSIVE — MÓVIL 600px
══════════════════════════════ */
@media (max-width: 600px) {

    /* NAV — reducir gaps para que entre todo */
    .navbar {
        padding: 10px 14px;
    }

    .nav-logo { height: 30px; }

    .nav-links { gap: 12px; }

    .nav-links a {
        font-size: 13px;
        padding: 6px 2px;
    }

    /* HERO */
    .hero { padding: 50px 16px 60px; }

    .hero-badge {
        font-size: 10px;
        padding: 8px 14px;
        letter-spacing: 0.5px;
    }

    .hero h1 {
        font-size: 30px;
        letter-spacing: -0.5px;
        line-height: 1.1;
    }

    .hero p {
        font-size: 15px;
        line-height: 1.55;
    }

    .btn {
        width: 100%;
        text-align: center;
        padding: 14px 20px;
        font-size: 15px;
        border-radius: 12px;
    }

    /* Imágenes hero apiladas en móvil */
    .hero-images {
        max-width: 100%;
        height: 200px;
    }

    .hero-card { width: 160px; height: 100px; border-radius: 12px; }
    .card-1 { top: 8px; left: 0px; }
    .card-2 { top: 50px; left: 110px; }
    .card-3 { top: 105px; left: 16px; }

    /* SECTION */
    .section { padding: 60px 16px; }

    .section h2 { font-size: 26px; line-height: 1.2; }

    .section-text { font-size: 14px; margin-bottom: 32px; }

    /* CARDS — 1 columna en móvil */
    .cards {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .card { padding: 22px 18px; }

    /* CONTACT FORM */
    .contact-form {
        width: 100%;
        padding: 0;
    }

    .contact-form input,
    .contact-form select,
    .contact-form textarea {
        font-size: 14px;
        padding: 12px 14px;
    }

    .contact-form .btn {
        width: 100%;
        text-align: center;
        padding: 14px 20px;
        font-size: 15px;
    }

    /* FOOTER */
    .site-footer { padding: 24px 16px; }

    .footer-simple {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 10px;
    }

    .footer-mini-logo { height: 22px; }

    .footer-simple p,
    .footer-simple span { font-size: 13px; }
}

/* ══════════════════════════════
   RESPONSIVE — MÓVIL PEQUEÑO 380px
══════════════════════════════ */
@media (max-width: 380px) {
    .nav-links a { font-size: 12px; }
    .nav-links { gap: 8px; }
    .hero h1 { font-size: 26px; }
    .hero-card { width: 140px; height: 88px; }
    .card-2 { left: 95px; }
}