/*!
 * Breofrigo — rediseño web pública 2026
 * Capa de diseño propia, cargada DESPUÉS de styles.css (Bootstrap + tema antiguo).
 * Mobile-first. Solo estiliza clases bf-* y elementos globales (tipografía).
 */

:root {
    --bf-navy: #212a6f;
    --bf-navy-deep: #171e52;
    --bf-navy-soft: #2d3a8c;
    --bf-blue: #0a49af;
    --bf-yellow: #f8d832;
    --bf-yellow-dark: #e3c31a;
    --bf-ink: #23262f;
    --bf-gray: #5c6270;
    --bf-text-blue: #313560;      /* subtítulo del hero (azulado, como la muestra) */
    --bf-text-blue-soft: #474b6c; /* descripción de producto (azul pizarra) */
    --bf-line: #e7e9f2;
    --bf-bg: #ffffff;
    --bf-bg-soft: #f6f8fc;
    --bf-radius: 14px;
    --bf-shadow: 0 10px 30px rgba(23, 30, 82, 0.10);
    --bf-shadow-sm: 0 4px 14px rgba(23, 30, 82, 0.08);
    --bf-font: 'Nunito', 'Segoe UI', -apple-system, sans-serif;
}

/* ---------------------------------------------------------------
   Tipografía global (coherencia en toda la web, incluida reserva)
--------------------------------------------------------------- */
body {
    font-family: var(--bf-font);
    color: var(--bf-ink);
    background: var(--bf-bg);
}

/* El tema antiguo compensaba el navbar fijo; el header nuevo es sticky (en flujo) */
main {
    padding-top: 0;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: var(--bf-font);
    font-weight: 800;
}

a {
    color: var(--bf-blue);
}

a:hover {
    color: var(--bf-navy);
}

::selection {
    background: var(--bf-yellow);
    color: var(--bf-navy);
}

/* ---------------------------------------------------------------
   Header
--------------------------------------------------------------- */
.bf-header {
    position: sticky;
    top: 0;
    z-index: 1030;
    background: #fff;
    box-shadow: 0 1px 0 var(--bf-line);
}

.bf-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 72px;
    padding-top: .5rem;
    padding-bottom: .5rem;
}

.bf-brand {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    text-decoration: none;
    line-height: 1;
}

.bf-brand img {
    height: 34px;
    width: auto;
}

.bf-brand-tagline {
    margin-top: .3rem;
    font-size: .55rem;
    font-weight: 800;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--bf-navy);
    border-top: 2px solid var(--bf-navy);
    padding-top: .18rem;
}

.bf-nav-toggle {
    border: 2px solid var(--bf-navy);
    background: #fff;
    color: var(--bf-navy);
    border-radius: 10px;
    padding: .35rem .6rem;
    font-size: 1.15rem;
    line-height: 1;
}

.bf-nav-toggle:focus {
    outline: 3px solid var(--bf-yellow);
    outline-offset: 1px;
}

.bf-header-menu {
    flex-basis: 100%;
}

.bf-header-menu .bf-lang {
    padding-bottom: .9rem;
}

@media (min-width: 992px) {
    .bf-header-menu .bf-lang {
        padding-bottom: 0;
    }
}

.bf-nav {
    display: flex;
    flex-direction: column;
    gap: .25rem;
    list-style: none;
    margin: 0;
    padding: .75rem 0;
}

.bf-nav a {
    display: block;
    padding: .6rem .75rem;
    border-radius: 10px;
    color: var(--bf-navy);
    font-weight: 700;
    text-decoration: none;
    transition: background .15s ease, color .15s ease;
}

.bf-nav a:hover,
.bf-nav a:focus {
    background: var(--bf-bg-soft);
    color: var(--bf-blue);
}

/* Selector de idioma: pastilla azul marino */
.bf-lang .btn {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: var(--bf-navy);
    border: none;
    color: #fff;
    font-family: var(--bf-font);
    font-weight: 700;
    font-size: .9rem;
    border-radius: 10px;
    padding: .5rem .9rem;
}

.bf-lang .btn:hover,
.bf-lang .btn:focus {
    background: var(--bf-navy-soft);
    color: #fff;
}

.bf-lang .dropdown-menu {
    border: 1px solid var(--bf-line);
    border-radius: 12px;
    box-shadow: var(--bf-shadow-sm);
    overflow: hidden;
}

