/* =======================
   Identidad Marpatech - CSS unificado
   ======================= */
:root {
  --brand-dark: #0a2540;
  --brand-dark-2: #163b65;
  --brand-primary: #0b2e4e;
  --brand-accent: #c8a44d;
  --brand-accent-soft: rgba(200, 164, 77, 0.28);
  --brand-text: #dbe3ec;
  --brand-text-soft: #94a3b8;
  --radius: 8px;
  --transition: 0.3s ease;
  --space-1: 0.5rem;
  --space-2: 0.75rem;
  --space-3: 1rem;
  --space-4: 1.5rem;
  --space-5: 2rem;
  --space-6: 2.5rem;
  --type-display: clamp(2.1rem, 4vw, 3.1rem);
  --type-h1: clamp(1.85rem, 3vw, 2.5rem);
  --type-h2: clamp(1.55rem, 2.4vw, 2rem);
  --type-h3: clamp(1.3rem, 2vw, 1.65rem);
  --type-h4: 1.2rem;
  --type-h5: 1.05rem;
  --type-h6: 0.95rem;
  --type-body: 1rem;
  --type-small: 0.92rem;
  --type-caption: 0.82rem;
  --line-heading: 1.15;
  --line-body: 1.7;
}

/* ===== Reset / Layout base ===== */
html,
body {
  height: 100%;
  transition: 0.8s;
}
body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background-color: #f5f7fa;
  color: #1f2937;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  font-size: var(--type-body);
  line-height: var(--line-body);
}
main,
.brand-main {
  flex: 1;
  padding-bottom: var(--space-6);
}
a {
  transition: color var(--transition);
}

/* ===== Tipografía global ===== */
h1, h2, h3, h4, h5, h6,
.page-title, .news-detail h1, .noticias-section h1 {
  margin-top: 0;
  margin-bottom: var(--space-3);
  color: #0f172a;
  line-height: var(--line-heading);
  font-weight: 700;
  letter-spacing: -0.02em;
}
h1, .page-title, .news-detail h1, .noticias-section h1 { font-size: var(--type-h1); }
h2 { font-size: var(--type-h2); }
h3, .span9 h3 { font-size: var(--type-h3); }
h4, .division-block h4 { font-size: var(--type-h4); }
h5, .video-card h5 { font-size: var(--type-h5); }
h6, .dropdown-menu h6, .footer-title, .country-card.small h6 { font-size: var(--type-h6); }
p, li, td, th, label, input, textarea {
  font-size: var(--type-body);
  line-height: var(--line-body);
}
small, .small, .text-muted, .footer-date, .visitor-counter {
  font-size: var(--type-small);
  line-height: 1.55;
}
.page-desc, .lead, .news-content p, .span9 p, .contact-box, .contacto-card legend + p {
  font-size: 1.04rem;
  line-height: 1.75;
}
.page-desc, .text-muted, .footer-date { color: #667085 !important; }
.badge, .breadcrumb, .breadcrumb-box, .footer-link,
.country-sidebar a, .peru-sidebar a, .office-card, .brand-nav .nav-link {
  font-size: var(--type-small);
}
.dropdown-menu a.dropdown-item, .contact-box strong, .brand-name a {
  font-size: 0.96rem;
}
.footer-title { text-transform: uppercase; }
.country-card h3, .span9 h3, .division-block h4, .news-detail h1, .noticias-section h1 {
  margin-bottom: var(--space-3);
}

/* ===== Hero / Header ===== */
.brand-hero {
  width: 100%;
  background: linear-gradient(90deg, #0b2e4e, #163b65);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  margin: 0 auto;
  border-radius: 8px;
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.2);
}
.brand-hero img,
.cover-image img {
  width: 100%;
  display: block;
}
.header-inner {
  margin: 0 auto;
  width: 100%;
}

/* Banderas flotantes */
.brand-flags {
  position: absolute;
  top: 1rem;
  right: 2rem;
  display: flex;
  gap: 1rem;
  z-index: 10;
  padding: 0.5rem 0.7rem;
  border-radius: 999px;
  background: rgba(7, 17, 46, 0.52);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.18);
}
.brand-flags img {
  width: 42px;
  height: 28px;
  object-fit: cover;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.72);
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.25);
  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;
}
.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: #102b49;
  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;
  border-radius: 10px;
}
.dropdown-menu a.dropdown-item:hover {
  background-color: #224c79;
  color: var(--brand-accent);
  transform: translateX(3px);
}
.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;
}
@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 {
  padding: var(--space-5);
  background: #f5f7fa;
  border-radius: var(--radius);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  border-left: 4px solid var(--brand-accent);
  margin-top: var(--space-4);
  margin-bottom: var(--space-5);
}
.brand-section > .row,
.brand-section > .container > .row,
.brand-section > .container-fluid > .row {
  row-gap: var(--space-5);
}
.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;
  gap: var(--space-2);
}
.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;
    background: rgba(255, 255, 255, 0.75);

}
.country-sidebar a:hover {
  background: #0a2540;
  color: #c8a44d;
}
.country-sidebar a.active {
  background: #0d6efd;
  color: #c8a44d;
}
.sidebar-title {
  font-weight: 700;
  margin-bottom: 14px;
  letter-spacing: 1px;
}
/* Sidebar responsive */
@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;
  }
}

