.agendar-page{
    min-height: calc(100vh - 56px);
    background:
        radial-gradient(1200px 500px at 30% 10%, rgba(255,255,255,.45), rgba(255,255,255,0) 60%),
        radial-gradient(900px 500px at 70% 18%, rgba(255,255,255,.35), rgba(255,255,255,0) 58%),
        linear-gradient(180deg, #8492d9 0%, #6f86cf 35%, #a7b1e8 70%, #b7c3ef 100%);
    position: relative;
    overflow: hidden;
}

/* HERO (header) background with image + gradient fusion */
.agendar-hero-wrap{
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    margin-top: .75rem;
    padding: 1.2rem 1.2rem;
    box-shadow: 0 18px 60px rgba(0,0,0,.14);
    border: 1px solid rgba(255,255,255,.22);
    background:
        url('/assets/images/agendar_hero.jpeg') right top / cover no-repeat,
        linear-gradient(135deg, rgba(34, 51, 102, .55) 0%, rgba(61, 93, 188, .55) 45%, rgba(120, 142, 220, .35) 100%);
}

/* Subtle white wave / vignette to mimic the artwork */
.agendar-hero-wrap::before{
    content:"";
    position:absolute;
    inset:0;
    background:
        radial-gradient(900px 260px at 22% 28%, rgba(255,255,255,.45), rgba(255,255,255,0) 60%),
        radial-gradient(700px 240px at 65% 15%, rgba(255,255,255,.25), rgba(255,255,255,0) 62%),
        linear-gradient(90deg, rgba(18, 28, 58, .55) 0%, rgba(18, 28, 58, .35) 42%, rgba(18, 28, 58, 0) 70%);
    mix-blend-mode: screen;
    pointer-events:none;
}

.agendar-hero-wrap::after{
    content:"";
    position:absolute;
    inset:0;
    background: linear-gradient(180deg, rgba(255,255,255,.08) 0%, rgba(255,255,255,0) 40%, rgba(0,0,0,.08) 100%);
    pointer-events:none;
}

.agendar-hero{
    position: relative;
    z-index: 1;
    color:#fff;
    padding: 1.25rem 0 1rem;
}

.agendar-hero h1{
    font-weight: 800;
    letter-spacing: .2px;
    text-shadow: 0 2px 10px rgba(0,0,0,.25);
}

.agendar-hero p{
    color: rgba(255,255,255,.92);
    margin-bottom: .9rem;
    max-width: 520px;
}

.agendar-breadcrumb{
    display: inline-flex;
    align-items:center;
    gap:.35rem;
    background: rgba(255,255,255,.17);
    border: 1px solid rgba(255,255,255,.22);
    color: rgba(255,255,255,.95);
    padding: .35rem .6rem;
    border-radius: .5rem;
    font-size: .85rem;
}

.agendar-breadcrumb .sep{opacity:.8}

/* Hide the previous placeholder art; image now lives in background */
.agendar-hero-art{ display:none; }

@media (min-width: 992px){
    .agendar-hero-wrap{ padding: 1.6rem 1.6rem; }
    .agendar-hero{ padding: 1.6rem 0 1.1rem; }
}

@media (max-width: 991.98px){
    .agendar-hero-wrap{
        background-position: 70% top;
    }
}

.agendar-page::before{
    content:"";
    position:absolute;
    inset:0;
    background:
        radial-gradient(700px 240px at 55% 8%, rgba(255,255,255,.55), rgba(255,255,255,0) 70%),
        radial-gradient(420px 200px at 18% 70%, rgba(255,255,255,.25), rgba(255,255,255,0) 70%);
    pointer-events:none;
}

.agendar-container{
    position: relative;
    z-index: 1;
    padding: 2rem 0.8rem 2.5rem;
}

.agendar-hero-art{
    display:flex;
    align-items:center;
    justify-content:flex-end;
    gap: 1rem;
}

.agendar-hero-art .whatsapp-badge{
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display:flex;
    align-items:center;
    justify-content:center;
    background: rgba(255,255,255,.3);
    border: 1px solid rgba(255,255,255,.35);
    box-shadow: 0 10px 30px rgba(0,0,0,.20);
}

.agendar-hero-art .art-card{
    width: 220px;
    height: 130px;
    border-radius: 18px;
    background: rgba(255,255,255,.2);
    border: 1px solid rgba(255,255,255,.25);
    box-shadow: 0 10px 30px rgba(0,0,0,.20);
    position: relative;
    overflow:hidden;
}

.agendar-hero-art .art-card::before{
    content:"";
    position:absolute;
    inset:-30px;
    background: radial-gradient(circle at 30% 40%, rgba(255,255,255,.7), rgba(255,255,255,0) 55%);
}

.agendar-hero-art .art-person{
    width: 180px;
    height: 200px;
    border-radius: 24px;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.2);
    box-shadow: 0 12px 40px rgba(0,0,0,.18);
}

