/* ========================= */
/* RESET */
/* ========================= */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #000000;
    color: #ffffff;
    overflow-x: hidden;
}

img {
    width: 100%;
    display: block;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
}


/* ========================= */
/* VARIABLES */
/* ========================= */

:root {
    --background: #000000;
    --secondary-background: #0b0f19;
    --white: #ffffff;
    --gray: #a1a1aa;
    --border: rgba(255, 255, 255, 0.08);
    --primary: #2563eb;
    --primary-hover: #1d4ed8;
    --glass: rgba(255, 255, 255, 0.05);
    --shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}


/* ========================= */
/* GLOBAL */
/* ========================= */

.container {
    width: 90%;
    max-width: 1300px;
    margin: auto;
}

.section-spacing {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    max-width: 750px;
    margin: auto auto 50px;
}

.section-tag {
    display: inline-block;
    margin-bottom: 18px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--primary);
}

.section-header h2,
.showcase-content h2,
.contact-info h2 {
    font-size: clamp(2.2rem, 5vw, 4rem);
    line-height: 1.1;
    margin-bottom: 25px;
    font-weight: 800;
}

.section-header p,
.showcase-content p,
.contact-info p {
    color: var(--gray);
    font-size: 1.05rem;
    line-height: 1.8;
}


/* ========================= */
/* BUTTONS */
/* ========================= */

.btn-primary,
.btn-secondary {
    padding: 16px 28px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-primary {
    background: var(--white);
    color: #000000;
}

.btn-primary:hover {
    transform: translateY(-3px);
    background: #e5e5e5;
}

.btn-secondary {
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
}

.full-width {
    width: 100%;
}


/* ========================= */
/* NAVBAR */
/* ========================= */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    padding: 24px 0;
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: 3px;
}

.nav-menu {
    display: flex;
    gap: 40px;
}

.nav-menu a {
    font-size: 14px;
    color: var(--gray);
    transition: 0.3s ease;
}

.nav-menu a:hover {
    color: var(--white);
}


/* ========================= */
/* HERO */
/* ========================= */

.hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('../img/HomeHeader.jpeg');
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
            rgba(0, 0, 0, 0.35),
            rgba(0, 0, 0, 0.65));
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 950px;
}

.hero-badge {
    display: inline-block;
    margin-bottom: 25px;
    padding: 12px 18px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    font-size: 12px;
    letter-spacing: 2px;
}

.hero h1 {
    font-size: clamp(3rem, 8vw, 6.5rem);
    line-height: 1;
    font-weight: 800;
    margin-bottom: 30px;
}

.hero p {
    max-width: 750px;
    margin: auto;
    font-size: 1.2rem;
    color: var(--gray);
    line-height: 1.8;
}

.hero-buttons {
    margin-top: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}


/* ========================= */
/* SERVICES */
/* ========================= */

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 30px;
}


.service-card {
    background: var(--glass);
    border: 1px solid var(--border);
    border-radius: 28px;
    padding: 40px;
    transition: 0.4s ease;
    backdrop-filter: blur(12px);
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 255, 255, 0.15);
}

.service-icon {
    font-size: 2rem;
    margin-bottom: 25px;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 18px;
}

.service-card p {
    color: var(--gray);
    line-height: 1.8;
}

.services-description {
    margin-top: 35px;
    text-align: center;
}

.services-description p {
    margin-bottom: 30px;
    line-height: 1.8;
}

.service-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 16px;
}

/*CARD SERVICES */

.service-card {
    background: #111;
    border-radius: 20px;
    overflow: hidden;
    text-align: center;
}

.service-card img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    display: block;
}

.service-content {
    padding: 2rem 1.5rem;
}

.service-content h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: white;
}

.service-content p {
    color: #cfcfcf;
    line-height: 1.6;
    font-size: 1rem;
}



/* ========================= */
/* SHOWCASE */
/* ========================= */

.showcase-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 50px;
    align-items: center;
}

