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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 26px;
    color: white;
    cursor: pointer;
}

/* Navigation bar */
header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: black;
}

.badge-1 {
    background-color: #0F0F0F;
    color: white;
    text-align: center;
    font-size: 11px;
    padding: 10px 0;
    letter-spacing: 1.2px;
}

.badge-1 .underline {
    text-decoration: underline;
}

.menu {
    padding: 12px 0;
}

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

.navigation ul {
    list-style: none;
    display: flex;
    align-items: center;
}

.navigation li {
    margin-right: 20px;
}

.navigation a {
    display: inline-block;
    color: white;
    text-decoration: none;
    font-size: 13px;
    letter-spacing: 0.5px;
    margin-right: 15px;
    transition: transform 0.2s ease;
}

.navigation a:hover {
    transform: scale(1.1);
}

.media ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 16px;
}

.media img {
    display: block;
    width: 22px;
    height: auto;
    transition: transform 0.2s ease;
}

.media img:hover {
    transform: scale(1.1);
}

body {
    padding: 0;
    margin: 0;
    background-color: white;
    font-family: "Urbanist", sans-serif;
}

.banner {
    width: 100%;
    height: auto;
}

#hello {
    text-align: center;
}

/* Introduction */
.introduction {
    max-width: 800px;
    margin: 50px auto 40px;
}

.introduction h1 {
    font-size: 46px;
    font-family: "Hubballi", sans-serif;
    line-height: 1.1;
    margin: 0;
}

.introduction h2 {
    font-size: 16px;
    font-family: "Hubballi", sans-serif;
    line-height: 1.1;
    margin: 0 0 30px 0;
    letter-spacing: 0.8px;
}

.introduction p {
    font-size: 14px;
    line-height: 1.4;
    margin: 10px 0 20px;
    text-align: justify;
    letter-spacing: 0.5px;
    font-weight: 300;
}

.introduction .bold {
    font-weight: 500;
}

#hello .startnow {
    display: inline-block;
    margin: 20px auto 40px;
    color: black;
    border: 1px solid #CCCCCC;
    padding: 12px 25px;
    border-radius: 30px;
    letter-spacing: 2.0px;
    text-decoration: none;
    font-size: 10px;
    cursor: pointer;
    background: transparent;
    transition: border-color 0.2s ease;
}

#hello .startnow:hover {
    border-color: black;
}

#slogan {
    text-align: center;
    background-color: #F9F9F9;
    color: black;
    padding: 8rem 0;
}

#slogan h3 {
    font-family: 'Hubballi', sans-serif;
    font-weight: 700;
    letter-spacing: 1.2px;
    font-size: clamp(2.5rem, 6vw, 5rem);
    margin: 0;
}

/* Services section */
#services .separador {
    display: flex;
    align-items: center;
    /* Alinea verticalmente */
    gap: 32px;
    margin: 60px 0 40px;
}

#services h4 {
    margin: 0;
    font-weight: 600;
    font-size: 16px;
    letter-spacing: 1.8px;
    font-family: 'Urbanist', sans-serif;
    color: black;
    white-space: nowrap;
}

#services .separador::after {
    content: "";
    flex: 1;
    height: 1px;
    background-color: #17223C;
    transform: translateY(6px);
}

#services .desc-services {
    font-size: 13px;
    letter-spacing: 1.2px;
    font-weight: 500;
    margin-bottom: 30px;
}

.services-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    margin-bottom: 70px;
}

.pricing-card {
    background: #ffffff;
    max-width: 380px;
    border-radius: 24px;
    padding: 28px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    font-family: "Urbanist", sans-serif;
}

.pricing-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.pricing-badge {
    background: #000;
    color: #fff;
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 10px;
    font-weight: 600;
}

.pricing-duration {
    background: #f2f2f2;
    padding: 6px 12px;
    border-radius: 30px;
    font-size: 10px;
    font-weight: 500;
}

.pricing {
    font-size: 45px;
    font-weight: 700;
}

.pricing span {
    font-size: 24px;
    font-weight: 700;
}

.pricing-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    background: white;
    border: 1px solid #CCCCCC;
    border-radius: 30px;
    padding: 12px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    cursor: pointer;
    margin: 20px 0 25px;
}

.pricing-btn:hover {
    border-color: black;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    font-size: 12px;
    letter-spacing: 0.5px;
}

/* Programs section */
#programs .separador {
    display: flex;
    align-items: center;
    /* Alinea texto y línea verticalmente */
    gap: 32px;
    /* Espacio entre texto y línea */
    margin: 60px 0 40px;
}

#programs h4 {
    margin: 0;
    font-weight: 600;
    font-size: 16px;
    letter-spacing: 1.8px;
    font-family: 'Urbanist', sans-serif;
    color: black;
    white-space: nowrap;
}