/* Country card */
.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 var(--brand-accent);
}
.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 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 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);
}
.country-card-wide {
  text-align: center;
}
.img-2 {
  max-width: 160px;
  margin-bottom: 15px;
}

/* Brochure */
.brochure img {
  max-width: 80px;
  border-radius: 10px;
}
.brochure-box img {
  max-width: 180px;
}
.brochure-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: 0.5rem;
  padding: 0.7rem 0.9rem;
  border: 1px solid rgba(22, 59, 101, 0.14);
  border-radius: 10px;
  color: #163b65;
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  background: rgba(22, 59, 101, 0.04);
  transition: background 0.2s ease, color 0.2s ease;
}
.brochure-link:hover,
.brochure-link:focus-visible {
  background: rgba(22, 59, 101, 0.1);
  color: #0f2d4d;
}

/* 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;
  }
}

/* Contacto */
.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ú */
.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 var(--brand-accent);
  transition: 0.8s;
}
.peru-card img {
  max-width: 100%;
  border-radius: 10px;
  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 {
  margin-bottom: 40px;
}
.division-block h4 {
  font-size: 20px;
  font-weight: 600;
  border-left: 4px solid var(--brand-accent);
  padding-left: 10px;
}

/* FOOTER */
.footer-marpa,
.footer-peru {
  background: linear-gradient(180deg, #130c4e, #0c0935);
  color: #ccc;
  padding: var(--space-5) 20px;
  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;
}
@media (max-width: 768px) {
  .footer-offices {
    flex-direction: column;
  }
}
.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: #9ed0ff;
  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-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 */
.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 (adicional) */
.flotante_01 img {
  width: 28px;
  margin-left: 6px;
  border-radius: 4px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

/* Imágenes generales */
.img-somos-grande {
  width: 100%;
  max-width: 350px;
}
@media (min-width: 992px) {
  .img-somos-grande {
    max-width: 520px;
  }
}
.flag-mini {
  width: 32px;
  border-radius: 4px;
  height: auto;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

/* 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, #0a2540, #163b65);
  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;
}
.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: #163b65;
  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);
  }
}
.boton-opcion {
  width: 100%;
  margin-bottom: 10px;
  padding: 10px;
  border: none;
  background: linear-gradient(135deg, #c8a44d, #b58d2a);
  color: #0a2540;
  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(200, 164, 77, 0.35);
}
.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 / 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;
}
.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 {
  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 {
  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;
}
.font {
  font-size: 18px;
  line-height: 1.6;
}

/* Tablas */
.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: #163b65;
  text-decoration: none;
}
.brand-name a:hover {
  text-decoration: underline;
  color: #0f2d4d;
}
@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;
  }
}

/* Botón flotante arriba izquierda (FAB) */
.sidebar-fab {
  position: relative;
  top: -20px;
  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);
}
@media (max-width: 991px) {
  .sidebar-col {
    padding: 0 !important;
    margin: 0 !important;
    height: 0;
  }
  #sidebarCollapse {
    width: 260px;
  }
}
@media (max-width: 768px) {
  .brand-section {
    padding: 25px 0;
  }
  .country-sidebar {
    margin-bottom: 20px;
  }
  .noticias-section {
    padding: 40px 0 60px;
  }
}

