html {
  scroll-behavior: smooth;
}

body {
  font-family:
    "Inter",
    system-ui,
    -apple-system,
    Segoe UI,
    Roboto,
    Inter,
    Helvetica,
    Arial,
    sans-serif;
  font-weight: 400;
  color: var(--ink);
}

h1,
h2,
h3,
h4,
h5,
h6,
strong {
  font-weight: 700;
}

.container {
  max-width: 1200px;
}

.badge-soft {
  background: #eef2ff;
  color: var(--brand);
  border-radius: 999px;
  font-weight: 600;
}

.shadow-soft {
  box-shadow: var(--shadow);
}

.rounded-2xl {
  border-radius: 24px;
}

.rounded-3xl {
  border-radius: 40px;
}

.icon-circle {
  width: 70px;
  height: 70px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #eef2ff;
  font-size: 35px !important;
}

.hero-wrapper img {
  max-width: 100%;
}

.hero-illus picture {
  object-fit: cover;
  height: 100% !important;
  width: 100% !important;
}

.hero-visual {
    overflow: hidden;
    padding: clamp(18px, 2vw, 28px);
    background-color: #0a2c48;
    border-radius: 24px;
}

.hero-visual picture,
.hero-visual img {
    display: block;
    width: 100%;
    height: auto !important;
    object-fit: contain;
}

.mirror {
  transform: scaleX(-1);
}

.navbar-brand {
  font-size: 25px;
}

div#navMain a,
div#navMain .btn {
  font-size: 15px;
}

a.navbar-brand img {
  height: 100%;
  width: auto;
}

a.navbar-brand {
  padding: 0;
  height: 40px;
}

/* Cards y secciones */
.section {
  padding-block: 64px;
}

.bg-brand-dark {
    background-color: #172c54!important;
}

.bg-brand-soft{
  background-color: #e9f2ff;
}
/* Testimonios: fondo recomendado por patrón Hero + Testimonials (landing) */
.testimonials-section {
  background-color: #f5f5f5;
}

.section-heading {
  font-weight: 800;
  letter-spacing: -0.02em;
}

.feature-card {
  background: var(--card);
  border: 1px solid #e5e7eb;
  border-radius: var(--radius);
  padding: 18px;

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: rgba(13, 110, 253, 0.16);
}

/* Alcance: pestañas por región (servicios) */
.nav-tabs-alcance .nav-link {
  color: var(--brand);
  border: none;
  font-weight: 600;
  padding: 0.5rem 1rem;
}
.nav-tabs-alcance .nav-link:hover {
  color: var(--brand);
  opacity: 0.85;
}
.nav-tabs-alcance .nav-link.active {
  background-color: var(--brand);
  color: #fff;
  border-radius: 0.375rem;
}

/* Paso numerado (p. ej. página de rastreo) */
.step-number-circle {
  width: 80px;
  height: 80px;
  font-size: 2rem;
  font-weight: bold;
}

.sol-card {
  border: 1px solid #e5e7eb;
  border-radius: var(--radius);
  padding: 16px;
  background: #fff;
}

.sol-card h6 {
  font-weight: 700;
}

/* Card link */
.card-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;

    color: var(--bs-primary);
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.2;

    text-decoration: none;

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

.card-link i {
    font-size: 0.9em;
    transition: transform 0.2s ease;
}

.card-link:hover,
.card-link:focus-visible {
    color: var(--bs-primary);
}

.card-link:hover i,
.card-link:focus-visible i {
    transform: translateX(4px);
}

.card-link--light {
    color: #ffffff;
}

.card-link--light:hover,
.card-link--light:focus-visible {
    color: #ffffff;
}

/* Card icon */

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

    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;

    color: var(--bs-primary);
    background-color: #e9f2ff;
    border-radius: 50%;
    transition:
        color 0.25s ease,
        background-color 0.25s ease,
        transform 0.25s ease;
}

.card-icon i {
    font-size: 1.3rem;
    line-height: 1;
}

.metric-pill {
  background: #eef2ff;
  border-radius: 18px;
  padding: 0.75rem 1rem;
  text-align: center;
}

.service-panel {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 28px;
  padding: 24px;
}

.service-img {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.grey-band {
  background: #e9f2ff;
  border-radius: 18px;
}

.secondary-band {
  background: #e9f2ff;
  border-radius: 28px;
}

.blog-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  padding: 16px;
}

.faq .accordion-button {
  font-weight: 600;
}

.cta-band {
  background: #eef2ff;
  border: 1px dashed #c7d2fe;
}

.footer {
  background: #192752;
  color: #cbd5e1;
}

.footer a {
  color: #cbd5e1;
  text-decoration: none;
}

.footer a:hover {
  color: #fff;
  text-decoration: underline;
}

/* Botones dentro del footer: no heredan el gris de los enlaces */
.footer a.btn-light {
  color: #0b1022;
  font-weight: 600;
}
.footer a.btn-light:hover {
  color: #0b1022;
  background: #e9f0fe;
  text-decoration: none;
}

/* Utilidades */
.object-fit-cover {
  object-fit: cover;
}

.maxw-780 {
  max-width: 780px;
}

.maxw-900 {
  max-width: 900px;
}

/* Blog index redesign */
.text-brand {
  color: var(--brand);
}

.blog-hero {
  padding: 110px 0 40px;
}

.blog-hero-title {
  font-size: clamp(2rem, 2.8vw, 3rem);
  letter-spacing: -0.02em;
}

.blog-hero-subtitle {
  color: #4b5563;
  max-width: 620px;
  margin: 0.75rem auto 1.75rem;
}

.blog-search-form {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.blog-search-input {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  background: #f3f4f6;
  min-width: min(520px, 90vw);
}

.blog-search-input i {
  color: #9ca3af;
}

.blog-search-input input {
  border: none;
  background: transparent;
  outline: none;
  width: 100%;
}

.blog-search-btn {
  border-radius: 999px;
  padding: 8px 18px;
}

.blog-chips {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.blog-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid #e5e7eb;
  background: #fff;
  color: #374151;
  font-size: 0.85rem;
  text-decoration: none;
}

.blog-chip:hover {
  border-color: #cbd5f5;
  color: #1f2937;
}

.blog-chip.active {
  background: #e7efff;
  border-color: #c7d2fe;
  color: var(--brand);
  font-weight: 600;
}

.blog-section {
  padding: 24px 0 40px;
}

.blog-section-alt {
  padding-top: 10px;
}

.blog-section-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.blog-section-title {
  font-size: 1.2rem;
  margin: 0;
}

.blog-section-bar {
  height: 6px;
  width: 72px;
  border-radius: 999px;
  background: var(--brand);
}

.blog-card {
  border: none;
  border-radius: 16px;
  overflow: hidden;
  background: #f9f9f9;
  padding: 0;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.blog-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.blog-card-media {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
}

.blog-card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.18);
  pointer-events: none;
  z-index: 1;
  background: #ffffff;
  background: -webkit-linear-gradient(
    180deg,
    rgba(255, 255, 255, 0) 50%,
    rgba(0, 0, 0, 0.29) 100%
  );
  background: -moz-linear-gradient(
    180deg,
    rgba(255, 255, 255, 0) 50%,
    rgba(0, 0, 0, 0.29) 100%
  );
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0) 50%,
    rgba(0, 0, 0, 0.29) 100%
  );
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#FFFFFF", endColorstr="#000000", GradientType=0);
}

