/* css/servicios.css
   - Botones de la portada: Tienda (blanco), Clínica (celeste), Grooming (turquesa), Cremación (lila)
   - Páginas de servicios (clinica.php, grooming.php, cremacion.php) */

/* ── Botones de la portada ─────────────────────────────────────────── */
.hero-buttons .btn-hero {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    padding: .95rem 1.8rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    border: 2px solid transparent;
    transition: transform .25s ease, box-shadow .25s ease, filter .25s ease;
    line-height: 1.2;
}
.hero-buttons .btn-hero:hover { transform: translateY(-3px); }
.hero-buttons .btn-hero:active { transform: translateY(-1px); }
.hero-buttons .btn-hero:focus-visible { outline: 3px solid #333; outline-offset: 3px; }

/* Tienda: blanco */
.btn-hero-store {
    background: #ffffff;
    color: #333333 !important;
    border-color: #dfe3e8 !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .10);
}
.btn-hero-store:hover { box-shadow: 0 8px 22px rgba(0, 0, 0, .16); background: #fff; }

/* Clínica: celeste */
.btn-hero-clinic {
    background: linear-gradient(135deg, #9BDCFF 0%, #5EBCF2 100%);
    color: #06324D !important;
    box-shadow: 0 4px 14px rgba(94, 188, 242, .45);
}
.btn-hero-clinic:hover { box-shadow: 0 8px 22px rgba(94, 188, 242, .6); filter: saturate(1.1); }

/* Grooming: turquesa */
.btn-hero-grooming {
    background: linear-gradient(135deg, #5FE8D5 0%, #19BFA8 100%);
    color: #00372F !important;
    box-shadow: 0 4px 14px rgba(25, 191, 168, .45);
}
.btn-hero-grooming:hover { box-shadow: 0 8px 22px rgba(25, 191, 168, .6); filter: saturate(1.1); }

/* Cremación: lila */
.btn-hero-cremacion {
    background: linear-gradient(135deg, #C9B3F0 0%, #9C7BD3 100%);
    color: #2B1A52 !important;
    box-shadow: 0 4px 14px rgba(156, 123, 211, .45);
}
.btn-hero-cremacion:hover { box-shadow: 0 8px 22px rgba(156, 123, 211, .6); filter: saturate(1.1); }

/* ── Versión llamativa: más grandes, con brillo, pulso y etiquetas ──── */
.hero-buttons { gap: 1.1rem .8rem; padding-top: .9rem; }
.hero-buttons .btn-hero {
    position: relative;
    padding: 1.05rem 1.45rem;
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: .01em;
    white-space: nowrap;
}
.hero-buttons .btn-hero > i {
    width: 2.1rem; height: 2.1rem;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, .55);
    font-size: 1.1rem;
}
.hero-buttons .btn-hero:hover { transform: translateY(-4px) scale(1.05); }

/* Etiqueta naranja encima del botón */
.hero-buttons .hero-tag {
    position: absolute;
    top: -.95rem; right: .9rem;
    background: linear-gradient(135deg, #ff9a2e, #ff5e1a);
    color: #fff;
    font-style: normal;
    font-size: .72rem; font-weight: 800; letter-spacing: .03em;
    padding: .28rem .7rem;
    border-radius: 50px;
    border: 2px solid #fff;
    box-shadow: 0 4px 10px rgba(255, 94, 26, .45);
    white-space: nowrap;
    pointer-events: none;
}

/* Colores más intensos para Clínica y Grooming */
.hero-buttons .btn-hero-clinic,
.hero-buttons .btn-hero-grooming { border-color: rgba(255, 255, 255, .85); }
.hero-buttons .btn-hero-clinic {
    background:
        linear-gradient(110deg, transparent 35%, rgba(255, 255, 255, .65) 50%, transparent 65%) no-repeat,
        linear-gradient(135deg, #7CCBFF 0%, #2F97D6 100%);
    background-size: 250% 100%, 100% 100%;
    background-position: 200% 0, 0 0;
    color: #fff !important;
    text-shadow: 0 1px 2px rgba(3, 50, 80, .45);
    animation: heroShine 3.6s ease-in-out 1s infinite, heroPulseBlue 2.2s ease-out infinite;
}
.hero-buttons .btn-hero-grooming {
    background:
        linear-gradient(110deg, transparent 35%, rgba(255, 255, 255, .65) 50%, transparent 65%) no-repeat,
        linear-gradient(135deg, #3FE0CB 0%, #0E9C88 100%);
    background-size: 250% 100%, 100% 100%;
    background-position: 200% 0, 0 0;
    color: #fff !important;
    text-shadow: 0 1px 2px rgba(0, 50, 42, .45);
    animation: heroShine 3.6s ease-in-out 2.2s infinite, heroPulseTeal 2.2s ease-out .6s infinite;
}
.hero-buttons .btn-hero-cremacion { border-color: rgba(255, 255, 255, .85); }
.hero-buttons .btn-hero-cremacion {
    background:
        linear-gradient(110deg, transparent 35%, rgba(255, 255, 255, .6) 50%, transparent 65%) no-repeat,
        linear-gradient(135deg, #B79CEB 0%, #6F4FB3 100%);
    background-size: 250% 100%, 100% 100%;
    background-position: 200% 0, 0 0;
    color: #fff !important;
    text-shadow: 0 1px 2px rgba(43, 26, 82, .5);
    animation: heroShine 3.6s ease-in-out 3.4s infinite, heroPulsePurple 2.2s ease-out 1.2s infinite;
}
.hero-buttons .btn-hero-clinic > i,
.hero-buttons .btn-hero-grooming > i,
.hero-buttons .btn-hero-cremacion > i { background: rgba(255, 255, 255, .92); text-shadow: none; }
.hero-buttons .btn-hero-clinic > i { color: #2F97D6; }
.hero-buttons .btn-hero-grooming > i { color: #0E9C88; }
.hero-buttons .btn-hero-cremacion > i { color: #6F4FB3; }
.hero-buttons .btn-hero-store { border-width: 2px; }
.hero-buttons .btn-hero-store > i { background: #f1f3f5; }

@keyframes heroShine {
    0%, 55%  { background-position: 200% 0, 0 0; }
    100%     { background-position: -100% 0, 0 0; }
}
@keyframes heroPulseBlue {
    0%   { box-shadow: 0 6px 18px rgba(47, 151, 214, .5), 0 0 0 0 rgba(94, 188, 242, .65); }
    80%, 100% { box-shadow: 0 6px 18px rgba(47, 151, 214, .5), 0 0 0 18px rgba(94, 188, 242, 0); }
}
@keyframes heroPulseTeal {
    0%   { box-shadow: 0 6px 18px rgba(14, 156, 136, .5), 0 0 0 0 rgba(25, 191, 168, .65); }
    80%, 100% { box-shadow: 0 6px 18px rgba(14, 156, 136, .5), 0 0 0 18px rgba(25, 191, 168, 0); }
}
@keyframes heroPulsePurple {
    0%   { box-shadow: 0 6px 18px rgba(111, 79, 179, .5), 0 0 0 0 rgba(156, 123, 211, .65); }
    80%, 100% { box-shadow: 0 6px 18px rgba(111, 79, 179, .5), 0 0 0 18px rgba(156, 123, 211, 0); }
}
.hero-buttons .btn-hero-clinic:hover,
.hero-buttons .btn-hero-grooming:hover,
.hero-buttons .btn-hero-cremacion:hover { animation-play-state: paused; filter: saturate(1.15) brightness(1.05); }

.hero-services-line {
    margin: 1.1rem 0 0;
    font-size: .95rem;
    color: #555;
    display: flex;
    flex-wrap: wrap;
    gap: .35rem .9rem;
}
.hero-services-line span { display: inline-flex; align-items: center; gap: .35rem; }
.hero-services-line i { color: #19BFA8; }

/* Cuatro botones: dos filas de dos, del mismo ancho */
@media (min-width: 577px) {
    .hero-buttons { display: grid; grid-template-columns: repeat(2, minmax(0, 15rem)); gap: 1.25rem 1rem; }
    .hero-buttons .btn-hero { justify-content: center; }
}
@media (max-width: 576px) {
    .hero-buttons .btn-hero { flex: 1 1 100%; justify-content: center; padding: 1.1rem 1.5rem; }
}

/* ── Páginas de servicios ──────────────────────────────────────────── */
body:not(.wa-on) .wa-only { display: none !important; }

.svc-hero {
    position: relative;
    overflow: hidden;
    padding: 8rem 0 4rem; /* deja espacio para la barra superior fija */
    background: linear-gradient(135deg, var(--svc-soft, #e8f7ff) 0%, #ffffff 100%);
}
.svc-hero::after {
    content: '';
    position: absolute;
    right: -120px; top: -120px;
    width: 420px; height: 420px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--svc-main, #5EBCF2) 0%, transparent 70%);
    opacity: .25;
    pointer-events: none;
}
.svc-badge {
    display: inline-flex; align-items: center; gap: .5rem;
    background: #fff; color: var(--svc-dark, #06324D);
    padding: .45rem 1rem; border-radius: 50px;
    font-weight: 600; font-size: .9rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .08);
    margin-bottom: 1.2rem;
}
.svc-badge i { color: var(--svc-main, #5EBCF2); }
.svc-title { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 800; color: #333; line-height: 1.15; margin-bottom: 1rem; }
.svc-title .hl {
    background: linear-gradient(135deg, var(--svc-main, #5EBCF2), var(--svc-deep, #2F97D6));
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: transparent;
}
.svc-lead { font-size: 1.15rem; color: #555; max-width: 560px; line-height: 1.7; margin-bottom: 1.6rem; }
.svc-hero-icon {
    width: 220px; height: 220px; border-radius: 50%;
    margin: 0 auto;
    display: flex; align-items: center; justify-content: center;
    font-size: 5.5rem; color: var(--svc-dark, #06324D);
    background: linear-gradient(135deg, var(--svc-light, #9BDCFF), var(--svc-main, #5EBCF2));
    box-shadow: 0 20px 50px var(--svc-shadow, rgba(94, 188, 242, .45));
}

.svc-actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.svc-btn {
    display: inline-flex; align-items: center; gap: .6rem;
    padding: .9rem 1.6rem; border-radius: 50px;
    font-weight: 700; text-decoration: none; border: 2px solid transparent; cursor: pointer;
    font-size: 1rem; transition: transform .25s ease, box-shadow .25s ease;
}
.svc-btn:hover { transform: translateY(-3px); }
.svc-btn-main {
    background: linear-gradient(135deg, var(--svc-light, #9BDCFF), var(--svc-main, #5EBCF2));
    color: var(--svc-dark, #06324D) !important;
    box-shadow: 0 4px 14px var(--svc-shadow, rgba(94, 188, 242, .45));
}
.svc-btn-line { background: #fff; color: #333 !important; border-color: #dfe3e8; }
.svc-btn-line:hover { border-color: var(--svc-main, #5EBCF2); }

.svc-section { padding: 4rem 0; }
.svc-section.alt { background: #fafbfc; }
.svc-head { text-align: center; max-width: 640px; margin: 0 auto 2.5rem; }
.svc-head h2 { font-weight: 800; color: #333; margin-bottom: .6rem; font-size: clamp(1.6rem, 3.5vw, 2.2rem); }
.svc-head p { color: #666; margin: 0; }

.svc-card {
    height: 100%;
    background: #fff; border-radius: 20px; padding: 1.8rem 1.5rem;
    border: 1px solid #eef0f3;
    box-shadow: 0 4px 20px rgba(0, 0, 0, .06);
    transition: transform .25s ease, box-shadow .25s ease;
}
.svc-card:hover { transform: translateY(-5px); box-shadow: 0 12px 30px rgba(0, 0, 0, .1); }
.svc-card .ico {
    width: 58px; height: 58px; border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.6rem; color: var(--svc-dark, #06324D);
    background: linear-gradient(135deg, var(--svc-light, #9BDCFF), var(--svc-main, #5EBCF2));
    margin-bottom: 1rem;
}
.svc-card h3 { font-size: 1.2rem; font-weight: 700; color: #333; margin-bottom: .5rem; }
.svc-card p { color: #666; margin: 0; line-height: 1.6; }

.svc-cta {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--svc-light, #9BDCFF) 0%, var(--svc-main, #5EBCF2) 100%);
    color: var(--svc-dark, #06324D);
    text-align: center;
}
.svc-cta h2 { font-weight: 800; margin-bottom: .6rem; }
.svc-cta p { max-width: 560px; margin: 0 auto 1.6rem; font-size: 1.1rem; }
.svc-cta .svc-actions { justify-content: center; }
.svc-cta .svc-btn-main { background: #fff; box-shadow: 0 4px 14px rgba(0, 0, 0, .15); }
.svc-cta .svc-btn-line { background: transparent; color: var(--svc-dark, #06324D) !important; border-color: var(--svc-dark, #06324D); }
.svc-cta .svc-btn-line:hover { background: rgba(255, 255, 255, .35); }

/* Etiquetas dentro de las tarjetas (ej. pruebas de laboratorio) */
.svc-tags { list-style: none; padding: 0; margin: .9rem 0 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.svc-tags li { background: var(--svc-soft, #e8f7ff); color: var(--svc-dark, #06324D); font-size: .82rem; font-weight: 600; padding: .25rem .7rem; border-radius: 50px; }

/* Listas con check */
.svc-checks { list-style: none; padding: 0; margin: 0; }
.svc-checks li { position: relative; padding: .3rem 0 .3rem 1.7rem; color: #444; line-height: 1.45; }
.svc-checks li::before { content: '\f00c'; font-family: 'Font Awesome 6 Free'; font-weight: 900; position: absolute; left: 0; top: .32rem; color: var(--svc-deep, #2F97D6); font-size: .85rem; }

/* Promoción destacada */
.svc-promo {
    background: linear-gradient(135deg, var(--svc-light, #9BDCFF) 0%, var(--svc-main, #5EBCF2) 100%);
    color: var(--svc-dark, #06324D);
    border-radius: 28px; padding: 2.5rem 2rem;
    box-shadow: 0 16px 40px var(--svc-shadow, rgba(94, 188, 242, .35));
}
.svc-promo-tag { display: inline-flex; align-items: center; gap: .45rem; background: #fff; padding: .4rem .95rem; border-radius: 50px; font-weight: 700; font-size: .85rem; margin-bottom: 1rem; }
.svc-promo-tag i { color: #ff6a1a; }
.svc-promo h2 { font-weight: 800; font-size: clamp(1.6rem, 3.6vw, 2.3rem); margin-bottom: .4rem; }
.svc-promo-price { font-size: clamp(2.6rem, 7vw, 4rem); font-weight: 800; line-height: 1; }
.svc-promo-price small { font-size: 1rem; font-weight: 600; }
.svc-promo-text { margin: .9rem 0 0; font-size: 1.05rem; }
.svc-promo-box { background: #fff; border-radius: 20px; padding: 1.5rem; color: #333; }
.svc-promo-box h3 { font-size: 1.1rem; font-weight: 800; margin-bottom: .6rem; }
.svc-promo-extra { display: flex; gap: .9rem; align-items: flex-start; margin-top: 1rem; padding: .9rem 1rem; border-radius: 14px; background: var(--svc-soft, #e8f7ff); }
.svc-promo-extra > i { font-size: 1.4rem; color: var(--svc-deep, #2F97D6); margin-top: .15rem; }
.svc-promo-extra .price { font-weight: 800; color: var(--svc-deep, #2F97D6); font-size: 1.15rem; }
.svc-promo-extra s { color: #888; }
.svc-promo-extra span { font-size: .92rem; color: #555; }

/* Paquetes con precio (vacunas) */
.svc-tier { height: 100%; display: flex; flex-direction: column; background: #fff; border-radius: 22px; overflow: hidden; border: 1px solid #eef0f3; box-shadow: 0 4px 20px rgba(0, 0, 0, .06); }
.svc-tier-head { background: var(--svc-dark, #06324D); color: #fff; padding: 1rem 1.3rem; font-weight: 700; font-size: 1.1rem; }
.svc-tier-head i { color: var(--svc-light, #9BDCFF); margin-right: .4rem; }
.svc-tier .svc-checks { padding: 1.1rem 1.3rem; flex: 1; }
.svc-tier-price { margin: 0 1.3rem 1.3rem; text-align: center; padding: .6rem; border-radius: 14px; font-size: 1.8rem; font-weight: 800; background: linear-gradient(135deg, var(--svc-light, #9BDCFF), var(--svc-main, #5EBCF2)); color: var(--svc-dark, #06324D); }

/* Tarjetas de precio (cremación) */
.svc-pcards { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.2rem; max-width: 1110px; margin: 0 auto; }
.svc-pcard {
    flex: 1 1 170px; max-width: 205px;
    display: flex; flex-direction: column; align-items: center; text-align: center;
    background: #fff; border: 1px solid #eef0f3; border-top: 5px solid var(--svc-main, #5EBCF2);
    border-radius: 22px; padding: 1.4rem 1rem 1.2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, .06);
    transition: transform .25s ease, box-shadow .25s ease;
}
.svc-pcard:hover { transform: translateY(-6px); box-shadow: 0 14px 32px var(--svc-shadow, rgba(94, 188, 242, .35)); }
.svc-pcard-ico {
    width: 72px; height: 72px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background: var(--svc-soft, #e8f7ff); color: var(--svc-deep, #2F97D6);
    margin-bottom: .9rem;
}
.svc-pcard-name { font-size: 1.15rem; font-weight: 800; color: #333; line-height: 1.2; }
.svc-pcard-sub { margin-top: .4rem; font-size: .8rem; font-weight: 700; color: var(--svc-dark, #06324D); background: var(--svc-soft, #e8f7ff); padding: .2rem .7rem; border-radius: 50px; }
.svc-pcard-price {
    margin: 1rem 0; width: 100%; padding: .55rem .4rem; border-radius: 14px;
    font-size: 1.7rem; font-weight: 800; line-height: 1.1;
    background: linear-gradient(135deg, var(--svc-light, #9BDCFF), var(--svc-main, #5EBCF2));
    color: var(--svc-dark, #06324D);
}
.svc-pcard-buy { margin-top: auto; width: 100%; }
.svc-pcard-buy .svc-buy { width: 100%; padding: .6rem .8rem; }
@media (max-width: 575px) { .svc-pcard { flex: 0 0 calc(50% - .6rem); max-width: none; } .svc-pcard-price { font-size: 1.45rem; } }

/* Tabla de precios */
.svc-table { max-width: 720px; margin: 0 auto; background: #fff; border-radius: 20px; border: 1px solid #eef0f3; box-shadow: 0 4px 20px rgba(0, 0, 0, .06); overflow: hidden; }
.svc-row { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1rem 1.4rem; }
.svc-row + .svc-row { border-top: 1px solid #f0f2f4; }
.svc-row > div { color: #444; font-weight: 600; }
.svc-row > div i { color: var(--svc-deep, #2F97D6); width: 1.4rem; }
.svc-row small { display: block; font-weight: 400; color: #888; font-size: .85rem; }
.svc-row b { font-size: 1.3rem; font-weight: 800; color: var(--svc-dark, #06324D); white-space: nowrap; }
.svc-note { max-width: 720px; margin: 1rem auto 0; text-align: center; color: #666; font-size: .92rem; }
.svc-note i { color: var(--svc-deep, #2F97D6); }

/* Lista numerada (servicios incluidos) */
.svc-numlist { list-style: none; counter-reset: n; padding: 0; margin: 0 auto; max-width: 980px; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: .7rem 1.2rem; }
.svc-numlist li { counter-increment: n; display: flex; align-items: center; gap: .8rem; background: #fff; border: 1px solid #eef0f3; border-radius: 14px; padding: .7rem 1rem; color: #444; line-height: 1.35; }
.svc-numlist li::before { content: counter(n); flex: 0 0 auto; width: 2rem; height: 2rem; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: .85rem; background: linear-gradient(135deg, var(--svc-light, #9BDCFF), var(--svc-main, #5EBCF2)); color: var(--svc-dark, #06324D); }

/* Formas de pago */
.svc-pay { display: flex; flex-wrap: wrap; justify-content: center; gap: .7rem; }
.svc-pay span { display: inline-flex; align-items: center; gap: .55rem; background: #fff; border: 1px solid #eef0f3; border-radius: 50px; padding: .6rem 1.2rem; font-weight: 600; color: #444; box-shadow: 0 2px 10px rgba(0, 0, 0, .05); }
.svc-pay i { color: var(--svc-deep, #2F97D6); }

/* Botón «Agregar al carrito» */
.svc-buy {
    display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
    border: 0; cursor: pointer; font-weight: 800; font-size: .95rem;
    padding: .7rem 1.3rem; border-radius: 50px;
    background: var(--svc-dark, #06324D); color: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .2);
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.svc-buy:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(0, 0, 0, .25); }
.svc-buy span, .svc-promo-extra .svc-buy span { color: inherit; font-size: inherit; }
.svc-buy:disabled { opacity: .6; cursor: wait; }
.svc-buy.done { background: #1b9e5a; }
.svc-buy-sm { padding: .45rem .95rem; font-size: .85rem; white-space: nowrap; }
.svc-buy-white { background: #fff; color: var(--svc-dark, #06324D); }
.svc-buy-white.done { background: #1b9e5a; color: #fff; }
.svc-tier-buy { padding: 0 1.3rem 1.3rem; }
.svc-tier-buy .svc-buy { width: 100%; }
.svc-tier-price { margin-bottom: .9rem; }
.svc-row-end { display: flex; align-items: center; gap: 1rem; }
.svc-promo-buy { margin-top: 1.1rem; display: flex; flex-direction: column; gap: .4rem; align-items: flex-start; }
.svc-promo-buy small { font-size: .82rem; opacity: .85; }
@media (max-width: 991px) { .svc-promo-buy { align-items: center; } }
@media (max-width: 575px) {
    .svc-row { flex-wrap: wrap; }
    .svc-row-end { width: 100%; justify-content: space-between; }
}

/* Ubicaciones */
.svc-loc .hrs { margin-top: .7rem; font-weight: 600; color: #444; }
.svc-loc .hrs i { color: var(--svc-deep, #2F97D6); }
.svc-loc a { color: #333; text-decoration: none; }
.svc-loc a:hover { color: var(--svc-deep, #2F97D6); }

@media (max-width: 767px) {
    .svc-promo { padding: 1.8rem 1.2rem; }
    .svc-row { padding: .9rem 1rem; }
    .svc-hero { padding: 6.5rem 0 2.5rem; text-align: center; }
    .svc-lead { margin-left: auto; margin-right: auto; }
    .svc-actions { justify-content: center; }
    .svc-hero-icon { width: 150px; height: 150px; font-size: 3.8rem; margin-top: 1.5rem; }
}
@media (prefers-reduced-motion: reduce) {
    .hero-buttons .btn-hero, .svc-btn, .svc-card { transition: none; }
    .hero-buttons .btn-hero-clinic, .hero-buttons .btn-hero-grooming, .hero-buttons .btn-hero-cremacion { animation: none; }
}