/* Animaciones de entrada */
.noticia-anim {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.6s ease forwards;
}
@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.noticia-anim:hover {
  transform: translateY(-5px);
  transition: all 0.25s ease;
  box-shadow: 0 0.8rem 1.5rem rgba(0, 0, 0, 0.15) !important;
}
.img-zoom {
  transition: transform 0.4s ease;
}
.noticia-anim:hover .img-zoom {
  transform: scale(1.05);
}
.noticias-section .col-lg-4 .card {
  border-left: 3px solid transparent;
  transition: all 0.2s ease;
}
.noticias-section .col-lg-4 .card:hover {
  border-left: 3px solid var(--brand-accent);
  transform: translateX(4px);
}

/* Scroll reveal */
.reveal-on-scroll {
  opacity: 0;
  transition: opacity 0.8s ease, transform 0.8s ease;
  will-change: opacity, transform;
}
.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal-on-scroll {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Estados interactivos globales */
a, button, .btn, .nav-link, .dropdown-item, .office-card,
.country-card, .peru-card, .nav-tabs .nav-link, .footer-link,
.breadcrumb a, .contact-box a, .brand-name a {
  transition: color 0.2s ease, background-color 0.2s ease,
              border-color 0.2s ease, box-shadow 0.2s ease,
              transform 0.2s ease, opacity 0.2s ease;
}
a:focus-visible, button:focus-visible, .btn:focus-visible,
.nav-link:focus-visible, .dropdown-item:focus-visible,
.nav-tabs .nav-link:focus-visible, .footer-link:focus-visible,
.breadcrumb a:focus-visible, .contact-box a:focus-visible,
.brand-name a:focus-visible {
  outline: none;
  border-radius: 10px;
  box-shadow: 0 0 0 0.2rem rgba(200, 164, 77, 0.24);
}
.brand-nav .nav-link, nav.nav-link {
  border-radius: 10px;
}
.brand-nav .nav-link:hover, .brand-nav .nav-link:focus-visible,
nav.nav-link:hover, nav.nav-link:focus-visible {
  background: rgba(255, 255, 255, 0.08);
}
.brand-nav .nav-link.active {
  background: rgba(255, 255, 255, 0.06);
}
.country-card:hover, .country-card:focus-within,
.peru-card:hover, .peru-card:focus-within,
.card.shadow-sm:hover, .card.shadow-lg:hover {
  transform: translateY(-3px);
}
.country-card:hover, .country-card:focus-within {
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.1);
}
.peru-card:hover, .peru-card:focus-within {
  box-shadow: 0 22px 48px rgba(15, 23, 42, 0.14);
}
.office-card:hover, .office-card:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 18px 32px rgba(2, 6, 23, 0.24);
}
.footer-link:hover, .footer-link:focus-visible {
  color: #fff;
  opacity: 1;
}
.breadcrumb a:hover, .breadcrumb a:focus-visible,
.contact-box a:hover, .contact-box a:focus-visible,
.brand-name a:hover, .brand-name a:focus-visible {
  color: #0f2d4d;
}
.btn:active, .nav-tabs .nav-link:active,
.dropdown-menu a.dropdown-item:active {
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  a, button, .btn, .nav-link, .dropdown-item, .office-card,
  .country-card, .peru-card, .nav-tabs .nav-link, .footer-link,
  .breadcrumb a, .contact-box a, .brand-name a {
    transition: none;
  }
}

