:root {
  --azul-principal: #123dbf;
  --azul-secundario: #0c2c94;
  --naranja: #ff9900;
  --gris-claro: #f3f4f8;
  --texto-oscuro: #1a1a1a;
  --blanco: #ffffff;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

h1,h2,h3,h4,h5,h6 {
  font-family: 'Stem', sans-serif;
}

body {
  font-family: 'Montserrat', sans-serif;
  color: var(--texto-oscuro);
  background: var(--blanco);
  line-height: 1.6;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.section {
  padding: 100px 0;
}

/* =========================
   TOPBAR - Contenido centrado
========================= */
.topbar {
  background: #f2f2f2;
  width: 100%;
  border-bottom: 1px solid #e0e0e0;
  z-index: 999999;
  top: 0;
  position: sticky;
}

.topbar .container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto; /* Centra el contenedor */
  padding: 15px 0;
}

.topbar-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
/* LOGO */
.topbar-logo {
  flex-shrink: 0;
}

.logo-img {
  height: 50px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
}

/* CONTACTO CON ICONOS PNG */
.contact {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  justify-content: center;
  flex: 1;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: #333;
  white-space: nowrap;
  font-weight: 500;
}

.icon-small {
  width: 20px;
  height: 20px;
  margin: 0 10px;
  object-fit: contain;
  flex-shrink: 0;
}

/* BOTÓN RASTREO */
.btn-small {
  background: var(--naranja);
  padding: 8px 25px;
  border-radius: 50px;
  color: white;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s;
  font-size: 14px;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  letter-spacing: 0.5px;
}

.btn-small:hover {
  background: #e68a00;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(255,153,0,0.3);
}


/* =========================
   NAVBAR - Contenido centrado correctamente
========================= */
.navbar {
    background: var(--azul-principal);
    width: 50%;
    z-index: 100;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    position: sticky;
    /* Añade esta línea */
    margin-left: auto; 
}


.navbar .container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto; /* ¡Esto centra el contenedor! */
  padding: 15px 0;
  display: flex;
  justify-content: center; /* Centra el contenido */
}


.main-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
}

.main-nav a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 5px 0;
  position: relative;
  transition: 0.3s;
  white-space: nowrap; /* Evita que el texto se rompa */
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 3px;
  background: var(--naranja);
  transition: width 0.3s ease;
}

.main-nav a:hover::after,
.main-nav a.active::after {
  width: 100%;
}

/* =========================
   HERO PRINCIPAL
========================= */

.hero {
    background-image: url('../img/hero.png'); /* Tu ruta */
    background-size: cover;               /* Clave: ajusta la imagen para cubrir todo el ancho/alto sin deformarse */
    background-position: center;          /* Centra la imagen para que no se corte lo importante */
    background-repeat: no-repeat;         /* Evita que la imagen se duplique si el contenedor es muy grande */
    min-height: 80vh;                     /* Ajusta la altura (80% de la pantalla, por ejemplo) */
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 50px;
}

.hero h1 {
  font-size: 48px;
  line-height: 1;
  color:white;
  margin-bottom: 25px;
  max-width: 600px;
  font-weight: 400;
}

.destinos {
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
  margin-bottom: 35px;
  text-transform: uppercase;
  border-left: 4px solid var(--naranja);
  padding-left: 20px;
  overflow-x: auto;
  color:white;
  font-family:'Stem';
  font-weight: 500;
  font-style: italic;
  padding-bottom: 10px;
}

.destino-item {
  font-size: 14px;
  font-weight: 500;
  color: white;
  white-space: nowrap;
}

.destino-item:not(:last-child)::after {
  content: "•";
  margin-left: 10px;
  color: var(--naranja);
}