#programs .separador::after {
    content: "";
    flex: 1;
    height: 1px;
    background-color: #17223C;
    transform: translateY(6px);
}

#programs .desc-programs {
    font-size: 13px;
    letter-spacing: 1.2px;
    font-weight: 500;
    margin-bottom: 40px;
}

.programs-category {
    display: block;
    font-size: 14px;
    letter-spacing: 3.0px;
    font-weight: 600;
    margin: 40px 0 30px;
}

/* Cards Grid */
.card-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 60px;
    margin-bottom: 60px;
}

/* Card */
.card {
    position: relative;
    /* para los botones */
    background-color: white;
    width: 200px;
    border-radius: 12px;
    text-align: left;
    transition: transform .3s;
}

.card:hover {
    transform: translateY(-5px);
}

/* Ebook Image */
.card img {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
}

.fav-btn {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    top: 12px;
    right: 12px;
    background: white;
    border: none;
    font-size: 20px;
    border-radius: 50%;
    padding: 4px 8px;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.fav-btn:hover {
    color: red;
}

.fav-btn:hover::before {
    content: "♥";
}

.fav-btn::before {
    content: "♡";
}

.title {
    font-size: 12px;
    font-weight: 300;
    letter-spacing: 0.8px;
    color: black;
    margin: 8px 0 4px 4px;
}

.desc {
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0.8px;
    color: gray;
    margin: 4px;
}

.price {
    display: block;
    font-size: 11px;
    color: #000;
    letter-spacing: 0.5px;
    line-height: 1.4;
    margin: 4px;
}

.cart-btn {
    position: absolute;
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    cursor: pointer;
    right: 5px;
    /* Separación del borde derecho */
    bottom: 10px;
}

.cart-btn img {
    width: 20px;
    height: auto;
    border-radius: 0;
    transition: transform 0.2s ease;
}

.cart-btn img:hover {
    transform: scale(1.15);
}

/* Store section */
#store .separador {
    display: flex;
    align-items: center;
    /* Alinea texto y línea verticalmente */
    gap: 32px;
    /* Espacio entre texto y línea */
    margin: 60px 0 40px;
}

#store h4 {
    margin: 0;
    /* CLAVE: quita márgenes conflictivos */
    font-weight: 600;
    font-size: 16px;
    letter-spacing: 1.8px;
    font-family: 'Urbanist', sans-serif;
    color: black;
    white-space: nowrap;
}

#store .separador::after {
    content: "";
    flex: 1;
    height: 1px;
    background-color: #17223C;
    transform: translateY(6px);
}

#store .desc-store {
    font-size: 13px;
    letter-spacing: 1.2px;
    font-weight: 500;
    margin-bottom: 40px;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: repeat(4, 150px);
    gap: 20px;
}

.store-link {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 18px;
    overflow: hidden;
    text-decoration: none;
}

.store-link img {
    display: block;
    object-fit: cover;
    object-position: center;
    width: 100%;
    height: 100%;
    border-radius: 18px;
}

.item-label {
    position: absolute;
    bottom: 16px;
    left: 16px;
    padding: 8px 14px;
    font-size: 12px;
    letter-spacing: 1.4px;
    font-weight: 400;
    color: white;
    background: rgba(0, 0, 0, 0.55);
    border-radius: 20px;
    font-family: 'Urbanist', sans-serif;
}

.store-link::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.15);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.store-link:hover::after {
    opacity: 1;
}

.store-link:hover .item-label {
    background: black;
}

.item-1 {
    /* T-shirts */
    grid-column: 1 / 3;
    grid-row: 1 / 3;
}

.item-2 {
    /* Accesories */
    grid-column: 3 / 4;
    grid-row: 1 / 2;
}

.item-3 {
    /* Equipment */
    grid-column: 4 / 5;
    grid-row: 1 / 2;
}

.item-4 {
    /* Hoodies */
    grid-column: 5 / 7;
    grid-row: 1 / 3;
}

.item-5 {
    /* Leggings */
    grid-column: 3 / 5;
    grid-row: 2 / 5;
}

.item-6 {
    grid-column: 1 / 2;
    grid-row: 3 / 4;
}

.item-7 {
    grid-column: 2 / 3;
    grid-row: 3 / 4;
}

.item-8 {
    /* Bags */
    grid-column: 5 / 6;
    grid-row: 3 / 4;
}

.item-9 {
    /* Sport Bras */
    grid-column: 1 / 3;
    grid-row: 4 / 5;
}

.item-10 {
    /* Tanks */
    grid-column: 5 / 6;
    grid-row: 4 / 5;
}

.item-11 {
    /* Shorts */
    grid-column: 6 / 7;
    grid-row: 3 / 5;
}

