

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #111111;
    --secondary: #555555;
    --light: #f6f6f6;
    --border: #e7e7e7;
    --white: #ffffff;
    --green: #21d341;
    --green-light: #e9f8f1;
    --orange: #f28c28;
    --blue: #3478f6;
    --purple: #805ad5;
}

body {
    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    background: #fafafa;
    color: var(--primary);
}


/* =========================================
   UTILITIES
========================================= */

.hidden {
    display: none !important;
}


/* =========================================
   LOGIN
========================================= */

.login-screen {
    min-height: 100vh;

    display: flex;
    justify-content: center;
    align-items: center;

    padding: 20px;

    background:
        radial-gradient(
            circle at top right,
            #e8f8f0,
            transparent 35%
        ),
        #fafafa;
}

.login-card {
    width: 100%;
    max-width: 430px;

    background: white;

    padding: 50px 40px;

    border-radius: 24px;

    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.08);

    text-align: center;
}

.brand {
    margin-bottom: 40px;
}


.brand-icon {
    width: 52px;
    height: 52px;

    margin: auto;
    padding: 0;

    background: transparent;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;
}

.brand-icon img {
    width: 52px;
    height: 52px;

    max-width: 52px;
    max-height: 52px;

    object-fit: contain;
    display: block;
}
.logo-icon {
    width: 52px;
    height: 52px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin: auto;

    background: #111;
    color: white;

    border-radius: 15px;

    font-size: 25px;
}

.brand h1 {
    margin-top: 15px;
    font-size: 28px;
    letter-spacing: 2px;
}

.brand h1 span {
    color: var(--green);
}

.brand p {
    margin-top: 7px;
    color: #888;
    font-size: 13px;
}

.login-card h2 {
    font-size: 30px;
    margin-bottom: 10px;
}

.login-description {
    color: #777;
    line-height: 1.6;
    margin-bottom: 30px;
}

.google-button {
    width: 100%;

    padding: 15px;

    border: 1px solid var(--border);
    border-radius: 12px;

    background: white;

    font-size: 15px;
    font-weight: 600;

    cursor: pointer;

    transition: 0.2s;
}

.google-button:hover {
    background: #f7f7f7;
    transform: translateY(-1px);
}

.google-button i {
    margin-right: 10px;
}

.privacy-text {
    margin-top: 25px;

    color: #aaa;

    font-size: 11px;
}


/* =========================================
   HEADER
========================================= */

.header {
    height: 76px;

    background: white;

    border-bottom: 1px solid var(--border);

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 0 5%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 42px;
    height: 42px;

    min-width: 42px;
    min-height: 42px;
    max-width: 42px;
    max-height: 42px;

    margin: 0;
    padding: 0;

    background: transparent;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;
    flex-shrink: 0;
}

.logo-icon img {
    width: 42px;
    height: 42px;

    max-width: 42px;
    max-height: 42px;

    object-fit: contain;
    display: block;
}

.logo strong {
    display: block;
    letter-spacing: 1px;
}

.logo small {
    display: block;
    color: #999;
    font-size: 10px;
}

.user-menu {
    display: flex;
    align-items: center;
    gap: 10px;
}

.user-avatar {
    width: 42px;
    height: 42px;

    border-radius: 50%;
    overflow: hidden;

    margin: 0;

    flex-shrink: 0;
}

.user-avatar img {
    width: 42px;
    height: 42px;

    object-fit: cover;

    border-radius: 50%;

    display: block;
}

.user-info small {
    display: block;
    color: #999;
    font-size: 11px;
}

.user-info strong {
    font-size: 13px;
}

.logout-button {
    border: 0;
    background: none;

    margin-left: 10px;

    cursor: pointer;

    font-size: 18px;
    color: #777;
}


/* =========================================
   CONTAINER
========================================= */

.container {
    max-width: 1200px;

    margin: auto;

    padding: 55px 25px;
}

.welcome {
    margin-bottom: 55px;
}

.eyebrow {
    display: block;

    color: var(--green);

    font-size: 11px;

    font-weight: 800;

    letter-spacing: 2px;

    margin-bottom: 8px;
}

.welcome h1 {
    font-size: 38px;
}

.welcome h1 span {
    color: var(--green);
}

.welcome p {
    color: #777;
    margin-top: 8px;
}


/* =========================================
   SECTION
========================================= */

.section {
    margin-bottom: 60px;
}

.section-title {
    margin-bottom: 25px;
}

.section-title h2 {
    font-size: 26px;
}


/* =========================================
   SERVICES
========================================= */

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    align-items: stretch;
}

