@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');
:root {
  --dbi-font-family: "Raleway", sans-serif;
  --dbi-gold: #dfa627;
  --dbi-gold-light: #13426B;
  --dbi-gold-dark: #a86f00;
  --dbi-green: #09b852;
  --dbi-green-dark: #078d40;
  --dbi-black: #050505;
  --dbi-black-soft: #0b0b0b;
  --dbi-panel: rgba(5, 5, 5, 0.96);
  --dbi-white: #ffffff;
  --dbi-muted: #b9b9b9;
  --dbi-border: rgba(223, 166, 39, 0.78);
  --dbi-border-soft: rgba(223, 166, 39, 0.35);
  --desktop-panel-width: 430px;
  --dbi-fondo:rgba(255,255,255,0.9);
  --dbi-btn-m:#757575;
  --dbi-color-titulo:#000;
  --dbi-puesto:#3c3c3b;
  --dbi-color-empresarial:#13426B;
  --dbi-redes:#757574;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--dbi-font-family);
  min-height: 100vh;
  background: var(--dbi-white);
  font-family: Arial, Helvetica, sans-serif;
  overflow-x: hidden;
}

body.menu-open,
body.modal-open {
  overflow: hidden;
}

button,
a {
  font: inherit;
  -webkit-tap-highlight-color: transparent;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

.dbi-huella{
  color: #28a745 !important;
  border: 1px solid #28a745;
  }
  .verde{
	 color: #28a745 !important; 
  }
.dbi-app {
  position: relative;
  min-height: 100vh;
  background: #000;
}

/* Slider */
.dbi-slider {
  position: fixed;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  background: #050505;
  touch-action: pan-y;
}

.dbi-slides {
  width: 100%;
  height: 100%;
  position: relative;
}

.dbi-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transform: scale(1.04);
  transition: opacity 0.8s ease, visibility 0.8s ease, transform 6s ease;
}

.dbi-slide.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

.dbi-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.dbi-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.18) 0%,
    rgba(0, 0, 0, 0.12) 32%,
    rgba(0, 0, 0, 0.55) 68%,
    rgba(0, 0, 0, 0.95) 100%
  );
}

.dbi-banner-content {
  position: absolute;
  bottom: 50%;
  z-index: 3;
  width: calc(100% - 30px);
  max-width: 100%;/*680px;*/
  text-align: center;
  left:15px;
  /*transform: translateX(-50%);*/
}

.dbi-banner-content small {
  display: block;
  margin-bottom: 5px;
  font-size: 20px;
  color:#fff;
}
.tligth{
	font-size: 22px;
	color:#fff;
	font-weight:lighter;
}
.tbold{
	font-size: 22px;
	color:#fff;
	font-weight:bold;
}
.dbi-banner-content strong {
  display: block;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.1;
  color:#fff;
}

.dbi-slider-dots {
  position: absolute;
  top: 18px;
  left: 50%;
  z-index: 5;
  display: flex;
  gap: 7px;
  transform: translateX(-50%);
}

.dbi-slider-dot {
  width: 24px;
  height: 4px;
  border: 0;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.42);
  cursor: pointer;
  transition: 0.3s ease;
}

.dbi-slider-dot.active {
  width: 38px;
  background: var(--dbi-color-empresarial--);
}

/* ==========================================================
   MENÚ COMPACTO
========================================================== */

.dbi-compact-menu {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 900;

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

  padding: 8px 8px calc(9px + env(safe-area-inset-bottom));

  overflow-y: auto;

  background: rgba(0,0,0,.4);

  /*background-image:
    linear-gradient(
      145deg,
      transparent 0 62%,
      rgba(19, 66, 107, .08) 62% 72%,
      transparent 72%
    ),
    linear-gradient(
      215deg,
      rgba(101, 190, 60, .08) 0 18%,
      transparent 18%
    ),
    linear-gradient(
      145deg,
      #f4f7f9 0%,
      #ffffff 50%,
      #edf2f6 100%
    );*/

  border-top: 1px solid rgba(19, 66, 107, .12);

  box-shadow:
    0 -10px 30px rgba(19, 66, 107, .12);

  /*backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);*/
}


/* ==========================================================
   REDES SOCIALES
========================================================== */

.dbi-compact-socials {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 10px;
}

.dbi-compact-socials a {
  width: 31px;
  height: 31px;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 14px;
  text-decoration: none;

  background: #ffffff;

  border: 1px solid rgba(19, 66, 107, .40);

  border-radius: 20%;

  color: #13426B;

  box-shadow:
    0 4px 10px rgba(19, 66, 107, .08);

  transition:
    background .28s ease,
    color .28s ease,
    transform .28s ease,
    box-shadow .28s ease;
}

.dbi-compact-socials a:hover {
  background: #13426B;
  color: #ffffff;

  transform: translateY(-3px);

  box-shadow:
    0 8px 18px rgba(19, 66, 107, .25);
}


/* ==========================================================
   ACCIONES SUPERIORES
========================================================== */

.dbi-compact-actions {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 6px;
  margin-bottom: 6px;
}


/* ==========================================================
   BOTONES DE CONTACTO
========================================================== */

.dbi-compact-contact {
  grid-column: span 2;

  min-height: 37px;
  padding: 6px;

  display: flex;
  align-items: center;
  justify-content: center;

  gap: 6px;

  color: #13426B;

  font-size: 14px;

  text-decoration: none;
  white-space: nowrap;

  background: rgba(255, 255, 255, .88);

  border: 1px solid rgba(19, 66, 107, .32);

  border-radius: 5px;

  box-shadow:
    0 4px 12px rgba(19, 66, 107, .06);
}

.dbi-compact-contact i {
  font-size: 14px;
  color: #13426B;
  font-weight: 700;
}

.dbi-compact-contact.wide {
  grid-column: span 3;
}


/* ==========================================================
   WHATSAPP
========================================================== */

.dbi-compact-contact.whatsapp {
  background: linear-gradient(
    135deg,
    var(--dbi-green),
    var(--dbi-green-dark)
  );

  border-color: #22cf6c;

  color: #ffffff;

  box-shadow:
    0 6px 15px rgba(34, 207, 108, .20);
	transition:
        transform .28s cubic-bezier(.2,.8,.2,1),
        box-shadow .28s ease,
        border-color .28s ease,
        background .28s ease,
        color .28s ease;
}

.dbi-compact-contact.whatsapp i{
  color: #ffffff;
}
.dbi-compact-contact.whatsapp:hover {
	transform:
        translateY(-6px)
        scale(1.04);

    /* Azul corporativo */
   background: linear-gradient(
    135deg,
    #25D366 0%,
    #1EBE5A 55%,
    #128C4A 100%
);

border-color: #25D366;

box-shadow:
    0 0 20px rgba(37, 211, 102, .40),
    0 16px 35px rgba(18, 140, 74, .38);

    /* Tipografía blanca */
    color: #fff;
}




/* ==========================================================
   HOVER GENERAL
========================================================== */


/* ==========================================================
   LLAMAR
========================================================== */

.dbi-compact-contact.call {
  background: linear-gradient(
    135deg,
    #1b6099,
    #13426B
  );

  border: 1px solid #13426B;

  color: #ffffff !important;

  box-shadow:
    0 6px 15px rgba(19, 66, 107, .24);
}

.dbi-compact-contact.call i {
  color: #ffffff !important;
}


/* ==========================================================
   GUARDAR
========================================================== */

.dbi-compact-contact.border {
  background:#fff;

  border: 1px solid #13426b !important;

  color: #13426b;

  box-shadow:
    0 6px 15px rgba(19, 66, 107, .20);
}

.dbi-compact-contact.border i {
  color: #13426b !important;
}


/* ==========================================================
   QR + COMPARTIR
========================================================== */

.color-degradado {
  background: #D2DCE4 !important;

  color: #000;

  font-size: 14px;

  border: 1px solid rgba(19, 66, 107, .38) !important;

  box-shadow:
    0 4px 12px rgba(19, 66, 107, .05);
}

.color-degradado i {
  color: #13426B !important;
}


/* ==========================================================
   GRID INFERIOR
========================================================== */

.dbi-compact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 5px;
}


/* ==========================================================
   ITEMS DEL MENÚ
========================================================== */

.dbi-compact-item {
  min-width: 0;
  min-height: 72px;

  padding: 7px 2px;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  gap: 7px;

  color: #13426B;

  font-size: 14px;

  text-align: center;
  text-decoration: none;

  background: rgba(255, 255, 255, 1);

  border: 1px solid #13426b;

  border-radius: 5px;

  cursor: pointer;

  box-shadow:
    0 5px 14px rgba(19, 66, 107, .06);
}

.dbi-compact-item i {
  color: #13426B;

  font-size: 21px;
  font-weight: 700;
}

.dbi-compact-item span {
  width: 100%;

  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;

  color: #13426B;
}


/* MÁS */

.dbi-compact-item.more {
  border-color: #13426b;
}


/* ==========================================================
   HOVER ITEMS BLANCOS
========================================================== */

.dbi-compact-item:hover,
.color-degradado:hover {

  background: linear-gradient(
    135deg,
    #1b6099,
    #13426B
  ) !important;

  border-color: #13426B;

  color: #ffffff;

  box-shadow:
    0 0 18px rgba(19, 66, 107, .20),
    0 12px 28px rgba(19, 66, 107, .20);
}

.dbi-compact-item:hover i,
.dbi-compact-item:hover span,
.color-degradado:hover i,
.color-degradado:hover span {

  color: #ffffff !important;
}


/* ==========================================================
   UTILIDAD
========================================================== */

.blanco {
  color: #ffffff !important;
}
/* Menú completo */
.dbi-full-menu {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  padding:
    calc(20px + env(safe-area-inset-top))
    18px
    calc(25px + env(safe-area-inset-bottom));
  overflow-y: auto;
  background:
    radial-gradient(circle at 50% 10%, rgba(223, 166, 39, 0.07), transparent 30%),
    #030404;
  transform: translateY(105%);
  visibility: hidden;
  transition:
    transform 0.45s cubic-bezier(.22, .82, .22, 1),
    visibility 0.45s;
}

.dbi-full-menu.open {
  transform: translateY(0);
  visibility: visible;
  padding-top:94px;
}

.dbi-menu-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.dbi-menu-control {
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dbi-gold-light);
  font-size: 20px;
  background: transparent;
  border: 1px solid var(--dbi-color-empresarial);
  border-radius: 50%;
  cursor: pointer;
  font-weight:800;
}

.dbi-profile {
  text-align: center;
  padding-top: 4px;
}

.dbi-profile-picture {
  width: 170px;
  height: 170px;
  margin: 0 auto 13px;
  object-fit: cover;
  border: 4px solid var(--dbi-gold-light);
  border-radius: 50%;
  box-shadow:
    0 0 0 4px rgba(223, 166, 39, 0.12),
    0 12px 35px rgba(0, 0, 0, 0.5);
	padding:1px;
}

.dbi-profile h1 {
  margin-bottom: 5px;
  font-size: 17px;
  line-height: 1.1;
  color:var(--dbi-color-titulo);
  padding-top:10px;
  font-weight:600;
}

.dbi-profile p {
  font-size: 18px;
  color: #eee;
}

.dbi-profile-company {
  margin-top: 8px;
  color: var(--dbi-gold-light);
  font-size: 15px;
  font-weight: 600;
  letter-spacing:1px;
}

.dbi-full-socials {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin: 20px 0;
}

.dbi-full-socials a {
  width: 31px;
  height: 31px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dbi-redes);
  font-size: 13px;
  text-decoration: none;
  background: #fff;
  border: 1px solid var(--dbi-redes);
  border-radius: 9px;
  transition: 0.25s ease;
}

.dbi-full-socials a:hover {
  color: #fff;
  background: var(--dbi-gold-light);
  transform: translateY(-3px);
  border:1px solid var(--dbi-color-empresarial) !important;
}

.dbi-full-primary {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
  width: 100%;
  max-width: 720px;
  margin: 0 auto 12px;
}

.dbi-primary-btn {
  grid-column: span 2;
  min-height: 40px;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #fff;
  font-size: 14px;
  text-decoration: none;
  background: rgba(5, 5, 5, 0.94);
  border-radius: 10px;
  cursor: pointer;
}
.dbi-primary-btn-llamar {
  grid-column: span 2;
  min-height: 40px;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #13426b;
  font-size: 13px;
  text-decoration: none;
  background: #fff;
  border-radius: 10px;
  cursor: pointer;
  border:1px solid var(--dbi-color-empresarial);
}
.btn-3 {
  color: #000 !important;
 background: rgba(19, 66, 107, .1) !important;
  border:1px solid var(--dbi-color-empresarial) !important;
}

.dbi-primary-btn i {
  color: var(--dbi-gold-light);
  font-size: 14px;
}

.dbi-primary-btn.whatsapp {
  background: linear-gradient(135deg, #08c55b, #078d40);
  border: 1px solid #078d40;
}

.dbi-primary-btn.whatsapp i,
.dbi-primary-btn.call i {
  color: #fff;
}

.dbi-primary-btn.call {
background: linear-gradient(135deg, #1b6099, #0d304f);
  border: 1px solid #13426B;
}

.dbi-primary-btn.wide {
  grid-column: span 3;
}

.dbi-full-grid {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.dbi-full-item {
  min-width: 0;
  min-height: 72px;
  padding: 7px 2px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0px;
  color: #757575;
  font-size: 14px;
  text-align: center;
  text-decoration: none;
  background: #fff;
  border:none;
  border-radius: 10px;
  cursor: pointer;
  transition: 0.25s ease;
}

.dbi-full-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(117, 117, 117, 0.15);
}

.dbi-full-item i {
  color: var(--dbi-color-empresarial);
  font-size: 20px;
  line-height:1.2;
}

.dbi-full-footer {
  padding: 32px 0 15px;
  text-align: center;
}

.dbi-views {
  margin-bottom: 15px;
  font-size: 17px;
  text-align: center;
  margin-top: 15px;

}

.dbi-views strong {
  margin-left: 6px;
  color: var(--dbi-color-empresarial);
}

.dbi-powered {
  color: #d7d7d7;
  font-size: 16px;
}

.dbi-powered strong {
  color: var(--dbi-color-empresarial);
  font-size: 12px;
  letter-spacing: 0px;
}

/* Modales */
.dbi-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding:
    calc(20px + env(safe-area-inset-top))
    18px
    calc(20px + env(safe-area-inset-bottom));
  background: rgba(0, 0, 0, 0.82);
  opacity: 0;
  visibility: hidden;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.dbi-modal.open {
  opacity: 1;
  visibility: visible;
}

.dbi-modal-card {
  position: relative;
  width: min(100%, 560px);
  max-height: 88vh;
  padding: 25px;
  overflow-y: auto;
  color: #fff;
  background:#fff;
  border: 4px double #757575;
  border-radius: 0px;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.65);
  transform: scale(0.92);
  transition: transform 0.3s ease;
}

.dbi-modal.open .dbi-modal-card {
  transform: scale(1);
}

.dbi-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 25px;
  height: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ac162b;
  font-size: 20px;
  background: #fff;
  border: 1px solid #ac162b;
border-radius: 0px;
  cursor: pointer;
}