.desc-carousel {
    display: block;
    font-size: 14px;
    letter-spacing: 3.0px;
    font-weight: 600;
    margin: 60px 0 30px;
}

.carousel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.carousel-track {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding-left: 40px;
    -ms-overflow-style: none;
}

.carousel-track::-webkit-scrollbar {
    display: none;
}

.product-card {
    display: block;
    background-color: white;
    border-radius: 12px;
    text-align: left;

    min-width: 280px;
    max-width: 280px;
    flex-shrink: 0;

    text-decoration: none;
    color: inherit;

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

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, .08);
}

.product-card img {
    width: 100%;
    height: 350px;
    object-fit: contain;
    border-radius: 8px;
}

.carousel-btn {
    position: absolute;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    top: 175px;
    /* mitad de 350px */

    background: white;
    border: none;
    font-size: 24px;

    cursor: pointer;
    z-index: 10;
    transform: translateY(-50%);
    box-shadow: 0 8px 16px rgba(0, 0, 0, .15);
}

.carousel-btn.left {
    left: -40px;
}

.carousel-btn.right {
    right: -40px;
}

.shopnow {
    display: block;
    margin: 40px auto 0;
    color: black;
    border: 1px solid #CCCCCC;
    padding: 12px 25px;
    border-radius: 30px;
    letter-spacing: 2.0px;
    font-size: 10px;
    cursor: pointer;
    background: transparent;
    transition: border-color 0.2s ease;
}

.shopnow:hover {
    border-color: black;
}

/* Collabs section */
#collabs .separador {
    display: flex;
    align-items: center;
    gap: 32px;
    margin: 60px 0 40px;
}

#collabs h4 {
    margin: 0;
    font-weight: 600;
    font-size: 16px;
    letter-spacing: 1.8px;
    font-family: 'Urbanist', sans-serif;
    color: black;
    white-space: nowrap;
}

#collabs .separador::after {
    content: "";
    flex: 1;
    height: 1px;
    background-color: #17223C;
    transform: translateY(6px);
}

#collabs .desc-collabs {
    font-size: 13px;
    letter-spacing: 3.0px;
    font-weight: 500;
    margin-bottom: 40px;
}

#collabs .collabs-content {
    flex-wrap: wrap;
    display: flex;
    gap: 100px;
    justify-content: center;
    margin: 60px 0;
    align-items: flex-start;
}

#collabs .contact-form {
    display: flex;
    flex-direction: column;
    flex: 1;
    max-width: 600px;
    gap: 15px;
}

#collabs .contact-form input,
#collabs .contact-form textarea {
    padding: 12px 16px;
    font-size: 14px;
    border: 2px solid #dcdcdc;
    border-radius: 6px;
    font-family: "Urbanist", sans-serif;
    letter-spacing: 0.8px;
}

#collabs .contact-form textarea {
    min-height: 45px;
    resize: none;
}

#collabs .phone-group {
    display: flex;
    align-items: center;
    border: 2px solid #dcdcdc;
    border-radius: 6px;
    overflow: hidden;
    background-color: #f2f2f2;
}

#collabs .phone-group select {
    border: none;
    padding: 0 16px;
    height: 45px;
    font-size: 13px;
    font-family: "Urbanist", sans-serif;
    cursor: pointer;
    background-color: #f2f2f2;
}

#collabs .phone-group input {
    background: white;
    flex: 1;
    padding: 0px 16px;
    height: 45px;
    font-size: 14px;
    outline: none;
    border: none;
}

#collabs .phone-group select:focus,
#collabs .phone-group input:focus {
    outline: none;
}

#collabs .phone-group:focus-within {
    border: 2px solid #9db4ff;   /* color que prefieras */
}

#collabs .contact-form button[type="submit"] {
    width: fit-content;
    margin: 0 auto;
    margin-top: 20px;
    padding: 12px 25px;
    border: 1px solid #CCCCCC;
    border-radius: 30px;
    background-color: white;
    color: black;
    letter-spacing: 2px;
    font-size: 10px;
    cursor: pointer;
    transition: border-color 0.2s ease;
}

#collabs .contact-form button[type="submit"]:hover {
    border-color: black;
}

.comments-container {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.comment {
    width: 100%;
    font-size: 14px;
    line-height: 1.5;
    border: 1px solid #dcdcdc;
    padding: 20px;
    border-radius: 12px;
    font-family: "Urbanist", sans-serif;
    background-color: #fafafa;
}

.comment small {
    display: block;
    margin-top: 8px;
    font-size: 11px;
    color: gray;
    text-align: center;
}

.delete-btn {
    margin-top: 15px;
    padding: 8px 18px;
    font-size: 11px;
    letter-spacing: .4px;
    cursor: pointer;
    display: block;
    margin-left: auto;
    margin-right: auto;
    border: 1px solid #dcdcdc;
    border-radius: 20px;
    background-color: #f2f2f2;
    color: #333;
    transition: all 0.2s ease;
}

.delete-btn:hover {
    background-color: #e6e6e6;
}

/*Profile Card*/
.profile-card {
    display: block;
    width: 330px;
    padding: 30px 30px 20px 30px;
    border-radius: 20px;
    text-align: center;
    color: white;
    background-color: #3D3D3D;
    flex-shrink: 0;
}

.profile-img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 10px;
}

