/* Estilos del home (antes inline en index.php) */
  .premium-chart-container {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  padding: 25px;
  margin-bottom: 30px;
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
  }
  .premium-chart-container:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(164, 36, 43, 0.08);
  border-color: rgba(164, 36, 43, 0.1);
  }
  @media (max-width: 991px) {
  .premium-chart-container {
  padding: 15px;
  }
  }
  #hm-wu {
  position: relative;
  overflow: hidden;
  display: block;
  width: 100%;
  height: auto;
  min-height: 680px;
  padding: clamp(40px, 8vw, 70px) 0 clamp(36px, 6vw, 60px);
  }
  .wu-logo-img {
  max-width: 200px;
  margin: 0 auto 30px;
  display: block;
  filter: brightness(1.1);
  }
  .wu-headline {
  font-size: 36px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.25;
  margin-bottom: 18px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.4);
  letter-spacing: -0.5px;
  }
  .wu-subtitle {
  font-size: 17px;
  color: rgba(255,255,255,0.75);
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.7;
  font-weight: 300;
  }
  .wu-features {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 40px;
  }
  .wu-feature-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 14px;
  padding: 22px 28px;
  width: 180px;
  text-align: center;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: transform 0.3s ease, background 0.3s ease;
  }
  .wu-feature-card:hover {
  transform: translateY(-4px);
  background: rgba(255,255,255,0.14);
  }
  .wu-feature-card i {
  font-size: 28px;
  color: #ffbc00;
  margin-bottom: 10px;
  display: block;
  }
  .wu-feature-card span {
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
  display: block;
  letter-spacing: 0.3px;
  }
  .wu-cta-btn {
  display: inline-block;
  background: #ffbc00;
  color: #1a1a1a;
  font-size: 16px;
  font-weight: 700;
  padding: 14px 40px;
  border-radius: 50px;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 20px rgba(255, 188, 0, 0.25);
  border: none;
  }
  .wu-cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(255, 188, 0, 0.4);
  color: #1a1a1a;
  text-decoration: none;
  }
  .wu-badge {
  margin-top: 30px;
  opacity: 0.6;
  transition: opacity 0.3s ease;
  }
  .wu-badge:hover {
  opacity: 1;
  }
  @media (max-width: 768px) {
  #hm-wu { min-height: 0; padding: 50px 15px 40px; }
  .wu-headline { font-size: 26px; }
  .wu-subtitle { font-size: 15px; }
  .wu-feature-card { width: 140px; padding: 16px 14px; }
  .wu-cta-btn { padding: 12px 30px; font-size: 14px; }
  }
  .servicios-title {
  font-size: 32px;
  font-weight: 800;
  color: #1a1a2e;
  text-align: center;
  margin-bottom: 10px;
  letter-spacing: -0.5px;
  width: 100%;
  display: block;
  }
  .servicios-subtitle {
  text-align: center !important;
  color: #888;
  font-size: 16px;
  font-weight: 300;
  margin-bottom: 50px;
  width: 100% !important;
  display: block !important;
  margin-left: auto !important;
  margin-right: auto !important;
  }
  .srv-row {
  display: flex;
  flex-wrap: wrap;
  }
  .srv-col {
  margin-bottom: 30px;
  display: flex;
  }
  .srv-card {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0,0,0,0.04);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  display: flex;
  flex-direction: column;
  width: 100%;
  }
  .srv-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(164, 36, 43, 0.1);
  }
  .srv-card-img-wrap {
  position: relative;
  overflow: hidden;
  height: 200px;
  background: #f5f5f5;
  }
  .srv-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  }
  .srv-card:hover .srv-card-img-wrap img {
  transform: scale(1.06);
  }
  .srv-card-icon {
  position: absolute;
  bottom: -22px;
  right: 20px;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #a4242b, #c9434b);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 16px rgba(164, 36, 43, 0.4);
  z-index: 100;
  border: 3px solid #fff;
  }
  .srv-card-icon i {
  color: #fff;
  font-size: 20px;
  }
  .srv-card-body {
  padding: 30px 24px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
  }
  .srv-card-body h3 {
  font-size: 18px;
  font-weight: 700;
  color: #1a1a2e;
  margin: 0 0 10px;
  line-height: 1.3;
  }
  .srv-card-body p {
  font-size: 14px;
  color: #777;
  line-height: 1.7;
  margin: 0;
  flex: 1;
  }
  .srv-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-size: 14px;
  font-weight: 600;
  color: #a4242b;
  text-decoration: none;
  transition: gap 0.3s ease;
  }
  .srv-card-link:hover {
  gap: 10px;
  color: #a4242b;
  text-decoration: none;
  }
  @media (max-width: 991px) {
  .srv-card-img-wrap { height: 180px; }
  .servicios-title { font-size: 26px; }
  }
  @media (max-width: 767px) {
  .srv-row { display: block; }
  }
  .srv-top-container {
  position: relative;
  z-index: 10;
  }
        .faq-section {
  padding: 80px 0;
  background-color: #fcfcfc;
  position: relative;
        }
        .faq-title-wrapper {
  text-align: center;
  margin-bottom: 50px;
        }
        .faq-title {
  color: #333;
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 12px;
  position: relative;
  display: inline-block;
        }
        .faq-title::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: #a4242b;
  border-radius: 2px;
  opacity: 0.8;
        }
        .faq-subtitle {
  color: #777;
  font-size: 16px;
  font-weight: 400;
        }
        
        .faq-container {
  width: 100%;
  margin: 0 auto;
        }
        
        .faq-item {
  background: #fff;
  border-radius: 10px;
  margin-bottom: 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.02);
  border: 1px solid rgba(0,0,0,0.06);
  transition: all 0.25s ease;
  overflow: hidden;
        }
        .faq-item:hover {
  box-shadow: 0 6px 16px rgba(0,0,0,0.06);
  transform: translateY(-1px);
        }
        
        .faq-header {
  padding: 22px 28px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fff;
  user-select: none;
        }
        .faq-header h3 {
  margin: 0;
  font-size: 17px;
  color: #444;
  font-weight: 600;
  display: flex;
  align-items: center;
        }
        .faq-icon-question {
  color: #666;
  margin-right: 15px;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: #f4f5f7;
  border-radius: 50%;
  transition: color 0.3s ease;
        }
        .faq-item.active .faq-icon-question {
  color: #a4242b;
        }
        
        .faq-toggle-icon {
  position: relative;
  width: 14px;
  height: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-left: 15px;
        }
        .faq-toggle-icon::before, .faq-toggle-icon::after {
  content: '';
  position: absolute;
  background: #999;
  border-radius: 1px;
  transition: transform 0.3s ease, background-color 0.3s ease;
        }
        .faq-toggle-icon::before {
  width: 14px;
  height: 2px;
        }
        .faq-toggle-icon::after {
  width: 2px;
  height: 14px;
        }
        .faq-item.active .faq-toggle-icon::after {
  transform: scaleY(0);
        }
        .faq-item.active .faq-toggle-icon::before {
  background-color: #a4242b;
        }
        
        .faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease-out;
  background: #fff;
        }
        .faq-item.active .faq-body {
  max-height: 500px;
        }
        .faq-content {
  padding: 0 28px 24px 75px;
  color: #666;
  font-size: 15px;
  line-height: 1.6;
        }

        @media (max-width: 768px) {
  .faq-content {
  padding: 0 20px 20px 20px;
  }
  .faq-header {
  padding: 18px 20px;
  }
  .faq-icon-question {
  display: none;
  }
        }
        
        /* CTA */
        .faq-cta-box {
  margin-top: 50px;
  background: #fff;
  border-radius: 12px;
  padding: 40px 30px;
  text-align: center;
  border: 1px solid #eaeaea;
  box-shadow: 0 8px 24px rgba(0,0,0,0.03);
        }
        .faq-cta-title {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 12px;
  color: #333;
        }
        .faq-cta-text {
  font-size: 15px;
  color: #777;
  margin-bottom: 25px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
        }
        .faq-cx-btn {
  display: inline-flex;
  align-items: center;
  background: #fff;
  color: #a4242b;
  padding: 12px 28px;
  border-radius: 25px;
  font-weight: 500;
  font-size: 15px;
  transition: all 0.25s ease;
  border: 1px solid rgba(164, 36, 43, 0.3);
  text-decoration: none;
        }
        .faq-cx-btn:hover {
  background: #faf4f4;
  border-color: #a4242b;
  color: #a4242b;
  transform: translateY(-2px);
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(164, 36, 43, 0.08);
        }
        .faq-cx-btn i {
  margin-right: 8px;
  font-size: 15px;
        }