.btn-primary {
  background: var(--naranja);
  padding: 16px 40px;
  border-radius: 50px;
  color: white;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: 0.3s;
  border: none;
  cursor: pointer;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn-primary:hover {
  background: #e68a00;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.hero-image img,
.hero-img {
  width: 100%;
  max-width: 500px;
  height: auto;
  filter: drop-shadow(0 20px 30px rgba(0,0,0,0.2));
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* =========================
   ABOUT SECTION
========================= */
.about {
  background: var(--gris-claro);
  padding: 100px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Dos columnas */
    align-items: center;
    gap: 4rem;
    max-width: 100vw;       /* Usa todo el ancho de la pantalla */
    padding-left: 10%;      /* Ajusta esto para que el texto se alinee con tu diseño */
    padding-right: 0;       /* ¡Cero espacio a la derecha! */
    overflow: hidden;       /* Para que nada cree scroll horizontal */
}

.about-grid img{
  margin-bottom: 50px;
}


.about h2 {
  font-size: 42px;
  font-weight: 800;
  color: var(--azul-principal);
  position: relative;
}

.about h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
}

.about p {
  margin-bottom: 20px;
  font-size: 16px;
  color: #0333cc;
  line-height: 1.8;
}

.about-image {
    width: 100%;
    display: flex;
    justify-content: flex-end; /* Empuja al camión al borde */
}

.about-img {
    width: 110%;            /* La hacemos un poco más grande para que "salga" */
    max-width: none;        /* Quitamos restricciones */
    height: auto;
    object-fit: cover;
    transform: translateX(50px); /* Esto la empuja físicamente hacia afuera del borde derecho */
}
/* =========================
   SERVICES
========================= */
.services {
    position: relative; /* Necesario para que el círculo no se escape de la sección */
    overflow: hidden;   /* Corta el círculo para que no cree scroll lateral */
}

.services::before {
    content: "";
    position: absolute;
    bottom: -300px;
    left: -150px;
    width: 400px;
    height: 400px;
    /* Cambiamos fondo por borde */
    background-color: transparent;
    border: 100px solid var(--naranja); /* El grosor del borde define el ancho de la dona */
    border-radius: 50%;
    z-index: 0;
    pointer-events: none; /* Para que no interfiera con clics en los servicios */
}
/* Aseguramos que el contenido esté por encima del círculo */
.services .container {
    position: relative;
    z-index: 1;
}
.services-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
}

.services-title h2 {
  font-size: 45px;
  line-height: 1;
  font-weight: 400;
  color: var(--azul-principal);
  position: relative;
}

.services-title h2 span {
  font-size: 55px;
  font-weight: 800;
  color: var(--azul-principal);
  position: relative;
}


.services-title h2::after {

}

.service-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.service-item {
  display: flex;
  gap: 20px;
  padding: 5px;
  background: white;
  border-radius: 15px;
  /* box-shadow: 0 10px 30px rgba(0,0,0,0.05); */
  transition: 0.3s;
}

.service-item:hover {
  transform: translateX(10px);
}

.service-icon {
  width: 60px;
  height: 60px;
  background: var(--naranja);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.service-icon svg {
  width: 30px;
  height: 30px;
  color: white;
}

.icon-service {
  width: 30px;
  height: 30px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.service-item h3 {
  color: var(--naranja);
  margin-bottom: 5px;
  font-weight: 700;
  font-size: 20px;
}

.service-item p {
  color: var(--azul-principal);
  line-height: 1.6;
}

/* =========================
   AGENCIES
========================= */
.agencies {
  background: var(--gris-claro);
  padding: 100px 0;
}

.agencies h2 {
  font-size: 42px;
  color: var(--azul-principal);
  margin-bottom: 50px;
  font-weight: 800;
  text-align: center;
  position: relative;
  padding-bottom: 15px;
}

¡
.agency-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.agency-card {
  background: white;
  padding: 35px;
  border-radius: 20px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.05);
  transition: 0.3s;
  border-bottom: 4px solid transparent;
}

.agency-card:hover {
  transform: translateY(-8px);
  border-bottom-color: var(--naranja);
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.agency-card h4 {
  color: var(--azul-principal);
  margin-bottom: 15px;
  font-size: 24px;
  font-weight: 700;
}

.agency-card p {
  font-size: 15px;
  margin-bottom: 8px;
  color: #555;
  display: flex;
  align-items: center;
  gap: 8px;
}



.map-link {
  display: inline-block;
  margin-top: 15px;
  color: var(--azul-principal);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: 0.3s;
}

.map-link:hover {
  color: var(--naranja);
  transform: translateX(5px);
}

/* =========================
   FOOTER - Exactamente como en la imagen
========================= */
footer {
  background: var(--azul-principal);
  color: white;
  padding: 40px 0;
  text-align: center;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.footer-text {
  font-size: 16px;
  font-weight: 500;
  color: white;
  margin: 0;
  line-height: 1.8;
}

.footer-link {
  color: white;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  transition: 0.3s;
  display: inline-block;
}

.footer-link:hover {
  text-decoration: 1px solid underline;
  text-decoration-color: var(--naranja);
  transform: translateY(-2px);
}

.footer-copyright {
  font-size: 14px;
  color: rgba(255,255,255,0.8);
  margin: 0;
}

/* =========================
   PÁGINA DE RASTREO
========================= */
.rastreo-hero {
  position: relative;
  min-height: 700px;
  overflow: hidden;
  display: flex;
  align-items: center;
  color: white;
}

.slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
  z-index: 0;
}

.slide.active {
  opacity: 1;
}

.overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(18,61,191,0.3), rgba(12,44,148,0.55));
  z-index: 1;
}

.rastreo-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 60px 0;
}