.bf-lang .dropdown-item {
    font-weight: 600;
    color: var(--bf-navy);
    padding: .55rem 1rem;
}

.bf-lang .dropdown-item:hover {
    background: var(--bf-bg-soft);
}

/* Escritorio: menú en línea */
@media (min-width: 992px) {
    .bf-nav-toggle {
        display: none;
    }

    .bf-header-menu {
        display: flex !important;
        align-items: center;
        gap: .5rem;
        flex-basis: auto !important;
    }

    .bf-nav {
        flex-direction: row;
        gap: .25rem;
        padding: 0;
        margin-right: 1rem;
    }

    .bf-nav a {
        position: relative;
        padding: .5rem .85rem;
    }

    .bf-nav a::after {
        content: '';
        position: absolute;
        left: .85rem;
        right: .85rem;
        bottom: .2rem;
        height: 3px;
        border-radius: 3px;
        background: var(--bf-yellow);
        transform: scaleX(0);
        transform-origin: left;
        transition: transform .2s ease;
    }

    .bf-nav a:hover {
        background: transparent;
    }

    .bf-nav a:hover::after {
        transform: scaleX(1);
    }
}

/* ---------------------------------------------------------------
   Hero
--------------------------------------------------------------- */
.bf-hero {
    position: relative;
    background: var(--bf-bg-soft);
    overflow: hidden;
}

.bf-hero-bg {
    position: absolute;
    inset: 0;
    background-image: var(--bf-hero-image);
    background-size: cover;
    /* Anclado a la derecha: en móvil deja visibles las neveras (están a la derecha de la foto) */
    background-position: right center;
}

.bf-hero-bg::after {
    /* Velo para legibilidad del texto: vertical en móvil */
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
        rgba(255, 255, 255, 0.92) 0%,
        rgba(255, 255, 255, 0.82) 42%,
        rgba(255, 255, 255, 0.30) 78%,
        rgba(255, 255, 255, 0.05) 100%);
}

.bf-hero .container {
    position: relative;
    padding-top: 3.5rem;
    padding-bottom: 16rem; /* deja ver la foto bajo el texto en móvil */
}

.bf-hero h1 {
    color: var(--bf-navy);
    font-weight: 900;
    font-size: clamp(2rem, 5.5vw + .5rem, 3.4rem);
    line-height: 1.15;
    letter-spacing: -.01em;
    margin-bottom: 1.1rem;
    max-width: 21ch;
}

.bf-hero-bar {
    width: 56px;
    height: 6px;
    border-radius: 4px;
    background: var(--bf-yellow);
    margin-bottom: 1.4rem;
}

.bf-hero-lead {
    color: var(--bf-text-blue);
    font-size: 1.1rem;
    font-weight: 500;
    max-width: 34ch;
    margin-bottom: 1.8rem;
}

.bf-hero-lead strong {
    color: var(--bf-navy);
    font-weight: 800;
}

.bf-btn-cta {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    background: var(--bf-yellow);
    color: var(--bf-navy);
    font-weight: 800;
    font-size: 1.05rem;
    border: none;
    border-radius: 12px;
    padding: .85rem 1.6rem;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(248, 216, 50, 0.45);
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}

.bf-btn-cta:hover,
.bf-btn-cta:focus {
    background: var(--bf-yellow-dark);
    color: var(--bf-navy);
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(248, 216, 50, 0.55);
}

@media (min-width: 768px) {
    .bf-hero-bg {
        background-position: center;
    }

    .bf-hero-bg::after {
        /* Velo lateral en escritorio, como la referencia */
        background: linear-gradient(90deg,
            rgba(255, 255, 255, 0.94) 0%,
            rgba(255, 255, 255, 0.82) 30%,
            rgba(255, 255, 255, 0.25) 55%,
            rgba(255, 255, 255, 0) 72%);
    }

    .bf-hero .container {
        padding-top: 6rem;
        padding-bottom: 6rem;
        min-height: 480px;
    }
}

@media (min-width: 1200px) {
    .bf-hero .container {
        min-height: 540px;
    }
}

/* Animación de entrada del hero */
@media (prefers-reduced-motion: no-preference) {
    .bf-hero h1,
    .bf-hero-bar,
    .bf-hero-lead,
    .bf-hero .bf-btn-cta {
        opacity: 0;
        transform: translateY(14px);
        animation: bf-rise .6s cubic-bezier(.22, .8, .36, 1) forwards;
    }

    .bf-hero-bar { animation-delay: .12s; }
    .bf-hero-lead { animation-delay: .22s; }
    .bf-hero .bf-btn-cta { animation-delay: .34s; }
}

