/* ============================================================
   VARIABLES
   ============================================================ */
:root {
  --azul:        #192e7c;
  --naranja:     #e56500;
  --azul-suave:  #eef3f9;
  --gris:        #b4b4b4;
  --blanco:      #ffffff;
  --negro:       #000000;
}

/* ============================================================
   RESET / BASE
   ============================================================ */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html { scroll-behavior: smooth; }
body {
  font-family: 'Lato', sans-serif;
  font-size: 16px;
  color: var(--negro);
  background: var(--blanco);
  padding-top: 36px; /* espacio para la barra portal fija */
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { display: block; max-width: 100%; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================================
   BOTONES
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 6px;
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: 18px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease,
              background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  box-shadow: 0 4px 14px rgba(0,0,0,.15);
  border: none;
}
.btn--orange {
  background-color: var(--naranja);
  color: var(--blanco);
}
.btn--orange:hover {
  background-color: #c95a00;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(229,101,0,.40);
}
.btn--orange:active { transform: translateY(0); }

/* ============================================================
   DECORATIVE LINES
   ============================================================ */
.section-deco {
  display: flex;
  justify-content: center;
  padding: 36px 0;
}
.section-title__deco {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.deco-line--long {
  width: 238px;
  height: 2px;
  background-color: #d0d0d0;
}
.deco-line--short {
  width: 80px;
  height: 8px;
  background-color: var(--naranja);
  margin-top: -5px;
}

/* ============================================================
   HEADER
   ============================================================ */
.header {
  position: sticky;
  top: 36px;
  z-index: 100;
  background: var(--blanco);
  box-shadow: 0 2px 8px rgba(0,0,0,.08);
}
.header__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 90px;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 24px;
}
.header__logo { display: flex; align-items: center; }
.header__logo-img { height: 65px; width: auto; }

.header__nav { display: flex; align-items: stretch; }
.header__nav-list { display: flex; align-items: stretch; gap: 36px; }
.header__nav-list li { display: flex; align-items: stretch; }
.header__nav-link {
  display: flex;
  align-items: center;
  font-size: 16px;
  color: var(--negro);
  position: relative;
  transition: color 0.2s;
}
.header__nav-link:hover { color: var(--naranja); }
.header__nav-link--active { color: var(--naranja); }
.header__nav-link--active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: -10px;
  width: calc(100% + 20px);
  height: 3px;
  background: var(--naranja);
  border-radius: 2px;
}

/* Burger */
.header__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  align-self: center;
}
.header__burger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--azul);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.header__burger--active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.header__burger--active span:nth-child(2) { opacity: 0; }
.header__burger--active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   SECTION DIVIDER
   ============================================================ */
.section-divider { padding: 0; }
.section-divider hr {
  border: none;
  border-top: 1px solid #d0d0d0;
  margin: 0;
}

/* ============================================================
   INTRO / SOBRE NOSOTROS
   ============================================================ */
.nosotros-intro {
  position: relative;
  padding: 72px 0 60px;
  overflow: hidden;
}

/* Mapa del mundo al fondo */
.nosotros-intro__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.12;
}
.nosotros-intro__bg img {
  width: 80%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

/* Layout vertical: texto arriba, collage abajo centrado */
.nosotros-intro__grid {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 52px;
}

/* Bloque de texto — full width con límite legible */
.nosotros-intro__text {
  width: 100%;
  max-width: 700px;
}

.nosotros-intro__title {
  font-size: 56px;
  font-weight: 700;
  color: var(--azul);
  line-height: 1.1;
  margin-bottom: 28px;
}

.nosotros-intro__desc {
  font-size: 18px;
  color: var(--negro);
  line-height: 1.65;
  margin-bottom: 16px;
}

.nosotros-intro__deco {
  align-items: flex-start;
  margin-top: 28px;
}
/* Línea del intro: solo naranja, más larga */
.nosotros-intro__deco .deco-line--long {
  width: 160px;
  background-color: var(--naranja);
}
.nosotros-intro__deco .deco-line--short {
  display: none;
}

/* Collage centrado debajo del texto */
.nosotros-intro__collage {
  align-self: center;
  position: relative;
  width: 500px;
  height: 390px;
  flex-shrink: 0;
}

.collage-img {
  position: absolute;
  max-width: none;
  filter: drop-shadow(0 8px 24px rgba(0,0,0,.20));
}

/* Pieza trasera (izquierda-arriba) */
.collage-img--back {
  left: 0;
  top: 2%;
  width: 71%;
  z-index: 1;
}

/* Pieza central */
.collage-img--mid {
  left: 15%;
  top: 20%;
  width: 82%;
  z-index: 2;
}

/* Pieza delantera (derecha-abajo) */
.collage-img--front {
  left: 28%;
  top: 47%;
  width: 72%;
  z-index: 3;
}

/* ============================================================
   MISIÓN & VISIÓN
   ============================================================ */
.mision-vision {
  padding: 20px 0 60px;
}

.mv-grid {
  display: flex;
  gap: 24px;
  max-width: 860px;
  margin: 0 auto;
}

.mv-card {
  flex: 1;
  border: 1px solid #e9e9e9;
  border-radius: 12px;
  padding: 32px 28px 28px;
  min-height: 220px;
  box-shadow: 0 10px 28px rgba(0,0,0,.09);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.mv-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(0,0,0,.13);
}

.mv-card__header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
}