.blog-card-img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  display: block;
  border-radius: 16px;
}

.blog-card-placeholder {
  height: 170px;
  background: #d9d9d9;
  border-radius: 16px;
}

.blog-card-tag {
  position: absolute;
  left: 12px;
  bottom: 10px;
  background: #2563eb;
  color: #fff;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  z-index: 2;
}

.blog-card-body {
  padding: 12px 14px 16px;
}

.blog-card-title {
  font-family:
    "Inter",
    system-ui,
    -apple-system,
    Segoe UI,
    Roboto,
    Helvetica,
    Arial,
    sans-serif;
  font-weight: 500;
  font-size: 15px;
  line-height: 1;
  letter-spacing: 0;
  color: #000;
  margin-bottom: 6px;
}

.blog-card-title a {
  color: #000;
}

.blog-card-title a:hover {
  color: #000;
}

.blog-card-excerpt {
  font-size: 0.82rem;
  margin: 0 0 8px;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}

.blog-card-category-tag {
  background: #f3f4f6;
  color: #374151;
  border: 1px solid #e5e7eb;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
}

.blog-pagination {
  margin-top: 16px;
}

.blog-pagination .page-link {
  border: none;
  color: #6b7280;
}

.blog-pagination .page-item.active .page-link {
  background: none;
  color: var(--brand);
  font-weight: 700;
}

/* Blog detail */
.blog-detail-hero {
  padding: 110px 0 20px;
}

.blog-detail-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.blog-detail-search {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #f3f4f6;
  border-radius: 999px;
  padding: 8px 12px;
  min-width: min(320px, 90vw);
}

.blog-detail-search input {
  border: none;
  background: transparent;
  outline: none;
  width: 100%;
}

.blog-detail-cover {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
}

.blog-detail-cover-img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
}

.blog-detail-cover-placeholder {
  height: 420px;
  background: linear-gradient(135deg, #e5e7eb, #f9fafb);
}

.blog-detail-cover-overlay {
  position: absolute;
  inset: 0;
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #fff;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.15));
}

.blog-detail-title {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  margin: 0 0 10px;
}

.blog-detail-excerpt {
  max-width: 560px;
  margin: 0;
  font-size: 0.95rem;
}

.blog-detail-date {
  font-size: 0.85rem;
  opacity: 0.85;
  margin-bottom: 8px;
}

.blog-detail-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.blog-detail-category-tag {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.45);
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  backdrop-filter: blur(4px);
}

.blog-share {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 0 18px;
}

.blog-share-label {
  font-size: 0.85rem;
  color: #6b7280;
}

.blog-share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid #e5e7eb;
  background: #fff;
  color: #374151;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.blog-share-btn:hover {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}

.blog-detail-body {
  padding: 20px 0 50px;
}

.blog-detail-prose {
  color: #111827;
  line-height: 1.7;
}

.blog-detail-prose p {
  margin-bottom: 1.25rem;
}

.blog-detail-prose h1,
.blog-detail-prose h2,
.blog-detail-prose h3,
.blog-detail-prose h4,
.blog-detail-prose h5,
.blog-detail-prose h6 {
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  font-weight: 600;
  line-height: 1.3;
}

.blog-detail-prose ul,
.blog-detail-prose ol {
  margin-bottom: 1.25rem;
  padding-left: 1.5rem;
}

.blog-detail-prose li {
  margin-bottom: 0.4rem;
}

.blog-detail-prose hr {
  margin: 2rem 0;
  border-color: #e5e7eb;
}

.blog-detail-prose img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  margin: 1.25rem 0;
}

/* Wagtail table block styles */
.blog-detail-prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.75rem 0;
  font-size: 0.9rem;
  border-radius: 10px;
  overflow: hidden;
}

.blog-detail-prose table th,
.blog-detail-prose table td {
  border: 1px solid #e5e7eb;
  padding: 10px 14px;
  text-align: left;
  vertical-align: top;
}

.blog-detail-prose table th {
  background: #f3f4f6;
  font-weight: 600;
  color: #111827;
}

.blog-detail-prose table tr:nth-child(even) td {
  background: #f9fafb;
}

.blog-detail-prose table tr:hover td {
  background: #f0f4ff;
}

.blog-related {
  background: #f3f4f6;
  border-radius: 16px;
  padding: 16px;
}

.blog-detail-sidebar {
  align-self: flex-start;
  position: sticky;
  top: 1.5rem;
}

.blog-related-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.blog-related-title {
  font-size: 1rem;
  margin: 0;
}

.blog-card-related {
  margin-bottom: 12px;
}

.blog-card-related .blog-card-img,
.blog-card-related .blog-card-placeholder {
  height: 120px;
}

.blog-card-related .blog-card-title {
  font-size: 14px;
}

.blog-card-related .blog-card-excerpt {
  font-size: 0.75rem;
}

.blog-newsletter {
  background: #e7f0ff;
  padding: 24px 0;
  margin-bottom: 24px;
}

.blog-newsletter-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.blog-newsletter-inner h3 {
  font-size: 1rem;
  margin: 0;
}