.service-card {
    position: relative;

    display: flex;

    gap: 20px;

    background: white;

    padding: 25px;

    border: 1px solid var(--border);

    border-radius: 18px;

    transition: 0.25s;
}

.service-card:hover {
    transform: translateY(-3px);

    box-shadow:
        0 15px 40px rgba(0, 0, 0, 0.07);
}

.service-card.featured {
    border: 2px solid var(--green);
}

.popular {
    position: absolute;

    top: 0;
    right: 20px;

    padding: 6px 12px;

    background: var(--green);

    color: white;

    border-radius: 0 0 8px 8px;

    font-size: 9px;

    font-weight: bold;

    letter-spacing: 1px;
}

.service-icon {
    flex-shrink: 0;

    width: 50px;
    height: 50px;

    border-radius: 14px;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 23px;
}

.service-icon.training {
    background: #fff0e1;
    color: var(--orange);
}

.service-icon.nutrition {
    background: #e7f8ee;
    color: var(--green);
}

.service-icon.followup {
    background: #e9f0ff;
    color: var(--blue);
}

.service-icon.pack {
    background: #eee7ff;
    color: var(--purple);
}

.service-content {
    flex: 1;
}

.service-content h3 {
    margin-bottom: 7px;
}

.service-content p {
    color: #777;

    font-size: 13px;

    line-height: 1.5;

    margin-bottom: 20px;
}

.service-content ul {
    list-style: none;

    margin-bottom: 20px;
}

.service-content li {
    font-size: 12px;
    margin-bottom: 5px;
}

.service-content li i {
    color: var(--green);
    margin-right: 5px;
}

.service-footer {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 10px;
}

.service-footer strong {
    font-size: 22px;
}

.service-footer small {
    font-size: 11px;
    color: #999;
    font-weight: normal;
}

.select-service {
    border: 0;

    background: #111;
    color: white;

    padding: 10px 14px;

    border-radius: 9px;

    cursor: pointer;

    font-weight: 600;

    font-size: 12px;

    transition: 0.2s;
}

.select-service:hover {
    background: var(--green);
}

.select-service i {
    margin-left: 5px;
}


/* =========================================
   BOOKING
========================================= */

.booking-section {
    margin-bottom: 60px;

    background: white;

    border: 1px solid var(--border);

    border-radius: 22px;

    padding: 30px;
}

.booking-header {
    display: flex;

    justify-content: space-between;

    margin-bottom: 30px;
}

.booking-header h2 {
    font-size: 28px;
}

.close-button {
    width: 40px;
    height: 40px;

    border: 1px solid var(--border);

    background: white;

    border-radius: 10px;

    cursor: pointer;
}

.booking-layout {
    display: grid;

    grid-template-columns:
        1.2fr
        0.8fr;

    gap: 25px;
}


/* =========================================
   CALENDAR
========================================= */

.calendar-card,
.schedule-card {
    border: 1px solid var(--border);

    border-radius: 16px;

    padding: 25px;
}

.calendar-header {
    display: flex;

    align-items: center;
    justify-content: space-between;

    margin-bottom: 25px;
}

.calendar-header button {
    width: 35px;
    height: 35px;

    border: 1px solid var(--border);

    background: white;

    border-radius: 8px;

    cursor: pointer;
}

.calendar-header h3 {
    font-size: 17px;
}

.weekdays,
.calendar-days {
    display: grid;

    grid-template-columns:
        repeat(7, 1fr);

    gap: 5px;
}

.weekdays {
    margin-bottom: 8px;

    text-align: center;

    color: #999;

    font-size: 11px;

    font-weight: bold;
}

.calendar-day {
    aspect-ratio: 1;

    border: 0;

    background: white;

    border-radius: 10px;

    cursor: pointer;

    font-size: 13px;
}

.calendar-day:hover {
    background: #f1f1f1;
}

.calendar-day.today {
    border: 1px solid var(--green);
}

.calendar-day.selected {
    background: var(--green);

    color: white;
}

.calendar-day.disabled {
    color: #ccc;

    cursor: not-allowed;
}

.calendar-info {
    color: #aaa;

    font-size: 11px;

    margin-top: 20px;
}


/* =========================================
   SCHEDULE
========================================= */

.schedule-card h3 {
    margin-bottom: 6px;
}

.schedule-card > p {
    color: #999;

    font-size: 13px;

    margin-bottom: 20px;
}

.time-slots {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 8px;
}

.time-slot {
    padding: 12px;

    background: white;

    border: 1px solid var(--border);

    border-radius: 9px;

    cursor: pointer;

    font-weight: 600;

    font-size: 12px;
}