/* Navegación simplificada */
.navbar-brand {
  font-size: 1rem;
  letter-spacing: 0.04em;
}
.dropdown-header {
  color: var(--brand-accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.dropdown-divider {
  border-color: rgba(255, 255, 255, 0.12);
}
@media (max-width: 991px) {
  .brand-nav .container-fluid {
    align-items: flex-start;
  }
  .navbar-brand {
    margin-right: auto;
  }
  .navbar-toggler {
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 10px;
    padding: 0.35rem 0.65rem;
  }
  .nav-inner {
    width: 100%;
    margin-top: 0.9rem;
    padding-top: 0.9rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }
  .nav-inner > .nav-link,
  .nav-inner > .nav-item {
    width: 100%;
  }
  .brand-nav .nav-link,
  .brand-nav .dropdown-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0.8rem 0;
  }
  .dropdown-menu {
    width: 100%;
    min-width: 100%;
    margin-top: 0.25rem;
  }
}

/* Jerarquía de contenido */
.content-primary-block,
.col-lg-9 > .peru-card,
.col-lg-8 > .peru-card,
.news-detail,
.news-article-card {
  position: relative;
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.12);
}
.content-primary-block::before,
.col-lg-9 > .peru-card::before,
.col-lg-8 > .peru-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}
.content-primary-block h1,
.content-primary-block h2,
.content-primary-block h3,
.col-lg-9 > .peru-card h1,
.col-lg-9 > .peru-card h2,
.col-lg-9 > .peru-card h3,
.col-lg-8 > .peru-card h1,
.col-lg-8 > .peru-card h2,
.col-lg-8 > .peru-card h3 {
  max-width: 22ch;
}
.content-primary-block p,
.col-lg-9 > .peru-card p,
.col-lg-8 > .peru-card p {
  color: #344054;
}
.content-secondary-column {
  align-self: flex-start;
}
.content-secondary-block,
.country-sidebar,
.brochure-box,
.content-intro-block,
.content-media-block {
  border: 1px solid rgba(15, 23, 42, 0.07);
}
.content-secondary-block {
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.07);
}
.brochure-box {
  padding-top: var(--space-4);
  margin-top: var(--space-4) !important;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
}
.content-intro-block {
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.08);
}
.content-media-block {
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.1);
}
.content-media-block img,
.content-media-block iframe {
  border-radius: 14px;
}
@media (min-width: 992px) {
  .content-secondary-column .country-sidebar {
    position: sticky;
    top: 6rem;
  }
  .content-secondary-block {
    opacity: 0.96;
  }
}
@media (max-width: 991px) {
  .content-primary-block,
  .col-lg-9 > .peru-card,
  .col-lg-8 > .peru-card {
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.1);
  }
  .content-secondary-column .country-sidebar {
    position: static;
  }
}

/* Responsive compartido */
.table-responsive-soft {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.table-responsive-soft > table {
  min-width: 680px;
}
@media (max-width: 991px) {
  .content-secondary-column {
    margin-bottom: var(--space-4);
  }
  .country-sidebar {
    padding: 1rem;
    border-radius: 18px;
  }
  .country-sidebar a {
    padding: 0.85rem 0.95rem;
  }
  .brand-section .row > [class*="col-lg-4"],
  .brand-section .row > [class*="col-md-6"] {
    margin-bottom: var(--space-3);
  }
  .country-card-wide,
  .office-card,
  .division-box,
  .content-secondary-block,
  .tab-content {
    border-radius: 16px;
  }
  .nav-tabs {
    gap: 0.5rem;
    padding-bottom: 0.2rem;
    scrollbar-width: thin;
  }
  .nav-tabs .nav-item {
    flex: 0 0 auto;
  }
  .nav-tabs .nav-link {
    white-space: nowrap;
    min-height: 44px;
  }
  .country-card-wide .row.g-2 > [class*="col-6"],
  .country-card-wide .row.g-3 > [class*="col-6"],
  .row.g-3 > [class*="col-md-6"],
  .row.g-4 > [class*="col-md-6"],
  .row.g-4 > [class*="col-md-4"] {
    width: 100%;
  }
  .country-card-wide img.card-img-top,
  .country-card-wide .card-img-top {
    height: auto !important;
    max-height: 220px;
    object-fit: cover;
  }
  .country-card-wide a img.img-rounded {
    max-width: 120px;
  }
  .brand-table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
    border-radius: 14px;
  }
  .brand-table thead th,
  .brand-table td,
  .brand-table th {
    padding: 0.85rem 0.9rem;
  }
}
@media (max-width: 767px) {
  .brand-section .row {
    --bs-gutter-x: 1rem;
  }
  .country-breadcrumb {
    align-items: flex-start !important;
    flex-direction: column;
  }
  .country-breadcrumb .flag-mini {
    margin-top: 0.35rem;
  }
  .country-card-wide .tab-pane .row > [class*="col-6"] {
    width: 100%;
  }
  .brand-table,
  .brand-table tbody,
  .brand-table tr,
  .brand-table td {
    display: block;
    width: 100%;
  }
  .brand-table thead {
    display: none;
  }
  .brand-table tr {
    margin-bottom: 1rem;
    padding: 0.9rem 1rem;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.08);
  }
  .brand-table td {
    white-space: normal;
    padding: 0.35rem 0;
    border: none;
    text-align: left !important;
  }
  .logo-cell img {
    width: 96px;
    margin-bottom: 0.5rem;
  }
}