.blog-newsletter-form {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.blog-newsletter-form input {
  border: none;
  border-radius: 999px;
  padding: 8px 14px;
  min-width: min(280px, 80vw);
}

.blog-newsletter-form-wrap {
  width: min(520px, 100%);
}

.maxw-1100 {
  max-width: 1100px;
}

.link-more {
  font-weight: 600;
}

.nav-link {
  color: rgba(0, 0, 0, 0.8);
}

.nav-link:hover {
  color: var(--brand);
}

.faq-question {
  font-size: 20px;
}

.faq-number {
  font-size: 25px;
}

.accordion.faq .accordion-item {
  background: #0d6efd !important;
}

/* Estilo base de los ítems cerrados */
.accordion.faq .accordion-item {
  border: none;
  margin-bottom: 0.75rem;
  border-radius: 0.75rem;
  overflow: hidden;
  background: #f1f5f9; /* gris claro */
}

/* Botón de la pregunta cuando está cerrado */
.accordion.faq .accordion-button {
  background: #e9f2ff;
  color: #0f172a;
  font-weight: 600;
  box-shadow: none;
}

/* Botón cuando está abierto */
.accordion.faq .accordion-button:not(.collapsed) {
  background: #0d6efd; /* azul Bootstrap */
  color: #fff;
  box-shadow: none;
}

/* Cuerpo del acordeón cerrado (no aplica background porque está oculto) */
.accordion.faq .accordion-body {
  background: transparent !important;
  color: #fff !important;
}

/* Cuerpo cuando está abierto */
.accordion.faq .accordion-collapse.show .accordion-body {
  background: #0d6efd;
  color: #fff;
}

/* Quitar borde predeterminado del botón */
.accordion.faq .accordion-button:focus {
  box-shadow: none;
}

.service-item {
  aspect-ratio: 1 / 1; /* cuadrado */
  width: 100%; /* se ajusta al ancho del contenedor padre */
  overflow: hidden; /* evita que la imagen se desborde */
  border-radius: 12px; /* opcional */
}

.service-item img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* recorta sin deformar */
}

.card-service {
  border: 1px solid #e5e7eb; /* gris suave */
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.card-service .service-media {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

@media (min-width: 992px) {
  .card-service .service-media {
    height: 100%;
    min-height: 320px;
  }
}

.icon-badge {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #e7f1ff; /* primary-subtle */
  color: #0d6efd;
  box-shadow: inset 0 0 0 2px rgba(13, 110, 253, 0.08);
}

.icon-badge-large {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #e7f1ff;
  color: #0d6efd;
  box-shadow: inset 0 0 0 2px rgba(13, 110, 253, 0.08);
  font-size: 80px;
}

.check-list li + li {
  margin-top: 0.5rem;
}

.check-list i {
  color: #22c55e;
}

.lead-description {
  font-size: 15px;
}

.cta-band-ref {
  background: #f1f5f9; /* teal */
  border-radius: 28px;
  box-shadow: 0 6px 28px rgba(0, 0, 0, 0.12);
  color: #000;
}

@media (max-width: 991.98px) {
  .cta-band-ref .display-5 {
    font-size: 2rem;
  }

  #cta .col-lg-4 .d-flex {
    justify-content: flex-start;
  }
}

/* Utilidad: limitar ancho máximo para contenedores de media */
.mw-420 {
  max-width: 420px;
}

/* verde ok */
@media (min-width: 992px) {
  .hero-illus {
    min-height: 340px;
  }
}

.blog-card-modern {
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(16, 24, 40, 0.06);
}

.blog-card-modern:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px rgba(16, 24, 40, 0.12);
}

.blog-card-modern .card-img-top img {
  transition: transform 0.5s ease;
}

.blog-card-modern:hover .card-img-top img {
  transform: scale(1.05);
}

.badge-chip {
  backdrop-filter: blur(6px);
  border: 1px solid rgba(0, 0, 0, 0.06);
}

/* Iconografía cuadrada utilitaria (para features) */
.icon-square {
  width: 40px;
  height: 40px;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 40px; /* tamaño fijo, no colapsa */
}

.icon-square i {
  font-size: 18px; /* tamaño consistente del icono */
  line-height: 1;
}

.icon-square-small{
  width:50px;
  height: 50px;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 50px;
}


.icon-square-medium {
  width: 60px;
  height: 60px;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 60px;
}

.icon-square-medium i {
  font-size: 24px;
  line-height: 1;
}

.icon-square-large {
  width: 80px;
  height: 80px;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 80px;
}

.icon-square-large i {
  font-size: 32px;
  line-height: 1;
}

.icon-square-small i {
  font-size: 22px;
  line-height: 1;
}

/* Estilo ligero y consistente */
.service-card {
    position: relative;
    background-color: #ffffff;
    border: 1px solid rgba(10, 44, 72, 0.08) !important;
    box-shadow: 0 10px 28px rgba(10, 44, 72, 0.06);

    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

.service-card:hover,
.service-card:focus-within {
    border-color: rgba(13, 110, 253, 0.22) !important;
    box-shadow: 0 16px 36px rgba(10, 44, 72, 0.10);
    transform: translateY(-4px);
}

.service-media {
    overflow: hidden;
    background-color: #0a2c48;
}

.service-media img {
    transition: transform 0.35s ease;
}

.service-card:hover .service-media img,
.service-card:focus-within .service-media img {
    transform: scale(1.025);
}

.service-card .card-body {
    min-height: 270px;
}

.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #667085;
  margin-bottom: 0.25rem;
}

.li-check {
  position: relative;
  padding-left: 1.4rem;
  margin: 0.25rem 0;
}

.li-check::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35rem;
  width: 0.9rem;
  height: 0.9rem;
  border-radius: 999px;
  border: 2px solid #0d6efd;
}

.li-check::after {
  content: "";
  position: absolute;
  left: 0.22rem;
  top: 0.55rem;
  width: 0.45rem;
  height: 0.25rem;
  border: 2px solid #0d6efd;
  border-top: 0;
  border-left: 0;
  transform: rotate(45deg);
}

/* Los mismos checks de `.li-check`, a mayor tamaño: en el hero compiten con el
   h1 y el lead, no con el texto pequeño de una tarjeta. */
.hero-checks .li-check {
  padding-left: 2.1rem;
  margin: 0 0 0.7rem;
  font-weight: 500;
}

.hero-checks .li-check:last-child {
  margin-bottom: 0;
}

.hero-checks .li-check::before {
  top: 0.1rem;
  width: 1.4rem;
  height: 1.4rem;
  border-width: 1.5px;
}

/* El check de `.li-check` es más ancho que alto y, al rotarlo 45°, el brazo
   largo cae a la IZQUIERDA: sale un check espejado. A 0.9rem no se aprecia,
   pero a este tamaño sí, así que aquí se invierten los ejes (alto > ancho)
   para que el brazo largo suba hacia la derecha, como un check de verdad. */
.hero-checks .li-check::after {
  left: 0.53rem;
  top: 0.32rem;
  width: 0.34rem;
  height: 0.68rem;
}