.name {
    font-size: 16px;
    font-weight: 500;
    margin: 0;
    letter-spacing: 1.2px;
}

.bio {
    font-size: 12px;
    color: #cfcfcf;
    margin: 5px 0 12px;
    font-weight: 400;
    letter-spacing: 0.5px;
}

.location {
    color: #4596D6;
    font-size: 11px;
    margin-bottom: 15px;
}

.links a {
    display: block;
    width: 100%;
    background-color: #787878;
    color: white;
    padding: 12px;
    border-radius: 10px;
    font-size: 12px;
    letter-spacing: .7px;
    margin-bottom: 12px;
    cursor: pointer;
    transition: background 0.2s ease;
    text-decoration: none;
    text-align: center;
}

.links a:hover {
    background-color: #333;
}

/*Footer section*/
#footer {
    text-align: center;
    padding: 50px 20px;
    background-color: #F9F9F9;
    color: black;
}

#footer .support {
    margin: 15px;
    font-size: 13px;
    letter-spacing: 0.8px;
}

#footer .email {
    font-size: 14px;
    font-weight: 500;
}

#footer .rights {
    margin: 15px;
    font-size: 10px;
}

.start {
    position: fixed;
    z-index: 1100;
    bottom: 40px;
    right: 40px;
    background-color: #17223C;
    color: white;
    padding: 15px 25px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 16px;
    font-family: 'Poppins', sans-serif;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease;
}

.start:hover {
    background-color: #0f1a2b;
    transform: scale(1.1);
}

/* MEDIA QUERIES */
/* Tablet */
@media (max-width: 1024px) {

    .container {
        padding: 0 32px;
    }

    .services-grid {
        gap: 60px;
    }

    .grid-container {
        grid-template-columns: repeat(4, 1fr);
        grid-template-rows: auto;
    }

    .store-link img {
        min-height: 220px;
    }

    .item-label {
        font-size: 16px;
        letter-spacing: 1.8px;
    }

    .item {
        grid-column: span 2;
        grid-row: auto;
    }

    .item-5 {
        grid-column: span 4;
    }

    #collabs .collabs-content {
        gap: 60px;
    }
}

/* Mobile */
@media (max-width: 768px) {

    /* HEADER */
    .navigation {
        position: absolute;
        display: flex;
        flex-direction: column;
        top: 100%;
        left: 0;
        width: 100%;
        gap: 20px;
        background-color: black;
        text-align: center;
        padding: 20px 0;

        /* Menu oculto */
        transform: translateY(-10px);
        opacity: 0;
        pointer-events: none;
        transition: transform 0.3s ease, opacity 0.3s ease;
    }

    .navigation.active {
        transform: translateY(-10px);
        opacity: 1;
        pointer-events: auto;
    }

    .navigation a {
        padding: 8px 0;
        font-size: 15px;
        letter-spacing: 1.2px;
    }

    .navigation ul {
        flex-direction: column;
        gap: 20px;
    }

    .navigation li {
        margin: 0;
    }

    .menu-toggle {
        display: block;
    }

    /* MAIN */
    #slogan {
        padding: 4rem 0;
    }

    #slogan h3 {
        line-height: 1.5;
    }

    .card-grid {
        gap: 40px;
    }

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

    .item-1,
    .item-5 {
        grid-column: span 2;
        grid-row: span 1;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }

    .carousel-btn.left {
        left: -20px;
    }

    .carousel-btn.right {
        right: -20px;
    }

    .container {
        padding: 0 20px;
    }

    #collabs .collabs-content {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .profile-card {
        margin-top: 40px;
        width: 100%;
        max-width: 360px;
    }

    #collabs .contact-form {
        max-width: 100%;
    }

    /* FOOTER */
    #footer {
        padding: 20px 20px;
    }

    .start {
        font-size: 14px;
        padding: 12px 20px;
        bottom: 20px;
        right: 20px;
    }
}

@media (max-width: 600px) {

    /* STORE GRID */
    .grid-container {
        grid-template-columns: 1fr;
    }

    .store-link img {
        min-height: 260px;
    }

    .item-label {
        font-size: 14px;
        letter-spacing: 1.4px;
    }

    .item {
        grid-column: 1 / -1;
        grid-row: auto;
    }
}