/* =======================
   Identidad Marpatech - CSS deduplicado
   ======================= */
:root {
  --brand-dark: #333;
  --brand-dark-2: #333; /* agregado: usado en .brand-header, igualado a --brand-dark */
  --brand-primary: #0b2e4e;
  --brand-accent: #ffd700;
  --brand-accent-soft: rgba(255, 215, 0, 0.3);
  --brand-text: #ccc;
  --brand-text-soft: #999;
  --radius: 8px;
  --transition: 0.3s ease;
}

/* ===== Reset / Layout base ===== */
html,
body {
  height: 100%;
}
body {
  font-family:
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  background-color: #f8f9fa;
  color: #333;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
main,
.brand-main {
  flex: 1;
}
a {
  transition: color var(--transition);
}

/* ===== Hero / Header ===== */
.brand-hero {
  width: 100%;
  background: linear-gradient(90deg, #0b2c5d, #1c4f9c);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  margin: 0 auto;
  border-radius: 8px;
}
.brand-hero img,
.cover-image img {
  width: 100%;
  display: block;
}
.header-inner {
  margin: 0 auto;
}

/* ===== Banderas / flags ===== */
.brand-flags {
  position: absolute;
  top: 1rem;
  right: 2rem;
  display: flex;
  justify-content: center;
  gap: 1rem;
  z-index: 10;
  padding: 0.75rem 0;
  border-bottom: 1px solid #e5e7eb;
}
.dropdown-toggle {
  cursor: pointer;
}
.brand-flags img {
  width: 42px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  background: white;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}
.brand-flags a:hover img {
  transform: translateY(-3px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.15);
}

/* ===== Header / Nav ===== */
.brand-header {
  background: linear-gradient(180deg, var(--brand-dark-2), var(--brand-dark));
  border-bottom: 2px solid var(--brand-accent);
}
.nav-inner {
  padding-left: 2rem;
  padding-right: 2rem;
}

/* =======================
   Navegación principal
   ======================= */
.brand-nav {
  background: linear-gradient(180deg, #061a50, #050b1b);
  border-bottom: 2px solid var(--brand-accent);
}
.brand-nav .nav-link,
nav.nav-link {
  color: white;
  font-weight: 500;
  transition: color 0.3s;
  position: relative;
  padding: 5px 14px;
}
.brand-nav .nav-link::after,
.brand-nav .nav-link.active::after,
.brand-nav .nav-link:hover::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 40%;
  width: 0%;
  height: 3px;
  transition: width 0.25s ease;
}
.brand-nav .nav-link:hover::after,
.brand-nav .nav-link.active::after {
  width: 100%;
}
.brand-nav .nav-link:hover,
nav.nav-link:hover {
  color: var(--brand-accent) !important;
}

/* ===== Mega wrapper / menu multi-nivel ===== */
.brand-mega-wrapper {
  position: relative;
}
.brand-mega-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100vw;
  background: #ffffff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  z-index: 1000;
}
.brand-mega-wrapper:hover .brand-mega-dropdown {
  display: block;
}

/* Nivel 1, 2, 3 */
.brand-menu > li {
  display: inline-block;
  position: relative;
}
.brand-menu > li > a {
  color: var(--brand-primary);
  font-weight: 600;
  padding: 1rem;
  display: block;
}
.brand-menu li ul {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #f9fafb;
  min-width: 260px;
}
.brand-menu > li:hover > ul {
  display: block;
}
.brand-menu li ul li ul {
  display: none;
  position: absolute;
  left: 100%;
  top: 0;
  background: #ffffff;
  min-width: 300px;
}
.brand-menu li ul li:hover > ul {
  display: block;
}

/* =======================
   Dropdowns / submenu
   ======================= */
.dropdown-menu {
  min-width: 260px;
  background-color: #130f49;
  transition: all 0.25s ease;
}
.dropdown-menu h6 {
  font-size: 0.9rem;
  color: var(--brand-accent);
  border-bottom: 1px solid var(--brand-accent-soft);
  padding-bottom: 6px;
  margin-bottom: 10px;
}
.dropdown-menu a.dropdown-item {
  color: #fff;
  padding: 8px 15px;
  transition:
    background 0.3s,
    color 0.3s;
}
.dropdown-menu a.dropdown-item:hover {
  background-color: #576fb1;
  color: var(--brand-accent);
}

/* Submenu lateral (dropdown-submenu) */
.dropdown-submenu {
  position: relative;
}
.dropdown-submenu > .dropdown-menu {
  top: 0;
  left: 100%;
  margin-left: 0.1rem;
  display: none;
}
.dropdown-submenu:hover > .dropdown-menu {
  display: block;
}

/* Mostrar dropdown en desktop (hover) */
@media (min-width: 992px) {
  .navbar .dropdown:hover > .dropdown-menu {
    display: block;
    margin-top: 0;
  }
  .dropdown-submenu .dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -1px;
    display: none;
  }
  .dropdown-submenu:hover > .dropdown-menu {
    display: block;
  }
}