@keyframes bf-rise {
    to {
        opacity: 1;
        transform: none;
    }
}

/* ---------------------------------------------------------------
   Franja de ventajas
--------------------------------------------------------------- */
.bf-features {
    background: linear-gradient(180deg, var(--bf-navy) 0%, var(--bf-navy-deep) 100%);
    color: #fff;
    padding: 2.25rem 0;
}

.bf-features .row {
    row-gap: 1.75rem;
}

.bf-feature {
    display: flex;
    align-items: flex-start;
    gap: .9rem;
}

.bf-feature i {
    font-size: 1.9rem;
    line-height: 1;
    color: #fff;
    flex-shrink: 0;
    margin-top: .15rem;
}

.bf-feature h3 {
    font-size: 1rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: .2rem;
}

.bf-feature p {
    font-size: .875rem;
    color: rgba(255, 255, 255, 0.78);
    margin: 0;
}

@media (min-width: 992px) {
    .bf-features .col-lg-3 + .col-lg-3 {
        border-left: 1px solid rgba(255, 255, 255, 0.18);
    }

    .bf-features .col-lg-3 {
        padding-left: 2rem;
    }
}

/* ---------------------------------------------------------------
   Secciones genéricas
--------------------------------------------------------------- */
.bf-section {
    padding: 4rem 0;
}

.bf-eyebrow {
    display: block;
    text-align: center;
    font-size: .8rem;
    font-weight: 800;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--bf-navy);
    opacity: .75;
    margin-bottom: .5rem;
}

.bf-section-title {
    text-align: center;
    color: var(--bf-navy);
    font-weight: 800;
    font-size: clamp(1.5rem, 3vw + .5rem, 2.1rem);
    margin-bottom: 2.5rem;
}

/* ---------------------------------------------------------------
   Productos
--------------------------------------------------------------- */
.bf-product {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1.5rem 1rem;
    height: 100%;
    border-radius: var(--bf-radius);
    text-decoration: none;
    transition: transform .18s ease, box-shadow .18s ease;
}

.bf-product:hover,
.bf-product:focus {
    transform: translateY(-4px);
    box-shadow: var(--bf-shadow);
}

.bf-product img {
    width: 118px;
    height: 118px;
    object-fit: contain;
    flex-shrink: 0;
}

.bf-product h3 {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--bf-navy);
    margin-bottom: .35rem;
}

.bf-product p {
    font-size: .9rem;
    color: var(--bf-text-blue-soft);
    margin: 0;
}

.bf-product .bf-product-cta {
    display: inline-block;
    margin-top: .5rem;
    font-size: .85rem;
    font-weight: 800;
    color: var(--bf-blue);
}

@media (min-width: 992px) {
    .bf-products-grid .col-lg-4 + .col-lg-4 {
        border-left: 1px solid var(--bf-line);
    }
}

.bf-btn-outline {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    border: 2px solid var(--bf-navy);
    color: var(--bf-navy);
    background: transparent;
    font-weight: 800;
    border-radius: 12px;
    padding: .7rem 1.5rem;
    text-decoration: none;
    transition: background .15s ease, color .15s ease, transform .15s ease;
}

.bf-btn-outline:hover,
.bf-btn-outline:focus {
    background: var(--bf-navy);
    color: #fff;
    transform: translateY(-2px);
}

/* ---------------------------------------------------------------
   Condiciones
--------------------------------------------------------------- */
.bf-conditions {
    background: linear-gradient(180deg, var(--bf-navy) 0%, var(--bf-navy-deep) 100%);
    color: #fff;
}

.bf-conditions .bf-eyebrow,
.bf-conditions .bf-section-title {
    color: #fff;
}

.bf-conditions ol {
    list-style: none;
    counter-reset: bf-cond;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 1rem;
}

.bf-conditions li {
    counter-increment: bf-cond;
    position: relative;
    padding: 1rem 1.25rem 1rem 3.6rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 12px;
    font-size: .95rem;
    color: rgba(255, 255, 255, 0.92);
}