.dbi-modal-title {
  margin-bottom: 22px;
  color: #757575;
  font-size: 23px;
  text-align:center;
  position:relative;
}

.dbi-modal-title::after{
    content:"";
    position:absolute;
    left:50%;
    top:30px;

    width:45%;
    height:2px;

    background:#ac162b;

    transform:translateX(-50%);

    border-radius:999px;
}
/* ==========================================================
   MODAL QR PREMIUM
========================================================== */

.dbi-qr-modal {
    position: fixed;
    inset: 0;
    z-index: 999999;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 30px;

    background: rgba(0, 0, 0, .55);

    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition:
        opacity .35s ease,
        visibility .35s ease;
}

.dbi-qr-modal.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}


/* ==========================================================
   PANEL PRINCIPAL
========================================================== */

.dbi-qr-panel {
    position: relative;
    z-index: 2;

    width: min(100%, 1100px);
    height: min(82dvh, 760px);

    overflow: hidden;

    background: #f7f9fc;

    border:
        1px solid rgba(0, 0, 0, .08);

    border-radius: 28px;

    box-shadow:
        0 35px 100px rgba(0, 0, 0, .35);

    opacity: 0;

    transform:
        translateY(40px)
        scale(.98);

    transition:
        transform .5s cubic-bezier(.22,.82,.22,1),
        opacity .35s ease;
}

.dbi-qr-modal.open
.dbi-qr-panel {
    opacity: 1;

    transform:
        translateY(0)
        scale(1);
}


/* ==========================================================
   FONDO TECNOLÓGICO
========================================================== */

.dbi-qr-background {
    position: absolute;
    inset: 0;
    z-index: 0;

    background-image:
        url("../images/fondoQR.webp");

    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;

    transform: scale(1.02);

    pointer-events: none;
}


/* Control de intensidad */

.dbi-qr-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;

    background:
        linear-gradient(
            135deg,
            rgba(248,250,255,.30),
            rgba(245,248,252,.38)
        );

    pointer-events: none;
}


/* ==========================================================
   CERRAR
========================================================== */

.dbi-qr-close {
    position: absolute;
    top: 22px;
    right: 22px;
    z-index: 20;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 48px;
    height: 48px;

    padding: 0;

    color:
        var(--dbi-color-empresarial, #13426B);

    background:
        rgba(255,255,255,.82);

    border:
        1px solid rgba(0,0,0,.08);

    border-radius: 50%;

    box-shadow:
        0 8px 22px rgba(0,0,0,.10);

    font-size: 20px;

    cursor: pointer;

    transition:
        color .25s ease,
        background .25s ease,
        transform .25s ease;
}

.dbi-qr-close:hover {
    color: #ffffff;

    background:
        var(--dbi-color-empresarial, #13426B);

    transform:
        rotate(90deg)
        scale(1.05);
}


/* ==========================================================
   HEADER
========================================================== */

.dbi-qr-header {
    position: relative;
    z-index: 5;

    display: flex;
    flex-direction: column;
    align-items: center;

    padding-top: 45px;

    text-align: center;
}

.dbi-qr-header h2 {
    margin: 0;

    color: #14181f;

    font-family: "Poppins", Helvetica, sans-serif;

    font-size:16pt;

    font-weight: 600;

    letter-spacing:2px;

    text-transform: uppercase;
}

.dbi-qr-title-line {
    display: block;

    width: 55px;
    height: 3px;

    margin-top: 14px;

    background:
        var(--dbi-color-empresarial, #13426B);

    border-radius: 999px;
}

.dbi-qr-header p {
    margin:
        16px
        0
        0;

    color: #5d6570;

    font-size:15px;

    font-weight: 600;
	font-family:"Raleway", sans-serif;
}


/* ==========================================================
   QR CENTRAL
========================================================== */

.dbi-qr-main {
    position: relative;
    z-index: 5;

    display: flex;
    flex-direction: column;
    align-items: center;

    margin-top: 32px;
}


/* Tarjeta QR */

.dbi-qr-card {
    display: flex;
    align-items: center;
    justify-content: center;

    width:
        clamp(210px, 24vw, 300px);

    aspect-ratio: 1;

    padding: 26px;

    background:
        rgba(255,255,255,.93);

    border:
        1px solid rgba(255,255,255,.9);

    border-radius: 22px;

    box-shadow:
        0 18px 42px rgba(0,0,0,.12),
        0 8px 25px
        color-mix(
            in srgb,
            var(--dbi-color-empresarial, #13426B) 12%,
            transparent
        );

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    transition:
        transform .3s ease,
        box-shadow .3s ease;
}

.dbi-qr-card:hover {
    transform:
        translateY(-5px)
        scale(1.02);

    box-shadow:
        0 24px 55px rgba(0,0,0,.16),
        0 10px 30px
        color-mix(
            in srgb,
            var(--dbi-color-empresarial, #13426B) 18%,
            transparent
        );
}

.dbi-qr-card img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: contain;
}


/* ==========================================================
   INSTRUCCIONES
========================================================== */

.dbi-qr-instructions {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 12px;

    margin-top: 24px;

    color: #3f4650;
}

.dbi-qr-phone-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 38px;
    height: 38px;

    color:
        var(--dbi-color-empresarial, #13426B);

    background:
        rgba(255,255,255,.88);

    border-radius: 50%;

    box-shadow:
        0 7px 18px rgba(0,0,0,.09);

    font-size: 17px;
}

.dbi-qr-instructions p {
    margin: 0;
    font-size:clamp(12px, 1.3vw, 15px);
	width:50%;
    line-height: 1.35;
}


/* ==========================================================
   LOGO
========================================================== */

.dbi-qr-brand {
    position: absolute;
    bottom: 30px;
    left: 50%;
    z-index: 5;

    display: flex;
    flex-direction: column;
    align-items: center;

    transform:
        translateX(-50%);
}

.dbi-qr-brand img {
    display: block;

    width: 72px;
    height: auto;
}

.dbi-qr-brand small {
    margin-top: 4px;

    color: #8a9099;

    font-size: 8px;

    letter-spacing: 2px;
}


/* ==========================================================
   RESPONSIVE
========================================================== */

@media (max-width: 700px) {

    .dbi-qr-modal {
        padding: 12px;
    }

    .dbi-qr-panel {
        width: 100%;

        height: min(90dvh, 500px);

        border-radius: 24px;
    }

    .dbi-qr-close {
        top: 14px;
        right: 14px;

        width: 42px;
        height: 42px;

        font-size: 18px;
    }

    .dbi-qr-header {
        padding:
            58px
            20px
            0;
    }

    .dbi-qr-header h2 {
        font-size:
            clamp(22px, 6vw, 28px);

        letter-spacing: 4px;
    }

    .dbi-qr-title-line {
        width: 46px;

        margin-top: 11px;
    }

    .dbi-qr-header p {
        margin-top: 11px;

        font-size: 12px;
    }

    .dbi-qr-main {
        margin-top: 26px;
    }

    .dbi-qr-card {
        width:
            min(62vw, 245px);

        padding: 20px;

        border-radius: 18px;
    }

    .dbi-qr-instructions {
        margin-top: 20px;

        gap: 10px;
    }

    .dbi-qr-phone-icon {
        width: 34px;
        height: 34px;

        font-size: 15px;
    }

    .dbi-qr-instructions p {
        font-size: 11px;
		width:50%;
    }

    .dbi-qr-brand {
        bottom: 20px;
    }

    .dbi-qr-brand img {
        width: 62px;
    }

}
.dbi-video-background {
    position: absolute;
    inset: 0;

    z-index: 0;

    background-image:
        url("../images/fondoVideo.webp");

    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;

    pointer-events: none;
}

.dbi-video-dark-layer {
    position: absolute;
    inset: 0;

    z-index: 1;

    background: rgba(0, 0, 0, .18);

    pointer-events: none;
}
/*
.dbi-video-wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}*/




/* Escritorio */
@media (min-width: 1024px) {

  body {
    overflow: hidden;
  }
  .tligth{
  font-size:29px;
  }
  .tbold{
	  font-size:29px;
  }
  .dbi-compact-menu {
    display: none;
  }

  .dbi-full-menu {
    inset: 0 auto 0 0;
    width: var(--desktop-panel-width);
    padding: 22px 20px;
    visibility: visible;
    transform: none;
    border-right: 1px solid var(--dbi-border-soft);
  }

  .dbi-menu-topbar {
    display: none;
  }

  .dbi-slider {
    left: var(--desktop-panel-width);
  }

  .dbi-banner-content {
    bottom: 50%;
  }

  .dbi-profile-picture {
    width: 125px;
    height: 125px;
  }

  .dbi-profile h1 {
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
  }

  .dbi-profile p {
    font-size: 15px;
  }

  .dbi-profile-company {
    font-size: 14px;
	font-weight:600;
  }

  .dbi-full-socials {
    margin: 15px 0;
  }

  .dbi-full-socials a {
    width: 25px;
    height: 25px;
    font-size: 14px;
  }

  .dbi-primary-btn {
    min-height: 40px;
    padding: 7px;
    font-size: 14px;
  }

  .dbi-primary-btn i {
    font-size: 14px;
  }

  .dbi-full-grid {
    gap: 7px;
  }

  .dbi-full-item {
    min-height: 50px;
    padding: 8px 3px;
    gap: 8px;
    font-size: 11pt;
	font-weight:500;
  }
  

  .dbi-full-item i {
    font-size: 12pt;
  }

  .dbi-full-footer {
    padding-top: 22px;
  }
}

@media (max-width: 380px) {
  .dbi-compact-contact {
    font-size: 9px;
  }

  .dbi-compact-contact i {
    font-size: 12px;
  }

  .dbi-compact-item {
    min-height: 66px;
    font-size: 9px;
  }

  .dbi-compact-item i {
    font-size: 18px;
  }

  .dbi-full-menu {
    padding-left: 11px;
    padding-right: 11px;
  }

  .dbi-full-grid {
    gap: 7px;
  }

  .dbi-full-item {
    min-height: 116px;
    font-size: 12px;
  }

  .dbi-full-item i {
    font-size: 29px;
  }

  .dbi-profile-picture {
    width: 145px;
    height: 145px;
  }

  .dbi-profile h1 {
    font-size: 23px;
  }
}
/*==============================
BOTÓN GUARDAR PREMIUM
==============================*/

#saveContact{

    transition:
        background .35s,
        color .35s,
        border-color .35s,
        transform .18s;

}

#saveContact.guardando{

    transform:scale(.96);

}

#saveContact.guardando i{

    animation:girarGuardar .9s linear infinite;

}

@keyframes girarGuardar{

    from{

        transform:rotate(0deg);

    }

    to{

        transform:rotate(360deg);

    }

}

#saveContact.guardado{

    background:#19b84b;

    border-color:#19b84b;

    color:#fff;

    animation:guardarOk .45s;

}

@keyframes guardarOk{

    0%{

        transform:scale(.9);

    }

    55%{

        transform:scale(1.08);

    }

    100%{

        transform:scale(1);

    }

}

.dbi-typewriter{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:2px;
	min-height:2rem;
    color:var(--dbi-puesto--);
    font-size:17px;
    font-weight:500;
}

.dbi-typewriter-text{
    white-space:nowrap;
}

.dbi-typewriter-cursor{
/*modificado*/
    width:2px;
    height:1.1em;

    background:var(--dbi-color-empresarial--);

    display:inline-block;

    animation:dbiCursor .8s infinite;
}

@keyframes dbiCursor{

    50%{
        opacity:0;
    }

}


/*Efectos de menu*/
.menu-full {
    min-height: 0;
    height: 100vh;
    height: 100dvh;
    max-height: 100dvh;

    overflow-x: hidden;
    overflow-y: auto;

    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;

    background-color: #f3f3f3;

    background-image:

    /* Figura azul superior derecha */
    linear-gradient(
        145deg,
        transparent 0 62%,
        rgba(19, 66, 107, .22) 62% 72%,
        transparent 72%
    ),

    /* Figura verde superior izquierda */
    linear-gradient(
        215deg,
        rgba(101, 190, 60, .18) 0 18%,
        transparent 18%
    ),

    /* Fondo */
    linear-gradient(
        145deg,
        #eeeeee 0%,
        #fafafa 50%,
        #e8e8e8 100%
    );
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center top;
}
.dbi-full-menu {
    scrollbar-width: thin;
    scrollbar-color: #999 transparent;
}

.dbi-full-menu::-webkit-scrollbar {
    width: 6px;
}

.dbi-full-menu::-webkit-scrollbar-track {
    background: transparent;
}

.dbi-full-menu::-webkit-scrollbar-thumb {
    background: #999;
    border-radius: 20px;
}
/* ==========================================================
   DBI VIDEO MODAL
   DISEÑO FINAL + CABECERA
========================================================== */


/* ==========================================================
   MODAL
========================================================== */

.dbi-video-modal {
    position: fixed;
    inset: 0;

    z-index: 999999;

    width: 100vw;
    height: 100vh;
    height: 100dvh;

    display: none;

    margin: 0;
    padding: 0;

    overflow: hidden;

    background: #000;
}

.dbi-video-modal.open {
    display: block;
}


/* ==========================================================
   CONTENEDOR
========================================================== */

.dbi-video-fullscreen-view {
    position: relative;

    width: 100%;
    height: 100%;

    overflow: hidden;
}


/* ==========================================================
   CABECERA VIDEOS
========================================================== */

