
/* ============================================================
   DESGUACES BONAIRE · FOOTER v2.2

   Referencia estructural: Back Market
   Fondo blanco y diseño minimalista
   Separador visible entre contenido y footer
   Contenedor: 1250px
   Tipografía: Manrope
============================================================ */


/* ============================================================
   01 · VARIABLES Y BASE
============================================================ */

.dbf {
  --dbf-blue: #002F8E;
  --dbf-blue-dark: #001D5C;
  --dbf-yellow: #F9A400;
  --dbf-ink: #172238;
  --dbf-muted: #68758A;
  --dbf-border: #E3E9F1;
  --dbf-white: #FFFFFF;

  display: block;
  width: 100%;
  max-width: none;

  margin: 0;
  padding: 0;

  background: #FFFFFF;
  color: var(--dbf-ink);

  font-family: "Manrope", Inter, Arial, sans-serif;
  font-size: 14px;
  line-height: 1.5;
}

.dbf *,
.dbf *::before,
.dbf *::after {
  box-sizing: border-box;
}

.dbf .dbf__container {
  width: 100%;
  max-width: 1250px;

  margin: 0 auto;
  padding: 0 20px;
}


/* ============================================================
   02 · SEPARADOR SUPERIOR

   Identifica visualmente dónde comienza el footer.
   Banda horizontal gris muy claro de 9px.
============================================================ */

.dbf .dbf__separator {
  display: block;

  width: 100%;

  margin: 0;
  padding: 0;

  background: #F2F5F9;

  border-top: 1px solid #CDD9E7;
}


/* ============================================================
   03 · ESTRUCTURA PRINCIPAL
============================================================ */

.dbf .dbf__grid {
  display: grid;

  grid-template-columns:
    minmax(0, 1.28fr)
    minmax(0, .92fr)
    minmax(0, 1.02fr)
    minmax(0, 1.12fr)
    minmax(0, 1fr);

  align-items: start;

  column-gap: 33px;
  row-gap: 30px;

  padding: 48px 0 43px;
}

.dbf .dbf__column {
  min-width: 0;
}


/* ============================================================
   04 · ENCABEZADOS
============================================================ */

.dbf .dbf__heading {
  margin: 0 0 21px;
  padding: 0;

  color: var(--dbf-ink);
  font-family: inherit;

  font-size: 17px;
  font-weight: 750;
  line-height: 1.4;
  letter-spacing: -.4px;

  text-transform: none;
}

.dbf .dbf__toggle {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;

  width: 100%;

  margin: 0;
  padding: 0;

  background: transparent;
  border: 0;
  border-radius: 0;

  color: var(--dbf-ink);

  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  letter-spacing: inherit;
  text-align: left;
  text-transform: none;

  cursor: default;
  pointer-events: none;
}

.dbf .dbf__toggle svg {
  display: none;

  width: 18px;
  height: 18px;

  flex: none;
}


/* ============================================================
   05 · ENLACES
============================================================ */

.dbf .dbf__links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;

  gap: 12px;
  min-width: 0;
}

.dbf .dbf__links a,
.dbf .dbf__links .dbf__pending {
  display: block;

  width: fit-content;
  max-width: 100%;

  margin: 0;
  padding: 0;

  color: #273247;

  font-family: inherit;
  font-size: 13px;
  font-weight: 450;
  line-height: 1.7;

  text-align: left;
  text-decoration: none !important;
  text-transform: none;

  transition: color .2s ease;
}

/* HOVER ENLACES */

.dbf .dbf__links a:hover {
  color: var(--dbf-blue) !important;

  text-decoration: underline !important;
  text-underline-offset: 4px;
}

/* ENLACES SIN URL CONFIGURADA */

.dbf .dbf__links .dbf__pending {
  color: #7B8597;
  cursor: default;
}


/* ============================================================
   06 · DIRECCIÓN
============================================================ */