.glass-card{
    background: rgba(255,255,255,.20);
    border: 1px solid rgba(255,255,255,.28);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 18px 50px rgba(0,0,0,.12);
    border-radius: 12px;
}

.form-card-title,
.info-card-title{
    color: #27315a;
    font-weight: 800;
    letter-spacing: .15px;
}

.card-subtitle{
    color: rgba(39,49,90,.85);
    font-size: .9rem;
    margin-bottom: 1rem;
}

.agendar-form .form-control,
.agendar-form .form-select{
    border-radius: 6px;
    border-color: rgba(39,49,90,.15);
    background: rgba(255,255,255,.55);
}

.agendar-form .input-group-text{
    background: rgba(255,255,255,.55);
    border-color: rgba(39,49,90,.15);
}

.agendar-form .form-control:focus,
.agendar-form .form-select:focus{
    border-color: rgba(52,85,210,.55);
    box-shadow: 0 0 0 .25rem rgba(52,85,210,.15);
}

.agendar-help{
    margin-top: .75rem;
    color: rgba(39,49,90,.9);
    font-size: .75rem;
}

.btn-orange{
    background: #f08a24;
    border: 0;
    color: #fff;
    font-weight: 700;
    border-radius: 6px;
    padding: .55rem .9rem;
    box-shadow: 0 10px 16px rgba(240,138,36,.25);
}

.btn-orange:hover,
.btn-orange:focus{
    background: #ff9b3c;
    color:#fff;
}

.btn-whatsapp{
    background: #2bbd6f;
    border: 0;
    color: #fff;
    font-weight: 700;
    border-radius: 6px;
    padding: .55rem .9rem;
    box-shadow: 0 10px 16px rgba(43,189,111,.22);
}

.btn-whatsapp:hover,
.btn-whatsapp:focus{
    background: #31d47c;
    color:#fff;
}

.info-box{
    background: rgba(255,255,255,.35);
    border: 1px solid rgba(39,49,90,.12);
    border-radius: 10px;
    padding: .75rem .9rem;
    color: rgba(39,49,90,.92);
    font-size: .85rem;
}

.info-list{
    margin: .85rem 0 0;
    padding: 0;
    list-style: none;
    color: rgba(39,49,90,.95);
}

.info-list li{
    display:flex;
    gap:.6rem;
    align-items:flex-start;
    margin-bottom: .55rem;
    font-size: .9rem;
}

.info-list svg{flex: 0 0 auto; margin-top: .15rem; opacity: .95;}

.agendar-footer{
    margin-top: 1.75rem;
    color: rgba(255,255,255,.95);
    font-size: .9rem;
    display:flex;
    gap: 1.2rem;
    flex-wrap: wrap;
    align-items:center;
}

.agendar-footer a{ color: rgba(255,255,255,.95); text-decoration:none; }
.agendar-footer a:hover{ text-decoration: underline; }