.dbi-videos-header {
    position: absolute;

    top: 28px;
    left: 50%;

    z-index: 100;

    width: auto;

    margin: 0;

    text-align: center;

    transform: translateX(-50%);

    pointer-events: none;
}

.dbi-videos-header h2 {
    margin: 0;

    font-family:
        "Poppins",
        Helvetica,
        sans-serif;

    font-size: 26px;
    font-weight: 600;

    line-height: 1;
	padding-top: 27vh;
    letter-spacing: 5px;

    color: #000;

    text-shadow:
        0 2px 10px
        rgba(0, 0, 0, .35);
}

.dbi-videos-header-line {
    width: 58px;
    height: 4px;

    margin: 14px auto 0;

    background:
        var(
            --dbi-color-empresarial,
            #c11730
        );

    border-radius: 10px;
}


/* ==========================================================
   SLIDES
========================================================== */

.dbi-video-slides {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;
}

.dbi-video-slide {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    opacity: 0;
    visibility: hidden;

    pointer-events: none;
}

.dbi-video-slide.active {
    opacity: 1;
    visibility: visible;

    pointer-events: auto;
}


/* ==========================================================
   FONDO DESENFOCADO
========================================================== */

.dbi-video-blur-layer {
    position: absolute;
    inset: -10%;

    z-index: 0;

    overflow: hidden;

    background: #080808;

    pointer-events: none;
}

.dbi-video-blur-iframe {
    position: absolute;

    top: 50%;
    left: 50%;

    width: 120vw;
    height: 120vh;

    min-width: 177.78vh;
    min-height: 67.5vw;

    border: 0;

    transform:
        translate(-50%, -50%)
        scale(1.12);

    filter:
        blur(38px)
        brightness(.35)
        saturate(.85);

    opacity: .9;

    pointer-events: none;
}


/* ==========================================================
   CAPA OSCURA
========================================================== */

.dbi-video-dark-layer {
    position: absolute;
    inset: 0;

    z-index: 1;

    background: transparent;

    pointer-events: none;
}


/* ==========================================================
   CONTENIDO
========================================================== */

.dbi-video-content {
    position: absolute;
    inset: 0;

    z-index: 5;

    width: 100%;
    height: 100%;

    display: flex;
    align-items: center;
    justify-content: center;

    /*
       Dejamos más espacio arriba para
       la nueva cabecera VIDEOS.
    */

    padding:
        clamp(105px, 12vh, 135px)
        clamp(55px, 6vw, 110px)
        clamp(75px, 9vh, 110px);

    box-sizing: border-box;
}


/* ==========================================================
   OCULTAR INFORMACIÓN DEL VIDEO
========================================================== */

.dbi-video-info {
    display: none !important;
}


/* ==========================================================
   REPRODUCTOR
========================================================== */

.dbi-video-main-frame {
    position: relative;

    width:
        min(
            calc(100vw - 140px),
            calc((100dvh - 190px) * 1.77778)
        );

    aspect-ratio: 16 / 9;

    max-width: 1500px;

    overflow: hidden;

    background: #000;

    border-radius: 22px;

    border:
        1px solid
        rgba(255, 255, 255, .30);

    box-shadow:
        0 25px 80px
        rgba(0, 0, 0, .48);
}


/* ==========================================================
   IFRAME PRINCIPAL
========================================================== */

.dbi-video-iframe {
    position: absolute;
    inset: 0;

    display: block;

    width: 100%;
    height: 100%;

    margin: 0;
    padding: 0;

    border: 0;

    background: #000;
}


/* ==========================================================
   BOTÓN CERRAR
========================================================== */

.dbi-video-close {
    position: absolute;

    top: 22px;
    right: 22px;

    z-index: 120;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 48px;
    height: 48px;

    padding: 0;

    color:
        var(
            --dbi-color-empresarial,
            #13426B
        );

    background:
        rgba(255, 255, 255, .82);

    border:
        1px solid
        rgba(0, 0, 0, .08);

    border-radius: 50%;

    box-shadow:
        0 8px 22px
        rgba(0, 0, 0, .10);

    font-size: 20px;

    cursor: pointer;

    transition:
        color .25s ease,
        background .25s ease,
        transform .25s ease;
}

.dbi-video-close:hover {
    color: #ffffff;

    background:
        var(
            --dbi-color-empresarial,
            #13426B
        );

    transform:
        rotate(90deg)
        scale(1.05);
}


/* ==========================================================
   FLECHAS
========================================================== */