#blogPostContent img {
  max-width: 100%;
  height: auto;
}

.dropdown-item .icon-circle {
  width: 30px;
  height: 30px;
  font-size: 15px !important;
  transition: all 0.3s ease;
}

.dropdown-menu {
  padding: 10px;
  border: none;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  border-radius: 16px;
  margin-top: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: block;
}

.dropdown-item {
  padding: 8px 12px;
  border-radius: 12px;
  transition: all 0.2s ease;
  margin-bottom: 4px;
}

.dropdown-item:hover {
  background: rgb(237, 242, 249);
  transform: translateX(4px);
}

.dropdown-item:hover .icon-circle {
  background: var(--brand);
  color: #fff;
  transform: scale(1.1);
}

/* Hover effect para dropdowns en desktop */
@media (min-width: 992px) {
  .dropdown-hover {
    position: static;
  }

  .dropdown-hover .dropdown-center {
    position: relative;
  }

  /* Crear un puente invisible entre el nav-link y el dropdown-menu */
  .dropdown-hover .dropdown-center::before {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 200%;
    height: 20px;
    background: transparent;
    z-index: 999;
  }

  .dropdown-hover .dropdown-menu {
    position: absolute;
    top: calc(100% + 0px);
    left: 50%;
    transform: translateX(-50%) translateY(0px);
    opacity: 0;
    visibility: hidden;
    transition:
      opacity 0.3s ease,
      visibility 0.3s ease,
      transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    z-index: 2000;
    min-width: 220px;
    margin-top: 0;
  }

  /* Mostrar dropdown cuando se hace hover sobre el nav-item */
  .dropdown-hover:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
  }

  /* Mantener el dropdown abierto cuando el mouse está sobre el dropdown-menu */
  /* Esto es clave: permite que el usuario mueva el mouse del nav-link al dropdown */
  .dropdown-hover .dropdown-menu:hover {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
  }

  /* También mantener abierto cuando el dropdown-center tiene hover (incluye el puente invisible) */
  .dropdown-hover .dropdown-center:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
  }

  .dropdown-hover .nav-link {
    transition: color 0.2s ease;
  }

  .dropdown-hover:hover .nav-link,
  .dropdown-hover .dropdown-center:hover .nav-link {
    color: var(--brand);
  }

  .dropdown-hover .dropdown-toggle::after {
    transition: transform 0.3s ease;
  }

  .dropdown-hover:hover .dropdown-toggle::after,
  .dropdown-hover .dropdown-center:hover .dropdown-toggle::after {
    transform: rotate(180deg);
  }

  /* Solo cerrar cuando el nav-item NO tiene hover Y el dropdown-center NO tiene hover Y el dropdown-menu NO tiene hover */
  /* Esto permite que el usuario mueva el mouse del nav-link al dropdown sin que se cierre */
  .navbar-nav
    .nav-item.dropdown-hover:not(:hover)
    .dropdown-center:not(:hover)
    .dropdown-menu:not(:hover) {
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(0px);
    pointer-events: none;
  }
}

/* En móviles, usar comportamiento de click de Bootstrap (colapsado por defecto) */
@media (max-width: 991.98px) {
  /* Los dropdowns deben estar ocultos por defecto en mobile */
  .dropdown-hover .dropdown-menu {
    display: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: none;
    position: static;
    max-height: 60vh;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    box-shadow: none;
    border: none;
    margin-top: 0.5rem;
    margin-left: 1rem;
    padding-left: 0.5rem;
    border-left: 2px solid #e5e7eb;
  }

  /* Mostrar dropdown cuando está activo (Bootstrap agrega .show) */
  .dropdown-hover .dropdown-menu.show {
    display: block;
  }

  /* Truncar textos largos en dropdown items en mobile */
  .dropdown-item {
    max-width: 100%;
    font-size: 0.9rem;
  }

  .dropdown-item.d-flex {
    min-width: 0;
  }

  .dropdown-item .icon-circle {
    flex-shrink: 0;
  }

  /* Truncar el texto dentro del span dropdown-item-text */
  .dropdown-item-text {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-width: 0;
    flex: 1;
  }

  /* Limitar el ancho máximo del dropdown en mobile */
  .dropdown-menu {
    max-width: calc(100vw - 2rem);
    width: auto;
  }

  /* Asegurar que el navbar collapse sea scrollable */
  .navbar-collapse {
    max-height: calc(100vh - 80px);
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
  }

  /* Ajustar padding del navbar collapse en mobile */
  .navbar-collapse .navbar-nav {
    padding-bottom: 1rem;
  }

  /* Estilo para el toggle del dropdown en mobile */
  .dropdown-toggle::after {
    transition: transform 0.3s ease;
  }

  .dropdown-toggle[aria-expanded="true"]::after {
    transform: rotate(180deg);
  }
}

.block-heading {
  font-weight: 400;
  margin: initial;
  font-size: 36px;
  letter-spacing: -0.25px;
  line-height: 44px;
  padding: 24px 0;
}

@media (max-width: 1199.98px) {
    .service-card .card-body {
        min-height: 320px;
    }
}

