/* =============================================
   SERVICIOS PÚBLICOS - servicios.css
   Listado /servicios y detalle /servicios/{slug}.
   Usa la paleta y tipografía del proyecto (Inter + Playfair Display)
   y se apoya en citas.css para el hero y la onda.
   ============================================= */
.svp-main { padding-top: .5rem; }

.svp-crumbs {
    display: flex; flex-wrap: wrap; gap: .4rem; align-items: center;
    font-size: .8rem; color: #6B655D; margin: .5rem 0 1.2rem;
}
.svp-crumbs a { color: #86662F; text-decoration: none; }
.svp-crumbs a:hover { text-decoration: underline; }

.svp-h2 {
    font-family: 'Playfair Display', Georgia, serif; font-weight: 700;
    font-size: 1.7rem; color: #292724; margin: 0 0 .3rem;
}
.svp-h2--mt { margin-top: 2.5rem; margin-bottom: 1rem; }
.svp-lead { color: #5A4A33; font-size: .95rem; margin: 0 0 1.4rem; }
.svp-lead--left { font-size: 1.02rem; color: #3F382F; }

/* Tarjetas */
.svp-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 1rem;
}
.svp-card {
    display: flex; flex-direction: column; gap: .6rem;
    background: #FFFAF5; border: 1.5px solid #EADFCF; border-radius: 16px;
    padding: 1.2rem 1.3rem; box-shadow: 0 4px 14px rgba(120,90,50,.08);
    transition: border-color .18s, box-shadow .18s, transform .15s;
}
.svp-card:hover { border-color: #C9A56B; transform: translateY(-2px); box-shadow: 0 8px 22px rgba(120,90,50,.14); }
.svp-card-title { font-family: 'Playfair Display', Georgia, serif; font-weight: 700; font-size: 1.2rem; line-height: 1.25; margin: 0; }
.svp-card-title a { color: #2B1B0B; text-decoration: none; }
.svp-card-title a:hover { color: #86662F; }
.svp-card-desc {
    margin: 0; font-size: .86rem; line-height: 1.5; color: #3F382F;
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.svp-chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.svp-chip {
    display: inline-flex; align-items: center; gap: .4rem;
    padding: .4rem .85rem; border-radius: 999px; background: #F3E6D8;
    color: #2B1B0B; font-size: .85rem; font-weight: 600; white-space: nowrap;
}
.svp-chip i { font-size: .95rem; line-height: 1; }
.svp-actions { display: flex; gap: .6rem; margin-top: auto; padding-top: .4rem; }

.svp-btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: .6rem 1.2rem; border-radius: 10px; border: 1.5px solid #292724;
    background: #292724; color: #fff; font-size: .88rem; font-weight: 600; text-decoration: none;
    transition: background .15s, color .15s;
}
.svp-btn:hover { background: #4A4540; color: #fff; }
.svp-btn--ghost { background: transparent; color: #292724; border-color: #D2B07A; }
.svp-btn--ghost:hover { background: #F3E6D8; color: #292724; }
.svp-btn--block { display: flex; width: 100%; margin-top: .7rem; }
.svp-btn:focus-visible { outline: 3px solid #86662F; outline-offset: 2px; }

.svp-nota { text-align: center; font-size: .82rem; color: #6B655D; margin: 1.6rem 0 0; }
.svp-vacio { text-align: center; color: #3F382F; padding: 2rem 0; }

/* Detalle */
.svp-article {
    background: #fff; border: 1px solid #EADFCF; border-radius: 16px; padding: 1.6rem 1.7rem;
    color: #3F382F; line-height: 1.7; font-size: .97rem;
}
.svp-article p { margin: 0 0 1rem; }
.svp-h3 { font-family: 'Playfair Display', serif; font-size: 1.15rem; font-weight: 600; color: #292724; margin: 1.6rem 0 .5rem; }
.svp-aside {
    position: sticky; top: 1.2rem; background: #fff; border: 1px solid #EADFCF;
    border-radius: 16px; padding: 1.4rem; box-shadow: 0 4px 14px rgba(120,90,50,.08);
}
.svp-aside-title { font-family: 'Playfair Display', Georgia, serif; font-weight: 700; font-size: 1.15rem; color: #292724; margin-bottom: .8rem; }
.svp-aside-note { font-size: .78rem; color: #6B655D; margin: .9rem 0 0; }

/* Dónde atendemos */
.svp-donde {
    margin-top: 1.5rem; background: #FFFAF5; border: 1px solid #EADFCF;
    border-radius: 16px; padding: 1.4rem 1.6rem;
}
.svp-donde h2 { font-family: 'Playfair Display', Georgia, serif; font-weight: 700; font-size: 1.3rem; color: #292724; margin: 0 0 .5rem; }
.svp-donde p { margin: 0 0 .8rem; color: #3F382F; font-size: .92rem; }
.svp-donde-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.svp-donde-list li { display: flex; gap: .6rem; align-items: flex-start; font-size: .9rem; color: #3F382F; }
.svp-donde-list i { color: #86662F; margin-top: .15rem; }
.svp-donde-list a { color: #86662F; }

@media (max-width: 575.98px) {
    .svp-h2 { font-size: 1.4rem; }
    .svp-article { padding: 1.2rem; }
    .svp-aside { position: static; }
    .svp-actions { flex-direction: column; }
}

.svp-card .svp-chips { margin-top: auto; }
.svp-card .svp-actions { margin-top: 0; }

/* ===== Tarjetas con imagen (diseño de referencia) ===== */
.svp-title { font-family: 'Playfair Display', Georgia, serif; font-weight: 700; font-size: clamp(2rem, 4.5vw, 3.2rem); color: #2B1B0B; text-align: center; margin: 0 0 .4rem; line-height: 1.1; }
.svp-sub { text-align: center; color: #5A4A33; font-size: 1.05rem; margin: 0 0 2rem; }
.svp-grid { grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 1.4rem; }
.svp-card {
    align-items: center; text-align: center; gap: .75rem; padding: 1.1rem 1.1rem 1.3rem;
    background: #FFFCF8; border: 1px solid #F0E6D8; border-radius: 26px;
    box-shadow: 0 10px 30px rgba(120,90,50,.10);
}
.svp-card-media { display: block; width: 100%; border-radius: 20px; overflow: hidden; aspect-ratio: 4 / 3; background: #F3E9DA; }
.svp-card-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s; }
.svp-card:hover .svp-card-media img { transform: scale(1.03); }
.svp-card-ph { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; background: linear-gradient(135deg, #EFE3D0, #F8F2E8); }
.svp-card-ph img { width: 42%; height: auto; max-height: 55%; object-fit: contain; opacity: .35; }
.svp-card:hover .svp-card-ph img { transform: none; }
.svp-card .svp-chips { justify-content: center; margin-top: .25rem; }
.svp-card .svp-chip { background: #EDE3D3; border-radius: 999px; padding: .38rem 1rem; font-weight: 500; color: #3A2A14; }
.svp-card .svp-chip--libre { background: #DCE5D3; }
.svp-card .svp-chip--pago  { background: #F0DDBB; }
.svp-card .svp-card-title { font-size: 1.45rem; font-weight: 500; line-height: 1.2; }
.svp-card .svp-card-desc { text-align: center; font-size: .92rem; color: #4A3F33; -webkit-line-clamp: 3; }
.svp-card .svp-actions { width: 100%; justify-content: center; margin-top: auto; padding-top: .6rem; }
.svp-card .svp-btn { flex: 1 1 0; border-radius: 999px; padding: .7rem 1rem; font-size: .95rem; }
.svp-aside .svp-btn { border-radius: 999px; }
.svp-hero-img { width: 100%; max-height: 380px; object-fit: cover; border-radius: 20px; margin-bottom: 1.2rem; display: block; }
@media (max-width: 575.98px) {
    .svp-card .svp-actions { flex-direction: row; }
}

/* ===== Pastillas de tiempo/precio y botones (mismo dorado de la tienda) ===== */
.svp-chip, .svp-card .svp-chip { display: inline-flex; align-items: center; gap: .5rem; padding: .5rem 1.05rem; font-size: .9rem; font-weight: 600; color: #3A2A14; background: #EBDCC8; border-radius: 999px; }
.svp-card .svp-chip--pago, .svp-card .svp-chip--libre, .svp-aside .svp-chip:last-child { background: #D8C1A2; }
.svp-chip i { font-size: 1.1rem; }
.svp-ico-precio { flex: 0 0 auto; }
.svp-btn, .svp-card .svp-btn, .svp-aside .svp-btn {
    border: none; background: #C29A59; color: #292724; border-radius: 10px;
    font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
    padding: .8rem 1rem; transition: background .18s, color .18s, box-shadow .18s;
}
.svp-btn:hover, .svp-card .svp-btn:hover, .svp-aside .svp-btn:hover { background: #B3893F; color: #292724; }
.svp-btn--ghost, .svp-card .svp-btn--ghost, .svp-aside .svp-btn--ghost { background: transparent; color: #292724; box-shadow: inset 0 0 0 1.5px #C29A59; }
.svp-btn--ghost:hover, .svp-card .svp-btn--ghost:hover, .svp-aside .svp-btn--ghost:hover { background: #C29A59; color: #292724; }
/* Botones: icono, hover como "Agregar al carrito", sin subrayado, borde en "Ver detalle" */
.svp-btn, .svp-card .svp-btn, .svp-aside .svp-btn { display: inline-flex; align-items: center; justify-content: center; gap: .45rem; text-decoration: none !important; transition: background .2s ease, color .2s ease; }
.svp-btn i { font-size: 1rem; line-height: 1; }
.svp-btn:hover, .svp-btn:focus-visible, .svp-card .svp-btn:hover, .svp-aside .svp-btn:hover { background: #B38A4A; color: #292724; text-decoration: none !important; }
.svp-btn--ghost, .svp-card .svp-btn--ghost, .svp-aside .svp-btn--ghost { background: transparent; box-shadow: none; border: 1.5px solid #C29A59; }
.svp-btn--ghost:hover, .svp-btn--ghost:focus-visible, .svp-card .svp-btn--ghost:hover, .svp-aside .svp-btn--ghost:hover { background: #C29A59; border-color: #C29A59; color: #292724; }

/* Hero de Servicios: imagen panorámica (WebP + versión móvil) y misma altura que Eventos */
.citas-hero.citas-hero--servicios { min-height: 550px; }
.citas-hero.citas-hero--servicios::before { background: url('../img/servicios-hero.webp') center / cover no-repeat; opacity: .5; filter: none; transform: none; -webkit-mask-image: none; mask-image: none; }
.citas-hero.citas-hero--servicios::after { display: none; }
.citas-hero--servicios .citas-hero-body { padding: 3rem 1.5rem 4.5rem; }
@media (max-width: 767px) {
    .citas-hero.citas-hero--servicios { min-height: 320px; }
    .citas-hero.citas-hero--servicios::before { background-image: url('../img/servicios-hero-mobile.webp'); }
    .citas-hero--servicios .citas-hero-body { padding: 2rem 1.25rem 3.5rem; }
}
@media (max-width: 576px) { .citas-hero.citas-hero--servicios { min-height: 220px; } .citas-hero--servicios .citas-hero-body { padding: 1.75rem 1rem 3rem; } }

/* Dónde atendemos: banda horizontal */
.svp-donde { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 1rem 2rem; padding: 1.6rem 2rem; background: #F3ECE2; border: 1px solid #E2D6C4; border-radius: 22px; box-shadow: inset 0 0 0 4px #FBF8F3, 0 6px 20px rgba(41,39,36,.06); }
.svp-donde .svp-donde-title { margin: 0; padding-right: 2rem; border-right: 1px solid #CDBB9F; font-family: 'Playfair Display', Georgia, serif; font-weight: 700; font-size: 1.5rem; line-height: 1.2; color: #292724; }
.svp-donde .svp-donde-list { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2.2rem; }
.svp-donde .svp-donde-list li { align-items: center; gap: .8rem; font-size: .88rem; line-height: 1.35; color: #3F382F; }
.svp-donde .svp-donde-list i { margin: 0; font-size: 1.7rem; color: #5A4326; }
.svp-donde .svp-donde-list a { color: #3F382F; font-weight: 600; text-decoration: none; }
.svp-donde .svp-donde-list a:hover { color: #86662F; }
.svp-donde .svp-donde-note { grid-column: 1 / -1; margin: 0; padding-top: .8rem; border-top: 1px solid #E2D6C4; font-size: .85rem; color: #6B655D; text-align: center; }
@media (max-width: 767px) { .svp-donde { grid-template-columns: 1fr; padding: 1.4rem 1.2rem; text-align: center; } .svp-donde .svp-donde-title { border-right: 0; padding: 0 0 .8rem; border-bottom: 1px solid #CDBB9F; } .svp-donde .svp-donde-list { flex-direction: column; align-items: flex-start; } }

/* Sobre este servicio: imagen + texto */
.svp-about { display: grid; grid-template-columns: minmax(0,5fr) minmax(0,6fr); gap: 1.6rem; align-items: center; background: #FFFDF9; border: 1px solid #EADFCE; border-radius: 26px; padding: 1.1rem; box-shadow: 0 6px 22px rgba(41,39,36,.06); margin-bottom: 1.5rem; }
.svp-about-media { margin: 0; aspect-ratio: 4/3; border-radius: 20px; overflow: hidden; background: linear-gradient(135deg,#EFE4D3,#F8F1E6); display: flex; align-items: center; justify-content: center; }
.svp-about-media img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 0; margin: 0; }
.svp-about-media.is-vacia img.svp-about-logo { width: 55%; height: auto; object-fit: contain; opacity: .75; }
.svp-about .svp-article { background: transparent; border: 0; box-shadow: none; padding: .5rem 1rem .5rem 0; margin: 0; }
.svp-about .svp-h2 { margin-top: 0; }
@media (max-width: 767px) { .svp-about { grid-template-columns: 1fr; gap: 1rem; } .svp-about .svp-article { padding: 0 .5rem .6rem; } }

/* Boton WhatsApp: verde claro con icono, misma tipografia (Inter) y forma que los demas botones */
.svp-btn, .svp-btn--wa { font-family: 'Inter', sans-serif; }
.svp-btn.svp-btn--wa, .svp-aside .svp-btn.svp-btn--wa { background: #DDF3E4; color: #14532D; border: 1.5px solid #7BCB98; box-shadow: none; }
.svp-btn.svp-btn--wa i { color: #1FA855; font-size: 1.1rem; }
.svp-btn.svp-btn--wa:hover, .svp-btn.svp-btn--wa:focus-visible, .svp-aside .svp-btn.svp-btn--wa:hover { background: #C6EBD2; border-color: #4FB879; color: #0F3F23; }