.mv-card__icon {
  width: 56px;
  flex-shrink: 0;
}

.mv-card__title {
  font-size: 30px;
  font-weight: 400;
  color: var(--negro);
}

.mv-card__desc {
  font-size: 18px;
  color: #444;
  line-height: 1.6;
}

/* ============================================================
   ¿POR QUÉ ELEGIR BANTAR?
   ============================================================ */
.por-que {
  padding: 60px 0 72px;
}

.por-que__header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 48px;
}

.por-que__line {
  flex: 1;
  height: 1px;
  background: #d0d0d0;
}

.por-que__title {
  font-size: 32px;
  font-weight: 700;
  color: var(--azul);
  white-space: nowrap;
}

/* Grid 3-2: fila 1 → 3 cards, fila 2 → 2 cards centradas */
.value-cards {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
  padding: 40px 200px;
  background: var(--blanco);
}

/* Todas las cards ocupan 2 de las 6 columnas */
.value-card {
  grid-column: span 2;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 48px 28px 40px;
  background: var(--blanco);
  border: 1px solid #ebebeb;
  border-radius: 14px;
  box-shadow: 0 4px 18px rgba(0,0,0,.06);
  transition: background 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}
.value-card:hover {
  background: #fafafa;
  box-shadow: 0 10px 30px rgba(0,0,0,.10);
  transform: translateY(-3px);
}

/* Fila 2: card 4 arranca en columna 2, card 5 en columna 4 → centradas */
.value-card:nth-child(4) { grid-column: 2 / span 2; }
.value-card:nth-child(5) { grid-column: 4 / span 2; }

/* Número grande editorial */
.value-card__num {
  position: absolute;
  bottom: -14px;
  right: 10px;
  font-size: 110px;
  font-weight: 700;
  line-height: 1;
  color: #f0f0f0;
  pointer-events: none;
  user-select: none;
  z-index: 0;
  transition: color 0.25s ease, transform 0.25s ease;
}
.value-card:hover .value-card__num {
  color: #e8effc;
  transform: translateY(-4px);
}

/* Icono */
.value-card__icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  color: var(--naranja);
  position: relative;
  z-index: 1;
  margin-bottom: 20px;
  transition: color 0.25s ease, transform 0.25s ease;
}
.value-card:hover .value-card__icon {
  color: var(--azul);
  transform: translateY(-3px);
}

/* Título */
.value-card__title {
  font-size: 15px;
  font-weight: 700;
  color: var(--negro);
  line-height: 1.4;
  position: relative;
  z-index: 1;
  transition: color 0.25s ease;
}
.value-card:hover .value-card__title { color: var(--azul); }

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-nosotros {
  position: relative;
  height: 290px;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.cta-nosotros__bg {
  position: absolute;
  inset: 0;
}

.cta-nosotros__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.cta-nosotros__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(87.59deg, rgba(25,46,124,.88) 42%, rgba(46,84,226,0) 97%);
}

.cta-nosotros__content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.cta-nosotros__text {
  font-size: 28px;
  font-weight: 700;
  font-style: italic;
  color: var(--blanco);
  text-align: center;
  line-height: 1.3;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--blanco); }
.footer__top-line { height: 4px; background: var(--azul); }
.footer__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 24px 24px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.footer__logo-img { height: 90px; width: auto; }
.footer__contact { display: flex; flex-direction: column; gap: 12px; }
.footer__contact-item { display: flex; align-items: center; gap: 10px; }
.footer__contact-icon-svg { flex-shrink: 0; }
.footer__contact-link,
.footer__contact-text { font-size: 15px; color: var(--negro); }
.footer__contact-link:hover { color: var(--naranja); }
.footer__bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 24px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  border-top: 1px solid #e8e8e8;
}
.footer__nav { display: flex; gap: 28px; flex-wrap: wrap; }
.footer__nav-link { font-size: 18px; color: var(--gris); transition: color 0.2s; }
.footer__nav-link:hover { color: var(--azul); }
.footer__copy { font-size: 13px; color: var(--gris); }

/* ============================================================
   WHATSAPP FLOTANTE
   ============================================================ */
.whatsapp-btn {
  position: fixed;
  bottom: 28px;
  right: 24px;
  z-index: 999;
  width: 52px;
  height: 52px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,.25);
  transition: transform 0.2s;
}
.whatsapp-btn:hover { transform: scale(1.1); }

/* ============================================================
   MENÚ MÓVIL OVERLAY
   ============================================================ */
.mobile-menu { display: none; }

/* ============================================================
   RESPONSIVE — TABLET  (≤ 900px)
   ============================================================ */