/* =======================
   Secciones / tarjetas / layout
   ======================= */
/* Brand section: unificado (padding, fondo, borde, sombra) */
.brand-section {
  padding: 40px 20px;
  background: #f5f7fa;
  border-radius: var(--radius);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  border-left: 4px solid var(--brand-accent);
  padding-top: 40px;
  padding-bottom: 40px;
}

/* Responsive ajustes de brand-section */
@media (max-width: 992px) {
  .brand-section {
    padding-top: 24px;
    padding-bottom: 24px;
  }
  .brand-section .row {
    gap: 20px 0;
  }
}
@media (max-width: 768px) {
  .brand-section {
    padding: 16px 12px;
  }
}

/* Contenedor principal */
.brand-content,
.nav-inner {
  padding-left: 2rem;
  padding-right: 2rem;
}
@media (min-width: 1400px) {
  .nav-inner,
  .brand-content {
    padding-left: 6rem;
    padding-right: 6rem;
  }
}
@media (max-width: 768px) {
  .nav-inner,
  .brand-content {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

/* SIDEBAR (unificado) */
.country-sidebar {
  background: #ffffff;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  position: sticky;
  margin-bottom: 20px;
}
.country-sidebar a {
  display: block;
  padding: 10px 12px;
  margin-bottom: 6px;
  color: #333;
  text-decoration: none;
  border-radius: 6px;
  transition:
    background 0.2s ease,
    color 0.2s ease;
  font-size: 14px;
  font-weight: 500;
}
.country-sidebar a:hover {
  background: #0d6efd;
  color: #fff;
  transform: none;
}
.country-sidebar a.active {
  background: #0d6efd;
  color: #fff;
}

/* Sidebar responsive adjustments */
@media (max-width: 768px) {
  .country-sidebar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }
  .sidebar-title {
    width: 100%;
    text-align: center;
  }
  .country-sidebar a {
    flex: 1 1 45%;
    text-align: center;
    font-size: 13px;
    padding: 8px;
    border: 1px solid #e5e7eb;
    background: #f9fafb;
  }
  .country-sidebar a.active {
    border: none;
  }
}
@media (max-width: 480px) {
  .country-sidebar a {
    flex: 1 1 100%;
  }
}

/* SIDEBAR CTA / collapse */
@media (min-width: 992px) {
  #sidebarCollapse {
    display: block !important;
  }
}
@media (max-width: 991px) {
  #sidebarCollapse {
    margin-top: 10px;
    width: 260px;
  }
}

/* SIDEBAR TITLE (unificado) */
.sidebar-title {
  font-weight: 700;
  margin-bottom: 14px;
  letter-spacing: 1px;
}

/* Country card (unificado) */
.country-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 25px;
  height: 100%;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
  border-top: 4px solid #f0b400;
}
.country-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}
.country-card.small h6 {
  font-size: 14px;
}
.country-card h3 {
  margin: 10px 0 5px;
  color: #222;
  font-weight: 700;
}

/* Country-card wide */
.country-card-wide {
  text-align: center;
}
.img-2 {
  max-width: 160px;
  margin-bottom: 15px;
}

/* Listas / brochures en cards */
.country-card ul {
  list-style: none;
  padding: 0;
  margin: 15px 0;
  text-align: left;
}
.country-card ul li {
  margin-bottom: 5px;
  font-size: 15px;
  line-height: 1.4;
}
.country-card ul li strong {
  color: #000;
}
.country-card a img.img-rounded {
  max-width: 140px;
  margin-top: 15px;
  border-radius: 8px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
  transition: transform 0.2s ease;
}
.country-card a img.img-rounded:hover {
  transform: scale(1.05);
}

/* Brochure */
.brochure img {
  max-width: 80px;
  border-radius: 10px;
}
.brochure-box img {
  max-width: 180px;
}