.bf-conditions li::before {
    content: counter(bf-cond);
    position: absolute;
    left: 1rem;
    top: 1rem;
    width: 1.9rem;
    height: 1.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bf-yellow);
    color: var(--bf-navy);
    font-weight: 800;
    font-size: .95rem;
    border-radius: 50%;
}

.bf-conditions a.contact-inline-link {
    color: var(--bf-yellow);
    font-weight: 700;
    text-decoration: none;
}

.bf-conditions a.contact-inline-link:hover {
    text-decoration: underline;
    color: var(--bf-yellow);
}

@media (min-width: 992px) {
    .bf-conditions ol {
        grid-template-columns: 1fr 1fr;
    }
}

/* ---------------------------------------------------------------
   Quiénes somos
--------------------------------------------------------------- */
.bf-about {
    background: var(--bf-bg-soft);
}

.bf-about ul {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    max-width: 720px;
    display: grid;
    gap: 1rem;
}

.bf-about li {
    position: relative;
    padding: 1rem 1.25rem 1rem 3.2rem;
    background: #fff;
    border: 1px solid var(--bf-line);
    border-radius: 12px;
    box-shadow: var(--bf-shadow-sm);
    color: var(--bf-ink);
    font-size: .95rem;
}

.bf-about li .bi {
    position: absolute;
    left: 1.1rem;
    top: .95rem;
    color: var(--bf-blue);
    font-size: 1.1rem;
    line-height: 1;
}

/* ---------------------------------------------------------------
   Campings
--------------------------------------------------------------- */
.bf-camping-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #fff;
    border: 1px solid var(--bf-line);
    border-radius: var(--bf-radius);
    overflow: hidden;
    box-shadow: var(--bf-shadow-sm);
    transition: transform .18s ease, box-shadow .18s ease;
}

.bf-camping-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--bf-shadow);
}

.bf-camping-logo {
    height: 130px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bf-bg-soft);
    border-bottom: 1px solid var(--bf-line);
}

.bf-camping-logo img {
    max-height: 100px;
    max-width: 80%;
    object-fit: contain;
}

.bf-camping-logo i {
    font-size: 2.4rem;
    color: var(--bf-navy);
    opacity: .35;
}

.bf-camping-card .card-body {
    padding: 1rem 1.15rem 1.15rem;
    display: flex;
    flex-direction: column;
    gap: .35rem;
}

.bf-camping-card h3 {
    font-size: 1.02rem;
    font-weight: 800;
    color: var(--bf-navy);
    margin: 0;
}

.bf-camping-card a.bf-camping-url {
    font-size: .85rem;
    font-weight: 600;
    color: var(--bf-blue);
    text-decoration: none;
    word-break: break-all;
}

.bf-camping-card a.bf-camping-url:hover {
    text-decoration: underline;
}

/* ---------------------------------------------------------------
   Footer
--------------------------------------------------------------- */
.bf-footer {
    background: linear-gradient(180deg, var(--bf-navy) 0%, var(--bf-navy-deep) 100%);
    color: rgba(255, 255, 255, 0.85);
    padding: 3.5rem 0 2.5rem;
}

.bf-footer h4 {
    color: #fff;
    font-size: .95rem;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
    margin-bottom: 1.1rem;
}

.bf-footer h4::after {
    content: '';
    display: block;
    width: 34px;
    height: 3px;
    border-radius: 3px;
    background: var(--bf-yellow);
    margin-top: .5rem;
}

.bf-footer p {
    font-size: .92rem;
}

.bf-footer .row {
    row-gap: 2.25rem;
}

.bf-footer-contact {
    display: flex;
    flex-direction: column;
    gap: .6rem;
}

.bf-footer-contact a {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    color: #fff;
    font-weight: 700;
    text-decoration: none;
}

.bf-footer-contact a i {
    color: var(--bf-yellow);
    font-size: 1.15rem;
}

.bf-footer-contact a:hover {
    color: var(--bf-yellow);
}

.bf-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: .5rem;
}

.bf-footer-links a {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 600;
    text-decoration: none;
}

.bf-footer-links a:hover {
    color: var(--bf-yellow);
}

.bf-copyright {
    background: var(--bf-navy-deep);
    color: rgba(255, 255, 255, 0.65);
    text-align: center;
    padding: 1rem 0;
    font-size: .85rem;
}

.bf-copyright a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-weight: 600;
}

.bf-copyright a:hover {
    color: var(--bf-yellow);
}