@media (max-width: 767.98px) {
    .service-card .card-body {
        min-height: auto;
    }

    .service-media {
        --bs-aspect-ratio: 48%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .service-card,
    .service-media img {
        transition: none;
    }

    .service-card:hover,
    .service-card:focus-within,
    .service-card:hover .service-media img,
    .service-card:focus-within .service-media img {
        transform: none;
    }
}
.bg-secondary-light {
  background: #f1f5f9;
  color: #000;
  border-radius: 16px;
  padding: 0.2rem 1rem;
  font-weight: 600;
}

/* Contenedor para logos de transportistas */
.logo-container {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-container img {
  max-height: 80px;
  object-fit: contain;
}

/* Operadores logísticos */
.courier-hero {
  max-width: 780px;
}

.courier-strip {
  background: #f5f9ff;
}

.courier-logo-card {
  width: 100px;
  height: 100px;
}

.courier-logo-img {
  max-height: 100px;
  width: auto;
}

.courier-bg-ups {
  background: #4b2b16;
}

.courier-bg-zeleris {
  background: #9be521;
}

.courier-bg-dhl {
  background: #ffd200;
}

.courier-bg-fedex {
  background: #f1f3f7;
}

.courier-bg-correos {
  background: #ffd200;
}

.courier-bg-seur {
  background: #f1f3f7;
}

.courier-bg-correos-express {
  background: #0d2d72;
}

@media (max-width: 576px) {
  .courier-logo-card {
    width: 90px;
    height: 90px;
  }
}

/* Paso a paso: Envía fácil y rápido */
.step-card {
  background: #fff;
  border-radius: 24px;
  padding: 1.75rem 1.5rem 1.5rem;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.35);
  color: #000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 0.5rem;
}

.step-card h6,
.step-card .h6 {
  color: #ffffff;
}

.step-number {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #0d6efd;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.5rem;
}

.step-illustration {
  border-radius: 18px;
  overflow: hidden;
  background: #020617;
}

.step-illustration img {
  object-fit: cover;
}

@media (max-width: 767.98px) {
  .step-card {
    padding: 1.5rem 1.25rem;
  }

  .step-number {
    width: 64px;
    height: 64px;
    font-size: 1.25rem;
  }
}

/* Cookie Consent Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #fff;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
  z-index: 9999;
  padding: 1.5rem;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.cookie-banner.show {
  transform: translateY(0);
}

.cookie-banner-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.cookie-banner-text {
  flex: 1;
  min-width: 300px;
}

.cookie-banner-text h5 {
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.5rem;
}

.cookie-banner-text p {
  color: var(--muted);
  line-height: 1.6;
}

.cookie-banner-text a {
  color: var(--brand);
  text-decoration: underline;
}

.cookie-banner-text a:hover {
  color: var(--brand);
  text-decoration: none;
}

.cookie-banner-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  align-items: center;
}

.cookie-banner-actions .btn {
  white-space: nowrap;
  font-weight: 600;
}

@media (max-width: 768px) {
  .cookie-banner-content {
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-banner-actions {
    justify-content: center;
    width: 100%;
  }

  .cookie-banner-actions .btn {
    flex: 1;
    min-width: 120px;
  }
}

/* Navbar fijo */
.navbar.fixed-top {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  z-index: 1030;
}

.main-wrapper {
  padding-top: 72px;
}

/* Sectores en home: tarjeta clicable */
.sector-card-link {
  cursor: pointer;
}

/* ===== Hero internacional (home) — foto full-bleed + overlay ===== */
.hero-intl {
  position: relative;
  background: #0b1022;
}
.hero-intl h1 {
  letter-spacing: -0.02em;
}
.hero-intl__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-intl__bg picture {
  display: block;
  width: 100%;
  height: 100%;
}
.hero-intl__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.hero-intl__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    90deg,
    rgba(11, 16, 34, 0.86) 0%,
    rgba(11, 16, 34, 0.62) 32%,
    rgba(11, 16, 34, 0.22) 62%,
    rgba(11, 16, 34, 0) 100%
  );
}
@media (max-width: 991px) {
  .hero-intl__overlay {
    background: rgba(11, 16, 34, 0.72);
  }
}
.hero-intl__content {
  position: relative;
  z-index: 2;
  /* Alto completo de la pantalla (descontando el nav fixed de 80px),
     con un mínimo respetable para móvil/landscape. */
  min-height: max(560px, calc(100svh - 80px));
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 3.5rem;
  padding-bottom: 2.5rem;
}
.hero-intl__countries {
  margin-top: 2.5rem;
  padding-top: 1.25rem;
}
.hero-intl__countries-label {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.8);
}
.country-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.6rem 1.15rem;
  border-radius: 0.6rem;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.94);
  color: #1f2937;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  transition:
    background 0.15s ease,
    border-color 0.15s ease,
    color 0.15s ease,
    transform 0.15s ease;
}
.country-chip:hover {
  background: #6ba3f8;
  border-color: #6ba3f8;
  color: #fff;
  transform: translateY(-1px);
}
.country-chip__flag {
  font-size: 1.15rem;
  line-height: 1;
}
.country-chip--soon {
  background: rgba(255, 255, 255, 0.4);
  border-color: transparent;
  color: rgba(31, 41, 55, 0.55);
  cursor: default;
}
.country-chip--soon .country-chip__flag {
  opacity: 0.55;
}
.country-chip--active {
  background: #fff;
  border-color: #fff;
  color: #0b1022;
}
.country-chip--active:hover {
  background: #fff;
  color: #0b1022;
}
/* Hero compacto para landings internas (mercados) */
.hero-intl--compact .hero-intl__content {
  min-height: max(460px, 70svh);
}

/* Integraciones (landing de mercado) */
.integ-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 1rem;
  padding: 1.5rem;
  text-align: center;
  transition:
    box-shadow 0.15s ease,
    transform 0.15s ease;
}
.integ-card:hover {
  box-shadow: 0 12px 30px -16px rgba(0, 0, 0, 0.2);
  transform: translateY(-2px);
}
.integ-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 0.9rem;
  background: #eef2ff;
  color: #0d6efd;
  font-size: 1.6rem;
}
.integ-card__logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 56px;
}
.integ-card__logo img {
  max-height: 48px;
  width: auto;
  object-fit: contain;
}

/* Servicios con foto (landing de mercado) */
.svc-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 1rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition:
    box-shadow 0.15s ease,
    transform 0.15s ease;
}
.svc-card:hover {
  box-shadow: 0 14px 34px -18px rgba(0, 0, 0, 0.25);
  transform: translateY(-2px);
}
.svc-card__media {
  height: 190px;
  flex-shrink: 0;
  overflow: hidden;
}
.svc-card__media picture {
  display: block;
  width: 100%;
  height: 100%;
}
.svc-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.svc-card__body {
  padding: 1.25rem;
}

/* ===== Pain points ===== */
.pain-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 1rem;
  padding: 1.5rem;
  color: #4b5563;
  transition:
    box-shadow 0.15s ease,
    transform 0.15s ease;
}
.pain-card:hover {
  box-shadow: 0 12px 30px -16px rgba(0, 0, 0, 0.2);
  transform: translateY(-2px);
}
.pain-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 0.85rem;
  background: #0d6efd;
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
}
.pain-card--accent {
  background: #0d6efd;
  border-color: #0d6efd;
  color: rgba(255, 255, 255, 0.9);
}
.pain-card--accent h3 {
  color: #fff;
}
.pain-card--accent .pain-card__icon {
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
}

/* ===== Optimize band ===== */
.optimize-band {
  background: #172c54;
}
.optimize-stat {
  padding-left: 1rem;
  border-left: 1px solid rgba(255, 255, 255, 0.18);
}
.optimize-stats > div:first-child .optimize-stat {
  padding-left: 0;
  border-left: 0;
}
.optimize-stat__value {
  font-size: 1.6rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}