/* Contenido derecho / span9 */
.span9 {
  background: #ffffff;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}
.span9 h3 {
  margin-top: 10px;
  margin-bottom: 20px;
  font-weight: 700;
  color: #222;
}
.span9 p {
  line-height: 1.7;
  color: #444;
  font-size: 1rem;
  text-align: justify;
}
.span9 img.img-rounded {
  border-radius: 12px;
  width: 48%;
  margin: 10px 1%;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
  transition: transform 0.25s ease;
}
.span9 img.img-rounded:hover {
  transform: scale(1.03);
}
@media (max-width: 992px) {
  .span9 {
    padding: 20px;
  }
  .span9 img.img-rounded {
    width: 100%;
    margin: 10px 0;
  }
}

/* Contenedor general / contacto / cards */
.contacto-section {
  margin-top: 30px;
  margin-bottom: 40px;
}
.contacto-sidebar {
  background: #f8f9fa;
  border-radius: 10px;
  padding: 15px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}
.contacto-card {
  background: #fff;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
}
.contacto-card legend {
  font-weight: bold;
  font-size: 22px;
  margin-bottom: 20px;
}
.contacto-card input,
.contacto-card textarea {
  width: 100%;
  border-radius: 8px;
  border: 1px solid #ccc;
  padding: 10px;
}
.contacto-card textarea {
  resize: vertical;
  min-height: 120px;
}
.contacto-card .btn {
  border-radius: 8px;
  padding: 10px 18px;
  margin-top: 10px;
}
.contacto-alert {
  border-radius: 10px;
  margin-bottom: 20px;
}
@media (max-width: 768px) {
  .contacto-card {
    padding: 15px;
  }
}

/* Sección Perú (unificada) */
.peru-section {
  margin-top: 30px;
  margin-bottom: 40px;
}
.peru-sidebar {
  background: #f8f9fa;
  border-radius: 12px;
  padding: 18px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}
.peru-sidebar a {
  display: block;
  padding: 8px 10px;
  border-radius: 6px;
  text-decoration: none;
  color: #333;
  font-weight: 600;
  transition: 0.2s;
}
.peru-sidebar a:hover {
  background: #e9f2ff;
  color: #004aad;
}
.peru-card {
  background: #fff;
  padding: 28px;
  border-radius: 14px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08);
  line-height: 1.7;
  border-top: 4px solid #f0b400;
}
.peru-card img {
  max-width: 100%;
  border-radius: 10px;
  margin-top: 15px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}
@media (min-width: 1200px) {
  .peru-card {
    padding: 40px;
  }
}

/* DIVISIONES / utilidades */
.division-box {
  background: #f8f9fa;
  padding: 15px;
  border-radius: 10px;
  height: 100%;
  transition: 0.3s;
}
.division-box:hover {
  background: #e9f2ff;
  transform: translateY(-3px);
}
.division-box h5 {
  font-weight: bold;
}

.page-title {
  font-weight: 700;
  margin-bottom: 10px;
}
.page-desc {
  color: #6c757d;
  margin-bottom: 30px;
}

/* DIVISION BLOCK */
.division-block {
  margin-bottom: 40px;
}
.division-block h4 {
  font-size: 20px;
  font-weight: 600;
  border-left: 4px solid #0d6efd;
  padding-left: 10px;
}

