:root{
    --bg:#f8f9fa;
    --text:#2f2f2f;
    --muted:#7a7a7a;
    --card:#ffffff;

    --mint:#dce9dd;
    --beige:#ece3cf;
    --rose:#e7d1d1;

    --available-border:#c9d8cb;
    --pending-border:#e0d2ab;
    --reserved-border:#e1c1c1;

    --shadow:0 12px 30px rgba(17, 24, 39, .06);
}

*{
    box-sizing:border-box;
}

body{
    background:var(--bg);
    color:var(--text);
    font-family:'Inter',sans-serif;
}

img{
    max-width:100%;
    display:block;
}

.navbar{
    backdrop-filter: blur(6px);
}

.navbar-logo{
    width:34px;
    height:34px;
    object-fit:cover;
    border-radius:10px;
}

.admin-link{
    color:#666;
}

.admin-link:hover{
    color:#222;
}

.hero-card,
.service-card,
.contact-card,
.location-card,
.login-card,
.metric-card,
.admin-panel{
    background:var(--card);
    border-radius:24px;
    box-shadow:var(--shadow);
}

.hero-card{
    padding:22px;
}

.brand-header{
    display:flex;
    align-items:center;
    gap:16px;
}

.brand-logo{
    width:88px;
    height:88px;
    object-fit:cover;
    border-radius:22px;
    box-shadow:0 8px 24px rgba(0,0,0,.08);
}

.hero-title{
    font-size:1.9rem;
    letter-spacing:-.03em;
    font-weight:600;
}

.hero-description{
    margin-top:18px;
    color:var(--muted);
    line-height:1.6;
}

.hero-actions{
    display:flex;
    gap:10px;
    flex-wrap:wrap;
}

.badge-soft{
    display:inline-flex;
    align-items:center;
    gap:6px;
    background:#f3efe9;
    color:#4c4c4c;
    border-radius:999px;
    padding:7px 14px;
    font-size:.8rem;
}

.section-block{
    margin-bottom:34px;
}

.section-header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:12px;
    margin-bottom:14px;
}

.days-scroll{
    display:flex;
    gap:10px;
    overflow-x:auto;
    padding-bottom:6px;
    scrollbar-width:none;
}

.days-scroll::-webkit-scrollbar{
    display:none;
}

.day-pill{
    min-width:86px;
    border:1px solid #e9e9e9;
    background:#fff;
    border-radius:18px;
    padding:12px 10px;
    text-align:center;
    color:#444;
    font-size:.86rem;
    line-height:1.1;
    transition:.2s ease;
    flex:0 0 auto;
}

.day-pill strong{
    display:block;
    font-size:1.05rem;
    margin-bottom:4px;
}

.day-pill.active{
    background:#2b2b2b;
    color:#fff;
    border-color:#2b2b2b;
    transform:translateY(-1px);
}

.day-pill:hover{
    transform:translateY(-1px);
}

.turno-card{
    min-height:98px;
    border-radius:20px;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    border:1px solid transparent;
    cursor:pointer;
    transition:.2s ease;
    user-select:none;
    box-shadow:0 6px 16px rgba(0,0,0,.03);
}

.turno-card:hover{
    transform:translateY(-1px);
}

.turno-card .hora{
    font-size:1.05rem;
    font-weight:600;
}

.turno-card small{
    margin-top:4px;
    font-size:.8rem;
    text-transform:capitalize;
    color:rgba(0,0,0,.62);
}

.turno-card.available{
    background:var(--mint);
    border-color:var(--available-border);
}

.turno-card.pending{
    background:var(--beige);
    border-color:var(--pending-border);
}

.turno-card.reserved{
    background:var(--rose);
    border-color:var(--reserved-border);
}

.turno-card.disabled{
    cursor:not-allowed;
    opacity:.98;
}

.service-grid{
    display:grid;
    gap:14px;
}

.service-card{
    padding:20px;
}

.service-icon{
    font-size:1.6rem;
    margin-bottom:10px;
}

.service-card p{
    color:var(--muted);
    font-size:.92rem;
    line-height:1.5;
}

.contact-card,
.location-card{
    padding:20px;
}

.contact-item{
    display:flex;
    align-items:center;
    gap:14px;
}

.contact-icon{
    width:44px;
    height:44px;
    border-radius:14px;
    display:grid;
    place-items:center;
    background:#f2f2f2;
    font-size:1.2rem;
}

.maps-frame{
    width:100%;
    height:220px;
    border:0;
    border-radius:18px;
    background:#f1f3f5;
}

.footer-app{
    text-align:center;
    padding:14px 0 8px;
    color:#9a9a9a;
}

.modal-card{
    border-radius:24px;
    overflow:hidden;
    box-shadow:var(--shadow);
}

.app-toast{
    background:#2f2f2f;
    color:#fff;
    border-radius:999px;
}

.login-wrap{
    min-height:calc(100vh - 88px);
    display:grid;
    place-items:center;
    padding:12px 0;
}

.login-card{
    width:100%;
    max-width:430px;
    padding:24px;
}

.login-logo{
    width:84px;
    height:84px;
    object-fit:cover;
    border-radius:22px;
    margin:0 auto;
    box-shadow:0 8px 24px rgba(0,0,0,.08);
}

.metric-card{
    padding:18px 12px;
    text-align:center;
}

.metric-card h4{
    font-weight:700;
}

.admin-panel{
    padding:18px;
}

.admin-list{
    display:grid;
    gap:12px;
}

.admin-item{
    background:#fff;
    border-radius:20px;
    box-shadow:var(--shadow);
    padding:16px;
    border:1px solid #efefef;
}

.admin-item-header{
    display:flex;
    justify-content:space-between;
    gap:12px;
    align-items:flex-start;
}

.slot-badge{
    display:inline-flex;
    align-items:center;
    gap:6px;
    border-radius:999px;
    padding:6px 10px;
    font-size:.78rem;
    font-weight:600;
    text-transform:uppercase;
    letter-spacing:.04em;
}

.slot-badge.available{ background:var(--mint); }
.slot-badge.pending{ background:var(--beige); }
.slot-badge.reserved{ background:var(--rose); }

.admin-actions{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
    margin-top:12px;
}

.request-meta,
.slot-meta{
    color:var(--muted);
    font-size:.9rem;
}

@media (min-width: 576px){
    .service-grid{
        grid-template-columns:repeat(2, minmax(0,1fr));
    }
}