@media (max-width: 900px) {
  .nosotros-intro { padding: 52px 0 48px; }
  .nosotros-intro__title { font-size: 44px; }
  .nosotros-intro__grid { gap: 36px; }
  .nosotros-intro__collage { width: 420px; height: 330px; }

  .mv-card__title { font-size: 24px; }
  .mv-card__desc  { font-size: 16px; }

  .por-que__title { font-size: 26px; }

  .footer__container { justify-content: center; text-align: center; }
  .footer__contact-item { justify-content: center; }
  .footer__bottom { justify-content: center; }
}

/* ============================================================
   RESPONSIVE — MÓVIL  (≤ 640px)
   ============================================================ */
@media (max-width: 640px) {
  /* Header */
  .header__container { align-items: center; }
  .header__burger { display: flex; }
  .header__nav {
    display: none;
    position: absolute;
    top: 90px;
    left: 0;
    right: 0;
    background: var(--blanco);
    box-shadow: 0 4px 12px rgba(0,0,0,.1);
    padding: 16px 24px;
    z-index: 99;
  }
  .header__nav--open { display: block; }
  .header__nav-list { flex-direction: column; gap: 16px; }
  .header__nav-link--active::after { display: none; }

  /* Intro */
  .nosotros-intro { padding: 40px 0; }
  .nosotros-intro__grid { flex-direction: column; gap: 0; }
  .nosotros-intro__text { flex: none; width: 100%; }
  .nosotros-intro__title { font-size: 30px; }
  .nosotros-intro__desc { font-size: 16px; }
  .nosotros-intro__collage { width: 100%; height: 280px; }

  /* Misión / Visión */
  .mision-vision { padding: 0 0 40px; }
  .mv-grid { flex-direction: column; }
  .mv-card__title { font-size: 22px; }

  /* ¿Por qué Bantar? */
  .por-que { padding: 40px 0 52px; }
  .por-que__header { gap: 12px; }
  .por-que__title { font-size: 20px; white-space: normal; text-align: center; }
  .por-que__line { display: none; }

  .value-cards { grid-template-columns: 1fr 1fr; padding: 24px 16px; gap: 14px; }
  .value-card { grid-column: span 1 !important; padding: 36px 20px 32px; }
  .value-card:nth-child(5) { grid-column: 1 / -1 !important; max-width: calc(50% - 7px); margin: 0 auto; width: 100%; }

  /* CTA */
  .cta-nosotros { height: auto; padding: 48px 0; }
  .cta-nosotros__text { font-size: 20px; }
  .cta-nosotros__overlay { background: rgba(25,46,124,.82); }

  /* Footer */
  .footer__nav { justify-content: center; }

  /* Mobile menu overlay */
  .mobile-menu {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 200;
    background: var(--blanco);
    padding: 28px 24px 40px;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: scale(0.96);
    transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
  }
  .mobile-menu--open { opacity: 1; visibility: visible; transform: scale(1); }
  .mobile-menu__close {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--negro);
    transition: color 0.2s;
  }
  .mobile-menu__close:hover { color: var(--naranja); }
  .mobile-menu__logo {
    display: flex;
    justify-content: center;
    margin-top: 32px;
    margin-bottom: 40px;
  }
  .mobile-menu__logo-img { height: 100px; width: auto; }
  .mobile-menu__list {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
  }
  .mobile-menu__link {
    display: block;
    padding: 10px 0;
    text-align: center;
    font-size: 20px;
    font-weight: 400;
    color: var(--negro);
    transition: color 0.2s;
  }
  .mobile-menu__link:hover { color: var(--naranja); }
  .mobile-menu__link--active {
    color: var(--naranja);
    font-weight: 700;
    position: relative;
    padding-bottom: 6px;
  }
  .mobile-menu__link--active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 2px;
    background-color: var(--naranja);
    border-radius: 2px;
  }
  .mobile-menu__contact {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    margin-top: 48px;
  }
  .mobile-menu__contact-link {
    font-size: 14px;
    font-weight: 300;
    color: #b4b4b4;
    text-align: center;
    transition: color 0.2s;
  }
  a.mobile-menu__contact-link:hover { color: var(--naranja); }
}


/* ============================================================
   BARRA PORTAL
   ============================================================ */
.portal-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 101;
  background: #f0f2f8;
  border-bottom: 1px solid #dde3f0;
  height: 36px;
}
.portal-bar__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.portal-bar__back {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: #666;
  transition: color 0.2s;
}
.portal-bar__back svg { width: 14px; height: 14px; flex-shrink: 0; }
.portal-bar__back:hover { color: var(--azul); }
.portal-bar__brands {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
}
.portal-bar__brand { color: #999; transition: color 0.2s; }
.portal-bar__brand:hover { color: var(--azul); }
.portal-bar__brand--active { color: var(--azul); font-weight: 700; }
.portal-bar__sep { color: #ccc; }

@media (max-width: 360px) {
  .portal-bar__brands { display: none; }
}
.no-scroll { overflow: hidden; }
