/* ══════════════════════════════════════════════════════════════
   Siria López — Estilos de páginas de flujo (detalle, agendar, ficha)
   Los estilos base, navbar, footer y homepage están en design.css
   ══════════════════════════════════════════════════════════════ */

/* ── DETALLE ───────────────────────────────────────────────── */
.detalle-container {
    display: flex;
    max-width: 1100px;
    margin: 0 auto;
    gap: 6%;
    padding: 0 5%;
    align-items: flex-start;
}
.detalle-img-wrap { flex: 1; max-width: 450px; }
.detalle-img-wrap img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(36, 0, 84, .12);
}
.detalle-info { flex: 1.2; padding-top: 1rem; }
.detalle-info h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.5rem;
    font-weight: 500;
    color: var(--ink, #271240);
    margin-bottom: 1.2rem;
}
.detalle-subtitle {
    font-size: 1.2rem;
    color: rgba(39,18,64,0.65);
    line-height: 1.6;
    font-weight: 300;
    margin-bottom: 2rem;
}
.detalle-precio-box {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}
.precio-num {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8rem;
    font-weight: 500;
    color: var(--ink, #271240);
}
.precio-tiempo {
    font-size: 1.1rem;
    color: rgba(39,18,64,0.5);
}

.btn-violet {
    display: inline-block;
    background: var(--magenta, #E1017A);
    color: #fff;
    padding: 0.9rem 2.5rem;
    font-family: 'Inter', sans-serif;
    font-size: .95rem;
    font-weight: 500;
    border-radius: 50px;
    text-decoration: none;
    transition: transform .2s, box-shadow .2s;
    box-shadow: 0 14px 40px -16px rgba(225,1,122,0.55);
    margin-bottom: 1rem;
}
.btn-violet:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 50px -16px rgba(225,1,122,0.65);
}

.detalle-direccion {
    font-size: 0.95rem;
    color: rgba(39,18,64,0.55);
    margin-bottom: 3rem;
}
.detalle-incluye h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.4rem;
    font-weight: 500;
    color: var(--ink, #271240);
    margin-bottom: 1.2rem;
}
.detalle-desc { color: rgba(39,18,64,0.7); line-height: 1.7; font-size: 1rem; font-weight: 300; }
.detalle-desc * { color: inherit; }
.detalle-incluye ul {
    list-style-position: outside;
    padding-left: 1.2rem;
}
.detalle-incluye li {
    font-size: 1rem;
    color: rgba(39,18,64,0.7);
    line-height: 1.7;
    margin-bottom: 0.8rem;
    font-weight: 300;
}
.detalle-incluye li strong {
    font-weight: 500;
    color: var(--ink, #271240);
}

@media (max-width: 900px) {
    .detalle-container { flex-direction: column; gap: 3rem; }
    .detalle-img-wrap { max-width: 100%; margin: 0 auto; }
}

/* ── ATENCIONES ────────────────────────────────────────────── */
.atenciones-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 5% 5rem;
}
.atencion-card a {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: transform 0.3s;
}
.atencion-card a:hover { transform: translateY(-5px); }
.atencion-card img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 24px;
    margin-bottom: 1.2rem;
    box-shadow: 0 12px 30px rgba(36, 0, 84, .10);
}
.atencion-card h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.35rem;
    font-weight: 500;
    color: var(--ink, #271240);
    margin-bottom: 0.5rem;
}
.atencion-price { font-size: 1.2rem; color: var(--ink, #271240); }
.atencion-price strong { font-weight: 600; }
.atencion-duration { font-size: 0.95rem; color: rgba(39,18,64,0.5); font-weight: 300; }

/* ── PAGE BANNER ───────────────────────────────────────────── */
.page-banner {
    margin-top: 68px;
    background: linear-gradient(165deg, #1B0440 0%, #2A0A5C 55%, #240054 100%);
    padding: 5rem 5%;
    text-align: center;
    color: #fff;
}
.page-banner h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    font-weight: 500;
    margin-bottom: 0.5rem;
}
.page-banner p {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, .72);
    font-weight: 300;
}

/* ── SORTING ───────────────────────────────────────────────── */
.atenciones-toolbar {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 5% 1rem;
    display: flex;
    justify-content: flex-end;
}
.sorting {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.95rem;
    color: var(--ink, #271240);
}
.sorting select {
    padding: 0.5rem 2rem 0.5rem 1rem;
    color: var(--ink, #271240);
    border: 1px solid rgba(36,0,84,0.15);
    border-radius: 50px;
    background: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    cursor: pointer;
    outline: none;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23240054' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.7rem center;
    background-size: 1em;
}