/* FOOTER (marpa + peru) */
.footer-marpa,
.footer-peru {
  background: linear-gradient(180deg, #130c4e, #0c0935);
  color: #ccc;
  padding-left: 20px;
  padding-top: 35px;
  padding-bottom: 35px;
  border-top: 3px solid var(--brand-accent);
  font-size: 14px;
}
.footer-title {
  color: var(--brand-accent);
  font-weight: 700;
  letter-spacing: 1px;
}
.footer-marpa strong {
  color: var(--brand-accent);
}
.footer-offices {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.office-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  background: #0f172a;
  padding: 12px;
  border-radius: 10px;
  min-width: 140px;
  color: #e5e7eb;
  transition: 0.3s;
  font-size: 13px;
}
.office-card strong {
  color: #38bdf8;
  margin-bottom: 4px;
}
.office-card:hover {
  background: #1e293b;
  transform: translateY(-3px);
}
.visitor-counter {
  font-size: 0.85rem;
}
.counter-box {
  margin-top: 6px;
  padding: 6px 10px;
  background-color: #1a1a1a;
  display: inline-block;
  border-radius: 6px;
  box-shadow: inset 0 0 5px rgba(255, 215, 0, 0.3);
}
.footer-date {
  color: #999;
  font-style: italic;
}

.footer-link {
  color: #bbb;
  text-decoration: none;
  transition: 0.2s;
}
.footer-link:hover {
  color: #fff;
  text-decoration: underline;
}
.footer-peru a.footer-link {
  color: #b5d2ff;
}
.footer-peru h5,
.footer-peru h6 {
  color: #fff;
}
.footer-peru hr {
  border-color: rgba(255, 255, 255, 0.15);
}
.footer-marpa .footer-link {
  color: #bbb;
  font-size: 14px;
}
.footer-payments img,
.footer-pay {
  width: 70px;
  margin: 5px;
  opacity: 0.9;
  transition: 0.3s;
}
.footer-pay:hover,
.footer-payments img:hover {
  transform: scale(1.05);
  opacity: 1;
}

/* BREADCRUMB / apelidos */
.breadcrumb,
.breadcrumb-box {
  background: #f1f3f5;
  border-radius: 8px;
  padding: 12px 16px;
  margin-bottom: 25px;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 0.95rem;
}
.breadcrumb a {
  text-decoration: none;
  color: #0d6efd;
  font-weight: 500;
}
.breadcrumb .active {
  color: #555;
}
@media (max-width: 576px) {
  .breadcrumb img.flag-mini {
    width: 26px;
  }
}

/* banderitas flotantes */
.flotante_01 img {
  width: 28px;
  margin-left: 6px;
  border-radius: 4px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

/* IMAGENES / utilidades */
.img-somos-grande {
  width: 100%;
  max-width: 350px;
}
@media (min-width: 992px) {
  .img-somos-grande {
    max-width: 520px;
  }
}

/* CONTACT BOX */
.contact-box {
  background: #f8f9fa;
  border-radius: 10px;
  padding: 5px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  font-size: 14px;
  line-height: 1.6;
}
.contact-box strong {
  display: block;
  margin-bottom: 5px;
  font-size: 16px;
}
.contact-box a {
  text-decoration: none;
  font-weight: 600;
  color: #0d6efd;
}

/* BOTÓN FLOTANTE y CHAT */
#wsp-float {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background: linear-gradient(135deg, #25d366, #1ebe5d);
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  cursor: pointer;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
  z-index: 9999;
  transition: all 0.3s ease;
}
#wsp-float:hover {
  transform: scale(1.1);
}
#wsp-float::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: rgba(37, 211, 102, 0.4);
  animation: pulse 2s infinite;
  z-index: -1;
}
@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 0.6;
  }
  70% {
    transform: scale(1.5);
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

#wsp-chat {
  display: none;
  position: fixed;
  bottom: 100px;
  right: 25px;
  width: 320px;
  background: white;
  border-radius: 18px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.25);
  overflow: hidden;
  z-index: 9999;
  font-family: "Segoe UI", sans-serif;
  opacity: 0;
  transform: translateY(20px) scale(0.95);
  transition: all 0.3s ease;
}
#wsp-chat.chat-activo {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.wsp-header {
  background: linear-gradient(135deg, #0d1b2a, #1b263b);
  color: white;
  padding: 14px;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.wsp-body {
  padding: 15px;
  max-height: 380px;
  overflow-y: auto;
}
.wsp-body::-webkit-scrollbar {
  width: 6px;
}
.wsp-body::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 10px;
}

/* Mensajes */
.mensaje-bot {
  background: #f4f6f9;
  padding: 10px 14px;
  border-radius: 14px 14px 14px 4px;
  margin-bottom: 10px;
  font-size: 14px;
  animation: aparecer 0.4s ease;
}
.mensaje-user {
  background: #004aad;
  color: white;
  padding: 10px 14px;
  border-radius: 14px 14px 4px 14px;
  margin-bottom: 10px;
  text-align: right;
  font-size: 14px;
  animation: aparecer 0.4s ease;
}
@keyframes aparecer {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Botones chat */
.boton-opcion {
  width: 100%;
  margin-bottom: 10px;
  padding: 10px;
  border: none;
  background: linear-gradient(135deg, #25d366, #1ebe5d);
  color: white;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.25s ease;
}
.boton-opcion:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4);
}
.typing {
  opacity: 0.6;
  font-style: italic;
  animation: blink 1s infinite;
}
@keyframes blink {
  0% {
    opacity: 0.4;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0.4;
  }
}