.time-slot:hover {
    border-color: var(--green);
}

.time-slot.selected {
    background: var(--green);

    color: white;

    border-color: var(--green);
}

.time-slot.unavailable {
    color: #ccc;

    background: #f5f5f5;

    text-decoration: line-through;

    cursor: not-allowed;
}

.empty-state {
    text-align: center;

    padding: 50px 10px;

    color: #aaa;
}

.empty-state i {
    font-size: 30px;

    margin-bottom: 10px;
}

.empty-state p {
    font-size: 12px;
}


/* =========================================
   SUMMARY
========================================= */

.booking-summary {
    margin-top: 20px;

    padding: 20px;

    background: #f8f8f8;

    border-radius: 15px;

    display: grid;

    grid-template-columns:
        2fr 2fr 1fr 1.5fr;

    gap: 20px;

    align-items: center;
}

.summary-service {
    display: flex;

    align-items: center;

    gap: 12px;
}

.summary-icon {
    width: 40px;
    height: 40px;

    display: flex;

    justify-content: center;
    align-items: center;

    background: white;

    border-radius: 10px;
}

.summary-service small,
.summary-date small,
.summary-price small {
    display: block;

    color: #999;

    font-size: 9px;

    letter-spacing: 1px;

    margin-bottom: 4px;
}

.summary-service strong,
.summary-date strong {
    font-size: 13px;
}

.summary-date {
    display: flex;

    gap: 30px;
}

.summary-price strong {
    font-size: 24px;
}

.confirm-button {
    padding: 13px 18px;

    background: #111;

    color: white;

    border: 0;

    border-radius: 10px;

    cursor: pointer;

    font-weight: 600;
}

.confirm-button:disabled {
    opacity: 0.35;

    cursor: not-allowed;
}


/* =========================================
   APPOINTMENTS
========================================= */

.appointments {
    display: grid;

    gap: 10px;
}

.appointment {
    display: flex;

    align-items: center;

    justify-content: space-between;

    background: white;

    padding: 18px;

    border: 1px solid var(--border);

    border-radius: 14px;
}

.appointment-info {
    display: flex;

    align-items: center;

    gap: 15px;
}

.appointment-icon {
    width: 45px;
    height: 45px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 12px;

    background: var(--green-light);

    color: var(--green);
}

.appointment-info small {
    display: block;

    color: #999;

    font-size: 11px;

    margin-top: 4px;
}

.appointment-price {
    font-weight: bold;
}

.cancel-appointment {
    border: 0;

    background: transparent;

    color: #aaa;

    cursor: pointer;

    margin-left: 20px;
}

.empty-appointments {
    background: white;

    border: 1px dashed var(--border);

    border-radius: 15px;

    padding: 45px;

    text-align: center;
}

.empty-appointments i {
    font-size: 30px;

    color: #bbb;
}

.empty-appointments h3 {
    margin-top: 10px;
}

.empty-appointments p {
    color: #999;

    margin-top: 5px;

    font-size: 13px;
}


/* =========================================
   FOOTER
========================================= */

footer {
    border-top: 1px solid var(--border);

    padding: 25px 5%;

    display: flex;

    justify-content: space-between;

    color: #999;

    font-size: 11px;
}


/* =========================================
   MODAL
========================================= */

.modal {
    position: fixed;

    inset: 0;

    background: rgba(0,0,0,0.45);

    display: flex;

    justify-content: center;

    align-items: center;

    padding: 20px;

    z-index: 100;
}

.modal-content {
    background: white;

    max-width: 400px;

    width: 100%;

    border-radius: 20px;

    padding: 40px;

    text-align: center;
}

.success-icon {
    width: 60px;
    height: 60px;

    display: flex;

    align-items: center;
    justify-content: center;

    margin: auto auto 20px;

    background: var(--green-light);

    color: var(--green);

    border-radius: 50%;

    font-size: 30px;
}

.modal-content p {
    color: #777;

    margin: 10px 0 25px;
}

.modal-details {
    background: #f7f7f7;

    border-radius: 12px;

    padding: 15px;

    display: grid;

    gap: 5px;

    margin-bottom: 20px;
}

.modal-details span {
    color: #777;

    font-size: 13px;
}


/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 800px) {

    .services-grid {
        grid-template-columns: 1fr;
    }

    .booking-layout {
        grid-template-columns: 1fr;
    }

    .booking-summary {
        grid-template-columns: 1fr;
    }

    .summary-date {
        justify-content: space-between;
    }

    .welcome h1 {
        font-size: 30px;
    }

    .user-info {
        display: none;
    }

    footer {
        flex-direction: column;
        gap: 10px;
    }

}