/* Botón "Más información": que el texto parta línea en pantallas angostas */
@media (max-width:480px){
  .btn-empresa{display:block;max-width:100%;box-sizing:border-box;white-space:normal;text-align:center;padding:12px 20px;line-height:1.3}
}

/* Selector de sucursales: estado activo real (antes "Todas" siempre resaltada) */
ul.list-sucursales li.title{background:transparent}
ul.list-sucursales li.activa{background:#6d1a1f}
ul.list-sucursales li a{display:block;color:#fff}
ul.list-sucursales li a:focus-visible{outline:2px solid #fff;outline-offset:-4px}

/* Móvil/tablet: una sola fila desplazable en vez de grilla 2x2 */
@media (max-width:992px){
  .header-sucursales .list-sucursales{display:flex;flex-wrap:nowrap;overflow-x:auto;-webkit-overflow-scrolling:touch;scroll-snap-type:x proximity;margin:0;padding:0;scrollbar-width:none}
  .header-sucursales .list-sucursales::-webkit-scrollbar{display:none}
  .header-sucursales .list-sucursales li,
  .header-sucursales .list-sucursales li.title{flex:0 0 auto;float:none;width:auto;white-space:nowrap;padding:12px 18px;font-size:14px;border-right:0;border-bottom:0;scroll-snap-align:start}
}

/* ===== Anuncio PIX habilitado =====
   Escritorio (>=900px): banner de imagen. Móvil: tarjeta de texto en HTML/CSS
   (la imagen no se descarga y el texto se lee a cualquier tamaño). */
.promo-pix { display: block; clear: both; max-width: calc(1100px * var(--pix-ancho, 100) / 100); margin: 4px auto 26px; border-radius: 16px; overflow: hidden; text-decoration: none; color: #fff;
  box-shadow: 0 6px 24px rgba(109, 26, 31, .18); transition: box-shadow .25s ease, transform .25s ease; }
.promo-pix:hover, .promo-pix:focus-visible { box-shadow: 0 10px 30px rgba(109, 26, 31, .28); transform: translateY(-2px); color: #fff; text-decoration: none; }
.promo-pix:focus-visible { outline: 3px solid #2C040C; outline-offset: 3px; }
.promo-pix-img, .promo-pix-img img { display: block; width: 100%; height: auto; }
.promo-pix-movil { display: none; }

@media (max-width: 899px) {
  .promo-pix { max-width: none; margin: 0 0 20px; border-radius: 14px; background: linear-gradient(135deg, #a4242b 0%, #6d1a1f 100%); text-align: left; }
  .promo-pix-img { display: none; }
  .promo-pix-movil { display: block; padding: 18px 18px 16px; }
  .promo-pix-nuevo { display: inline-block; padding: 2px 9px; border-radius: 999px; background: #fff; color: #a4242b; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
  .promo-pix-titulo { display: block; margin: 8px 0 4px; font-size: 30px; line-height: 1.05; font-weight: 800; letter-spacing: -.01em; text-transform: uppercase; }
  .promo-pix-texto { display: block; font-size: 15px; line-height: 1.35; color: #ffeaea; }
  .promo-pix-lista { display: flex; flex-direction: column; gap: 5px; margin: 12px 0 14px; font-size: 13.5px; }
  .promo-pix-lista span { padding-left: 18px; position: relative; }
  .promo-pix-lista span::before { content: ""; position: absolute; left: 0; top: .5em; width: 8px; height: 8px; border-radius: 50%; background: #fff; }
  .promo-pix-cta { display: inline-block; padding: 9px 16px; border-radius: 999px; background: #fff; color: #a4242b; font-weight: 700; font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) { .promo-pix { transition: none; } .promo-pix:hover, .promo-pix:focus-visible { transform: none; } }
/* Tableta: tarjeta a todo el ancho, texto a la izquierda y beneficios en fila */
@media (min-width: 600px) and (max-width: 899px) {
  .promo-pix-movil { padding: 24px 28px 22px; }
  .promo-pix-titulo { font-size: 40px; }
  .promo-pix-texto { font-size: 17px; max-width: 34em; }
  .promo-pix-lista { flex-direction: row; flex-wrap: wrap; gap: 8px 18px; margin: 16px 0 18px; font-size: 14px; }
}

/* ===== Tablas de cotizaciones: números alineados, variación clara, cruces separados ===== */
table.table-cotacao td.num { white-space: nowrap; font-variant-numeric: tabular-nums; }
/* Se anula la regla heredada ".num span {position:absolute; color:orange}" */
table.table-cotacao td.num span { position: static; margin-left: 0; color: inherit; font-size: inherit; font-weight: inherit; }
table.table-cotacao td.num .monto { display: inline-block; }
table.table-cotacao td.num .var { display: inline-block; width: 1.5em; margin-left: 5px; text-align: left; vertical-align: middle; font-size: 11px; font-weight: 700; line-height: 1; }
table.table-cotacao td.num .var-monto { margin-left: 3px; font-weight: 600; }
table.table-cotacao td.num .var-sube  { color: #15803d; }
table.table-cotacao td.num .var-baja  { color: #b91c1c; }
table.table-cotacao td.num .var-igual { color: #6b7280; }
@media (min-width: 769px) { table.table-cotacao td.num .var { width: 5.6em; } }

/* Cruces: subtítulo y menor peso visual que Dólar / Real / Peso / Euro */
table.table-cotacao tbody tr.grupo-cruces th {
  text-align: left; padding: 8px 15px; font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: #6b7280; background: #f6f6f7; border-top: 1px solid #e6e6e8; border-bottom: 1px solid #eee;
}
table.table-cotacao tbody tr.grupo-cruces ~ tr td { font-size: 16px; font-weight: 600; color: #555; }
table.table-cotacao tbody tr.grupo-cruces ~ tr .pais1 span { font-size: 13.5px; font-weight: 600; }

/* Nota de lectura bajo la tabla */
.cotacao-box .tabla-nota { margin: 0; padding: 7px 15px 9px; font-size: 12px; color: #6b7280; text-align: right; border-top: 1px solid #f0f0f0; }
.cotacao-box .tabla-nota .var-sube { color: #15803d; }
.cotacao-box .tabla-nota .var-baja { color: #b91c1c; }

/* Móvil: el nombre de la moneda no se parte y los números caben */
@media (max-width: 480px) {
  table.table-cotacao tbody td { padding-top: 9px; padding-bottom: 9px; }
  table.table-cotacao tbody td:first-child, table.table-cotacao thead th:first-child { padding-left: 10px; padding-right: 2px; }
  table.table-cotacao tbody td.num, table.table-cotacao thead th.aright { padding-right: 8px !important; padding-left: 2px; }
  table.table-cotacao tbody td.num { font-size: 17px; }
  table.table-cotacao tbody tr.grupo-cruces ~ tr td.num { font-size: 15px; }
  table.table-cotacao .pais1 { flex-wrap: nowrap; }
  table.table-cotacao .pais1 span { white-space: nowrap; font-size: 13.5px; }
  table.table-cotacao tbody tr.grupo-cruces th { padding-left: 10px; }
  .cotacao-box .tabla-nota { padding-left: 10px; padding-right: 10px; text-align: left; }
}
/* El texto solo para lectores de pantalla debe seguir oculto (la regla de arriba lo había anulado) */
table.table-cotacao td.num span.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
table.table-cotacao tbody tr.grupo-cruces th { color: #6b7280 !important; background-color: #f6f6f7 !important; text-transform: uppercase; }

/* El monto de la variación solo cabe cuando la tabla es ancha (1 columna grande o escritorio); si no, queda la flecha y el monto en el tooltip */
table.table-cotacao td.num .var-monto { display: none; }
@media (min-width: 1200px), (min-width: 481px) and (max-width: 767px) {
  table.table-cotacao td.num .var-monto { display: inline; }
  table.table-cotacao td.num .var { width: 5.6em; }
}
@media (max-width: 1199px) and (min-width: 768px), (max-width: 480px) { table.table-cotacao td.num .var { width: 1.2em; } }
/* Nombres de moneda en una línea; si no caben, se recorta en lugar de partirse */
table.table-cotacao .pais1 span:last-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
@media (max-width: 1199px) and (min-width: 481px) { table.table-cotacao tbody td:first-child { padding-right: 2px; } table.table-cotacao .pais1 img { margin-right: 2px; } table.table-cotacao tbody td.num { font-size: 17px; padding-right: 8px !important; } }
@media (max-width: 340px) {
  table.table-cotacao .pais1 span:last-child { font-size: 12px; letter-spacing: -.2px; }
  table.table-cotacao .pais1 img { height: 16px; margin-right: 1px; }
  table.table-cotacao tbody td.num { font-size: 15px; }
  table.table-cotacao tbody td.num .var { width: 1em; margin-left: 2px; }
}