.optimize-stat__label {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 0.25rem;
}
.btn-outline-hero {
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 0.6rem;
  color: #fff;
  background: transparent;
}
.btn-outline-hero:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
  color: #fff;
}

.btn-outline-primary {
    --bs-btn-color: #0d6efd;
    --bs-btn-border-color: #0d6efd;

    --bs-btn-hover-color: #0d6efd;
    --bs-btn-hover-bg: #e9f2ff;
    --bs-btn-hover-border-color: #0d6efd;

    --bs-btn-focus-shadow-rgb: 13, 110, 253;

    --bs-btn-active-color: #ffffff;
    --bs-btn-active-bg: #0d6efd;
    --bs-btn-active-border-color: #0d6efd;

    --bs-btn-disabled-color: #0d6efd;
    --bs-btn-disabled-bg: transparent;
    --bs-btn-disabled-border-color: #0d6efd;
}

.optimize-media img,
.features-media img {
  display: block;
}
.optimize-media {
  position: relative;
}
.optimize-media picture {
  display: block;
}
.optimize-media img {
  border-radius: 1rem;
}
/* Badges flotantes sobre la foto del optimize */
.opt-badge {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  color: #0b1022;
  padding: 8px 16px 8px 10px;
  border-radius: 0.9rem;
  box-shadow: 0 12px 28px -10px rgba(0, 0, 0, 0.4);
  white-space: nowrap;
}
.opt-badge__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 0.6rem;
  background: #0d6efd;
  color: #fff;
  font-size: 1rem;
  flex-shrink: 0;
}
.opt-badge__title {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.2;
}
.opt-badge__sub {
  display: block;
  font-size: 0.7rem;
  color: #6b7280;
  line-height: 1.2;
}
.opt-badge--1 {
  top: 5%;
  left: -3%;
}
.opt-badge--2 {
  top: 20%;
  left: -3%;
}
.opt-badge--3 {
  top: 42%;
  right: -4%;
}
.opt-badge--4 {
  top: 58%;
  right: -4%;
}
.opt-badge--5 {
  top: 74%;
  right: -4%;
}
@media (max-width: 991px) {
  .opt-badge--1,
  .opt-badge--2 {
    left: 3%;
  }
  .opt-badge--3,
  .opt-badge--4,
  .opt-badge--5 {
    right: 3%;
  }
}
/* Features: foto redondeada con destellos decorativos (como el diseño) */
.features-media {
  position: relative;
}
.features-media picture,
.features-media img {
  display: block;
  width: 100%;
  border-radius: 1.25rem;
}
.features-media__sparkle {
  position: absolute;
  z-index: 2;
  color: #2f6bff;
  line-height: 1;
}
.features-media__sparkle--1 {
  top: 7%;
  left: 38%;
  font-size: 2.1rem;
}
.features-media__sparkle--2 {
  top: 16%;
  left: 55%;
  font-size: 1.4rem;
}

/* ===== Steps ===== */
.steps-row {
  position: relative;
}
.step-num {
  width: 92px;
  height: 92px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #e9f0fe;
  border: 10px solid #fff;
  font-size: 2.1rem;
  font-weight: 700;
  color: #0b1022;
  position: relative;
  z-index: 1;
}
@media (min-width: 992px) {
  .steps-row::before {
    content: "";
    position: absolute;
    /* De centro a centro de los círculos (cols de 25% → centros en 12.5%);
       la línea pasa por detrás de los círculos, que la tapan. */
    top: 68px;
    left: 12.5%;
    right: 12.5%;
    height: 4px;
    border-radius: 999px;
    background: #d8e6fc;
    z-index: 0;
  }
}

/* ===== Features ===== */
.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 0.65rem;
  background: #0d6efd;
  color: #fff;
  font-size: 1.25rem;
}

/* ===== Testimonials ===== */
.testimonials-band {
  background: #ffffff;
}
.testimonials-panel {
  background: #e9f0fe;
  border-radius: 2rem;
  padding: 3.5rem 1.25rem;
}
@media (min-width: 992px) {
  .testimonials-panel {
    padding: 4rem 3.5rem;
  }
}
.testimonials-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}
.testimonials-heading .bi-quote {
  color: #5b96f7;
  font-size: 3rem;
  line-height: 1;
}
.testimonials-heading .bi-quote:last-child {
  transform: scaleX(-1);
}
.testimonial-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 1rem;
  padding: 1.5rem;
  margin: 0;
}
.testimonial-card figcaption {
  border-top: 1px solid #e5e7eb;
  padding-top: 0.9rem;
}
.testimonial-card--featured figcaption {
  border-top-color: rgba(255, 255, 255, 0.25);
}
.testimonial-card__stars {
  color: #eab308;
  font-size: 0.85rem;
}
.testimonial-card__quote {
  font-size: 0.9rem;
  color: #4b5563;
  font-style: italic;
}
.testimonial-card__avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #0b1022;
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
}
.testimonial-card__company {
  color: #9ca3af;
}
.testimonial-card--featured {
  background: #172c54;
  border-color: #172c54;
  color: #fff;
}
.testimonial-card--featured .testimonial-card__quote {
  color: rgba(255, 255, 255, 0.92);
}
.testimonial-card--featured .fw-bold {
  color: #fff;
}
.testimonial-card--featured .testimonial-card__company {
  color: rgba(255, 255, 255, 0.6);
}
.testimonial-card--featured .testimonial-card__avatar {
  background: #fff;
  color: #0b2a5e;
}

/* ===== Newsletter ===== */
.newsletter-inner {
  max-width: 640px;
}
.newsletter-band h2 {
  color: #192752;
}
/* Input + botón unidos en un solo grupo (como el diseño) */
.newsletter-form {
  background: #fff;
  border: 1px solid #d8dee9;
  border-radius: 0.75rem;
  padding: 4px;
}
.newsletter-form input {
  border: 0;
  border-radius: 0.55rem;
  box-shadow: none;
}
.newsletter-form input:focus {
  box-shadow: none;
}
.newsletter-form .btn {
  border-radius: 0.55rem;
  white-space: nowrap;
}

/* Badge "Nuevo" (footer / menús) */
.badge-new {
  display: inline-block;
  background: #dbeafe;
  color: #1d4ed8;
  font-size: 0.65rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 999px;
  vertical-align: middle;
  margin-left: 0.35rem;
}

