/* LANDING MOBILE-FIRST */

.hero {
    display: flex;
    flex-direction: column;
    gap: 34px;
    padding: 20px 0 40px;
}

.hero-text {
    text-align: center;
}

.hero-text h1 {
    margin: 0 0 16px;
    font-size: 34px;
    line-height: 1.08;
    color: #8B1C5E;
    letter-spacing: -0.04em;
}

.hero-text p {
    margin: 0 auto 24px;
    max-width: 340px;
    font-size: 16px;
    line-height: 1.55;
    color: #6B7280;
}

/* BUTTONS */

.buttons {
    display: grid;
    gap: 12px;
}

.btn {
    width: 100%;
    min-height: 52px;
    border-radius: 16px;
    border: none;
    padding: 14px 18px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s;
}

.btn-primary {
    background: #8B1C5E;
    color: #ffffff;
    box-shadow: 0 14px 28px rgba(139, 28, 94, 0.22);
}

.btn-primary:hover {
    background: #7A1852;
    transform: translateY(-2px);
}

.btn-secondary {
    background: #ffffff;
    color: #8B1C5E;
    border: 1px solid #E5E7EB;
}

.btn-secondary:hover {
    background: #F9FAFB;
}

/* VISUAL */

.hero-visual {
    display: flex;
    justify-content: center;
}

.dashboard-preview {
    width: 100%;
    max-width: 420px;
    background: #ffffff;
    border: 1px solid #EEF0F3;
    border-radius: 28px;
    padding: 22px;
    box-shadow: 0 24px 60px rgba(17, 24, 39, 0.08);
}

/* TOP */

.preview-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.preview-title {
    font-size: 24px;
    font-weight: 800;
    color: #111827;
}

.preview-date {
    margin-top: 4px;
    font-size: 14px;
    color: #9CA3AF;
}

.preview-badge {
    background: #F3F4F6;
    color: #111827;
    padding: 10px 14px;
    border-radius: 14px;
    font-size: 13px;
    font-weight: 700;
}

/* CALENDAR */

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
    margin-bottom: 24px;
}

.calendar-day {
    background: #ffffff;
    border: 1px solid #E5E7EB;
    border-radius: 16px;
    padding: 14px 8px;
    text-align: center;
}

.calendar-day span {
    display: block;
    margin-bottom: 6px;
    font-size: 12px;
    color: #9CA3AF;
}

.calendar-day strong {
    font-size: 18px;
    color: #111827;
}

.calendar-day.active {
    background: #F3F4F6;
    border-color: #D1D5DB;
}

.calendar-day.active span {
    color: #6B7280;
}

.calendar-day.active strong {
    color: #111827;
}

/* APPOINTMENTS */

.appointment-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px;
    border-radius: 18px;
    margin-bottom: 14px;
    color: #111827;
    background: #ffffff;
    border: 1px solid #E5E7EB;
    box-shadow: none;
}

.appointment-card:last-child {
    margin-bottom: 0;
}

.appointment-card h4 {
    margin: 0;
    font-size: 16px;
    font-weight: 800;
}

.appointment-card p {
    margin: 4px 0 0;
    font-size: 13px;
    color: #6B7280;
}

.appointment-card span {
    font-size: 16px;
    font-weight: 800;
    color: #111827;
}

.appointment-card.purple,
.appointment-card.blue,
.appointment-card.dark {
    background: #ffffff;
}

/* DESKTOP */

@media (min-width: 900px) {
    .hero {
        min-height: 620px;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 56px;
        padding: 60px 0;
    }

    .hero-text {
        max-width: 520px;
        text-align: left;
    }

    .hero-text h1 {
        font-size: 54px;
    }

    .hero-text p {
        margin-left: 0;
        max-width: 460px;
        font-size: 18px;
    }

    .buttons {
        display: flex;
        gap: 14px;
    }

    .btn {
        width: auto;
        padding: 14px 24px;
    }

    .hero-visual {
        min-width: 430px;
    }

    .dashboard-preview {
        padding: 28px;
    }
}