/* =========================
   Noticias / cards / carousel
   ========================= */
.noticias-section {
  padding: 60px 0 80px;
  background: #f5f7fa;
}
.noticias-section .row {
  justify-content: center;
}
.noticias-section .col-lg-9 {
  max-width: 1100px;
}
.noticias-section .card {
  border-radius: 14px;
}
.noticia-card {
  transition: 0.3s ease;
}
.noticia-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}
.news-card:hover img {
  transform: scale(1.05);
}
.news-content p {
  margin-bottom: 1rem;
  line-height: 1.7;
}
.news-detail h1 {
  font-size: 2.2rem;
}
.noticias-section::after {
  content: "";
  display: block;
  height: 40px;
}
.noticias-section h1 {
  font-size: 2.6rem;
}

/* Carousel */
.carousel {
  border-radius: 12px;
  overflow: hidden;
}
.carousel-inner img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 14px;
}
.carousel-control-prev-icon,
.carousel-control-next-icon {
  filter: invert(1);
}
@media (max-width: 992px) {
  .carousel-inner img {
    height: 300px;
  }
}
@media (max-width: 768px) {
  .carousel-inner img {
    height: 240px;
  }
}

/* Video card */
.video-card {
  border-radius: 16px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
}
.video-card h5 {
  font-weight: 600;
}
.video-card .ratio {
  width: 100%;
  min-height: 250px;
}
.video-card iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* phone-qr */
.phone-qr {
  display: flex;
  align-items: center;
  gap: 12px;
}
.phone-qr img {
  width: 72px;
  border-radius: 6px;
  transition: transform 0.2s ease;
  object-fit: contain;
}
.phone-qr img:hover {
  transform: scale(1.2);
}
.phone-qr.multi .phones {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

/* util */
.font {
  font-size: 18px;
  line-height: 1.6;
}

/* TABLAS (unificado y responsive) */
.brand-table {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #e5e7eb;
}
.brand-table tr:hover {
  background: #f5f7fa;
}
.brand-table td,
.brand-table th {
  vertical-align: middle;
  font-size: 14px;
}
.logo-cell img {
  width: 110px;
  object-fit: contain;
}
.brand-name a {
  font-weight: 600;
  color: #0d6efd;
  text-decoration: none;
}
.brand-name a:hover {
  text-decoration: underline;
}

/* Responsive tablas */
@media (max-width: 992px) {
  .brand-table td {
    font-size: 13px;
  }
  .logo-cell img {
    width: 90px;
  }
}
@media (max-width: 768px) {
  .brand-table,
  .brand-table tbody,
  .brand-table tr,
  .brand-table td {
    display: block;
    width: 100%;
  }
  .brand-table tr {
    margin-bottom: 18px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 12px;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  }
  .brand-table td {
    border: none;
    padding: 6px 0;
    text-align: left !important;
  }
  .logo-cell img {
    width: 120px;
    margin-bottom: 8px;
  }
  .brand-name a {
    font-size: 16px;
  }
}

/* Breadcrumb box */
.breadcrumb-box {
  background: #f8f9fb;
  padding: 10px 15px;
  border-radius: 6px;
  border: 1px solid #e5e7eb;
}

/* BOTÓN FLOTANTE ARRIBA IZQUIERDA (FAB) */
.sidebar-fab {
  position: relative;
  top: -30px;
  left: 1px;
  z-index: 1055;
  background: #0d6efd;
  color: #fff;
  border: none;
  border-radius: 8px;
  width: 42px;
  height: 42px;
  font-size: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* QUITAMOS ESPACIOS EN MÓVIL */
@media (max-width: 991px) {
  .sidebar-col {
    padding: 0 !important;
    margin: 0 !important;
    height: 0;
  }
}

/* ancho del lateral en móvil */
@media (max-width: 991px) {
  #sidebarCollapse {
    width: 260px;
  }
}

/* Noticias responsive */
@media (max-width: 768px) {
  .brand-section {
    padding: 25px 0;
  }
  .country-sidebar {
    margin-bottom: 20px;
  }
  .noticias-section {
    padding: 40px 0 60px;
  }
}

/* pequeñas utilidades finales */
.flag-mini {
  width: 32px;
  border-radius: 4px;
  height: auto;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}
.contact-box a {
  color: #0d6efd;
}
.info-brochure {
  display: flex;
  align-items: flex-start; /* alinea arriba */
  gap: 20px;
}