/* About editorial */
.about-page .breadcrumb {
  margin-bottom: 0;
}
.about-shell {
  display: grid;
  gap: var(--space-5);
}
.about-hero {
  max-width: 52rem;
  margin: 0 auto;
}
.about-hero .lead {
  max-width: 42rem;
}
.about-eyebrow {
  color: var(--brand-accent);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.about-panel {
  padding: clamp(1.25rem, 2vw, 2rem);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 1.5rem;
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.96), rgba(255, 255, 255, 0.98));
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
}
.about-copy {
  color: #475467;
  line-height: 1.8;
}
.about-hero-image {
  max-height: 26rem;
  object-fit: cover;
}
.about-stats {
  margin-top: calc(var(--space-2) * -1);
}
.about-stat-card {
  padding: 1.5rem;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 1.4rem;
  background: rgba(248, 250, 252, 0.92);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.07);
}
.about-stat-card h2 {
  margin-bottom: 0.35rem;
}
.about-feature-card {
  padding: 1.5rem;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 1.35rem;
  background: #fff;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.07);
}
.about-feature-card h5 {
  margin-bottom: 0.75rem;
}
.about-feature-card p {
  color: #667085;
}
.about-industry-chip {
  padding: 1rem 0.75rem;
  border-radius: 1rem;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
  font-weight: 700;
}
.about-logo-stage {
  padding: 1rem 0;
}
.about-logo-track img {
  filter: saturate(0.95);
  opacity: 0.95;
}
.about-cta {
  padding: clamp(1.75rem, 3vw, 2.75rem);
  border-radius: 1.5rem;
  background: linear-gradient(135deg, #123f6b 0%, #0b2e4e 100%);
  color: #fff;
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.18);
}
.about-cta p {
  color: rgba(255, 255, 255, 0.85);
}
@media (max-width: 991px) {
  .about-shell {
    gap: var(--space-4);
  }
  .about-panel,
  .about-stat-card,
  .about-feature-card,
  .about-cta {
    padding: 1.25rem;
  }
}
@media (max-width: 767px) {
  .about-hero {
    text-align: left;
  }
  .about-hero .lead {
    margin-left: 0;
  }
  .about-hero-image {
    max-height: 18rem;
  }
}

/* Header composition */
.cover-image {
  display: block;
}
@media (max-width: 991px) {
  .brand-hero {
    border-radius: 16px;
  }
  .brand-flags {
    top: 0.75rem;
    right: 0.75rem;
    gap: 0.5rem;
    padding: 0.45rem 0.55rem;
  }
  .brand-flags img {
    width: 36px;
    height: 24px;
  }
}
@media (max-width: 575px) {
  .brand-hero {
    border-radius: 14px;
  }
  .brand-flags {
    top: 0.5rem;
    right: 0.5rem;
    gap: 0.4rem;
    padding: 0.35rem 0.45rem;
  }
  .brand-flags img {
    width: 32px;
    height: 22px;
  }
}

