html,
body {
    height: 100%;
    margin: 0;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1;
}

.hero {
    background: linear-gradient(135deg, #0c4673, #1e282c);
    color: white;
    padding: 60px 20px;
    text-align: center;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
}

.features {
    padding: 40px 20px;
    text-align: center;
}

.features i {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: #0c4673;
}

.features h3 {
    margin-top: 10px;
    font-size: 1.3rem;
}

.btn-cta {
    color: #282828;
    padding: 12px 30px;
    border-radius: 30px;
    font-size: 1.1rem;
    text-decoration: none;
}


.btn-cta:hover {
    background: #d39e00;
    color: #282828;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

footer {
    padding: 20px;
    text-align: center;
    background-color: #f4f6f9;
}

.estado-card {
    transition: transform 0.2s, box-shadow 0.2s;
}

.estado-card:hover {
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 0.5rem 1rem rgba(33, 37, 41, 0.10);
    background: #f8f9fa;
}

.bg-highlight {
    background-color: #fff9ee !important;
}

.custom-card {
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-bottom: 1rem;
    overflow: hidden;
}

.btn-pharmacy {
    width: 100%;
    min-width: 180px;
    text-align: center !important;
    justify-content: center !important;
    display: flex !important;
}

.text-justify {
    text-align: justify;
}

.ribbon {
    position: absolute;
    top: 0;
    right: 0;
    background: #033246;
    color: #fff;
    padding: 0.5rem 1.5rem 0.5rem 1rem;
    font-weight: 600;
    font-size: 1rem;
    border-top-right-radius: 1rem;
    border-bottom-left-radius: 1rem;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    min-height: 2.2rem;
}

.custom-card-body.position-relative {
    position: relative;
}

.custom-title .text-nowrap {
    white-space: nowrap;
}

@media (min-width: 768px) {
    .btn-pharmacy {
        width: 200px;
    }
}

@media (max-width: 768px) {
    .dv-title {
        margin-top: 30px;
    }
}