:root {
    --primary: #384d61;
    --primary-light: #3b82f6;
    --gold: #dbba84;
    --blue: #1773CF;
    --dark: #0f172a;
    --gray: #64748b;
    --light: #f8fafc;
    --border: #e2e8f0;
}
* { margin:0; padding:0; box-sizing:border-box; }
body {
    font-family: 'Inter', sans-serif;
    background: white;
    color: var(--dark);
    line-height: 1.6;
}
a { text-decoration:none; color:inherit; }

/* Header */
header {
    background: transparent;
    transition: background 0.3s, box-shadow 0.3s;
    position: fixed;
    width: 100%;
    z-index: 1000;
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
    height: 77px;
}
header.sticky {
    background: #ffffff; /* color al hacer scroll */
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}
.logo img {
    width: 200px;
}
/* Hamburger oculto en desktop */
.hamburger {
    display: none;
    font-size: 28px;
    cursor: pointer;
}
/* Checkbox toggle oculto */
#menu-toggle {
    display: none;
}
nav a {
    margin: 0 1.2rem;
    font-weight: 500;
    transition: 0.3s;
}
nav a:hover {
    color: var(--primary);
}
header.sticky nav a {
    color: var(--primary);
}
header.sticky nav a:hover {
    color: var(--blue);
}
.coming-soon-btn {
    background: var(--primary-light);
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    font-weight: 600;
}
.coming-soon-btn:hover {
    color: var(--primary);
}
.second-text {
    color: var(--blue);
}
/* Hero */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.6)), url('/assets/img/lounge.jpg') center/cover no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    padding-top: 80px;
    max-width: none;
    width: 100%;
}
.hero h1 {
    font-size: 4.5rem;
    margin-bottom: 1rem;
}
.hero p {
    font-size: 1.4rem;
    max-width: 800px;
    margin-bottom: 2rem;
}
.hero .badge {
    background: rgba(255,255,255,0.2);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
}

/* Section */
section {
    padding: 5rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}
h2 {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 1rem;
}
.subtitle {
    text-align: center;
    color: var(--gray);
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 4rem;
}

/* Benefits Grid */
.benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}
.benefit-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2rem;
    text-align: left;
    transition: 0.3s;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}
.benefit-card:hover {
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    border-color: hsl(210 80% 45% / .5);
}
.benefit-card:hover .icon {
    background: hsl(210 80% 45% / .2);
}
.benefit-card .icon {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    color: var(--blue);
    background: hsl(210 80% 45% / .1);
    padding: 8px;
    border-radius: 0.75rem;
}
.benefit-card h3 {
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
}

/* How it works */
.steps {
    display: flex;
    justify-content: center;
    position: relative;
    margin-top: 3rem;
    flex-wrap: wrap;
    gap: 3rem;
}
.step {
    background: #fff;
    padding: 55px 35px 30px 35px;
    text-align: left;
    border-radius: 10px;
    flex: 1;
    margin: 0 10px;
    position: relative;
    z-index: 1; /* que quede por encima de la línea */
    border-color: hsl(210 80% 45% / .3);
    border-style: solid;
    border-width: 1px;
}
.step-number {
    background: var(--blue);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
    position: absolute;
    top: -23px;
    left: 35px;
}
.step .icon-step {
    font-size: 2rem;
    margin-bottom: 15px;
    color: var(--blue);
}

/* Línea horizontal detrás de las cajas */
.steps::before {
    content: "";
    position: absolute;
    top: 50px; /* ajusta según el tamaño de las cajas */
    left: 10%;
    right: 10%;
    height: 1px;
    background-color: hsl(210 80% 45% / .3); /* color de la línea */
    z-index: 0;
}

/* Pricing */
.pricing {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 4rem;
}
.price-card {
    background: white;
    border: 2px solid var(--border);
    border-radius: 20px;
    width: 320px;
    padding: 2rem;
    position: relative;
    transition: 0.3s;
}
.price-card h3, .price-card p {
    text-align: center;
}
.price-card.popular {
    border-color: var(--primary);
    transform: scale(1.08);
    box-shadow: 0 20px 50px rgba(59,130,246,0.2);
}
.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-light);
    color: white;
    padding: 0.4rem 1.2rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
}
.price {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary);
    margin: 1.5rem 0;
}
.price small { font-size: 1rem; color: var(--gray); }
.features {
    list-style: none;
    margin: 2rem 0;
}
.features li {
    padding: 0.6rem 0;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}
.features li svg {
    color: var(--primary);
    width: 20px;
    height: 20px;
}
.coming-soon {
    background: #e0e7ff;
    color: var(--primary);
    text-align: center;
    padding: 0.8rem;
    border-radius: 12px;
    font-weight: 600;
    margin-top: 1.5rem;
}

/* Footer */
footer {
    background: var(--dark);
    color: white;
    padding: 4rem 5% 2rem;
    margin-top: 5rem;
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    max-width: 1400px;
    margin: 0 auto 3rem;
}
.footer-col {
    text-align: center;
}
.footer-col h4 {
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}
.footer-col a {
    display: block;
    margin: 0.6rem 0;
    color: #94a3b8;
    transition: 0.3s;
}
.footer-col a:hover { color: white; }
.social-icons a {
    font-size: 1.5rem;
    margin-right: 1rem;
    display: inline-block;
}
.logo-footer {
    width: 150px;
    margin-bottom: 10px;
}
.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #1e293b;
    color: #64748b;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .hero h1 { font-size: 3rem; }
    .price-card.popular { transform: none; }
    nav {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
    }
    .nav-links {
        display: none;
        flex-direction: column;
        background: var(--primary);
        width: 100%;
        position: absolute;
        top: -100%;
        left: 0;
        padding-top: 40px;
        transition: top 0.8s ease;
    }
    .nav-links a {
        margin: 10px 0;
        text-align: center;
    }
    header.sticky .hamburger {
        color: var(--primary);
    }
    .hamburger {
        display: block;
        position: absolute;
        top: 15px;
        right: 15px;
        z-index: 9;
    }
    header.sticky .nav-links a {
        color: #ffffff;
    }
    .hero {
        padding-top: 250px;
    }
    /* Mostrar menú al togglear */
    #menu-toggle:checked + .hamburger + .nav-links {
        display: flex;
        top: 0;
    }
    .coming-soon-btn {
        border-radius: 0;
    }
    .steps {
        flex-direction: column;
        align-items: center;
    }
    /* Línea vertical detrás de los pasos */
    .steps::before {
        top: 0;
        bottom: 0;
        left: 50%; /* línea en el centro */
        right: auto;
        width: 4px;
        height: 100%;
    }
    .step {
        width: 90%;
        margin: 0;
    }
    .step-number {
        margin-bottom: 15px;
    }
}