.showcase-image img {
    border-radius: 30px;
    box-shadow: var(--shadow);
}

.showcase-list {
    margin: 35px 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.showcase-list li {
    color: var(--gray);
}


/* ========================= */
/* BENEFITS */
/* ========================= */

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.benefit-item {
    background: linear-gradient(180deg,
            rgba(255, 255, 255, 0.05),
            rgba(255, 255, 255, 0.02));
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 45px 30px;
    text-align: center;
}

.benefit-item h3 {
    font-size: 2.5rem;
    margin-bottom: 14px;
}

.benefit-item p {
    color: var(--gray);
    line-height: 1.7;
}


/* ========================= */
/* CONTACT */
/* ========================= */

.contact-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 45px;
    align-items: start;
}

.contact-form {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 45px;
    border-radius: 30px;
    backdrop-filter: blur(15px);
}

.form-group {
    margin-bottom: 20px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 18px 22px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    color: var(--white);
    font-family: inherit;
    font-size: 15px;
    outline: none;
    transition: 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: rgba(255, 255, 255, 0.2);
}

.contact-form textarea {
    resize: none;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #71717a;
}

/*CONCENT*/

.form-consent {
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
    padding: 1rem 1.2rem;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 14px;
}

.form-consent p {
    font-size: 0.82rem;
    line-height: 1.6;
    color: #bdbdbd;
    text-align: left;
}


/* ========================= */
/* FOOTER */
/* ========================= */

.footer {
    padding: 35px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.footer h3 {
    margin-bottom: 10px;
}

.footer p,
.footer-links a {
    color: var(--gray);
    font-size: 14px;
}

.footer-links {
    display: flex;
    gap: 25px;
}

.footer-links a:hover {
    color: var(--white);
}


/* ========================= */
/* SCROLLBAR */
/* ========================= */

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #050505;
}

::-webkit-scrollbar-thumb {
    background: #202020;
    border-radius: 999px;
}

::-webkit-scrollbar-thumb:hover {
    background: #303030;
}


/* ========================= */
/* RESPONSIVE */
/* ========================= */

/* ========================= */
/* HAMBURGER BUTTON */
/* ========================= */

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 6px;
}

.mobile-menu-btn span {
    display: block;
    width: 22px;
    height: 2px;
    background: #ffffff;
    border-radius: 2px;
    transition: 0.3s ease;
}