.rastreo-header {
  text-align: center;
  margin-bottom: 50px;
}

.rastreo-header h1 {
  font-size: 52px;
  font-weight: 800;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.rastreo-header p {
  font-size: 18px;
  max-width: 700px;
  margin: 0 auto;
  opacity: 1;
  line-height: 1;
}

.rastreo-card {
  background: white;
  border-radius: 20px;
  max-width: 1000px;
  margin: 0 auto;
  box-shadow: 0 30px 60px rgba(0,0,0,0.3);
  overflow: hidden;
}

.tabs {
  display: flex;
  background: #f8f9fa;
  border-bottom: 1px solid #e9ecef;
  flex-wrap: wrap;
}

.tab {
  flex: 1;
  min-width: 120px;
  padding: 20px 15px;
  border: none;
  background: transparent;
  font-weight: 700;
  font-size: 15px;
  color: #495057;
  cursor: pointer;
  transition: 0.3s;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
}

.tab:hover {
  color: var(--azul-principal);
  background: rgba(18,61,191,0.02);
}

.tab.active {
  background: white;
  color: var(--azul-principal);
}

.tab.active::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--azul-principal);
}

.forms {
  padding: 40px;
}

.rastreo-form {
  display: none;
}

.rastreo-form.active {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.input-group {
  text-align: left;
}

.input-group label {
  font-size: 14px;
  font-weight: 600;
  display: block;
  margin-bottom: 8px;
  color: #333;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.input-group input {
  width: 100%;
  padding: 15px 20px;
  border-radius: 50px;
  border: 2px solid #e9ecef;
  outline: none;
  font-size: 15px;
  transition: 0.3s;
  background: #f8f9fa;
}

.input-group input:focus {
  border-color: var(--azul-principal);
  background: white;
  box-shadow: 0 0 0 4px rgba(18,61,191,0.1);
}

.input-group input::placeholder {
  color: #adb5bd;
  font-style: italic;
}

.btn-rastreo {
  grid-column: span 3;
  padding: 18px;
  border-radius: 50px;
  border: none;
  background: linear-gradient(135deg, var(--azul-principal), var(--azul-secundario));
  color: white;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 1px;
  cursor: pointer;
  transition: 0.3s;
  margin-top: 15px;
}

.btn-rastreo:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(18,61,191,0.3);
}

/* =========================
   TÉRMINOS Y CONDICIONES
========================= */
.terminos {
  background: #f8f9fa;
  padding: 100px 20px;
}

.wrap {
  max-width: 1100px;
  margin: 0 auto;
}

.titulo {
  font-size: 40px;
  font-weight: 800;
  color: var(--azul-principal);
  margin-bottom: 50px;
  text-align: left;
  line-height: 1;
  font-style: italic;
}

