/* FrioMex – estilos del sitio (sin build: se edita y sube directo) */
:root {
    --fm-primary: #0a6ebd;
    --fm-primary-dark: #07508a;
    --fm-accent: #22c1e6;
    --fm-ice: #eef7fd;
    --fm-dark: #0b2540;
    --fm-wa: #25d366;
    --fm-wa-dark: #1da851;

    --bs-primary: var(--fm-primary);
    --bs-primary-rgb: 10, 110, 189;
    --bs-link-color: var(--fm-primary);
    --bs-link-color-rgb: 10, 110, 189;
    --bs-link-hover-color: var(--fm-primary-dark);
    --bs-link-hover-color-rgb: 7, 80, 138;
    --bs-body-font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --bs-body-color: #1d2b3a;
}

.btn-primary {
    --bs-btn-bg: var(--fm-primary);
    --bs-btn-border-color: var(--fm-primary);
    --bs-btn-hover-bg: var(--fm-primary-dark);
    --bs-btn-hover-border-color: var(--fm-primary-dark);
    --bs-btn-active-bg: var(--fm-primary-dark);
}

.btn-outline-primary {
    --bs-btn-color: var(--fm-primary);
    --bs-btn-border-color: var(--fm-primary);
    --bs-btn-hover-bg: var(--fm-primary);
    --bs-btn-hover-border-color: var(--fm-primary);
    --bs-btn-active-bg: var(--fm-primary-dark);
}

.btn-whatsapp {
    --bs-btn-color: #fff;
    --bs-btn-bg: var(--fm-wa);
    --bs-btn-border-color: var(--fm-wa);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: var(--fm-wa-dark);
    --bs-btn-hover-border-color: var(--fm-wa-dark);
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: var(--fm-wa-dark);
    font-weight: 600;
}

/* Marca */
.fm-brand {
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--fm-dark);
    letter-spacing: -.5px;
}
.fm-brand i { color: var(--fm-accent); }
.fm-brand span { color: var(--fm-primary); }
.fm-brand-light { color: #fff; }
.fm-brand-light span { color: var(--fm-accent); }

.navbar .nav-link { font-weight: 500; color: var(--fm-dark); }
.navbar .nav-link.active, .navbar .nav-link:hover { color: var(--fm-primary); }

/* Hero */
.fm-hero {
    background:
        radial-gradient(circle at 85% 20%, rgba(34, 193, 230, .35), transparent 45%),
        linear-gradient(135deg, var(--fm-primary-dark) 0%, var(--fm-primary) 55%, #1593d6 100%);
}
.fm-pill { background: rgba(255, 255, 255, .15); font-weight: 500; padding: .5em 1em; }
.fm-hero-checks i { color: var(--fm-accent); }
.fm-hero-checks li { margin-right: 1rem; }
.fm-hero-img { max-height: 360px; filter: drop-shadow(0 20px 30px rgba(0, 0, 0, .25)); }

/* Secciones */
.fm-section-alt { background: var(--fm-ice); }

.fm-page-header {
    background: linear-gradient(135deg, var(--fm-ice) 0%, #dff0fb 100%);
    border-bottom: 1px solid #d6e9f7;
}
.fm-page-header .breadcrumb { font-size: .875rem; }

.fm-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: var(--fm-primary);
    background: linear-gradient(135deg, #e3f3fd, #cfeafa);
}
.fm-icon-lg { width: 80px; height: 80px; font-size: 2.4rem; border-radius: 22px; }
.fm-icon-wa { color: #fff; background: var(--fm-wa); }

/* Tarjetas */
.fm-card {
    border: 1px solid #e3edf5;
    border-radius: 1rem;
    overflow: hidden;
    transition: transform .2s ease, box-shadow .2s ease;
}
.fm-card:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(10, 110, 189, .12); }

.fm-product-img {
    position: relative;
    background: linear-gradient(180deg, #f4faff, #e6f2fb);
    aspect-ratio: 4 / 3;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}
.fm-product-img img { max-height: 100%; object-fit: contain; }
.fm-product-img-lg { padding: 3rem; }
.fm-badge { position: absolute; top: .75rem; left: .75rem; }

.fm-price { font-weight: 700; font-size: 1.25rem; color: var(--fm-dark); }
.fm-price small { font-size: .65em; font-weight: 500; color: #6c7a89; }
.fm-price-quote { color: var(--fm-primary); font-size: 1.05rem; }

.fm-testimonial { background: var(--fm-ice); }
.fm-testimonial blockquote { font-size: 1.05rem; }
.fm-stat { background: var(--fm-ice); }
.fm-map-placeholder { background: var(--fm-ice); border: 2px dashed #c4def1; }

/* CTA */
.fm-cta { background: linear-gradient(135deg, var(--fm-dark) 0%, var(--fm-primary-dark) 100%); }

/* Footer */
.fm-footer { background: var(--fm-dark); }
.fm-footer a { color: rgba(255, 255, 255, .75); text-decoration: none; }
.fm-footer a:hover { color: #fff; }
.fm-footer-links li { margin-bottom: .4rem; }

/* Botón flotante WhatsApp */
.fm-wa-float {
    position: fixed;
    right: 1.25rem;
    bottom: 1.25rem;
    z-index: 1050;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--fm-wa);
    color: #fff;
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(0, 0, 0, .25);
    transition: transform .2s ease;
}
.fm-wa-float:hover { color: #fff; transform: scale(1.08); background: var(--fm-wa-dark); }
.fm-wa-float::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid var(--fm-wa);
    animation: fm-pulse 2s infinite;
}
@keyframes fm-pulse {
    0% { transform: scale(1); opacity: .8; }
    100% { transform: scale(1.5); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
    .fm-wa-float::after { animation: none; }
    .fm-card, .fm-card:hover { transition: none; transform: none; }
}