@media (max-width: 992px) {

    /* Navbar */
    .navbar .btn-primary {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        flex-direction: column;
        gap: 0;
        background: rgba(0, 0, 0, 0.95);
        backdrop-filter: blur(14px);
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        padding: 20px 0;
    }

    .nav-menu.mobile-active {
        display: flex;
    }

    .nav-menu a {
        padding: 14px 30px;
        font-size: 15px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    /* Grids */
    .services-grid,
    .showcase-container,
    .benefits-grid,
    .contact-container {
        grid-template-columns: 1fr;
    }

    .showcase-container {
        gap: 35px;
    }

    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero h1 {
        font-size: 4rem;
    }

}


@media (max-width: 768px) {

    .section-spacing {
        padding: 55px 0;
    }

    .hero {
        padding: 120px 0 60px;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .contact-form {
        padding: 30px;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .footer-container {
        flex-direction: column;
        text-align: center;
    }

    /* Coverage: ocultar mapa, solo lista de estados */
    .coverage-map {
        display: none !important;
    }

    .coverage-container {
        grid-template-columns: 1fr !important;
    }

    .coverage-states {
        width: 100%;
    }

    .coverage-states ul {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
        align-items: start;
    }

    .coverage-states li {
        font-size: 12px;
        line-height: 1.3;
        word-break: break-word;
    }

}

/* =========================
   COVERAGE SECTION
========================= */

.coverage {
    position: relative;
    background: #000000;
    overflow: hidden;
}

.coverage-container {
    display: grid;
    grid-template-columns: 1.4fr .8fr;
    gap: 40px;
    align-items: center;
    margin-top: 40px;
}

/* =========================
   MAP
========================= */

/*
.coverage-map{
    position:relative;
    width:100%;
    max-width:1000px;
    margin:auto;
}
*/

.coverage-map {
    position: relative;
    width: 100%;
    max-width: 1000px;
    margin: auto;

    display: flex;
    justify-content: center;
    align-items: center;

    overflow: visible;
}

.usa-map {
    width: 100%;
    display: block;
    opacity: .18;

    object-fit: contain;

    transform: translateX(-60px);

    filter:
        drop-shadow(0 0 20px rgba(0, 140, 255, .25)) drop-shadow(0 0 50px rgba(0, 140, 255, .15));
}

/* =========================
   STATES
========================= */

/*
.state{
    position:absolute;

    width:18px;
    height:18px;

    background:#0ea5ff;

    border-radius:4px;

    cursor:pointer;

    box-shadow:
        0 0 10px #0ea5ff,
        0 0 20px #0ea5ff,
        0 0 40px rgba(14,165,255,.8);

    animation:pulseState 2.5s infinite ease-in-out;

    transition:
        transform .3s ease,
        box-shadow .3s ease,
        background .3s ease;
}

*/

.state {
    position: absolute;

    width: 16px;
    height: 16px;

    border-radius: 50%;

    background: #38bdf8;

    border: 2px solid #ffffff;

    box-shadow:
        0 0 12px #38bdf8,
        0 0 24px rgba(56, 189, 248, .9),
        0 0 48px rgba(56, 189, 248, .7);

    animation: pulseState 2.5s infinite ease-in-out;
}

/* HOVER */

.state:hover {

    transform: scale(1.8);

    background: #67e8f9;

    box-shadow:
        0 0 20px #67e8f9,
        0 0 40px #67e8f9,
        0 0 80px rgba(103, 232, 249, .9);

    z-index: 10;
}

/* TOOLTIP */

.state::after {

    content: attr(data-state);

    position: absolute;

    top: -34px;
    left: 50%;

    transform: translateX(-50%);

    background: rgba(0, 0, 0, .85);

    color: #fff;

    padding: 6px 10px;

    border-radius: 10px;

    font-size: .75rem;

    font-weight: 600;

    letter-spacing: .5px;

    opacity: 0;

    pointer-events: none;

    transition: opacity .3s ease;

    white-space: nowrap;
}

.state:hover::after {
    opacity: 1;
}

/* =========================
   STATES ANIMATION
========================= */

@keyframes pulseState {

    0% {
        transform: scale(1);
        opacity: .8;
    }

    50% {
        transform: scale(1.25);
        opacity: 1;
    }

    100% {
        transform: scale(1);
        opacity: .8;
    }

}

/* =========================
   STATES LIST
========================= */

.coverage-states ul {

    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 14px;

    list-style: none;

    /*padding:0;*/
    padding: 8px 12px;
    border-radius: 12px;
}

.coverage-states li {

    color: #dbeafe;

    font-size: .95rem;

    font-weight: 500;

    transition:
        transform .3s ease,
        color .3s ease;
}

.coverage-states li:hover {

    color: #67e8f9;

    transform: translateX(6px);
}

.coverage-states li.active-state {

    /*background: rgba(103, 232, 249, .08);*/
    backdrop-filter: blur(6px);

    color: #67e8f9;

    transform: translateX(8px) scale(1.05);

    text-shadow:
        0 0 10px #67e8f9,
        0 0 20px rgba(103, 232, 249, .9),
        0 0 40px rgba(103, 232, 249, .7);

    transition:
        all .3s ease;
}

/* =========================
   RESPONSIVE
========================= */

@media(max-width:480px) {

    .coverage-states ul {
        grid-template-columns: repeat(3, 1fr);
        gap: 6px;
    }

    .state {
        width: 12px;
        height: 12px;
    }

}