/* Sidebar offcanvas y navegación móvil */
@media (max-width: 991px) {
  .sidebar-col {
    position: relative;
    z-index: 1030;
  }
  .sidebar-fab {
    z-index: 1095;
  }
  #sidebarCollapse.country-sidebar.offcanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: min(320px, 88vw);
    max-width: 88vw;
    height: 100vh;
    margin: 0;
    padding: 1rem;
    border-radius: 0;
    background: #fff;
    overflow-y: auto;
    display: block;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.24);
    z-index: 1094;
  }
  #sidebarCollapse.country-sidebar.offcanvas:not(.show) {
    visibility: hidden;
    transform: translateX(-100%);
  }
  #sidebarCollapse.country-sidebar.offcanvas.show,
  #sidebarCollapse.country-sidebar.offcanvas.showing {
    visibility: visible;
    transform: translateX(0);
  }
  #sidebarCollapse .sidebar-title {
    width: 100%;
    text-align: left;
    margin-bottom: 1rem;
  }
  #sidebarCollapse.country-sidebar a {
    display: block;
    width: 100%;
    margin-bottom: 0.5rem;
    text-align: left;
    padding: 0.85rem 0.95rem;
  }
  .offcanvas-backdrop,
  .offcanvas-backdrop.show {
    z-index: 1093;
  }
}
@media (min-width: 992px) {
  #sidebarCollapse.country-sidebar.offcanvas,
  #sidebarCollapse.country-sidebar.offcanvas-lg,
  #sidebarCollapse.country-sidebar.offcanvas-start {
    position: sticky !important;
    top: 6rem;
    left: auto;
    width: 100% !important;
    max-width: none !important;
    height: auto !important;
    margin: 0 0 1.25rem;
    padding: 1rem;
    display: block !important;
    visibility: visible !important;
    transform: none !important;
    border-radius: 18px;
    background: #fff;
    overflow: visible;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.1);
    z-index: auto;
  }
  .sidebar-fab {
    display: none !important;
  }
  .sidebar-col {
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
  }
}