/* ===== Market landing (/spain/ /mexico/) — diseño Figma ===== */
.market-hero {
  background: #fff;
}
.market-hero__content {
  padding-top: 4rem;
  padding-bottom: 2.5rem;
}
.market-eyebrow {
  display: inline-block;
  color: #0d6efd;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.22em;
}
.hero-tryptich {
  display: flex;
  align-items: center;
  gap: 14px;
}
.hero-tryptich__slice {
  flex: 1;
  border-radius: 1rem;
  overflow: hidden;
  height: 440px;
}
.hero-tryptich__slice--2 {
  height: 520px;
}
.hero-tryptich__slice picture {
  display: block;
  width: 100%;
  height: 100%;
}
.hero-tryptich__slice img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-tryptich__slice--1 img {
  object-position: 0% 50%;
}
.hero-tryptich__slice--2 img {
  object-position: 50% 50%;
}
.hero-tryptich__slice--3 img {
  object-position: 100% 50%;
}
@media (max-width: 991px) {
  .hero-tryptich__slice {
    height: 260px;
  }
  .hero-tryptich__slice--2 {
    height: 310px;
  }
}
.country-chip--light {
  border-color: #d8dee9;
}
.country-chip--light.country-chip--active {
  background: #cfe2ff;
  border-color: #9ec5fe;
  color: #0b3d91;
}
/* Banda de logos de couriers bajo el hero */
.logo-band {
  padding: 1.75rem 0;
  border-top: 1px solid #eef1f6;
  border-bottom: 1px solid #eef1f6;
}
.logo-band img {
  height: 48px;
  width: auto;
  object-fit: contain;
  border-radius: 10px;
}
.logo-band__word {
  font-size: 1.05rem;
  font-weight: 700;
  color: #6b7280;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
/* Panel azul claro reutilizable (soluciones) */
.market-panel {
  background: #e9f0fe;
  border-radius: 2rem;
  padding: 3.5rem 1.25rem;
}
@media (min-width: 992px) {
  .market-panel {
    padding: 4rem 3rem;
  }
}
.market-panel .sol-card {
  border: 0;
  border-radius: 1.1rem;
  padding: 1.5rem;
}
.sol-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #e3edfd;
  color: #0d6efd;
  font-size: 1.5rem;
}
.card-flag {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: #dbeafe;
  color: #1d4ed8;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 999px;
}
.card-flag i {
  font-size: 0.6rem;
}
/* Integraciones: tiles con logo circular */
.integ-tile {
  background: #e9f0fe;
  border-radius: 1.1rem;
  padding: 1.5rem 1.25rem;
  color: #0b1022;
  transition:
    box-shadow 0.15s ease,
    transform 0.15s ease;
}
.integ-tile:hover {
  box-shadow: 0 14px 34px -18px rgba(0, 0, 0, 0.25);
  transform: translateY(-2px);
}
.integ-tile p {
  color: #4b5563;
}
.integ-tile__logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: #fff;
  margin-bottom: 1.25rem;
  overflow: hidden;
}
.integ-tile__logo img,
.integ-tile__logo picture {
  max-width: 64px;
  max-height: 64px;
  width: auto;
  object-fit: contain;
}
.integ-tile__more {
  color: #0d6efd;
  font-size: 0.85rem;
  font-weight: 600;
  text-align: right;
}
.integ-tile--featured {
  background: #0d6efd;
  color: #fff;
}
.integ-tile--featured p {
  color: rgba(255, 255, 255, 0.85);
}
.integ-tile--featured h3 {
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  padding-bottom: 0.5rem;
}
.integ-tile--featured .integ-tile__more {
  color: #fff;
}
/* Servicios: cuerpo azul claro */
.svc-card {
  border: 0;
  background: transparent;
}
.svc-card__media {
  border-radius: 1rem 1rem 0 0;
}
.svc-card__body {
  background: #e9f0fe;
  border-radius: 0 0 1rem 1rem;
  padding: 1.5rem 1.25rem;
}
/* Sectores: panel navy con tiles */
.market-sectors-panel {
  background: #172c54;
  border-radius: 2rem;
  padding: 3rem 1.5rem;
}
@media (min-width: 992px) {
  .market-sectors-panel {
    padding: 4rem 3.5rem;
  }
}
.sector-tile {
  background: #fff;
  border-radius: 1.1rem;
  padding: 1.25rem;
  color: #0b1022;
  transition:
    box-shadow 0.15s ease,
    transform 0.15s ease;
}
.sector-tile:hover {
  box-shadow: 0 14px 34px -18px rgba(0, 0, 0, 0.45);
  transform: translateY(-2px);
  color: #0b1022;
}
.sector-tile__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #e3edfd;
  color: #0d6efd;
  font-size: 1.35rem;
  flex-shrink: 0;
}
.sector-tile__text {
  color: #4b5563;
}
.sector-tile__more {
  color: #0d6efd;
  font-weight: 600;
}
.sector-tile--featured {
  background: #2f80ff;
  color: #fff;
}
.sector-tile--featured:hover {
  color: #fff;
}
.sector-tile--featured .sector-tile__icon {
  background: #fff;
  color: #0d6efd;
}
.sector-tile--featured .sector-tile__text,
.sector-tile--featured .sector-tile__more {
  color: rgba(255, 255, 255, 0.9);
}
/* FAQ: acordeón azul (primera abierta) */
.faq-acc .accordion-item {
  border: 0;
  border-radius: 0.75rem;
  overflow: hidden;
  margin-bottom: 0.75rem;
  background: #e9f0fe;
}
.faq-acc .accordion-button {
  background: #e9f0fe;
  color: #0b1022;
  font-weight: 600;
  box-shadow: none;
  padding: 1.1rem 1.4rem;
}
.faq-acc .accordion-button:not(.collapsed) {
  background: #1f6dfd;
  color: #fff;
}
.faq-acc .accordion-button:not(.collapsed)::after {
  filter: brightness(0) invert(1);
}
.faq-acc .accordion-button:focus {
  box-shadow: none;
}
.faq-acc .accordion-collapse.show + .accordion-body,
.faq-acc .accordion-item:has(.accordion-button:not(.collapsed)) {
  background: #1f6dfd;
}
.faq-acc .accordion-item:has(.accordion-button:not(.collapsed)) .accordion-body {
  color: rgba(255, 255, 255, 0.95);
}
.faq-acc .accordion-body {
  padding: 0 1.4rem 1.25rem;
}
/* CTA final: panel degradado azul con foto */
.market-cta {
  background: linear-gradient(105deg, #0a58e6 0%, #2f80ff 55%, #6ea8ff 100%);
  border-radius: 2rem;
}
.market-cta__body {
  padding: 3rem 1.5rem;
}
@media (min-width: 992px) {
  .market-cta__body {
    padding: 4rem 3.5rem;
  }
}
.market-cta__lead {
  color: rgba(255, 255, 255, 0.85);
}
.market-cta__media {
  align-self: stretch;
  position: relative;
  min-height: 420px;
}
.market-cta__media picture {
  position: absolute;
  inset: 0;
}
.market-cta__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
@media (max-width: 991px) {
  .market-cta__media {
    display: none;
  }
}

.bg-light{
  background-color: #e9f2ff!important;
}
/* =========================================================
   CARGA PESADA — PLATAFORMA Y TRANSPORTISTAS
========================================================= */

.platform-showcase {
    background-color: #e9f2ff;
    border: 1px solid rgba(13, 110, 253, 0.10);
}

.platform-showcase__visual {
    position: relative;
    min-height: 500px;
    background-color: #172c54;
}


.platform-showcase__visual img {
    position: relative;
    z-index: 1;

    display: block;
    width: 100%;
    height: auto;
    max-height: 470px;

    object-fit: contain;
}


/* Banda de logos */

.logo-marquee {
    width: 100%;
    overflow: hidden;

    padding-block: 14px;

    background-color: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(13, 110, 253, 0.10);
    border-radius: 16px;
}

.logo-marquee__track {
    display: flex;
    width: max-content;

    animation: logo-marquee-scroll 24s linear infinite;
}

.logo-marquee__group {
    display: flex;
    align-items: center;
    gap: 32px;

    padding-inline: 18px;
}

.logo-marquee__item {
    width: 94px;
    height: 48px;

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

    flex: 0 0 auto;
}

.logo-marquee__item img {
    display: block;

    width: auto;
    height: auto;
    max-width: 92px;
    max-height: 44px;

    object-fit: contain;
}

@keyframes logo-marquee-scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}