.dbf .dbf__address {
  margin: 4px 0 0;
  padding: 0;

  color: #596579;
  font-family: inherit;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.7;
}

.dbf .dbf__address span {
  display: block;
}


/* ============================================================
   07 · VALORACIÓN DE GOOGLE
============================================================ */

.dbf .dbf__reviews {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;

  width: fit-content;
  max-width: 100%;

  gap: 4px;

  margin-top: 10px;
  padding: 10px 13px;

  background: #172238;
  color: #FFFFFF;

  border: 0;
  border-radius: 8px;
}

.dbf .dbf__reviews-top {
  display: flex;
  align-items: center;
  gap: 8px;
}

.dbf .dbf__score {
  color: #FFFFFF;
  font-family: inherit;

  font-size: 16px;
  font-weight: 800;
  line-height: 1.2;
}

/* REPRESENTACIÓN VISUAL DEL 4,7/5 */

.dbf .dbf__stars {
  display: inline-block;

  background: linear-gradient(
    90deg,
    #F9A400 0%,
    #F9A400 94%,
    #68758A 94%,
    #68758A 100%
  );

  color: transparent;

  -webkit-background-clip: text;
  background-clip: text;

  font-family: Arial, sans-serif;
  font-size: 17px;
  font-weight: 900;
  letter-spacing: 1px;
  line-height: 1;

  white-space: nowrap;
}

.dbf .dbf__reviews-caption {
  color: #DCE5F2;

  font-family: inherit;
  font-size: 10px;
  font-weight: 500;
  line-height: 1.4;
}


/* ============================================================
   08 · REDES SOCIALES
============================================================ */

.dbf .dbf__social {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 9px;

  margin-top: 7px;
}

.dbf .dbf__social a {
  display: grid;
  place-items: center;

  width: 34px;
  height: 34px;

  margin: 0;
  padding: 0;

  background: #E9EDF3;
  border-radius: 50%;

  color: #68758A !important;

  transition:
    background .2s ease,
    color .2s ease;
}

.dbf .dbf__social a:hover {
  background: var(--dbf-blue);
  color: #FFFFFF !important;
}

.dbf .dbf__social svg {
  display: block;

  width: 17px;
  height: 17px;
}


/* ============================================================
   09 · MÉTODOS DE PAGO

   SVG originales:
   /img/cms/bonaire/payment/
============================================================ */

.dbf .dbf__payments {
  display: block;

  width: 100%;
  margin-top: 9px;
}

.dbf .dbf__payments-title {
  margin: 0 0 9px;
  padding: 0;

  color: var(--dbf-ink);

  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
}


/* CONTENEDOR DE MÉTODOS */

.dbf .dbf__payment-list {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;

  width: 100%;
  max-width: 225px;

  gap: 5px;
}


/* CAJA DE CADA MÉTODO */

.dbf .dbf__payment {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 49px;
  height: 30px;
  flex: 0 0 49px;

  margin: 0;
  padding: 3px 5px;

  background: #FFFFFF;

  border: 1px solid #DDE3EB;
  border-radius: 4px;

  box-shadow: none;
}


/* LOGOTIPOS SVG */

.dbf .dbf__payment img {
  display: block;

  width: 100%;
  height: 100%;

  max-width: 100%;
  max-height: 100%;

  margin: 0;
  padding: 0;

  object-fit: contain;
  object-position: center;

  border: 0;
}


/* ============================================================
   10 · FRANJA INFERIOR
============================================================ */

.dbf .dbf__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
  padding: 20px 0px;
  border-top: 1px solid #DFE5ED;
}

.dbf .dbf__copyright {
  margin: 0;
  padding: 0;

  color: var(--dbf-ink);

  font-family: inherit;
  font-size: 13px;
  font-weight: 550;
  line-height: 1.6;
}