.dbi-video-nav {
    position: absolute;

    top: 50%;

    z-index: 80;

    width: 50px;
    height: 50px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0;

    color: #fff;

    background:
        rgba(0, 0, 0, .48);

    border:
        1px solid
        rgba(255, 255, 255, .30);

    border-radius: 50%;

    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    cursor: pointer;

    transform:
        translateY(-50%);

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

.dbi-video-nav:hover {
    background:
        rgba(0, 0, 0, .75);
}

.dbi-video-prev {
    left: clamp(25px, 4vw, 75px);
}

.dbi-video-next {
    right: clamp(25px, 4vw, 75px);
}


/* ==========================================================
   DOTS
========================================================== */

.dbi-video-dots {
    position: absolute;

    left: 50%;

    bottom:
        max(
            24px,
            env(safe-area-inset-bottom)
        );

    z-index: 80;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 10px;

    transform:
        translateX(-50%);
}

.dbi-video-dot {
    width: 10px;
    height: 10px;

    padding: 0;

    border:
        1px solid
        var(
            --dbi-color-empresarial,
            #c11730
        );

    border-radius: 50%;

    background: transparent;

    cursor: pointer;

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

.dbi-video-dot.active {
    background:
        var(
            --dbi-color-empresarial,
            #c11730
        );

    transform: scale(1.15);
}


/* ==========================================================
   BODY
========================================================== */

body.dbi-video-open {
    overflow: hidden;
}


/* ==========================================================
   LAPTOP
========================================================== */

@media (max-width: 1366px) {

    .dbi-videos-header {
        top: 24px;
    }

    .dbi-videos-header h2 {
        font-size: 24px;
    }

    .dbi-video-content {
        padding:
            100px
            75px
            75px;
    }

    .dbi-video-main-frame {
        width:
            min(
                calc(100vw - 150px),
                calc((100dvh - 175px) * 1.77778)
            );

        max-width: 1150px;

        border-radius: 18px;
    }

    .dbi-video-prev {
        left: 30px;
    }

    .dbi-video-next {
        right: 30px;
    }

}


/* ==========================================================
   TABLET / MÓVIL VERTICAL
========================================================== */

@media (max-width: 700px) and (orientation: portrait) {

    /* CABECERA */

    .dbi-videos-header {
        top:
            max(
                24px,
                env(safe-area-inset-top)
            );
    }

    .dbi-videos-header h2 {
        font-size: 21px;

        letter-spacing: 4px;
    }

    .dbi-videos-header-line {
        width: 52px;
        height: 3px;

        margin-top: 11px;
    }


    /* CONTENIDO */

    .dbi-video-content {
        padding:
            95px
            12px
            65px;
    }


    /* VIDEO */

    .dbi-video-main-frame {
        width:
            calc(100vw - 24px);

        max-width: none;

        aspect-ratio: 16 / 9;

        border-radius: 16px;
    }


    /* CERRAR */

    .dbi-video-close {
        top:
            max(
                13px,
                env(safe-area-inset-top)
            );

        right:
            max(
                13px,
                env(safe-area-inset-right)
            );

        width: 42px;
        height: 42px;

        font-size: 18px;
    }


    /* FLECHAS */

    .dbi-video-nav {
        width: 40px;
        height: 40px;
    }

    .dbi-video-prev {
        left: 5px;
    }

    .dbi-video-next {
        right: 5px;
    }


    /* DOTS */

    .dbi-video-dots {
        bottom:
            max(
                20px,
                calc(
                    env(safe-area-inset-bottom) + 8px
                )
            );
    }

}


/* ==========================================================
   MÓVIL HORIZONTAL
========================================================== */

@media (max-height: 600px) and (orientation: landscape) {

    /*
       En horizontal ocultamos la cabecera
       para aprovechar toda la pantalla.
    */

    .dbi-videos-header {
        display: none;
    }


    /* CONTENIDO */

    .dbi-video-content {
        padding:
            8px
            14px;
    }


    /* VIDEO */

    .dbi-video-main-frame {
        width:
            min(
                calc(100vw - 28px),
                calc((100dvh - 16px) * 1.77778)
            );

        max-width: none;

        aspect-ratio: 16 / 9;

        border-radius: 14px;
    }


    /* FONDO */

    .dbi-video-blur-layer {
        display: block;
    }

    .dbi-video-dark-layer {
        display: block;
    }


    /* CERRAR */

    .dbi-video-close {
        top:
            max(
                12px,
                env(safe-area-inset-top)
            );

        right:
            max(
                16px,
                env(safe-area-inset-right)
            );

        width: 40px;
        height: 40px;
    }


    /* FLECHAS */

    .dbi-video-nav {
        width: 42px;
        height: 42px;
    }

    .dbi-video-prev {
        left:
            max(
                18px,
                env(safe-area-inset-left)
            );
    }

    .dbi-video-next {
        right:
            max(
                18px,
                env(safe-area-inset-right)
            );
    }


    /* DOTS */

    .dbi-video-dots {
        display: none;
    }

}
/* ==========================================================
   MODAL HUELLA DE CARBONO
========================================================== */

body.dbi-carbon-open {
    overflow: hidden;
}


/* CONTENEDOR GENERAL */

.dbi-carbon-modal {
    position: fixed;
    inset: 0;

    z-index: 100000;

    display: flex;

    align-items: center;
    justify-content: center;

    padding: 18px;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition:
        opacity 0.25s ease,
        visibility 0.25s ease;
}


.dbi-carbon-modal.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}


/* ==========================================================
   OVERLAY
========================================================== */

.dbi-carbon-overlay {
    position: absolute;
    inset: 0;

    background: rgba(8, 12, 15, 0.78);

    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}


/* ==========================================================
   PANEL
========================================================== */

.dbi-carbon-panel {
    position: relative;

    z-index: 2;

    width: min(520px, 100%);

    max-height: calc(100dvh - 28px);

    overflow-y: auto;
    overflow-x: hidden;

    background:
        #fdfdf9
        url("../images/fondo-huella-carbono.webp")
        center / cover
        no-repeat;

    border-radius: 28px;

    box-shadow:
        0 25px 70px rgba(0, 0, 0, 0.30);

    scrollbar-width: thin;
    scrollbar-color: #78ad61 transparent;

    transform: translateY(16px) scale(0.97);

    transition:
        transform 0.28s ease;
}


.dbi-carbon-modal.open .dbi-carbon-panel {
    transform: translateY(0) scale(1);
}


/* ==========================================================
   CONTENIDO
========================================================== */

.dbi-carbon-content {
    padding:
        45px
        42px
        24px;
}


/* ==========================================================
   CERRAR
========================================================== */

.dbi-carbon-close {
    position: absolute;

    top: 17px;
    right: 17px;

    z-index: 10;

    width: 48px;
    height: 48px;

    display: flex;

    align-items: center;
    justify-content: center;

    padding: 0;

    background: rgba(255,255,255,.94);

    border: 1px solid rgba(71, 137, 45, .55);
    border-radius: 50%;

    color: #47892d;

    font-size: 21px;

    box-shadow:
        0 5px 15px rgba(0,0,0,.12);

    cursor: pointer;

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


.dbi-carbon-close:hover {
    transform: scale(1.06);

    background: #f5faef;
}


/* ==========================================================
   TÍTULO
========================================================== */

.dbi-carbon-heading {
    display: flex;
    flex-direction: column;

    align-items: center;

    margin-bottom: 15px;

    text-align: center;
}


.dbi-carbon-heading h2 {
    margin: 0;

    color: #18212d;

    font-size: 25px;
    font-weight: 700;

    line-height: 1.15;

    letter-spacing: 7px;
}


.dbi-carbon-title-line {
    width: 52px;
    height: 4px;

    margin-top: 15px;

    background: #47892d;

    border-radius: 20px;
}


/* ==========================================================
   ICONO PRINCIPAL
========================================================== */

.dbi-carbon-main-icon {
    display: flex;

    justify-content: center;

    margin-bottom: 11px;
}


.dbi-carbon-main-icon img {
    display: block;

    width: 68px;
    height: 68px;

    object-fit: contain;
}


/* ==========================================================
   INTRODUCCIÓN
========================================================== */

.dbi-carbon-intro {
    max-width: 380px;

    margin:
        0
        auto
        16px;

    color: #222a34;

    font-size: 14px;
    font-weight: 500;

    line-height: 1.5;

    text-align: center;
}


.dbi-carbon-intro strong {
    color: #47892d;

    font-weight: 700;
}


/* ==========================================================
   RECUADRO INFORMATIVO
========================================================== */

.dbi-carbon-message {
    display: grid;

    grid-template-columns: 42px 1fr;

    align-items: center;

    gap: 12px;

    margin-bottom: 20px;

    padding: 15px 18px;

    background:
        rgba(247, 251, 243, .82);

    border:
        1px solid
        rgba(83, 145, 57, .40);

    border-radius: 16px;

    box-shadow:
        0 5px 16px
        rgba(66, 98, 54, .06);
}


.dbi-carbon-message-icon {
    display: flex;

    align-items: center;
    justify-content: center;

    color: #47892d;

    font-size: 28px;
}


.dbi-carbon-message p {
    margin: 0;

    color: #28303a;

    font-size: 12px;

    line-height: 1.55;

    text-align: left;
}


/* ==========================================================
   GRID
========================================================== */

.dbi-carbon-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 13px;
}


/* ==========================================================
   TARJETAS
========================================================== */

.dbi-carbon-card {
    min-width: 0;

    display: flex;
    flex-direction: column;

    align-items: center;

    padding:
        17px
        12px
        16px;

    text-align: center;

    background:
        rgba(255,255,255,.83);

    border:
        1px solid
        rgba(255,255,255,.90);

    border-radius: 18px;

    box-shadow:
        0 7px 17px
        rgba(27, 48, 22, .10);

    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}


/* ICONOS */

.dbi-carbon-card-icon {
    width: 48px;
    height: 48px;

    display: flex;

    align-items: center;
    justify-content: center;

    margin-bottom: 10px;

    background:
        rgba(224, 239, 217, .78);

    border-radius: 50%;

    color: #47892d;

    font-size: 22px;
}


/* VALOR */

.dbi-carbon-card-value {
    color: #47892d;

    font-size: 27px;
    font-weight: 600;

    line-height: 1;
}


/* UNIDAD */

.dbi-carbon-card-unit {
    margin-top: 4px;

    color: #59616b;

    font-size: 11px;

    line-height: 1.2;
}


/* DIVISOR PEQUEÑO */

.dbi-carbon-card-line {
    width: 20px;
    height: 2px;

    margin:
        11px
        0
        9px;

    background: #47892d;

    border-radius: 4px;
}


/* TÍTULO TARJETA */

.dbi-carbon-card h3 {
    margin: 0;

    color: #202833;

    font-size: 11px;
    font-weight: 700;

    line-height: 1.3;
}


/* ==========================================================
   MENSAJE FINAL
========================================================== */

.dbi-carbon-footer-message {
    display: grid;

    grid-template-columns:
        44px
        1fr;

    align-items: center;

    gap: 12px;

    margin-top: 17px;

    padding: 13px 17px;

    background:
        rgba(247, 251, 243, .76);

    border:
        1px solid
        rgba(83, 145, 57, .32);

    border-radius: 15px;
}


.dbi-carbon-footer-icon {
    width: 40px;
    height: 40px;

    display: flex;

    align-items: center;
    justify-content: center;

    border:
        1px solid
        rgba(71,137,45,.35);

    border-radius: 50%;

    color: #47892d;

    font-size: 20px;
}


.dbi-carbon-footer-message p {
    margin: 0;

    color: #303741;

    font-size: 11px;

    line-height: 1.4;
}


/* ==========================================================
   POWERED BY
========================================================== */

.dbi-carbon-powered {
    display: flex;
    flex-direction: column;

    align-items: center;

    margin:
        18px
        -42px
        -24px;

    padding:
        11px
        10px
        14px;

    background:
        rgba(255,255,255,.56);

    border-top:
        1px solid
        rgba(0,0,0,.07);

    color: #5f6871;
}


.dbi-carbon-powered-main {
    display: flex;

    align-items: center;

    gap: 7px;

    font-size: 12px;
}


.dbi-carbon-powered-main img {
    display: block;

    width: auto;
    height: 24px;

    object-fit: contain;
}


.dbi-carbon-powered > span {
    margin-top: 1px;

    font-size: 10px;
}


/* ==========================================================
   MÓVIL
========================================================== */

@media (max-width: 480px) {

    .dbi-carbon-modal {
        padding: 8px;
    }


    .dbi-carbon-panel {
        width: 100%;

        max-height:
            calc(100dvh - 16px);

        border-radius: 23px;
    }


    .dbi-carbon-content {
        padding:
            42px
            20px
            20px;
    }


    .dbi-carbon-close {
        top: 13px;
        right: 13px;

        width: 42px;
        height: 42px;

        font-size: 19px;
    }


    .dbi-carbon-heading h2 {
        font-size: 19px;

        letter-spacing: 5px;
    }


    .dbi-carbon-title-line {
        width: 45px;

        margin-top: 12px;
    }


    .dbi-carbon-main-icon img {
        width: 55px;
        height: 55px;
    }


    .dbi-carbon-intro {
        font-size: 14px;
    }


    .dbi-carbon-message {
        grid-template-columns:
            32px
            1fr;

        gap: 9px;

        padding:
            11px
            12px;
    }


    .dbi-carbon-message-icon {
        font-size: 22px;
    }


    .dbi-carbon-message p {
        font-size: 14px;
    }


    .dbi-carbon-grid {
        gap: 9px;
    }


    .dbi-carbon-card {
        min-height: 145px;

        padding:
            14px
            8px;
    }


    .dbi-carbon-card-icon {
        width: 40px;
        height: 40px;

        margin-bottom: 8px;

        font-size: 19px;
    }


    .dbi-carbon-card-value {
        font-size: 23px;
    }


    .dbi-carbon-card-unit {
        font-size: 11px;
    }


    .dbi-carbon-card-line {
        margin:
            8px
            0
            7px;
    }


    .dbi-carbon-card h3 {
        font-size: 11px;
    }


    .dbi-carbon-footer-message {
        grid-template-columns:
            35px
            1fr;

        gap: 8px;

        padding:
            10px
            12px;
    }


    .dbi-carbon-footer-icon {
        width: 32px;
        height: 32px;

        font-size: 16px;
    }


    .dbi-carbon-footer-message p {
        font-size: 14px;
    }


    .dbi-carbon-powered {
        margin:
            15px
            -20px
            -20px;
    }

}
/* =========================================================
   DBI SUMMARY CARD
========================================================= */

.dbi-summary-card {
    width: calc(100% - 24px);
    max-width: 720px;

    margin: 18px auto 10px;

    position: relative;

    background: #fff;

    border-radius: 20px;

    box-shadow:
        0 8px 28px rgba(0, 0, 0, 0.08);

    overflow: visible;
}


/* =========================================================
   PARTE SUPERIOR - DOS COLUMNAS
========================================================= */

.dbi-summary-top {
    display: grid;
    grid-template-columns: 1fr 1fr;

    align-items: center;

    min-height: 50px;
}


/* =========================================================
   VISTAS
========================================================= */

.dbi-summary-views {
    position: relative;

    display: flex;

    align-items: center;
    justify-content: center;

    gap: 13px;

    padding: 5px 22px;
}


/* divisor central */

.dbi-summary-views::after {
    content: "";

    position: absolute;

    right: 0;
    top: 20%;

    width: 1px;
    height: 60%;

    background: #d3d3d3;
}


/* círculo del ojo */

.dbi-summary-view-icon {
    width: 34px;
    height: 34px;

    flex: 0 0 34px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #dfeaf3 ;

    color:
        var(--dbi-color-empresarial, #13426B);

    font-size: 14px;
}


/* texto vistas */

.dbi-summary-view-data {
    display: flex;
    flex-direction: column;

    align-items: flex-start;

    line-height: 1;
}


.dbi-summary-view-data span {
    margin-bottom: 5px;

    color: #4f4f4f;

    font-size: 13px;
    font-weight: 400;
}


.dbi-summary-view-data strong {
    color:
        var(--dbi-color-empresarial, #13426B);

    font-size: 13px;
    font-weight: 600;

    line-height: 1;

    letter-spacing: -0.5px;
}


/* =========================================================
   HUELLA DE CARBONO
========================================================= */

.dbi-summary-carbon {
    display: flex;

    align-items: center;
    justify-content: center;

    gap: 13px;

    padding: 5px 22px;

    color: inherit;

    text-decoration: none;
}


/* círculo verde */

.dbi-summary-carbon-icon {
    width: 40px;
    height: 40px;

    flex: 0 0 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: transparent;
}

.dbi-carbon-icon-img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: contain;
}


.dbi-summary-carbon-data {
    display: flex;
    flex-direction: column;

    align-items: flex-start;

    min-width: 0;
}


.dbi-summary-carbon-title {
    margin-bottom: 4px;

    color: #4f4f4f;

    font-size: 13px;
    font-weight: 500;

    line-height: 1.1;
}


.dbi-summary-carbon-value {
    color: #4d9f2f;

    font-size: 25px;
    font-weight: 500;

    line-height: 1;
}


.dbi-summary-carbon-value small {
    font-size: 14px;
    font-weight: 400;
}


.dbi-summary-carbon-equivalent {
    margin-top: 5px;

    color: #666;

    font-size: 11px;

    line-height: 1.2;

    white-space: nowrap;
}


.dbi-summary-carbon-equivalent i {
    margin-left: 3px;

    color: #4d9f2f;
}


/* =========================================================
   POWERED BY
========================================================= */

.dbi-summary-footer {
    position: relative;

    min-height: 72px;

    display: flex;

    align-items: center;
    justify-content: center;

    padding: 10px 20px 13px;

    border-top: none;
}


.dbi-summary-powered {
    display: flex;
    flex-direction: column;

    align-items: center;

    color: inherit;

    text-decoration: none;
}


.dbi-summary-powered-line {
    display: flex;
    align-items: center;       /* alinea texto y logo verticalmente */
    justify-content: center;
    gap: 7px;

    color: #555;
    font-size: 13px;
    line-height: 1;
}

.dbi-summary-powered-line img {
    display: block;

    width: auto;
    height: 29px;
	margin-top:-15px;
    object-fit: contain;
}

.dbi-summary-tagline {
    margin-top: 2px;

    color: #666;

    font-size: 10px;

    line-height: 1.2;
}


/* =========================================================
   BOTÓN INFO FLOTANTE
========================================================= */

.dbi-summary-info-wrapper {
    position: absolute !important;

    left: 50% !important;
    right: auto !important;

    bottom: -20px;

    margin: 0 !important;

    transform: translateX(-50%) !important;

    z-index: 20;
}


.dbi-summary-info {
    width: 48px;
    height: 48px;

    display: flex;

    align-items: center;
    justify-content: center;

    padding: 0;
    margin: 0;

    border: 0;
    border-radius: 50%;

    background: #fff;

    color: #555;

    font-size: 21px;

    box-shadow:
        0 6px 18px rgba(0, 0, 0, 0.15);

    cursor: pointer;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}


.dbi-summary-info:hover {
    transform: translateY(-2px);

    box-shadow:
        0 9px 22px rgba(0, 0, 0, 0.18);
}


/* =========================================================
   MÓVIL
========================================================= */

@media (max-width: 600px) {

    .dbi-summary-card {
        width: calc(100% - 24px);

        margin-bottom: 40px;

        border-radius: 17px;
    }


    .dbi-summary-top {
        min-height: 50px;
		padding-top:0px;
    }


    /* VISTAS */

    .dbi-summary-views {
        gap: 14px;

        padding: 11px 9px;
    }


    .dbi-summary-view-icon {
        width: 34px;
        height: 34px;

        flex-basis: 34px;

        font-size: 14px;
    }


    .dbi-summary-view-data span {
        margin-bottom: 3px;

        font-size: 11px;
    }


    .dbi-summary-view-data strong {
        font-size: 14px;
    }


    /* HUELLA */

    .dbi-summary-carbon {
        gap: 6px;

        padding: 10px 8px;
    }


    .dbi-summary-carbon-icon {
        width: 37px;
        height: 37px;

        flex-basis: 37px;

        font-size: 17px;
    }


    .dbi-summary-carbon-title {
        margin-bottom: 3px;

        font-size: 11px;
    }


    .dbi-summary-carbon-value {
        font-size: 19px;
    }


    .dbi-summary-carbon-value small {
        font-size: 10px;
    }


    .dbi-summary-carbon-equivalent {
        margin-top: 3px;

        font-size: 8px;

        white-space: normal;
    }


    /* POWERED BY */

    .dbi-summary-footer {
        min-height: 4px;

        padding: 0px 12px 11px;
    }


    .dbi-summary-powered-line {
        gap: 5px;

        font-size: 13px;
    }


    .dbi-summary-powered-line img {
        height: 24px;
    }


    .dbi-summary-tagline {
        font-size: 10px;
    }


    /* INFO */

    .dbi-summary-info-wrapper {
        bottom: -17px;
    }


    .dbi-summary-info {
        width: 30px;
        height: 30px;

        font-size: 18px;
    }

}
/* ==========================================================
   POPOVER POWERED BY DBI
========================================================== */

.dbi-powered {
    position: relative;

    d/*isplay: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;*/
	margin-top: -11px;
    color: #d7d7d7;

    font-size: 12px;
    line-height: 1;
	text-align:center;
}

.dbi-powered-text {
    display: inline-block;
}

.dbi-powered-wrapper {
    position: relative;
    display: inline-flex;
    align-items: center;
}

/* Botón DBI */

.dbi-powered-trigger {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    margin: 0;
    padding: 3px 2px;

    color: var(--dbi-color-empresarial, #13426B);
    background: transparent;
    border: 0;

    font: inherit;
    line-height: 1;

    cursor: pointer;
}

.dbi-powered-trigger strong {
    color: var(--dbi-color-empresarial, #13426B);

    font-size: 15px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 3px;

    transition:
        opacity 0.2s ease,
        transform 0.2s ease;
}

.dbi-powered-trigger:hover strong,
.dbi-powered-trigger:focus-visible strong {
    opacity: 0.8;
    transform: translateY(-1px);
}

.dbi-powered-trigger:focus-visible {
    outline: 2px solid var(--dbi-color-empresarial, #13426B);
    outline-offset: 4px;
    border-radius: 3px;
}

/* Caja flotante */

.dbi-powered-popover {
    position: absolute;
    right: 50%;
    bottom: calc(100% + 18px);
    z-index: 1000000;

    width: min(290px, calc(100vw - 28px));

    padding: 20px 22px 18px;

    color: #696969;
    text-align: left;

    background: #f8f9fb;
    border: 1px solid #e0e2e5;
    border-radius: 4px;

    box-shadow:
        0 18px 45px rgba(0, 0, 0, 0.25);

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transform:
        translateX(50%)
        translateY(8px)
        scale(0.98);

    transform-origin: bottom center;

    transition:
        opacity 0.22s ease,
        visibility 0.22s ease,
        transform 0.22s ease;
}

/* Flecha inferior */

.dbi-powered-popover::before {
    content: "";

    position: absolute;
    left: 50%;
    bottom: -9px;

    width: 16px;
    height: 16px;

    background: #f8f9fb;
    border-right: 1px solid #e0e2e5;
    border-bottom: 1px solid #e0e2e5;

    transform:
        translateX(-50%)
        rotate(45deg);
}

/* Estado abierto */

.dbi-powered-wrapper.open .dbi-powered-popover {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;

    transform:
        translateX(50%)
        translateY(0)
        scale(1);
}

/* Hover para escritorio */

@media (hover: hover) and (pointer: fine) {

    .dbi-powered-wrapper:hover .dbi-powered-popover,
    .dbi-powered-wrapper:focus-within .dbi-powered-popover {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;

        transform:
            translateX(50%)
            translateY(0)
            scale(1);
    }
}

/* Encabezado interno */

.dbi-powered-popover-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;

    margin-bottom: 12px;

    color: #808080;

    font-size: 15px;
    font-weight: 600;
    line-height: 1;
}

.dbi-powered-logo {
    display:inherit;

    width: auto;
    max-width: 40px;
    height: 20px;

    object-fit: contain;
}

/* Ícono de información */

.dbi-powered-info-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 13px;

    color: #b51f3b;

    font-size: 20px;
}

/* Texto */

.dbi-powered-description {
    margin: 0;

    color: #686868;

    font-size: 9px;
    font-weight: 400;
    line-height: 1.3;
    text-align: justify;
}

/* Referencia inferior */

.dbi-powered-reference {
    display: inline-block;

    margin-top: 3px;

    color: #477fbd;

    font-size: 9px;
    line-height: 1.3;
    text-decoration: none;
}



/* Responsive */

@media (max-width: 480px) {

    .dbi-powered {
        gap: 5px;
        font-size: 14px;
    }

    .dbi-powered-trigger strong {
        font-size: 25px;
    }

    .dbi-powered-popover {
        position: fixed;
        right: auto;
        bottom: 18px;
        left: 50%;

        width: calc(100vw - 28px);
        max-width: 310px;
        max-height: calc(100dvh - 36px);

        padding: 19px 20px 17px;

        overflow-y: auto;

        transform:
            translateX(-50%)
            translateY(10px)
            scale(0.98);
    }

    .dbi-powered-popover::before {
        display: none;
    }

    .dbi-powered-wrapper.open .dbi-powered-popover {
        transform:
            translateX(-50%)
            translateY(0)
            scale(1);
    }

    .dbi-powered-popover-header {
        font-size: 14px;
    }

    .dbi-powered-description {
        font-size: 9px;
    }
}

/* ==========================================================
   FOTO DE PERFIL CON EFECTO FLIP
========================================================== */

.dbi-profile-flip {
    width: 150px;
    height: 150px;
    margin: 0 auto 13px;

    perspective: 1000px;
    cursor: pointer;
}

.dbi-profile-flip-inner {
    position: relative;

    width: 100%;
    height: 100%;

    transform-style: preserve-3d;

    transition: transform 0.7s cubic-bezier(.2, .75, .25, 1);
}

/* El toque y el teclado usan la clase controlada por JavaScript */

.dbi-profile-flip.flipped .dbi-profile-flip-inner {
    transform: rotateY(180deg);
}

/* El hover solo funciona en equipos que realmente tienen mouse */

@media (hover: hover) and (pointer: fine) {

    .dbi-profile-flip:hover .dbi-profile-flip-inner {
        transform: rotateY(180deg);
    }

}
.dbi-profile-flip-front,
.dbi-profile-flip-back {
    position: absolute;
    inset: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 4px solid var(--dbi-color-empresarial, #13426B);
    border-radius: 50%;

    overflow: hidden;

    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;

    box-shadow:
    0 0 0 4px rgba(19, 66, 107, 0.12),
    0 12px 35px rgba(0, 0, 0, 0.28);
}

.dbi-profile-flip-front {
    background: #ffffff;
}

.dbi-profile-flip-back {
    padding: 22px;

    background: #ffffff;

    transform: rotateY(180deg);
}

.dbi-profile-flip .dbi-profile-picture {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;

    object-fit: cover;

    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.dbi-profile-company-logo {
    width: 100%;
    max-width: 120px;
    max-height: 120px;

    object-fit: contain;
}

/* Mejora para usuarios que prefieren menos movimiento */

@media (prefers-reduced-motion: reduce) {
    .dbi-profile-flip-inner {
        transition: none;
    }
}
/* ==========================================================
   BARRA SUPERIOR RESPONSIVE
========================================================== */

.dbi-responsive-topbar {
    display: none;
}

@media (max-width: 1023px) {

    .dbi-responsive-topbar {
        position: fixed;
        top: 0;
        right: 0;
        left: 0;
        z-index: 4900;

        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        min-height: 92px;

        padding:
            calc(10px + env(safe-area-inset-top))
            18px
            10px;

        background:rgba(255,255,255,.9);

        border-bottom:
            1px solid rgba(0, 0, 0, 0.08);

        box-shadow:
            0 7px 24px rgba(0, 0, 0, 0.3);
    }

    /* Logo */

    .dbi-responsive-logo {
        display: flex;
        align-items: center;

        width: min(46vw, 190px);

        text-decoration: none;
    }

    .dbi-responsive-logo img {
        display: block;

        width: 100%;
        max-width: 200px;
        max-height: 68px;

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

    /* Selector de idiomas */

    .dbi-responsive-languages {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 13px;

        min-height: 52px;

        padding: 8px 18px;

        color: #d8dbe1;

        background:rbga(95,95,95,.8)
            /*linear-gradient(
                145deg,
                rgba(95, 95, 95, 0.9),
                rgba(54, 54, 54, 0.95)
            );*/

        border:
            1px solid rgba(255, 255, 255, 0.12);

        border-radius: 999px;

        box-shadow:
            inset 0 1px 0 rgba(255, 255, 255, 0.5),
            0 7px 20px rgba(0, 0, 0, 0.25);

        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
    }

    .dbi-responsive-languages a {
        color: #d9dce3;

        font-size: 17px;
        font-weight: 500;
        line-height: 1;
        text-decoration: none;

        transition:
            color 0.2s ease,
            transform 0.2s ease;
    }

    .dbi-responsive-languages a:hover,
    .dbi-responsive-languages a:focus-visible {
        color: #ffffff;
        transform: translateY(-1px);
    }

    .dbi-responsive-languages a.active {
        color: var(--dbi-color-empresarial);
        font-weight: 700;
    }

    .dbi-responsive-languages span {
        color: rgba(255, 255, 255, 0.55);

        font-size: 20px;
        font-weight: 300;
        line-height: 1;

        user-select: none;
    }

    /*
     Evita que la barra tape el contenido superior.
     Ajusta este valor si tu barra queda más alta o más baja.
    */

    .dbi-app {
        padding-top: 92px;
    }
}

/* Teléfonos pequeños */

@media (max-width: 480px) {

    .dbi-responsive-topbar {
        min-height: 78px;
        padding:
            calc(8px + env(safe-area-inset-top))
            12px
            8px;
    }

    .dbi-responsive-logo {
        width:100%/* min(43vw, 155px)*/;
    }

    .dbi-responsive-logo img {
       /* max-width: 155px;
        max-height: 57px;*/
    }

    .dbi-responsive-languages {
        gap: 8px;

        min-height: 44px;

        padding: 7px 12px;
    }

    .dbi-responsive-languages a {
        font-size: 14px;
		color:#959595;
    }

    .dbi-responsive-languages span {
        font-size: 16px;
		color:var(--dbi-color-empresarial);
    }

    .dbi-app {
        padding-top: 78px;
    }
}

/* Escritorio */

@media (min-width: 1024px) {

    .dbi-responsive-topbar {
        display: none;
    }

}
/* ==========================================================
   BANNER 1: PERFIL CORPORATIVO LIMPIO
========================================================== */

.dbi-profile-banner {
    position: absolute;
    inset: 0;

    overflow: hidden;

    color: #ffffff;
    background: #10141a;
}

/* Desactiva la capa general del slider para este banner */

.dbi-profile-banner::after {
    display: none;
}

/* ==========================================================
   IMAGEN DE FONDO
========================================================== */

.dbi-profile-banner-background {
    position: absolute;
    inset: -8px;

    display: block;

    width: calc(100% + 16px);
    height: calc(100% + 16px);

    object-fit: cover;
    object-position: center;

    filter:
        blur(2px)
        saturate(0.8)
        brightness(0.72);

    transform: scale(1.04);

    transition:
        transform 7s ease,
        filter 0.8s ease;
}

.dbi-profile-banner.active
.dbi-profile-banner-background {
    transform: scale(1.09);
}

/* ==========================================================
   CAPA OSCURA
========================================================== */

.dbi-profile-banner-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;

   /* background:
        radial-gradient(
            circle at 50% 38%,
            rgba(255, 255, 255, 0.08) 0%,
            rgba(255, 255, 255, 0) 40%
        ),
        linear-gradient(
            to bottom,
            rgba(7, 12, 19, 0.22) 0%,
            rgba(7, 12, 19, 0.35) 45%,
            rgba(5, 9, 15, 0.78) 78%,
            rgba(3, 6, 11, 0.96) 100%
        );*/

    pointer-events: none;
}

/* ==========================================================
   CONTENIDO PRINCIPAL
========================================================== */

.dbi-profile-banner-content {
    position: absolute;
    inset: 0;
    z-index: 2;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding:
        calc(34px + env(safe-area-inset-top))
        24px
        calc(100px + env(safe-area-inset-bottom));
    text-align: center;
	font-size:12pt;
}

/* ==========================================================
   FOTO CIRCULAR
========================================================== */

.dbi-profile-banner-avatar {
    position: relative;

    width: 250px;
    aspect-ratio: 1;

    margin-bottom: clamp(22px, 3vw, 38px);

    opacity: 0;
    transform:
        translateY(22px)
        scale(1.04);
}

/* Resplandor exterior */

.dbi-profile-banner-avatar::before {
    content: "";

    position: absolute;
    inset: -18px;
    z-index: -1;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(255, 255, 255, 0.25) 0%,
            rgba(255, 255, 255, 0.09) 46%,
            rgba(255, 255, 255, 0) 73%
        );

    filter: blur(11px);
    opacity: 0.65;
}

/* ==========================================================
   DOBLE ARO BLANCO TRANSLÚCIDO
========================================================== */

.dbi-profile-banner-ring {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    height: 100%;

    padding: clamp(9px, 1.1vw, 14px);

    border:
        2px solid rgba(255, 255, 255, 0.78);

    border-radius: 50%;

    background:
        rgba(255, 255, 255, 0.11);

    box-shadow:
        0 0 0 8px rgba(255, 255, 255, 0.09),
        inset 0 1px 2px rgba(255, 255, 255, 0.34),
        0 18px 48px rgba(0, 0, 0, 0.42);

    overflow: hidden;
}

/* Segundo aro interior */

.dbi-profile-banner-ring::before {
    content: "";

    position: absolute;
    inset: 7px;
    z-index: 3;

    border:
        1px solid rgba(255, 255, 255, 0.74);

    border-radius: 50%;

    pointer-events: none;
}

/* Brillo superior discreto */

.dbi-profile-banner-ring::after {
    content: "";

    position: absolute;
    top: 4%;
    left: 18%;
    z-index: 3;

    width: 64%;
    height: 24%;

    border-radius: 50%;

    /*background:
        linear-gradient(
            to bottom,
            rgba(255, 255, 255, 0.18),
            rgba(255, 255, 255, 0)
        );*/

    pointer-events: none;
}

/* Fotografía */

.dbi-profile-banner-ring img {
    position: relative;
    z-index: 2;

    display: block;

    width: 100%;
    height: 100%;

    margin: 0;
    padding: 0;

    object-fit: cover;
    object-position: center top;

    border: 0;
    border-radius: 50%;

    box-shadow:
        inset 0 0 28px rgba(0, 0, 0, 0.22);
}

/* ==========================================================
   INFORMACIÓN
========================================================== */

.dbi-profile-banner-information {
    position: relative;

    width: min(100%, 900px);

    opacity: 0;
    transform: translateY(18px);
}

.dbi-profile-banner-information h2 {
    margin: 0;

    color: #ffffff;

    font-size: 17pt;
    font-weight: bold;
    /*line-height: 1.08;*/

    letter-spacing: 4px;
    text-transform: uppercase;

    text-shadow:
        0 3px 16px rgba(0, 0, 0, 0.88);

    overflow-wrap: anywhere;
}

/* Línea entre nombre y cargo */

.dbi-profile-banner-divider {
    width: 0;
    height: 2px;

    margin: clamp(11px, 1.4vw, 18px) auto 0;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255, 255, 255, 0.82),
            transparent
        );

    opacity: 0;
}
.dbi-profile-banner-puesto{
	padding-top:10px;
}
/* ==========================================================
   TYPEWRITER DEL CARGO Y DESCRIPCIÓN
========================================================== */

.dbi-banner-typewriter {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 3px;

    min-height: 20px;
    margin-top: 0px;

    color: rgba(255, 255, 255, 0.9);

    font-size: 12pt;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 0.1px;

    text-shadow:
        0 2px 11px rgba(0, 0, 0, 0.82);
}

.dbi-banner-typewriter .dbi-typewriter-text {
    white-space: normal;
    text-align: center;
}

.dbi-banner-typewriter .dbi-typewriter-cursor {
    flex: 0 0 auto;

    width: 2px;
    height: 1.05em;

    background: rgba(255, 255, 255, 0.9);

    animation: dbiCursor 0.8s infinite;
}

/* ==========================================================
   ANIMACIONES
========================================================== */

.dbi-profile-banner.active
.dbi-profile-banner-avatar {
    animation:
        dbiProfileBannerAvatarIn
        0.85s
        cubic-bezier(.2, .8, .2, 1)
        0.12s
        forwards;
}

.dbi-profile-banner.active
.dbi-profile-banner-information {
    animation:
        dbiProfileBannerInformationIn
        0.7s
        ease
        0.48s
        forwards;
}

.dbi-profile-banner.active
.dbi-profile-banner-divider {
    animation:
        dbiProfileBannerDividerIn
        0.65s
        ease
        0.78s
        forwards;
}

@keyframes dbiProfileBannerAvatarIn {

    from {
        opacity: 0;

        transform:
            translateY(22px)
            scale(1.04);
    }

    to {
        opacity: 1;

        transform:
            translateY(0)
            scale(1);
    }
}

@keyframes dbiProfileBannerInformationIn {

    from {
        opacity: 0;
        transform: translateY(18px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes dbiProfileBannerDividerIn {

    from {
        width: 0;
        opacity: 0;
    }

    to {
        width: min(155px, 45%);
        opacity: 1;
    }
}

/* ==========================================================
   TABLET Y RESPONSIVE
========================================================== */

@media (max-width: 1023px) {

    .dbi-profile-banner-content {
        calc(88px + env(safe-area-inset-top)) 18px 
		calc(270px + env(safe-area-inset-bottom));

        justify-content: center;
    }

    .dbi-profile-banner-avatar {
        width: clamp(210px, 48vw, 340px);
        margin-bottom: 22px;
    }

    .dbi-profile-banner-information h2 {
        max-width: 94vw;

        font-size: clamp(22px, 5.6vw, 38px);
        letter-spacing: clamp(1.5px, 0.7vw, 3px);
    }

    .dbi-banner-typewriter {
        min-height: 29px;

        font-size: clamp(14px, 3.4vw, 21px);
    }
}

/* ==========================================================
   TELÉFONOS
========================================================== */

@media (max-width: 600px) {

    /*.dbi-profile-banner-content {
        padding:
            calc(85px + env(safe-area-inset-top))
            14px
            calc(217px + env(safe-area-inset-bottom));
    }*/

    .dbi-profile-banner-avatar {
        width: clamp(190px, 62vw, 275px);
        margin-bottom: 18px;
    }

    .dbi-profile-banner-ring {
        padding: 9px;

        box-shadow:
            0 0 0 6px rgba(255, 255, 255, 0.09),
            inset 0 1px 2px rgba(255, 255, 255, 0.3),
            0 15px 38px rgba(0, 0, 0, 0.4);
    }

    .dbi-profile-banner-ring::before {
        inset: 6px;
    }

    .dbi-profile-banner-information h2 {
        font-size: 17pt;
        letter-spacing: 2px;
    }

    .dbi-profile-banner-divider {
        margin-top: 10px;
    }

    .dbi-banner-typewriter {
        min-height: 25px;
        margin-top: 8px;

        font-size: 13pt;
		font-weight:550;
    }
}

/* ==========================================================
   TELÉFONOS PEQUEÑOS
========================================================== */

@media (max-width: 380px) {

    .dbi-profile-banner-content {
        padding:
            calc(82px + env(safe-area-inset-top))
            10px
            calc(250px + env(safe-area-inset-bottom));
    }

    .dbi-profile-banner-avatar {
        width: min(57vw, 210px);
        margin-bottom: 14px;
    }

    .dbi-profile-banner-information h2 {
        font-size: 20px;
        letter-spacing: 1.5px;
    }

    .dbi-banner-typewriter {
        font-size: 13px;
    }
}

/* ==========================================================
   TELÉFONO HORIZONTAL
========================================================== */

@media screen and (orientation: landscape) and (max-height: 650px) {

    .dbi-profile-banner-content {
        flex-direction: row;
        justify-content: center;

        gap: clamp(26px, 5vw, 64px);

        padding:
            calc(82px + env(safe-area-inset-top))
            38px
            calc(24px + env(safe-area-inset-bottom));

        text-align: left;
		transform: translateX(clamp(15px, 4vw, 45px));
    }

    .dbi-profile-banner-avatar {
        flex: 0 0 auto;

        width: min(39vh, 245px);

        margin: 0;
    }

    .dbi-profile-banner-information {
        max-width: 52%;
    }

    .dbi-profile-banner-information h2 {
        font-size: 13pt;
        letter-spacing: 3px;
    }

    .dbi-profile-banner-divider {
        margin-right: 0;
        margin-left: 0;
    }

    .dbi-banner-typewriter {
        justify-content: flex-start;

        font-size: clamp(14px, 2vw, 21px);
    }
	.dbi-profile-banner-puesto {

  font-size: 11pt;
}
    .dbi-banner-typewriter .dbi-typewriter-text {
        text-align: left;
		font-size: 11pt;
    }
}

/* ==========================================================
   ACCESIBILIDAD
========================================================== */

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

    .dbi-profile-banner-background,
    .dbi-profile-banner-avatar,
    .dbi-profile-banner-information,
    .dbi-profile-banner-divider {
        animation: none !important;
        transition: none !important;
    }

    .dbi-profile-banner-avatar,
    .dbi-profile-banner-information {
        opacity: 1;
        transform: none;
    }

    .dbi-profile-banner-divider {
        width: min(155px, 45%);
        opacity: 1;
    }
}

/* ========================================
   DBI HOVER PREMIUM
======================================== */

/* ==========================================================
   HOVER LIFT — PALETA AZUL #13426B
========================================================== */

.dbi-hover-lift {
    position: relative;
    overflow: hidden;

    transition:
        transform .28s cubic-bezier(.2,.8,.2,1),
        box-shadow .28s ease,
        border-color .28s ease,
        background .28s ease,
        color .28s ease;
}


/* ==========================================================
   HOVER GENERAL
========================================================== */

.dbi-hover-lift:hover {
    transform:
        translateY(-6px)
        scale(1.04);

    /* Azul corporativo */
    background: linear-gradient(
        135deg,
        #1b6099 0%,
        #13426B 55%,
        #0d304f 100%
    );

    border-color: #245f91;

    box-shadow:
        0 0 20px rgba(19, 66, 107, .40),
        0 16px 35px rgba(7, 27, 45, .38);

    /* Tipografía blanca */
    color: #fff;
}


/* ==========================================================
   TEXTO EN HOVER
========================================================== */

.dbi-hover-lift:hover span,
.dbi-hover-lift:hover p,
.dbi-hover-lift:hover strong {
    color: #fff;
}


/* ==========================================================
   ICONOS
========================================================== */

.dbi-hover-lift i {
    transition:
        transform .28s ease,
        color .28s ease;
}

.dbi-hover-lift:hover i {
    transform: scale(1.22);
    color: #fff;
}


/* ==========================================================
   DESTELLO
========================================================== */

.dbi-hover-lift::before {
    content: "";

    position: absolute;

    top: 0;
    left: -140%;

    width: 60%;
    height: 100%;

    background: linear-gradient(
        120deg,
        transparent,
        rgba(255, 255, 255, .20),
        transparent
    );

    transition: left .6s ease;

    pointer-events: none;
}

.dbi-hover-lift:hover::before {
    left: 150%;
}

/*desde aqui para compartir*/
/* ==========================================================
   HOVER LIFT — AZUL CORPORATIVO #13426B
========================================================== */

.dbi-hover-lift1 {
    position: relative;
    overflow: hidden;

    transition:
        transform .28s cubic-bezier(.2,.8,.2,1),
        box-shadow .28s ease,
        border-color .28s ease,
        background .28s ease,
        color .28s ease;
}


/* ==========================================================
   HOVER GENERAL
========================================================== */

.dbi-hover-lift1:hover {

    transform:
        translateY(-6px)
        scale(1.04);

    /* Azul corporativo */
    background: #13426B !important;

    border-color: #13426B !important;

    /* Sombra azul */
    box-shadow:
        0 0 20px rgba(19, 66, 107, .35),
        0 16px 35px rgba(19, 66, 107, .25);

    /* Texto blanco */
    color: #fff;
}


/* ==========================================================
   TODO EL TEXTO BLANCO
========================================================== */

.dbi-hover-lift1:hover span,
.dbi-hover-lift1:hover p,
.dbi-hover-lift1:hover strong {
    color: #fff !important;
}


/* ==========================================================
   ICONOS
========================================================== */

.dbi-hover-lift1 i {
    transition:
        transform .28s ease,
        color .28s ease;
}

.dbi-hover-lift1:hover i {
    transform: scale(1.22);
    color: #fff !important;
}


/* ==========================================================
   DESTELLO BLANCO
========================================================== */

.dbi-hover-lift1::before {
    content: "";

    position: absolute;
    top: 0;
    left: -140%;

    width: 60%;
    height: 100%;

    background: linear-gradient(
        120deg,
        transparent,
        rgba(255, 255, 255, .22),
        transparent
    );

    transition: left .6s ease;

    pointer-events: none;
}

.dbi-hover-lift1:hover::before {
    left: 150%;
}
/* ==========================================================
   WHATSAPP
========================================================== */

.dbi-whatsapp:hover {
    background: linear-gradient(
        135deg,
        #25D366,
        #128C4A
    );

    border-color: #25D366;
    color: #fff;
}

.dbi-whatsapp:hover i,
.dbi-whatsapp:hover span {
    color: #fff;
}


/* ==========================================================
   LLAMAR
========================================================== */

.dbi-call:hover {
    background: linear-gradient(
        135deg,
        #1b6099,
        #0d304f
    );

    border-color: #245f91;
    color: #fff;
}

.dbi-call:hover i,
.dbi-call:hover span {
    color: #fff;
}/* ==========================================================
   MODAL SERVICIOS
========================================================== */

.dbi-services-modal {
    position: fixed;
    inset: 0;

    z-index: 999999;

    display: none;
    align-items: center;
    justify-content: center;

    padding: 18px;

    background:
        rgba(0, 0, 0, .54);

    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.dbi-services-modal.open {
    display: flex;
}


/* ==========================================================
   TARJETA GENERAL
========================================================== */

.dbi-services-shell {
    position: relative;

    width:
        min(
            calc(100% - 20px),
            720px
        );

    height: auto;

    max-height:
        calc(100dvh - 100px);

    padding:
        30px
        88px
        38px;

    overflow: hidden;

    background: rgba(255,255,255,.9);

    border-radius: 30px;

    box-shadow:
        0 28px 80px
        rgba(0,0,0,.28);
}


/* ==========================================================
   FONDO TECNOLÓGICO
========================================================== */

.dbi-services-background {
    position: absolute;
    inset: 0;

    z-index: 0;

    background-image:
        url("../images/fondoServicios.webp");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    opacity: .75;

    pointer-events: none;
}


/* ==========================================================
   CERRAR
========================================================== */

.dbi-services-close {
    position: absolute;

    top: 20px;
    right: 22px;

    z-index: 50;

    width: 48px;
    height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0;

    color:
        var(
            --dbi-color-empresarial,
            #c11730
        );

    background:
        rgba(255,255,255,.96);

    border:
        1px solid
        rgba(0,0,0,.06);

    border-radius: 50%;

    box-shadow:
        0 8px 24px
        rgba(0,0,0,.10);

    font-size: 21px;

    cursor: pointer;
}


/* ==========================================================
   HEADER
========================================================== */

.dbi-services-header {
    position: relative;

    z-index: 10;

    display: flex;
    flex-direction: column;
    align-items: center;

    margin-bottom: 38px;
}

.dbi-services-header h2 {
    margin: 0;

    color: #1d2025;

    font-family:
        "Poppins",
        Helvetica,
        sans-serif;

    font-size:
        clamp(17pt, 3vw, 38px);

    font-weight: 600;

    letter-spacing: 2px;
}

.dbi-services-header-line {
    width: 78px;
    height: 3px;

    margin-top: 17px;

    border-radius: 10px;

    background:
        var(
            --dbi-color-empresarial,
            #c11730
        );
}


/* ==========================================================
   VIEWPORT
========================================================== */

.dbi-services-viewport {
    position: relative;

    z-index: 10;

    width:
        min(
            100%,
            690px
        );

    margin: 0 auto;

    overflow: visible;
}


/* ==========================================================
   TRACK
========================================================== */

.dbi-services-track {
    display: flex;

    width: 100%;

    transition:
        transform .5s
        cubic-bezier(
            .22,
            .75,
            .25,
            1
        );
}


/* ==========================================================
   SLIDES
========================================================== */

.dbi-service-slide {
    flex: 0 0 100%;

    width: 100%;

    padding: 0 2px;

    box-sizing: border-box;
}


/* ==========================================================
   TARJETA DEL SERVICIO
========================================================== */

.dbi-service-card {
    position: relative;

    width: 100%;

    aspect-ratio: 4 / 3;

    overflow: hidden;

    background-color: #111;

    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;

    border-radius: 26px;

    box-shadow:
        0 16px 40px
        rgba(0,0,0,.18);
}


/* ==========================================================
   OVERLAY NEGRO SÓLIDO
========================================================== */

.dbi-service-overlay {
    position: absolute;

    left: 0;
    right: 0;
    bottom: 0;

    width: 100%;
    height: 22%;

    z-index: 1;

    background: rgba(0, 0, 0, 0.92);

    pointer-events: none;
}


/* ==========================================================
   CONTENIDO DEL SERVICIO
========================================================== */

.dbi-service-content {
    position: absolute;

    left: 0;
    right: 0;
    bottom: 0;

    z-index: 5;

    width: 100%;
    min-height: 22%;

    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;

    padding: 14px 38px;

    box-sizing: border-box;

    color: #fff;

    text-align: center;
}


/* ==========================================================
   NÚMERO
========================================================== */

.dbi-service-number {
    display: block;

    margin: 0 0 5px;

    color: #e0e0e0;
  /*border-bottom: 2px solid var(--dbi-color-empresarial);*/
  width: 100%;
	padding-bottom:10px;
    font-family:
        "Poppins",
        Helvetica,
        sans-serif;

    font-size: 18px;

    font-weight: 600;

    line-height: 1;
}


/* ==========================================================
   TÍTULO
========================================================== */

.dbi-service-content h3 {
    margin: 0;

    font-family:
        "Poppins",
        Helvetica,
        sans-serif;

    font-size: 15pt;

    font-weight: 600;

    line-height: 1.2;

    color: #fff;
}


/* ==========================================================
   DESCRIPCIÓN
========================================================== */

.dbi-service-content p {
    margin: 7px 0 0;

    max-width: 550px;

    font-family:
        "Poppins",
        Helvetica,
        sans-serif;

    font-size:
        clamp(13px, 1.4vw, 17px);

    font-weight: 400;

    line-height: 1.35;

    color:
        rgba(255,255,255,.92);
}
/* ==========================================================
   FLECHAS
========================================================== */

.dbi-services-arrow {
    position: absolute;

    top: 50%;

    z-index: 30;

    width: 52px;
    height: 52px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0;

    color:
        var(
            --dbi-color-empresarial,
            #c11730
        );

    background:
        rgba(255,255,255,.97);

    border:
        1px solid
        rgba(0,0,0,.05);

    border-radius: 50%;

    box-shadow:
        0 10px 26px
        rgba(0,0,0,.14);

    font-size: 20px;

    cursor: pointer;

    transform:
        translateY(-50%);

    transition:
        transform .2s ease,
        box-shadow .2s ease;
}


.dbi-services-arrow:hover {
    transform:
        translateY(-50%)
        scale(1.06);

    box-shadow:
        0 12px 30px
        rgba(0,0,0,.19);
}


.dbi-services-previous {
    left: -27px;
}


.dbi-services-next {
    right: -27px;
}


/* ==========================================================
   DOTS
========================================================== */

.dbi-services-indicators {
    position: relative;

    z-index: 20;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 12px;

    margin-top: 32px;
}


.dbi-services-indicator {
    width: 11px;
    height: 11px;

    padding: 0;

    border: 0;

    border-radius: 50%;

    background: #c5c7ca;

    cursor: pointer;

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


.dbi-services-indicator.active {
    background:
        var(
            --dbi-color-empresarial,
            #c11730
        );

    transform: scale(1.15);
}


/* ==========================================================
   BLOQUEAR SCROLL
========================================================== */

body.dbi-services-open {
    overflow: hidden;
}


/* ==========================================================
   MÓVIL
========================================================== */

@media (max-width: 700px) {

    .dbi-services-modal {
        padding:
            12px;
    }


    .dbi-services-shell {
        width:
            calc(100% - 4px);

        max-width: 470px;

        padding:
            30px
            22px
            34px;

        border-radius: 28px;
    }


    /* ------------------------------------------
       CABECERA
    ------------------------------------------ */

    .dbi-services-header {
        margin-bottom: 13px;
    }


    .dbi-services-header h2 {
        font-size: 22px;
		font-weight:600;
        letter-spacing: 2px;
		font-family: "Poppins", Helvetica, sans-serif;
    }


    .dbi-services-header-line {
        width: 72px;

        margin-top: 8px;
    }


    /* ------------------------------------------
       X
    ------------------------------------------ */

    .dbi-services-close {
        top: 20px;
        right: 18px;

        width: 46px;
        height: 46px;
    }


    /* ------------------------------------------
       CARRUSEL
    ------------------------------------------ */
.dbi-services-viewport {
    touch-action: pan-y;
    -webkit-user-select: none;
    user-select: none;
}

    .dbi-services-viewport {
        width:
            calc(100% - 26px);
    }


    /*
       Esta proporción crea la tarjeta vertical
       que aparece en la maqueta.
    */

   
   .dbi-service-card {
        width: 100%;

        aspect-ratio: 4 / 7.1;

        border-radius: 25px;

        background-position: center;
    }


        /* ------------------------------------------
       OVERLAY NEGRO SÓLIDO
    ------------------------------------------ */

    .dbi-service-overlay {
        left: 0;
        right: 0;
        top: auto;
        bottom: 0;

        width: 100%;
        height: 20%;

        background: rgba(0, 0, 0, 0.92);
    }


    /* ------------------------------------------
       TEXTO
    ------------------------------------------ */

    .dbi-service-content {
        left: 0;
        right: 0;
        bottom: 0;

        width: auto;
        min-height: 20%;

        /*padding: 12px 50px;*/

        display: flex;
        flex-direction: column;
        align-items: start/*flex-start*/;
        justify-content: center;
		text-align:justify;
        box-sizing: border-box;
    }

	.dbi-line {
    width: 20px;
    height: 3px;
    margin: -8px 0 15px;
    border: none;
    background-color: #13426B;
}
    .dbi-service-number {
        margin: 0 0 4px;

        font-size: 17px;

        line-height: 1;
    }


    .dbi-service-content h3 {
        margin: 0;

        font-size: 15px;

        line-height: 1.2;
		font-weight:lighter;
    }


    .dbi-service-content p {
        margin-top: 6px;

        font-size: 13px;

        line-height: 1.35;
    }
    /* ------------------------------------------
       FLECHAS
    ------------------------------------------ */

    .dbi-services-arrow {
        width: 48px;
        height: 48px;

        font-size: 18px;
    }


    .dbi-services-previous {
        left: -23px;
    }


    .dbi-services-next {
        right: -23px;
    }


    /* ------------------------------------------
       DOTS
    ------------------------------------------ */

    .dbi-services-indicators {
        margin-top: 30px;
    }

}


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

@media (max-width: 390px) {

    .dbi-services-shell {
        padding:
            62px
            18px
            28px;
    }


    .dbi-services-header {
        margin-bottom: 28px;
    }


    .dbi-services-header h2 {
        font-size: 23px;

        letter-spacing: 5px;
    }


   /* .dbi-service-content {
        left: 23px;
        right: 20px;

        bottom: 28px;
    }


    .dbi-service-content h3 {
        font-size: 25px;
    }*/

}

#openFullMenu {
    width: 100%;
    font-family: inherit;

    appearance: none;
    -webkit-appearance: none;

    touch-action: manipulation;
}

/* Solo bloquear el menú cuando está cerrado en móvil */
@media (max-width: 1023px) {

    .dbi-full-menu {
        pointer-events: none;
    }

    .dbi-full-menu.open {
        pointer-events: auto;
    }

}

/* En escritorio siempre debe aceptar clics */
@media (min-width: 1024px) {

    .dbi-full-menu {
        pointer-events: auto !important;
    }

}
/*
 Mientras el panel entra, bloqueamos solamente su contenido.
 El botón cerrar también queda bloqueado medio segundo,
 evitando que el mismo toque abra y cierre.
*/

@media (max-width: 1023px) {

    .dbi-full-menu.dbi-menu-opening > * {
        pointer-events: none !important;
    }

}

/* Evita selección y menú contextual accidental en iOS */

#openFullMenu,
.dbi-full-menu a,
.dbi-full-menu button {
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

/* ==========================================================
   MODAL PREMIUM DE UBICACIONES
========================================================== */

.dbi-locations-modal {
    position: fixed;
    inset: 0;
    z-index: 999999;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 30px;

    background: rgba(0, 0, 0, .40);

    backdrop-filter: blur(9px);
    -webkit-backdrop-filter: blur(9px);

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition:
        opacity .35s ease,
        visibility .35s ease;
}

.dbi-locations-modal.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}


/* ==========================================================
   PANEL
   MISMO CONCEPTO DE TAMAÑO QUE SERVICIOS
========================================================== */

.dbi-locations-premium-panel {
    position: relative;
    z-index: 2;

    width: min(100%, 1100px);
    height: min(82dvh, 760px);
    max-height: calc(100dvh - 60px);

    overflow: hidden;

    background: #ffffff;

    border: 1px solid rgba(0, 0, 0, .08);
    border-radius: 26px;

    box-shadow:
        0 35px 100px rgba(0, 0, 0, .30);

    opacity: 0;

    transform:
        translateY(45px)
        scale(.98);

    transition:
        transform .52s cubic-bezier(.22,.82,.22,1),
        opacity .35s ease;
}

.dbi-locations-modal.open
.dbi-locations-premium-panel {
    opacity: 1;

    transform:
        translateY(0)
        scale(1);
}


/* ==========================================================
   IMAGEN DE MAPA DE FONDO
========================================================== */

.dbi-locations-background {
    position: absolute;
    inset: 0;
    z-index: 0;

    background-image:
        url("../images/fondoubi.webp");

    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;

    transform: scale(1.02);

    pointer-events: none;
}


/* Capa para controlar cuánto se ve el mapa */

.dbi-locations-background-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;

    background:
        linear-gradient(
            135deg,
            rgba(255,255,255,.5),
            rgba(255,255,255,.5)
        );

    pointer-events: none;
}


/* ==========================================================
   CERRAR
========================================================== */

.dbi-locations-close {
    position: absolute;
    top: 22px;
    right: 22px;
    z-index: 20;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 48px;
    height: 48px;

    padding: 0;

    color:
        var(--dbi-color-empresarial, #13426B);

    background:
        rgba(255,255,255,.82);

    border:
        1px solid rgba(0,0,0,.08);

    border-radius: 50%;

    box-shadow:
        0 9px 25px rgba(0,0,0,.10);

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    font-size: 20px;

    cursor: pointer;

    transition:
        color .25s ease,
        background .25s ease,
        transform .25s ease,
        box-shadow .25s ease;
}

.dbi-locations-close:hover {
    color: #ffffff;

    background:
        var(--dbi-color-empresarial, #13426B);

    transform:
        rotate(90deg)
        scale(1.06);

    box-shadow:
        0 14px 32px
        rgba(172,22,44,.25);
}


/* ==========================================================
   ENCABEZADO
========================================================== */

.dbi-locations-header {
    position: relative;
    z-index: 5;

    display: flex;
    flex-direction: column;
    align-items: center;

    padding:
        clamp(40px, 8vh, 65px)
        80px
        60px;

    text-align: center;
}

.dbi-locations-header h2 {
    margin: 0;

    color: #202733;

    font-family: "Raleway", sans-serif;

    font-size:
        clamp(23px, 3vw, 34px);

    font-weight: 600;
    line-height: 1.15;

    letter-spacing:
        clamp(1px, .3vw, 4px);

    text-transform: uppercase;
}

.dbi-locations-title-line {
    display: block;

    width: 76px;
    height: 3px;

    margin-top: 18px;

    background:
        var(--dbi-color-empresarial, #13426B);

    border-radius: 999px;
}


/* ==========================================================
   LISTADO
========================================================== */

.dbi-locations-list {
    position: relative;
    z-index: 5;

    display: flex;
    flex-direction: column;
    justify-content: center;

    gap: clamp(14px, 2vh, 20px);

    width: min(72%, 760px);
    height: calc(100% - 145px);

    margin: 0 auto;

    padding: 25px 0 40px;
}


/* ==========================================================
   TARJETAS
========================================================== */

.dbi-location-card {
    position: relative;

    display: grid;

    grid-template-columns:
        78px
        minmax(0, 1fr)
        1px
        54px;

    align-items: center;

    gap: 20px;

    width: 100%;
    min-height: 125px;

    padding: 20px 22px;

    color: #202733;

    text-decoration: none;

    background:
        rgba(255,255,255,.76);

    border:
        1px solid rgba(0,0,0,.07);

    border-radius: 22px;

    box-shadow:
        0 14px 36px
        rgba(0,0,0,.08);

    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);

    opacity: 0;

    transform:
        translateY(18px);

    transition:
        transform .28s cubic-bezier(.2,.8,.2,1),
        box-shadow .28s ease,
        background .28s ease,
        border-color .28s ease;
}


/* Animación solo cuando abre */

.dbi-locations-modal.open
.dbi-location-card {
    animation:
        dbiLocationEntrance
        .55s
        ease
        var(--location-delay, 0ms)
        forwards;
}


@keyframes dbiLocationEntrance {

    from {
        opacity: 0;

        transform:
            translateY(18px);
    }

    to {
        opacity: 1;

        transform:
            translateY(0);
    }
}


/* ==========================================================
   HOVER
========================================================== */

@media (hover: hover) {

    .dbi-location-card:hover {
        transform:
            translateY(-6px)
            scale(1.015);

        background:
            rgba(255,255,255,.94);

        border-color:
            color-mix(
                in srgb,
                var(--dbi-color-empresarial, #13426B) 30%,
                transparent
            );

        box-shadow:
            0 24px 50px
            rgba(0,0,0,.14);
    }

}


/* ==========================================================
   PIN
========================================================== */

.dbi-location-icon {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 68px;
    height: 68px;

    color:
        var(--dbi-color-empresarial, #13426B);

    background:
        color-mix(
            in srgb,
            var(--dbi-color-empresarial, #13426B) 8%,
            transparent
        );

    border-radius: 50%;

    font-size: 29px;

    transition:
        transform .28s ease,
        box-shadow .28s ease;
}

.dbi-location-icon::after {
    content: "";

    position: absolute;
    inset: -7px;

    border:
        1px solid
        color-mix(
            in srgb,
            var(--dbi-color-empresarial, #13426B) 15%,
            transparent
        );

    border-radius: 50%;
}

.dbi-location-card:hover
.dbi-location-icon {
    transform: scale(1.1);

    box-shadow:
        0 0 25px
        color-mix(
            in srgb,
            var(--dbi-color-empresarial, #13426B) 15%,
            transparent
        );
}


/* ==========================================================
   TEXTO
========================================================== */

.dbi-location-info {
    min-width: 0;
}

.dbi-location-info strong {
    display: block;

    margin-bottom: 7px;

    color: #202733;

    font-size:
        clamp(18px, 2vw, 24px);

    font-weight: 700;
    line-height: 1.2;
}

.dbi-location-info small {
    display: block;

    color: #747c87;

    font-size:
        clamp(13px, 1.4vw, 17px);

    font-weight: 400;
    line-height: 1.45;
}


/* ==========================================================
   DIVISOR
========================================================== */

.dbi-location-divider {
    width: 1px;
    height: 68%;

    background:
        rgba(0,0,0,.11);
}


/* ==========================================================
   FLECHA
========================================================== */

.dbi-location-arrow {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 46px;
    height: 46px;

    color:
        var(--dbi-color-empresarial, #13426B);

    border-radius: 50%;

    font-size: 20px;

    transition:
        color .25s ease,
        background .25s ease,
        transform .25s ease;
}

.dbi-location-card:hover
.dbi-location-arrow {
    color: #ffffff;

    background:
        var(--dbi-color-empresarial, #13426B);

    transform:
        translateX(4px)
        scale(1.05);
}


/* ==========================================================
   MÓVIL
========================================================== */

@media (max-width: 700px) {

    .dbi-locations-modal {
        /*
         A diferencia de Servicios, lo centramos también
         verticalmente para que se vea como una tarjeta.
        */

        align-items: center;

        padding:
            max(12px, env(safe-area-inset-top))
            12px
            max(12px, env(safe-area-inset-bottom));
    }

    .dbi-locations-premium-panel {
        width: 100%;

        height: min(90dvh, 500px);
        max-height: 90dvh;

        border-radius: 24px;
    }

    .dbi-locations-header {
        padding:
            64px
            52px
            0;
    }

    .dbi-locations-header h2 {
        font-size:
            16pt;

        letter-spacing: 0px;
    }

    .dbi-locations-title-line {
        width: 58px;
        height: 2px;

        margin-top: 13px;
    }

    .dbi-locations-close {
        top: 14px;
        right: 14px;

        width: 42px;
        height: 42px;

        font-size: 18px;
    }

    .dbi-locations-list {
        width: calc(100% - 28px);

        height:
            calc(100% - 112px);

        gap: 13px;

        padding:
            20px 0
            25px;
    }

    .dbi-location-card {
        grid-template-columns:
            55px
            minmax(0,1fr)
            1px
            38px;

        gap: 11px;

        min-height: 100px;

        padding:
            14px
            13px;

        border-radius: 18px;
    }

    .dbi-location-icon {
        width: 52px;
        height: 52px;

        font-size: 23px;
    }

    .dbi-location-info strong {
        margin-bottom: 4px;

        font-size:
            clamp(16px, 4.5vw, 20px);
    }

    .dbi-location-info small {
        font-size:
            clamp(11px, 3.5vw, 14px);
    }

    .dbi-location-arrow {
        width: 36px;
        height: 36px;

        font-size: 16px;
    }

}


/* ==========================================================
   TELÉFONOS PEQUEÑOS
========================================================== */

@media (max-width: 380px) {

    .dbi-locations-premium-panel {
        height: 92dvh;
        max-height: 92dvh;
    }

    .dbi-locations-header {
        padding-top: 58px;
    }

    .dbi-location-card {
        grid-template-columns:
            48px
            minmax(0,1fr)
            32px;

        min-height: 90px;

        padding: 11px;
    }

    .dbi-location-divider {
        display: none;
    }

    .dbi-location-icon {
        width: 45px;
        height: 45px;

        font-size: 20px;
    }

}

/* ==========================================================
   MÓVIL GRANDE / IPHONE PRO MAX EN LANDSCAPE
   Reutiliza el menú completo como panel lateral permanente.
   Portrait y escritorio conservan su comportamiento actual.
========================================================== */
@media screen
  and (orientation: landscape)
  and (min-width: 800px)
  and (max-width: 1023px)
  and (max-height: 500px) {

    /* Evita desplazamiento de la página completa */
    body {
        overflow: hidden !important;
    }

    /* En horizontal usamos el menú completo lateral */
    .dbi-compact-menu {
        display: none !important;
    }

    /* Panel lateral izquierdo */
    .dbi-full-menu {
        inset: 0 auto 0 0 !important;
        width: 40% !important;
        height: 100vh !important;
        height: 100dvh !important;
        max-height: 100dvh !important;

        padding:
            calc(8px + env(safe-area-inset-top))
            16px
            calc(8px + env(safe-area-inset-bottom)) !important;

        display: flex !important;
        flex-direction: column;
        visibility: visible !important;
        transform: none !important;
        overflow-x: hidden;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;

        /* Anula el bloqueo usado por el menú modal móvil */
        pointer-events: auto !important;

        border-right: 1px solid rgba(172, 22, 44, .25);
    }

    /* Si el JS dejó las clases de apertura, no deben bloquear botones */
    .dbi-full-menu > *,
    .dbi-full-menu.dbi-menu-opening > * {
        pointer-events: auto !important;
    }

    /* En este modo el panel es permanente, no necesita topbar/cerrar */
    .dbi-menu-topbar {
        display: none !important;
    }

    /* PERFIL */
    .dbi-profile {
        padding-top: 0;
    }

    .dbi-profile-picture {
        width: 105px;
        height: 105px;
        margin: 0 auto 5px;
    }

    .dbi-profile h1 {
        margin-bottom: 2px;
        padding-top: 2px;
        font-size: 14px;
        line-height: 1;
        text-transform: uppercase;
        letter-spacing: 1px;
    }

    .dbi-profile p,
    .dbi-typewriter {
        min-height: 18px;
        font-size: 12px;
        line-height: 1.1;
    }

    .dbi-profile-company {
        margin-top: 3px;
        font-size: 11px;
        line-height: 1.1;
    }

    /* REDES */
    .dbi-full-socials {
        gap: 8px;
        margin: 7px 0 8px;
    }

    .dbi-full-socials a {
        width: 26px;
        height: 26px;
        font-size: 12px;
        border-radius: 7px;
    }

    /* WHATSAPP / LLAMAR / GUARDAR */
    .dbi-full-primary {
        gap: 6px;
        margin: 0 auto 6px;
    }

    .dbi-primary-btn,
    .dbi-primary-btn-llamar {
        min-height: 34px;
        padding: 5px;
        gap: 5px;
        font-size: 11px;
        border-radius: 7px;
    }

    .dbi-primary-btn i,
    .dbi-primary-btn-llamar i {
        font-size: 12px;
    }

    /* BOTONES INFERIORES: correo, servicios, web, más, etc. */
    .dbi-full-grid {
        gap: 6px;
    }

    .dbi-full-item {
        min-height: 42px;
        padding: 4px 2px;
        gap: 2px;
        font-size: 10px;
        border-radius: 7px;
    }

    .dbi-full-item i {
        font-size: 14px;
    }

    /* FOOTER */
    .dbi-full-footer {
        padding: 6px 0 4px;
    }

    .dbi-views {
        margin: 3px 0;
        font-size: 10px;
    }

    .dbi-powered {
        font-size: 9px;
    }

    /* SLIDER / BANNERS A LA DERECHA */
    .dbi-slider {
        left: 40% !important;
        right: 0 !important;
        width: auto !important;
    }

    /*
       IMPORTANTE:
       No se modifica .dbi-banner-content ni
       .dbi-profile-banner-information para conservar la posición
       original del contenido del primer banner.
    */

    /* Oculta la barra responsive superior en este layout */
    .dbi-responsive-topbar {
        display: none !important;
    }

    .dbi-app {
        padding-top: 0 !important;
    }
}
/* ==========================================================
   MODAL EMPRESA
========================================================== */

.dbi-company-modal {
    position: fixed;
    inset: 0;

    z-index: 999999;

    display: none;
    align-items: center;
    justify-content: center;

    padding: 24px;

    background:
        rgba(4, 13, 24, .72);

    backdrop-filter: blur(9px);
    -webkit-backdrop-filter: blur(9px);
}


.dbi-company-modal.open {
    display: flex;
}


/* ==========================================================
   CONTENEDOR PRINCIPAL
========================================================== */

.dbi-company-shell {
    position: relative;

    width:
        min(
            calc(100vw - 50px),
            1060px
        );

    height:
        min(
            74vh,
            630px
        );

    min-height: 520px;

    overflow: hidden;

    background: #fff;

    border-radius: 28px;

    box-shadow:
        0 30px 90px
        rgba(0,0,0,.30);
}


/* ==========================================================
   BOTÓN CERRAR
========================================================== */

.dbi-company-close {
    position: absolute;

    top: 22px;
    right: 24px;

    z-index: 50;

    width: 52px;
    height: 52px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin: 0;
    padding: 0;

    border:
        1px solid
        rgba(0,0,0,.05);

    border-radius: 50%;

    background:
        rgba(255,255,255,.96);

    color: #123d70;

    font-size: 24px;

    box-shadow:
        0 8px 24px
        rgba(0,0,0,.12);

    cursor: pointer;

    transition:
        transform .25s ease,
        box-shadow .25s ease;
}


.dbi-company-close:hover {
    transform:
        rotate(90deg)
        scale(1.05);

    box-shadow:
        0 10px 28px
        rgba(0,0,0,.18);
}


/* ==========================================================
   CONTENIDO
========================================================== */

.dbi-company-content {
    position: relative;

    z-index: 10;

    width: 51%;
    height: 100%;

    display: flex;
    flex-direction: column;
    justify-content: center;

    padding:
        52px
        55px
        46px
        65px;

    box-sizing: border-box;

    background:
        linear-gradient(
            115deg,
            #ffffff 0%,
            #ffffff 79%,
            rgba(255,255,255,.96) 100%
        );
}


/* ==========================================================
   LOGO
========================================================== */

.dbi-company-logo {
    width: 155px;

    margin-bottom: 48px;
}


.dbi-company-logo img {
    display: block;

    width: 100%;
    height: auto;

    object-fit: contain;
}


/* ==========================================================
   TÍTULO
========================================================== */

.dbi-company-title {
    display: flex;
    flex-direction: column;

    gap: 4px;

    color: #123d70;

    font-family:
        "Poppins",
        Helvetica,
        sans-serif;

    line-height: .5;
}


.dbi-company-title strong {
    font-size:
        clamp(
            21px,
            2vw,
            28px
        );

    font-weight: 600;
}


.dbi-company-title span {
    font-size:
        clamp(
            21px,
            2vw,
            28px
        );

    font-weight: 400;
}


/* ==========================================================
   LÍNEA
========================================================== */

.dbi-company-line {
    width: 60px;
    height: 4px;

    margin:
        28px
        0
        30px;

    background: #123d70;

    border-radius: 10px;
}


/* ==========================================================
   DESCRIPCIÓN
========================================================== */

.dbi-company-description {
    max-width: 390px;

    margin:
        0
        0
        5px;

    color: #30353b;

    font-family:
        "Poppins",
        Helvetica,
        sans-serif;

    font-size:
        15px;

    font-weight: 400;

    line-height: 1.5;

    text-align: justify;
}


/* ==========================================================
   BOTÓN CONÓCENOS
========================================================== */

.dbi-company-button {
    width: 260px;
    min-height: 55px;
	margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    padding:
        0
        22px
        0
        30px;

    box-sizing: border-box;

    border-radius: 12px;

    background:
        linear-gradient(
            135deg,
            #143f74,
            #062d60
        );

    color: #fff;

    text-decoration: none;

    font-family:
        "Poppins",
        Helvetica,
        sans-serif;

    font-size: 16px;

    font-weight: 500;

    box-shadow:
        0 8px 18px
        rgba(10,50,100,.22);

    transition:
        transform .2s ease,
        box-shadow .2s ease;
}


.dbi-company-button:hover {
    transform:
        translateY(-2px);

    box-shadow:
        0 12px 25px
        rgba(10,50,100,.30);
}


.dbi-company-button i {
    font-size: 17px;
}


/* ==========================================================
   TEXTO INFERIOR
========================================================== */

.dbi-company-more {
    display: block;

    margin-top: 17px;

    color: #123d70;

    font-family:
        "Poppins",
        Helvetica,
        sans-serif;

    font-size: 13px;
}


/* ==========================================================
   IMAGEN DERECHA
========================================================== */

.dbi-company-image {
    position: absolute;

    top: 0;
    right: 0;

    width: 52%;
    height: 100%;

    z-index: 1;

    overflow: hidden;

    background: #eef2f5;
}


.dbi-company-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    object-position: center;

    display: block;
}


/* ==========================================================
   CURVA ENTRE BLANCO E IMAGEN
========================================================== */

.dbi-company-curve {
    position: absolute;

    z-index: 5;

    top: -8%;
    left: 43%;

    width: 180px;
    height: 116%;

    background: #fff;

    border-radius:
        0
        55%
        55%
        0
        /
        0
        50%
        50%
        0;

    transform:
        rotate(8deg);

    pointer-events: none;
}


/* Borde gris detrás de la curva */

.dbi-company-curve::after {
    content: "";

    position: absolute;

    top: -10px;
    right: -11px;

    width: 15px;
    height: calc(100% + 20px);

    border-radius: 50%;

    background:
        linear-gradient(
            to bottom,
            #dce3ea,
            #eaf0f5,
            #dce3ea
        );

    opacity: .95;
	display:none;
}


/* ==========================================================
   TABLET
========================================================== */

@media (max-width: 900px) {

    .dbi-company-shell {
        width:
            min(
                calc(100vw - 32px),
                780px
            );

        height:
            min(
                75vh,
                600px
            );
    }


    .dbi-company-content {
        width: 57%;

        padding:
            45px
            40px;
    }


    .dbi-company-image {
        width: 48%;
    }


    .dbi-company-curve {
        left: 45%;

        width: 135px;
    }

}


/* ==========================================================
   MÓVIL
========================================================== */

@media (max-width: 700px) {

    .dbi-company-modal {
        padding:
            max(
                10px,
                env(safe-area-inset-top)
            )
            10px
            max(
                10px,
                env(safe-area-inset-bottom)
            );
    }


    .dbi-company-shell {
        width:
            min(
                calc(100vw - 24px),
                420px
            );

        height:
            min(
                calc(100dvh - 30px),
                720px
            );

        min-height: 600px;

        border-radius: 26px;
    }


    /* ------------------------------------------
       X
    ------------------------------------------ */

    .dbi-company-close {
        top: 18px;
        right: 18px;

        width: 46px;
        height: 46px;

        font-size: 20px;
    }


    /* ------------------------------------------
       CONTENIDO SUPERIOR
    ------------------------------------------ */

    .dbi-company-content {
        position: relative;

        width: 100%;
        height: 72%;

        justify-content: flex-start;

        padding:
            45px
            30px
            30px;

        background: #fff;
    }


    /* Logo */

    .dbi-company-logo {
        width: 115px;

        margin-bottom: 38px;
    }


    /* Título */

    .dbi-company-title strong,
    .dbi-company-title span {
        font-size: 20px;
    }


    .dbi-company-line {
        width: 48px;
        height: 3px;

        margin:
            21px
            0
            22px;
    }


    /* Descripción */

    .dbi-company-description {
        margin-bottom: 24px;

        font-size: 13px;

        line-height: 1.65;
    }


    /* Botón */

    .dbi-company-button {
        width: 100%;
        max-width: 240px;

        min-height: 50px;

        padding:
            0
            18px
            0
            24px;

        font-size: 14px;
    }


    .dbi-company-more {
        margin-top: 13px;

        font-size: 12px;
    }


    /* ------------------------------------------
       IMAGEN ABAJO
    ------------------------------------------ */

    .dbi-company-image {
        top: auto;
        bottom: 0;

        width: 100%;
        height: 36%;

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


    .dbi-company-image img {
        object-position: center;
    }


    /* ------------------------------------------
       CURVA MÓVIL
    ------------------------------------------ */

    .dbi-company-curve {
        top: auto;
        bottom: 25%;

        left: -5%;

        width: 128%;
        height: 100px;

        background: #fff;

        border-radius:
            0 0 50% 50%;

        transform:
            rotate(-4deg);
    }


    .dbi-company-curve::after {
        top: auto;
        bottom: -9px;
        right: 0;

        width: 100%;
        height: 12px;

        border-radius: 50%;

        background:
            #e5ebf1;
    }

}


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

@media (max-width: 390px) {

    .dbi-company-shell {
        height:
            calc(100dvh - 20px);
    }


    .dbi-company-content {
        padding:
            38px
            25px
            25px;
    }


    .dbi-company-logo {
        width: 100px;

        margin-bottom: 30px;
    }


    .dbi-company-title strong,
    .dbi-company-title span {
        font-size: 18px;
    }


    .dbi-company-description {
        font-size: 12px;
    }

}


/* ==========================================================
   BODY
========================================================== */

body.dbi-company-open {
    overflow: hidden;
}