@media (max-width: 500px) {

    .container {
        padding: 35px 15px;
    }

    .service-card {
        padding: 18px;
    }

    .service-footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .booking-section {
        padding: 18px;
    }

    .time-slots {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .login-card {
        padding: 35px 25px;
    }

}
/* =========================
   CÓDIGOS PROMOCIONALES
========================= */

.promo-section {
    max-width: 800px;
    margin: 50px auto;
    padding: 0 20px;
}

.promo-box {
    background: #111;
    border: 1px solid #2a2a2a;
    border-radius: 18px;
    padding: 30px;
    text-align: center;
}

.promo-box h3 {
    margin-bottom: 8px;
}

.promo-box p {
    opacity: 0.75;
}

.promo-input-group {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

#promoCodeInput {
    flex: 1;
    padding: 14px 16px;
    border-radius: 10px;
    border: 1px solid #333;
    background: #181818;
    color: white;
    outline: none;
    text-transform: uppercase;
}

#applyPromoBtn {
    padding: 14px 25px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
}

#promoMessage {
    margin-top: 15px;
    min-height: 20px;
}

.promo-error {
    color: #ff6565;
}

.promo-success {
    color: #53d769;
}


/* =========================
   CÓDIGOS PROMOCIONALES
========================= */

.promo-section {
    max-width: 960px;
    margin: 50px auto;
    padding: 0 20px;
}

.promo-box {
    background: #ffffff;
    border: 1px solid #e8e8e8;
    border-radius: 18px;
    padding: 28px;
    text-align: center;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.06);
}

.promo-box h3 {
    margin-bottom: 8px;
    color: #111111;
}

.promo-box p {
    color: #6b6b6b;
}

.promo-input-group {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

#promoCodeInput {
    flex: 1;
    padding: 14px 16px;
    border-radius: 10px;
    border: 1px solid #dddddd;
    background: #fafafa;
    color: #111111;
    outline: none;
    text-transform: uppercase;
    transition: 0.2s ease;
}

#promoCodeInput:focus {
    border-color: #00a651;
    box-shadow: 0 0 0 3px rgba(0, 166, 81, 0.10);
}

#applyPromoBtn {
    padding: 14px 26px;
    border: none;
    border-radius: 10px;
    background: #111111;
    color: #ffffff;
    cursor: pointer;
    font-weight: 700;
    transition: 0.2s ease;
}

#applyPromoBtn:hover {
    background: #00a651;
}

#promoMessage {
    margin-top: 14px;
    min-height: 20px;
    font-weight: 600;
}

.promo-error {
    color: #c62828;
}

.promo-success {
    color: #00a651;
}


/* =========================
   OFERTA DESBLOQUEADA
========================= */

.promo-offer {
    margin-top: 24px;
    background: #ffffff;
    border: 1px solid #e8e8e8;
    border-radius: 18px;
    padding: 32px;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.06);
}

.promo-unlocked {
    display: inline-block;
    background: rgba(0, 166, 81, 0.10);
    color: #00a651;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1px;
    padding: 7px 12px;
    border-radius: 999px;
    margin-bottom: 14px;
}

.promo-offer h3 {
    margin: 0 0 10px;
    color: #111111;
    font-size: 28px;
}

.promo-offer p {
    color: #666666;
    margin-bottom: 18px;
}

.promo-offer ul {
    margin: 20px 0;
    padding-left: 22px;
    color: #333333;
}

.promo-offer li {
    margin-bottom: 8px;
}

.promo-prices {
    display: flex;
    align-items: baseline;
    gap: 14px;
    margin: 24px 0;
}

.old-price {
    text-decoration: line-through;
    color: #999999;
    font-size: 20px;
}

.new-price {
    font-size: 34px;
    font-weight: 800;
    color: #111111;
}

.promo-reserve-btn {
    width: 100%;
    padding: 15px 20px;
    border: none;
    border-radius: 10px;
    background: #00a651;
    color: #ffffff;
    cursor: pointer;
    font-weight: 800;
    transition: 0.2s ease;
}

.promo-reserve-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(0, 166, 81, 0.18);
}


/* =========================
   RESPONSIVE
========================= */

@media (max-width: 650px) {

    .promo-input-group {
        flex-direction: column;
    }

    #applyPromoBtn {
        width: 100%;
    }

    .promo-offer {
        padding: 24px;
    }

    .promo-offer h3 {
        font-size: 24px;
    }

    .new-price {
        font-size: 30px;
    }
}