﻿/* ================================================
   MASCOTAQR — B2B COMPARTIDO
   Estilos compartidos por las 4 páginas B2B:
   Veterinarias, TiendasAnimales, Protectoras, Criadores
   Usa variables de site.css — no las redefine
   Reutiliza: cfq-breadcrumb, cfq-hero__*, mqr-review-card
   ================================================ */

/* ================================================
   HERO B2B
   ================================================ */
.b2b-hero {
    background: var(--gradient-hero);
    padding: 52px 0 68px;
    position: relative;
    overflow: hidden;
}

    .b2b-hero::after {
        content: '';
        position: absolute;
        bottom: -1px;
        left: 0;
        right: 0;
        height: 40px;
        background: var(--bg-cream);
        clip-path: ellipse(55% 100% at 50% 100%);
    }

/* Badges hero */
.b2b-hero__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 28px;
}

.b2b-hero__badge {
    display: inline-block;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.3);
    color: rgba(255,255,255,0.95);
    font-size: 0.82rem;
    font-weight: 600;
    padding: 5px 14px;
    border-radius: 50px;
    backdrop-filter: blur(4px);
}

/* CTAs hero */
.b2b-hero__ctas {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
}

.b2b-hero__btn-wa {
    font-size: 1rem;
    padding: 14px 28px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.b2b-hero__btn-portal {
    font-size: 0.95rem;
    padding: 13px 26px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* Imagen hero */
.b2b-hero__img-wrap {
    position: relative;
    display: inline-block;
    width: 100%;
}

.b2b-hero__img {
    width: 100%;
    max-width: 440px;
    height: auto;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-xl);
    animation: mqrFloat 4s ease-in-out infinite;
}

.b2b-hero__img-badge {
    position: absolute;
    bottom: 20px;
    left: -12px;
    background: #fff;
    border-radius: 50px;
    padding: 10px 20px;
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1.2;
    animation: mqrBadgePop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 0.8s both;
}

    .b2b-hero__img-badge strong {
        font-size: 1.1rem;
        font-weight: 900;
        color: var(--primary);
    }

    .b2b-hero__img-badge span {
        font-size: 0.75rem;
        color: var(--text-muted);
    }

/* ================================================
   PROBLEMA — STATS
   ================================================ */
.b2b-problema {
    padding: 80px 0;
}

.b2b-stat-card {
    background: #fff;
    border-radius: var(--border-radius);
    padding: 36px 24px;
    text-align: center;
    box-shadow: var(--shadow-md);
    border-top: 4px solid var(--primary);
    height: 100%;
    transition: var(--transition);
}

    .b2b-stat-card:hover {
        transform: translateY(-4px);
        box-shadow: var(--shadow-xl);
    }

.b2b-stat-card--orange {
    border-top-color: var(--secondary);
}

.b2b-stat-card__num {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 900;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.b2b-stat-card--orange .b2b-stat-card__num {
    color: var(--secondary);
}

.b2b-stat-card__text {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin: 0;
}

/* Bloque solución */
.b2b-problema__solucion {
    background: var(--bg-dark);
    border-radius: var(--border-radius);
    padding: 24px 28px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    max-width: 820px;
    margin: 0 auto;
}

    .b2b-problema__solucion [data-lucide] {
        color: var(--secondary-light);
        flex-shrink: 0;
        margin-top: 2px;
    }

    .b2b-problema__solucion p {
        font-size: 0.9rem;
        color: rgba(255,255,255,0.85);
        line-height: 1.65;
        margin: 0;
    }

    .b2b-problema__solucion strong {
        color: #fff;
    }

/* ================================================
   CÓMO FUNCIONA B2B
   ================================================ */
.b2b-como-funciona {
    padding: 80px 0;
    background: #fff;
}

.b2b-paso-card {
    background: var(--bg-light);
    border-radius: var(--border-radius);
    padding: 32px 24px;
    height: 100%;
    position: relative;
    border: 1px solid rgba(45,138,78,0.1);
    transition: var(--transition);
    text-align: center;
}

    .b2b-paso-card:hover {
        transform: translateY(-5px);
        box-shadow: var(--shadow-lg);
    }

.b2b-paso-card--accent {
    background: var(--gradient-card);
    border-color: transparent;
}

    .b2b-paso-card--accent .b2b-paso-card__num,
    .b2b-paso-card--accent .b2b-paso-card__title,
    .b2b-paso-card--accent .b2b-paso-card__text {
        color: #fff !important;
    }

.b2b-paso-card__num {
    font-size: 2.8rem;
    font-weight: 900;
    color: rgba(45,138,78,0.12);
    line-height: 1;
    margin-bottom: 14px;
    letter-spacing: -0.04em;
}

.b2b-paso-card--accent .b2b-paso-card__num {
    color: rgba(255,255,255,0.2);
}

.b2b-paso-card__icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.b2b-paso-card__icon--green {
    background: rgba(45,138,78,0.12);
    color: var(--primary);
}

.b2b-paso-card__icon--orange {
    background: #FFF3E8;
    color: var(--secondary);
}

.b2b-paso-card__icon--white {
    background: rgba(255,255,255,0.2);
    color: #fff;
}

.b2b-paso-card__title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.b2b-paso-card__text {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

/* Tag "Tu marca aquí" */
.b2b-paso-card__tag {
    display: inline-block;
    background: var(--secondary);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 3px 10px;
    border-radius: 50px;
    margin-top: 12px;
}

/* ================================================
   PERSONALIZACIÓN
   ================================================ */
.b2b-personalizacion {
    padding: 80px 0;
}

.b2b-custom-card {
    background: #fff;
    border-radius: var(--border-radius);
    padding: 36px 32px;
    height: 100%;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(45,138,78,0.1);
    transition: var(--transition);
    overflow: hidden;
}

    .b2b-custom-card:hover {
        transform: translateY(-4px);
        box-shadow: var(--shadow-xl);
    }

.b2b-custom-card--green {
    background: var(--bg-light);
    border-color: rgba(45,138,78,0.2);
}

.b2b-custom-card__header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 2px solid rgba(45,138,78,0.1);
}

    .b2b-custom-card__header [data-lucide] {
        color: var(--primary);
    }

    .b2b-custom-card__header h3 {
        font-size: 1rem;
        font-weight: 700;
        color: var(--text-dark);
        margin: 0;
    }

.b2b-custom-card__list {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

    .b2b-custom-card__list li {
        display: flex;
        align-items: flex-start;
        gap: 10px;
        font-size: 0.875rem;
        color: var(--text-body);
        line-height: 1.4;
    }

        .b2b-custom-card__list li [data-lucide] {
            color: var(--primary);
            flex-shrink: 0;
            margin-top: 2px;
        }

.b2b-custom-card__img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: var(--border-radius);
    margin-top: 8px;
}

/* ================================================
   RAZONES
   ================================================ */
.b2b-razones {
    padding: 80px 0;
    background: #fff;
}

.b2b-razon-card {
    padding: 28px 24px;
    height: 100%;
}

.b2b-razon-card__icon {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.b2b-razon-card__icon--green {
    background: var(--bg-light);
    color: var(--primary);
}

.b2b-razon-card__icon--orange {
    background: #FFF3E8;
    color: var(--secondary);
}

.b2b-razon-card__title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.b2b-razon-card__text {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

/* ================================================
   PRECIOS — CONTACTO COMERCIAL
   ================================================ */
.b2b-precios {
    padding: 80px 0;
}

.b2b-precios__contacto {
    background: #fff;
    border-radius: var(--border-radius-xl);
    padding: 56px 48px;
    text-align: center;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(45,138,78,0.1);
}

.b2b-precios__contacto-icon {
    width: 72px;
    height: 72px;
    background: var(--bg-light);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    margin: 0 auto 20px;
}

.b2b-precios__contacto-texto {
    font-size: 1rem;
    color: var(--text-body);
    line-height: 1.7;
    max-width: 520px;
    margin: 16px auto 28px;
}

.b2b-precios__contacto-items {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 480px;
    margin: 0 auto 32px;
    text-align: left;
}

.b2b-precios__contacto-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.875rem;
    color: var(--text-body);
    font-weight: 500;
}

    .b2b-precios__contacto-item [data-lucide] {
        color: var(--primary);
        flex-shrink: 0;
    }

.b2b-precios__contacto-ctas {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
}

/* ================================================
   SOCIAL PROOF B2B
   ================================================ */
.b2b-proof {
    padding: 80px 0;
    background: var(--bg-light);
}

.b2b-proof__stats {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin-top: 24px;
}

/* Review card featured */
.b2b-review-card--featured {
    border: 2px solid rgba(45,138,78,0.2);
    background: var(--bg-light);
}

/* ================================================
   CTA FINAL B2B
   ================================================ */
.b2b-cta-final {
    background: var(--gradient-hero);
    padding: 72px 0;
    position: relative;
    overflow: hidden;
}

    .b2b-cta-final::before {
        content: '';
        position: absolute;
        inset: 0;
        background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    }

.b2b-cta-final__inner {
    position: relative;
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
}

.b2b-cta-final__title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 900;
    color: #fff;
    margin-bottom: 12px;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.b2b-cta-final__sub {
    color: rgba(255,255,255,0.78);
    font-size: 1rem;
    margin-bottom: 36px;
    line-height: 1.6;
}

.b2b-cta-final__acciones {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    margin-bottom: 20px;
}

.b2b-cta-final__btn-wa {
    font-size: 1rem;
    padding: 14px 28px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.b2b-cta-final__btn-portal {
    font-size: 0.95rem;
    padding: 13px 26px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.b2b-cta-final__contacto {
    margin-top: 4px;
}

    .b2b-cta-final__contacto a {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        color: rgba(255,255,255,0.6);
        font-size: 0.85rem;
        text-decoration: none;
        transition: var(--transition);
    }

        .b2b-cta-final__contacto a:hover {
            color: rgba(255,255,255,0.9);
        }

/* ================================================
   RESPONSIVE
   ================================================ */
@media (max-width: 991.98px) {
    .b2b-hero {
        padding: 40px 0 60px;
        text-align: center;
    }

    .b2b-hero__ctas {
        justify-content: center;
    }

    .b2b-hero__badges {
        justify-content: center;
    }

    .b2b-hero__img {
        max-width: 340px;
    }

    .b2b-hero__img-badge {
        left: 0;
    }

    .b2b-precios__contacto {
        padding: 40px 28px;
    }

    .b2b-proof__stats {
        gap: 16px;
    }
}

@media (max-width: 767.98px) {
    .b2b-problema {
        padding: 56px 0;
    }

    .b2b-como-funciona {
        padding: 56px 0;
    }

    .b2b-personalizacion {
        padding: 56px 0;
    }

    .b2b-razones {
        padding: 56px 0;
    }

    .b2b-precios {
        padding: 56px 0;
    }

    .b2b-proof {
        padding: 56px 0;
    }

    .b2b-cta-final {
        padding: 56px 0;
    }

    .b2b-custom-card {
        padding: 28px 20px;
    }

    .b2b-cta-final__acciones {
        flex-direction: column;
        align-items: center;
    }

    .b2b-cta-final__btn-wa,
    .b2b-cta-final__btn-portal {
        width: 100%;
        justify-content: center;
    }
}

/* ================================================
   SOCIAL PROOF — REDISEÑADO
   ================================================ */

.b2b-proof {
    padding: 80px 0;
    background: #fff;
}

/* Stat cards */
.b2b-proof__stat-card {
    background: var(--bg-light);
    border-radius: var(--border-radius);
    border: 1px solid rgba(45,138,78,0.12);
    padding: 24px 16px;
    text-align: center;
    transition: var(--transition);
}

    .b2b-proof__stat-card:hover {
        transform: translateY(-3px);
        box-shadow: var(--shadow-md);
        border-color: rgba(45,138,78,0.25);
    }

    .b2b-proof__stat-card strong {
        display: block;
        font-size: clamp(1.6rem, 3vw, 2.2rem);
        font-weight: 900;
        color: var(--primary);
        line-height: 1;
        margin-bottom: 6px;
        letter-spacing: -0.02em;
    }

    .b2b-proof__stat-card span {
        font-size: 0.8rem;
        color: var(--text-muted);
        font-weight: 500;
        line-height: 1.3;
    }

/* Review cards */
.b2b-proof__review {
    background: var(--bg-light);
    border-radius: var(--border-radius);
    padding: 28px 24px;
    height: 100%;
    border: 1px solid rgba(45,138,78,0.1);
    display: flex;
    flex-direction: column;
    gap: 14px;
    transition: var(--transition);
}

    .b2b-proof__review:hover {
        transform: translateY(-4px);
        box-shadow: var(--shadow-lg);
        border-color: rgba(45,138,78,0.2);
    }

.b2b-proof__review--featured {
    background: var(--gradient-card);
    border-color: transparent;
}

    .b2b-proof__review--featured .b2b-proof__review-stars {
        color: var(--secondary-light);
    }

    .b2b-proof__review--featured .b2b-proof__review-text {
        color: rgba(255,255,255,0.9);
    }

    .b2b-proof__review--featured strong {
        color: #fff;
    }

    .b2b-proof__review--featured span {
        color: rgba(255,255,255,0.7);
    }

.b2b-proof__review-stars {
    color: var(--secondary);
    font-size: 1rem;
    letter-spacing: 2px;
}

.b2b-proof__review-text {
    font-size: 0.9rem;
    color: var(--text-body);
    line-height: 1.65;
    margin: 0;
    flex: 1;
    font-style: italic;
}

.b2b-proof__review-author {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: auto;
}

.b2b-proof__review-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--gradient-cta);
    color: #fff;
    font-weight: 800;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.b2b-proof__review-avatar--green {
    background: rgba(255,255,255,0.25);
    border: 2px solid rgba(255,255,255,0.4);
}

.b2b-proof__review-author strong {
    display: block;
    font-size: 0.875rem;
    color: var(--text-dark);
    line-height: 1.2;
    margin-bottom: 2px;
}

.b2b-proof__review-author span {
    font-size: 0.78rem;
    color: var(--text-muted);
}

@media (max-width: 767.98px) {
    .b2b-proof {
        padding: 56px 0;
    }

    .b2b-proof__review--featured {
        min-height: auto;
    }
}