/* Tablet y móvil */

@media (max-width: 991.98px) {
    .platform-showcase__visual {
        min-height: auto;
    }

    .platform-showcase__visual img {
        max-height: 420px;
    }
}

@media (max-width: 575.98px) {
    .platform-showcase {
        border-radius: 24px !important;
    }

    .platform-showcase__visual {
        padding: 28px 20px !important;
    }

    .logo-marquee__group {
        gap: 22px;
        padding-inline: 14px;
    }

    .logo-marquee__item {
        width: 80px;
        height: 44px;
    }

    .logo-marquee__item img {
        max-width: 78px;
        max-height: 38px;
    }
}


/* Accesibilidad */

@media (prefers-reduced-motion: reduce) {
    .logo-marquee {
        overflow-x: auto;
    }

    .logo-marquee__track {
        animation: none;
    }

    .logo-marquee__group[aria-hidden="true"] {
        display: none;
    }
}

/* =========================================================
   COURIER CARDS
========================================================= */

.courier-card {
    background-color: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.10);

    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

.courier-card:hover {
    transform: translateY(-3px);
    border-color: rgba(13, 110, 253, 0.22);
    box-shadow: 0 14px 32px rgba(10, 44, 72, 0.08);
}

.courier-card__logo {
    width: 54px;
    height: 54px;

    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: #f8fafc;
    border-radius: 12px;
}

.courier-card__logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.courier-category {
  display: inline-flex;
  align-items: center;
  color: var(--bs-primary);
  background-color: #e9f2ff;
  border-radius: 999px;
  padding: 3px 8px;
  font-size: 0.7rem;
  line-height: 1;
  white-space: nowrap;
  font-weight: bold;
}
@media (max-width: 575.98px) {
    .courier-card {
        padding: 20px !important;
    }

    .courier-card__logo {
        width: 48px;
        height: 48px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .courier-card {
        transition: none;
    }

    .courier-card:hover {
        transform: none;
    }
}

.bg-primary-light{
  background: #e9f2ff;
}

.guide-link {
    background-color: #fff;
    color: inherit;
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.guide-link:hover {
    transform: translateY(-2px);
    border-color: rgba(13, 110, 253, 0.18) !important;
    box-shadow: 0 10px 28px rgba(23, 44, 84, 0.08);
}

.guide-link__icon {
    width: 44px;
    height: 44px;
}
.process-timeline {
    position: relative;
}

.process-timeline__step {
    position: relative;
    z-index: 1;
}

.process-timeline__visual {
    width: 96px;
    height: 96px;
}

.process-timeline__icon {
    position: relative;
    z-index: 2;

    width: 86px;
    height: 86px;

    color: var(--brand);

    border: 4px solid rgba(13, 110, 253, 0.3);
    box-shadow: 0 8px 24px rgba(23, 44, 84, 0.06);
}

.process-timeline__number {
    z-index: 3;

    min-width: 34px;
    padding: 0.45rem 0.65rem;

    background-color: var(--brand, #0d6efd);
    color: #fff;

    font-size: 0.9rem;
    font-weight: 700;

    left: 46%;
}

/* Línea del proceso: solo desktop */
@media (min-width: 992px) {
    .process-timeline::before {
        content: "";
        position: absolute;

        top: 90px;
        left: 12.5%;
        right: 12.5%;

        height: 4px;

        background-color: rgba(13, 110, 253, 0.18);

        z-index: 0;
    }
}
.process-panel {
    background-color: #e9f2ff;
    border: 1px solid rgba(13, 110, 253, 0.10);
}

.process-panel__step {
    position: relative;
}

.process-panel__visual {
    max-width: 150px;
    margin-inline: auto;
    background-color: #172c54;
}

.process-panel__visual img {
    object-fit: cover;
}


@media (min-width: 768px) and (max-width: 1199.98px) {
    .process-panel__step {
        border-bottom: 1px solid rgba(13, 110, 253, 0.12);
    }

    .process-panel .col-md-6:nth-child(odd) .process-panel__step {
        border-right: 1px solid rgba(13, 110, 253, 0.12);
    }

    .process-panel .col-md-6:nth-last-child(-n+2) .process-panel__step {
        border-bottom: 0;
    }
}

@media (min-width: 1200px) {
    .process-panel .col-xl-3:not(:last-child) .process-panel__step {
        border-right: 1px solid rgba(13, 110, 253, 0.12);
    }
}

.breadcrumb-dark {
    --bs-breadcrumb-divider-color: rgba(255, 255, 255, 0.45);
    --bs-breadcrumb-item-active-color: rgba(255, 255, 255, 0.65);
}

.breadcrumb-dark a {
    color: rgba(255, 255, 255, 0.85);
}

.breadcrumb-dark a:hover {
    color: #fff;
}