.dbf .dbf__bottom-right {
  display: flex;
  align-items: center;
  flex-wrap: wrap;

  gap: 20px;

  color: var(--dbf-muted);

  font-size: 12px;
  font-weight: 400;
  line-height: 1.6;
}

.dbf .dbf__bottom-right a {
  color: var(--dbf-ink) !important;

  font-family: inherit;
  font-size: 12px;
  text-decoration: none !important;

  transition: color .2s ease;
}

.dbf .dbf__bottom-right a:hover {
  color: var(--dbf-blue) !important;
  text-decoration: underline !important;
}


/* ============================================================
   11 · TABLET GRANDE
============================================================ */

@media (max-width: 1100px) {

  .dbf .dbf__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));

    column-gap: 32px;
    row-gap: 35px;

    padding: 43px 0 38px;
  }

  .dbf .dbf__heading {
    font-size: 16px;
  }

}


/* ============================================================
   12 · TABLET
============================================================ */

@media (max-width: 850px) {

  .dbf .dbf__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));

    column-gap: 27px;
    row-gap: 32px;
  }

  .dbf .dbf__company {
    grid-column: 1 / -1;
  }

}


/* ============================================================
   13 · MÓVIL
============================================================ */

@media (max-width: 767px) {

  .dbf .dbf__container {
    padding: 0 18px;
  }

  /* SEPARADOR */

  .dbf .dbf__separator {
    height: 7px;
  }

  /* ESTRUCTURA */

  .dbf .dbf__grid {
    display: block;

    padding: 23px 0 19px;
  }

  /* COLUMNAS */

  .dbf .dbf__column {
    border-bottom: 1px solid var(--dbf-border);
  }

  /* TÍTULOS */

  .dbf .dbf__heading {
    margin: 0;
    font-size: 15px;
  }

  /* BOTONES ACORDEÓN */

  .dbf .dbf__toggle {
    display: flex;
    align-items: center;

    min-height: 56px;

    padding: 14px 0;

    font-size: 15px;

    cursor: pointer;
    pointer-events: auto;
  }

  .dbf .dbf__toggle svg {
    display: block;

    width: 18px;
    height: 18px;

    transition: transform .2s ease;
  }

  .dbf .dbf__toggle[aria-expanded="true"] svg {
    transform: rotate(180deg);
  }

  /* ENLACES */

  .dbf .dbf__links {
    gap: 12px;
    padding: 0 0 22px;
  }

  .dbf .dbf__links[hidden] {
    display: none !important;
  }

  .dbf .dbf__links a,
  .dbf .dbf__links .dbf__pending {
    font-size: 13px;
  }

  /* RESEÑAS */

  .dbf .dbf__reviews {
    margin-top: 7px;
  }

  /* MÉTODOS DE PAGO */

  .dbf .dbf__payments {
    margin-top: 10px;
  }

  .dbf .dbf__payment-list {
    max-width: 225px;
    gap: 5px;
  }

  .dbf .dbf__payment {
    width: 49px;
    height: 30px;
    flex-basis: 49px;
  }

  /* FRANJA INFERIOR */

  .dbf .dbf__bottom {
    flex-direction: column;
    align-items: flex-start;

    min-height: 0;
    gap: 12px;

    padding: 24px 0 29px;
  }

  .dbf .dbf__copyright {
    font-size: 12px;
  }

}


/* ============================================================
   14 · MÓVIL PEQUEÑO
============================================================ */

@media (max-width: 390px) {

  .dbf .dbf__container {
    padding: 0 16px;
  }

  .dbf .dbf__bottom-right {
    gap: 10px 15px;
  }

}


/* ============================================================
   15 · ACCESIBILIDAD
============================================================ */

.dbf a:focus-visible,
.dbf button:focus-visible {
  outline: 2px solid var(--dbf-blue);
  outline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {

  .dbf *,
  .dbf *::before,
  .dbf *::after {
    transition: none !important;
    animation: none !important;
  }

}