.titulo span {
  display: block;
  font-size: 24px;
  font-weight: 400;
  color: var(--azul-principal);
  text-transform: none;
}

.acordeon {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.item {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.btn-acordeon {
  width: 100%;
  background: white;
  border: none;
  border-left: 6px solid var(--naranja);
  padding: 20px 30px;
  font-size: 20px;
  font-weight: 700;
  color: var(--azul-principal);
  text-align: left;
  cursor: pointer;
  transition: 0.3s;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.btn-acordeon::after {
  content: "▼";
  font-size: 14px;
  color: var(--naranja);
  transition: transform 0.3s;
}

.btn-acordeon.active::after {
  transform: rotate(180deg);
}

.btn-acordeon:hover {
  background: #f8f9fa;
  padding-left: 40px;
}

.contenido {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease;
  padding: 0 30px;
}

.contenido p, .contenido ul {
  margin: 20px 0;
  font-size: 16px;
  line-height: 1.2;
  color: #123dbf;
  font-weight: 500;
}

.contenido ul {
  padding-left: 30px;
}

.contenido li {
  margin-bottom: 8px;
}

.contenido strong {
  color: var(--azul-principal);
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 1024px) {
  .topbar-grid {
    justify-content: center;
  }
  
  .contact {
    order: 3;
    width: 100%;
    justify-content: center;
  }
  
  .btn-small {
    order: 2;
  }
}

@media (max-width: 992px) {
  .hero-grid,
  .about-grid,
  .services-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .hero h1 {
    font-size: 36px;
  }
  
  .hero-image {
    text-align: center;
  }
  
  .hero-image img,
  .hero-img {
    max-width: 400px;
    margin: 0 auto;
  }
  
  .agency-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .rastreo-form.active {
    grid-template-columns: 1fr;
  }
  
  .btn-rastreo {
    grid-column: span 1;
  }
  
  .titulo {
    font-size: 42px;
  }
}

@media (max-width: 768px) {
  .contact {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }
  
  .contact-item {
    white-space: normal;
    text-align: center;
  }
  
  .main-nav {
    flex-wrap: wrap;
    gap: 20px;
  }
  
  .main-nav a {
    font-size: 14px;
  }
  
  .hero {
    padding: 60px 0;
  }
  
  .hero h1 {
    font-size: 28px;
  }
  
  .service-item {
    flex-direction: column;
    text-align: center;
  }
  
  .service-icon {
    margin: 0 auto;
  }
  
  .agency-grid {
    grid-template-columns: 1fr;
  }
  
  .rastreo-header h1 {
    font-size: 32px;
  }
  
  .tabs {
    flex-direction: column;
  }
  
  .tab {
    width: 100%;
  }
  
  .forms {
    padding: 20px;
  }
  
  .btn-acordeon {
    font-size: 18px;
    padding: 15px 20px;
  }
  
  .logo-img {
    height: 40px;
  }
}

@media (max-width: 480px) {
  .section {
    padding: 60px 0;
  }
  
  .topbar-grid {
    flex-direction: column;
  }
  
  .logo-img {
    height: 40px;
  }
  
  .contact {
    width: 100%;
  }
  
  .btn-primary, 
  .btn-small {
    width: 100%;
    text-align: center;
  }
  
  .titulo {
    font-size: 32px;
  }
  
  .titulo span {
    font-size: 18px;
  }
  
  .btn-acordeon {
    font-size: 16px;
  }
}

/* Iconos en el navbar */
.nav-icon {
  width: 18px;
  height: 18px;
  object-fit: contain;
  margin-left: 5px;
  vertical-align: middle;
}

.destinos-link {
  display: flex;
  align-items: center;
  gap: 5px;
}

.destinos-link img:first-of-type {
  margin-left: 8px;
}

/* --- STEM FAMILY --- */

/* THIN */
@font-face {
    font-family: 'Stem';
    src: url('../fonts/Stem-Thin.otf') format('opentype');
    font-weight: 100;
    font-style: normal;
}

/* HAIRLINE (Extra Thin) */
@font-face {
    font-family: 'Stem';
    src: url('../fonts/Stem-Hairline.otf') format('opentype');
    font-weight: 200;
    font-style: normal;
}

/* EXTRA LIGHT */
@font-face {
    font-family: 'Stem';
    src: url('../fonts/Stem-ExtraLight.otf') format('opentype');
    font-weight: 250;
    font-style: normal;
}
@font-face {
    font-family: 'Stem';
    src: url('../fonts/Stem-ExtraLightItalic.otf') format('opentype');
    font-weight: 250;
    font-style: italic;
}

/* LIGHT */
@font-face {
    font-family: 'Stem';
    src: url('../fonts/Stem-Light.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
}
@font-face {
    font-family: 'Stem';
    src: url('../fonts/Stem-LightItalic.otf') format('opentype');
    font-weight: 300;
    font-style: italic;
}

/* REGULAR */
@font-face {
    font-family: 'Stem';
    src: url('../fonts/Stem-Regular.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
}
@font-face {
    font-family: 'Stem';
    src: url('../fonts/Stem-Italic.otf') format('opentype');
    font-weight: 400;
    font-style: italic;
}

/* MEDIUM */
@font-face {
    font-family: 'Stem';
    src: url('../fonts/Stem-Medium.otf') format('opentype');
    font-weight: 500;
    font-style: normal;
}
@font-face {
    font-family: 'Stem';
    src: url('../fonts/Stem-MediumItalic.otf') format('opentype');
    font-weight: 500;
    font-style: italic;
}

/* BOLD */
@font-face {
    font-family: 'Stem';
    src: url('../fonts/Stem-Bold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
}
@font-face {
    font-family: 'Stem';
    src: url('../fonts/Stem-BoldItalic.otf') format('opentype');
    font-weight: 700;
    font-style: italic;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Divide en dos columnas iguales */
    align-items: center;
    gap: 2rem;
     /* Permitimos que use todo el ancho */
    padding-right: 0 !important;   /* Eliminamos el espacio interno derecho */
}

.about-image {
    display: flex;
    justify-content: flex-end; /* Alinea el contenido a la derecha del div */
    overflow: hidden;          /* Por si la imagen es muy grande */
}

.about-img {
    width: 100%;
    max-width: 700px;         /* Ajusta según qué tan grande quieras el camión */
    height: auto;
    object-fit: contain;
    margin-right: -50px;      /* Truco opcional: lo "empuja" un poco más afuera del borde */
}

.agency-header {
    display: flex;
    align-items: center; /* Centra verticalmente la mascota con el texto */
    justify-content: center; /* Centra el conjunto en la pantalla */
    gap: 20px; /* Espacio entre el texto y la mascota */
}

.agency-header h2 {
    margin-bottom: 0; /* Quitamos el margen inferior para que se alinee bien */
    text-align: left; /* Opcional: para que el texto pegue con la mascota */
    font-weight: 800;
    line-height: 1;
    margin-left: 30%;
}


.agency-header h2 span {
    margin-bottom: 0; /* Quitamos el margen inferior para que se alinee bien */
    text-align: left; /* Opcional: para que el texto pegue con la mascota */
    font-weight: 400;
}

.mascota-img {
    width: 120px; /* Ajusta el tamaño según tu diseño */
    height: auto;
    filter: drop-shadow(0 10px 15px rgba(0,0,0,0.1)); /* Le da un toque de profundidad */
    animation: float 3s ease-in-out infinite; /* Reutilizamos tu animación de flotado */
}

/* Ajuste para móviles */
@media (max-width: 768px) {
    .agency-header {
        flex-direction: column; /* En móvil, la mascota se pone arriba o abajo */
        text-align: center;
    }
}

.agency-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
}

.mascota-img {
    width: 200px;
    height: auto;
}

.agency-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.agency-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
}

.agency-info {
    padding: 25px;
    flex-grow: 1;
}

.agency-info h4 {
    color: #0000ff; /* Azul de tu referencia */
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.agency-info p {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: #555;
    margin-bottom: 8px;
}

.agency-info p img{
height:30px;
}

.icon-geo {
    width: 18px;
    height: 18px;
    object-fit: contain;
}

.agency-map {
    width: 100%;
    height: 150px;
    background: #eee;
}

/* El contenedor debe ser invisible para que el botón luzca como la cápsula */
.item {
    background: transparent;
    box-shadow: none;
    margin-bottom: 15px; /* Espaciado entre cápsulas */
}

.btn-acordeon {
    width: 100%;
    
    /* Cambio: Borde naranja en todo el contorno */
    border: 2px solid var(--naranja); 
    /* Cambio: Bordes muy redondeados para efecto cápsula */
    border-radius: 50px;
    padding: 12px 30px; /* Ajuste de padding para que no sea tan alto */
    font-size: 18px;
    font-weight: 700;
    color: var(--azul-principal);
    text-align: left;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Efecto hover sutil */
.btn-acordeon:hover {
    background: #fff5e6; /* Un naranja muy claro de fondo al pasar el mouse */
}

.btn-acordeon::after {
    content: "▼";
    font-size: 12px;
    color: var(--naranja);
    transition: transform 0.3s;
}

/* Si el acordeón está abierto, podrías cambiar el color de fondo o mantenerlo igual */
.btn-acordeon.active {
}

.topbar-blue {
    background-color: var(--azul-principal); /* Tu azul: #123dbf */
    padding: 10px 0;
    width: 100%;
}

.topbar-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Contacto al centro con texto blanco */
.contact-group {
    display: flex;
    gap: 25px;
}

.topbar-blue .contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--blanco); /* Texto blanco sobre el azul */
}

/* Si tus iconos PNG son oscuros, esto los vuelve blancos */
.icon-small.invert {
    filter: brightness(0) invert(1);
    width: 18px;
    height: 18px;
}

.logo-img {
    height: 45px;
    width: auto;
}


.tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
  justify-content: center;
}

.tab {
  display: flex;
  flex-direction: column; /* Icono arriba, texto abajo */
  align-items: center;
  padding: 15px 20px;
  border: none;
  background: #f4f4f4; /* Fondo desactivado */
  cursor: pointer;
  border-radius: 8px;
  transition: all 0.3s ease;
  min-width: 150px;
}

.tab-icon {
  width: 30px;
  height: 30px;
  margin-bottom: 8px;
  filter: grayscale(1) opacity(0.6); /* Icono apagado si no está activo */
}

.tab span {
  font-family: 'Stem', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #666;
}

/* --- ESTADO ACTIVO --- */
.tab.active {
  background-color: var(--naranja); /* O el color que pida tu imagen */
  box-shadow: 0 4px 15px rgba(255, 153, 0, 0.3);
}

.tab.active .tab-icon {
  filter: brightness(0) invert(1); /* Vuelve el icono blanco cuando el fondo es naranja */
}

.tab.active span {
  color: var(--blanco);
}

.btn-rastreo {
    background-color: #0066ff; /* Azul intenso de la imagen */
    color: #ffffff;            /* Texto blanco */
    padding: 12px 24px;       /* Espaciado interno */
    border: none;              /* Sin bordes */
    border-radius: 4px;        /* Bordes apenas redondeados como se ve ahí */
    font-family: 'Stem', sans-serif;
    font-weight: bold;         /* Texto en negrita */
    font-size: 16px;           /* Tamaño de letra */
    cursor: pointer;
    display: flex;             /* Para alinear icono y texto */
    align-items: center;
    justify-content: center;
    gap: 10px;                 /* Espacio entre la lupa y el texto */
    transition: background-color 0.3s ease;
    width: 100%;               /* Para que ocupe el ancho del contenedor */
              /* Ajusta esto según el ancho que desees */
    border-radius: 10px;
}

/* Efecto al pasar el mouse */
.btn-rastreo:hover {
    background-color: #0052cc; /* Un azul un poco más oscuro al pasar el mouse */
}

/* Estilo para el icono */
.btn-rastreo i {
    font-size: 18px;
}