/* Navbar and sidebar mobile fixes */
@media (max-width: 991px) {
  .brand-nav {
    position: relative;
    z-index: 1085;
  }
  .brand-nav .navbar-collapse {
    position: relative;
    z-index: 1086;
    max-height: calc(100vh - 72px);
    overflow-y: auto;
  }
  .brand-nav .nav-item.dropdown > .dropdown-menu,
  .brand-nav .dropdown-submenu > .dropdown-menu {
    display: none !important;
  }
  .brand-nav .nav-item.dropdown.is-open > .dropdown-menu,
  .brand-nav .dropdown-submenu.is-open > .dropdown-menu {
    display: block !important;
  }
  .brand-nav .nav-item.dropdown.show > .dropdown-menu,
  .brand-nav .dropdown-submenu.show > .dropdown-menu {
    display: none !important;
  }
  .brand-nav .dropdown-menu {
    position: static !important;
    inset: auto !important;
    transform: none !important;
    float: none;
    width: 100%;
    min-width: 0;
    box-shadow: none;
  }
  .sidebar-col {
    position: relative;
    z-index: 1035;
  }
  #sidebarCollapse.country-sidebar,
  #sidebarCollapse.country-sidebar.offcanvas-start {
    position: fixed;
    top: 0;
    left: 0;
    width: min(320px, 88vw);
    max-width: 88vw;
    height: 100vh;
    margin: 0;
    padding: 1rem;
    border-radius: 0;
    overflow-y: auto;
    background: #fff;
    z-index: 1091;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.24);
  }
  .offcanvas-backdrop,
  .offcanvas-backdrop.show {
    z-index: 1090;
  }
}
@media (max-width: 991px) {
  .brand-nav {
    position: relative;
  }
  .brand-nav .navbar-collapse {
    background: linear-gradient(180deg, #061a50, #050b1b);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }
  .brand-nav .nav-item.dropdown > .dropdown-toggle,
  .brand-nav .dropdown-submenu > .dropdown-item {
    position: relative;
    padding-right: 2rem !important;
  }
  .brand-nav .nav-item.dropdown > .dropdown-toggle::before,
  .brand-nav .dropdown-submenu > .dropdown-item::before {
    content: "+";
    position: absolute;
    right: 0.35rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.8);
  }
  .brand-nav .nav-item.dropdown.is-open > .dropdown-toggle::before,
  .brand-nav .dropdown-submenu.is-open > .dropdown-item::before {
    content: "-";
  }
  .brand-nav .nav-item.dropdown > .dropdown-menu,
  .brand-nav .dropdown-submenu > .dropdown-menu {
    display: none;
  }
  .brand-nav .nav-item.dropdown.is-open > .dropdown-menu,
  .brand-nav .dropdown-submenu.is-open > .dropdown-menu {
    display: block;
  }
  .brand-nav .dropdown-menu {
    margin-top: 0.5rem;
  }
  .brand-nav .dropdown-menu a.text-decoration-none {
    display: block;
    margin-bottom: 0.35rem;
  }
  .brand-nav .dropdown-menu h6 {
    padding-left: 0.35rem;
    padding-right: 0.35rem;
  }
}
@media (max-width: 1199px) {
  .brand-content,
  .nav-inner {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }
  .brand-section {
    overflow: hidden;
  }
}
@media (max-width: 991px) {
  .brand-nav .container-fluid {
    align-items: stretch;
    padding-left: 0;
    padding-right: 0;
  }
  .navbar-toggler {
    margin: 0.75rem 1rem 0.5rem auto;
    border: 1px solid rgba(255, 255, 255, 0.32);
    border-radius: 0.8rem;
    padding: 0.5rem 0.85rem;
    line-height: 1;
  }
  .nav-inner {
    padding: 0 1rem 1rem;
    gap: 0 !important;
    align-items: stretch !important;
  }
  .brand-nav .nav-link,
  .brand-nav .dropdown-toggle {
    display: block;
    padding: 0.85rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  .brand-nav .nav-link::after,
  .brand-nav .nav-link.active::after,
  .brand-nav .nav-link:hover::after {
    display: none;
  }
  .brand-nav .nav-item {
    margin: 0 !important;
  }
  .brand-nav .dropdown-menu,
  .dropdown-submenu > .dropdown-menu {
    position: static !important;
    inset: auto !important;
    transform: none !important;
    display: block;
    float: none;
    width: 100%;
    min-width: 0;
    margin: 0.4rem 0 0.85rem;
    padding: 0.65rem 0.85rem !important;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 1rem;
    background: rgba(7, 17, 46, 0.96);
    box-shadow: none;
  }
  .dropdown-submenu > .dropdown-menu {
    margin-left: 0;
    padding-left: 0.9rem !important;
    border-left: 2px solid rgba(255, 215, 0, 0.25);
  }
  .brand-nav .dropdown-menu h6 {
    margin-top: 0.25rem;
  }
  .brand-nav .dropdown-menu a.dropdown-item {
    white-space: normal;
    padding: 0.65rem 0.35rem;
    border-radius: 0.6rem;
  }
  .brand-nav .dropdown-submenu > .dropdown-item {
    font-weight: 700;
    color: #fff;
  }
  .peru-card,
  .country-card,
  .about-panel {
    padding: 1.25rem !important;
  }
  .about-logo-track {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
  }
  .about-logo-track img {
    margin: 0 !important;
    max-height: 42px;
    width: auto;
  }
}
@media (max-width: 767px) {
  .brand-section {
    border-left-width: 0;
    border-top: 4px solid var(--brand-accent);
  }
  .brand-header .header-inner,
  .brand-main .brand-content {
    width: 100%;
  }
  .breadcrumb {
    gap: 0.5rem;
    flex-wrap: wrap;
  }
  .flag-mini {
    max-height: 24px;
    width: auto;
  }
  .country-card .card-body,
  .card-body {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .noticias-section .col-4,
  .noticias-section .col-8 {
    width: 100%;
    flex: 0 0 auto;
  }
  .noticias-section .rounded-start {
    border-top-right-radius: 0.75rem !important;
    border-bottom-left-radius: 0 !important;
  }
  .noticias-section .card-body.py-2.px-3 {
    padding: 0.9rem 1rem 1rem !important;
  }
  .about-page .display-6,
  .noticias-section h2,
  .noticias-section h3,
  .peru-card h2 {
    line-height: 1.2;
  }
  .alert.d-flex {
    flex-direction: column;
  }
}
@media (max-width: 575px) {
  .container,
  .container-fluid,
  .brand-content,
  .nav-inner {
    padding-left: 0.9rem !important;
    padding-right: 0.9rem !important;
  }
  .brand-section.py-5,
  .peru-card.p-5,
  .about-page.py-5 {
    padding-top: 1.25rem !important;
    padding-bottom: 1.25rem !important;
  }
  .country-card,
  .peru-card,
  .about-panel {
    border-radius: 1rem;
  }
  .table,
  .brand-table {
    display: block;
    width: 100%;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
  }
  .table tr,
  .brand-table tr {
    vertical-align: top;
  }
  .brochure-box img {
    max-width: 180px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* Home responsive */
.noticias-section .peru-card {
  overflow: hidden;
}
.noticias-section .card {
  border-radius: 1rem;
}
.noticias-section .ratio img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.marcas-track {
  will-change: transform;
}
@media (max-width: 991px) {
  .noticias-section.py-5 {
    padding-top: 2rem !important;
    padding-bottom: 2.5rem !important;
  }
  .noticias-section .peru-card {
    padding: 1.5rem !important;
  }
  .noticias-section .row.mb-5.align-items-stretch {
    row-gap: 1rem;
  }
  .noticias-section .col-lg-8,
  .noticias-section .col-lg-4 {
    width: 100%;
  }
  .noticias-section .col-lg-8 .card {
    min-height: auto;
  }
  .noticias-section .col-lg-4 .row {
    row-gap: 0.85rem;
  }
  .about-logo-stage {
    overflow: hidden;
  }
  .marcas-track.about-logo-track {
    gap: 1.25rem;
  }
  .marcas-track.about-logo-track img {
    height: 42px !important;
    max-width: 120px;
    object-fit: contain;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}
@media (max-width: 767px) {
  .noticias-section .container {
    padding-left: 0.85rem;
    padding-right: 0.85rem;
  }
  .noticias-section .peru-card {
    padding: 1rem !important;
    border-radius: 1rem !important;
  }
  .noticias-section .row.mb-4.text-center h2 {
    margin-bottom: 0.35rem;
  }
  .noticias-section .col-lg-8 .ratio.ratio-16x9 {
    --bs-aspect-ratio: 68%;
    margin-bottom: 1rem !important;
  }
  .noticias-section .col-lg-8 .card .d-flex.flex-column.h-100 {
    padding: 0 0.25rem 0.25rem;
  }
  .noticias-section .col-4,
  .noticias-section .col-8 {
    width: 100%;
    flex: 0 0 auto;
  }
  .noticias-section .col-lg-4 .card .row.g-0 {
    flex-direction: column;
  }
  .noticias-section .col-lg-4 .ratio.ratio-1x1 {
    --bs-aspect-ratio: 60%;
  }
  .noticias-section .rounded-start {
    border-top-right-radius: 0.75rem !important;
    border-bottom-left-radius: 0 !important;
  }
  .noticias-section .card-body.py-2.px-3 {
    padding: 0.9rem 0.95rem 1rem !important;
  }
  .noticias-section .row.g-4 {
    row-gap: 1rem;
  }
  .noticias-section .row.g-4 > [class*="col-"] {
    width: 100%;
  }
  .marcas-track.about-logo-track {
    gap: 1rem;
  }
  .marcas-track.about-logo-track img {
    height: 36px !important;
    max-width: 96px;
  }
  .about-panel.about-brands,
  .about-panel.about-industries,
  .about-stats {
    margin-bottom: 1.25rem !important;
  }
}
@media (max-width: 575px) {
  .noticias-section .col-md-3.col-6 {
    width: 100%;
  }
  .noticias-section .country-card .card-body {
    padding-top: 0.9rem !important;
    padding-bottom: 0.9rem !important;
  }
  .noticias-section .col-lg-8 .ratio.ratio-16x9 {
    --bs-aspect-ratio: 74%;
  }
  .noticias-section .col-lg-4 .ratio.ratio-1x1 {
    --bs-aspect-ratio: 68%;
  }
  .marcas-track.about-logo-track img {
    height: 32px !important;
    max-width: 82px;
  }
}