/* === Fuente global, aplica a todo el sitio === */
body {
    font-family: 'Montserrat', sans-serif;
}

/* === NAVBAR (barra superior) === */
nav {
    background-color: #F2F2F2 !important;
}
nav .brand-logo img { /* tamaño del logo en desktop */
    height: 60px;
    margin-top: 2px;
}
nav ul li a { /* enlaces del menú */
    color: #0367A6 !important;
    font-weight: bold;
}
nav ul li a:hover { /* hover de enlaces del menú */
    background-color: transparent !important;
    color: #0378A6 !important;
}

/* === NAVBAR responsive (logo en tablets/móviles) === */
@media (max-width: 992px) {
    nav .brand-logo img { height: 60px; }
    nav .brand-logo { display: flex; align-items: center; }
}
@media (max-width: 600px) {
    nav .brand-logo img { height: 50px; }
    nav .brand-logo { display: flex; align-items: center; }
}











/* === Botones manuales del slider (si los usas) === */
.slider-btn { /* estilo base de flechas personalizadas del slider */
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(3,103,166,0.7);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    border-radius: 50%;
    z-index: 10; /* por encima del overlay del slide */
}
.slider-btn:hover { background: rgba(3,103,166,0.9); }
.slider-btn.left { left: 20px; }   /* posición flecha izquierda */
.slider-btn.right { right: 20px; } /* posición flecha derecha */
.slider-btn:focus { /* foco accesible */
    background: rgba(3,103,166,0.9) !important;
    outline: none;
    box-shadow: none;
}

#inicio .slider-btn { top: 48%; } /* o 52%, según se vea mejor */

.slider .slides li img {
  width: 100%;
  height: 100%;
  object-fit: cover;        /* 🔹 se recorta sin deformar */
  object-position: center;  /* 🔹 centrada siempre */
  display: block;
}

/* Alturas según dispositivo */
.slider {
  height: 80vh !important; /* 🔹 ocupa el 80% de la altura visible */
  min-height: 350px;       /* 🔹 evita que quede demasiado pequeño */
  max-height: 800px;

}

@media (max-width: 992px) {
  .slider { height: 70vh !important; }
}

@media (max-width: 600px) {
  
  .slider { height: 60vh !important; }
  
}
@media (max-width: 600px) {
  .slider {
    margin-bottom: 4rem; /* 🔹 un poco más en móvil 🔹 ajusta el espacio según necesites */
  }
}



/* Overlay oscuro por encima de cada slide (mejora legibilidad de caption) */
.slider .slides li::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.35);
    z-index: 1; /* overlay sobre imagen, debajo del caption */
}
/* Caption por encima del overlay */
.slider .caption {
    position: relative;
    z-index: 2;
}

.slider-cta {
  background-color: #0367A6 !important;
  text-transform: none;
  font-weight: 700;
  letter-spacing: .2px;
  border-radius: 6px;
}

/* Ajustar espacio entre slider (#inicio) y sección Servicio Técnico en pantallas grandes */
@media (min-width: 993px) {
  #inicio.slider {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
  }

  #servicio-tecnico.section {
    padding-top: 1.5rem !important;  /* prueba 1.5rem, puedes bajar a 1rem si quieres menos */
  }

  #servicio-tecnico .titulo-seccion {
    margin-top: 0 !important;
  }
}














/* === SECCIÓN: Servicio Técnico (index) === */

/* Título */
#servicio-tecnico .titulo-seccion {
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 2rem;
  color: #0367A6;
  position: relative;
}
#servicio-tecnico .titulo-seccion::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: #0378A6;
  margin: .5rem auto 0;
  border-radius: 3px;
}
#servicio-tecnico .titulo-seccion a {
  color: inherit;
  text-decoration: none;
}

/* Ícono circular */
#servicio-tecnico .icono-circular {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  font-size: 2rem;
  color: #fff;
  margin: 1.5rem auto 1rem;
  transition: transform .3s ease, box-shadow .3s ease, color .3s ease;
}
#servicio-tecnico .icono-circular i {
  line-height: 1;
}
#servicio-tecnico .icono-circular:hover {
  transform: scale(1.2);
  box-shadow: 0 4px 15px rgba(0,0,0,.3);
}

/* Colores iconos */
#servicio-tecnico .color1 { background: #0367A6; }
#servicio-tecnico .color2 { background: #0367A6; }
#servicio-tecnico .color3 { background: #0367A6; }

/* Textos de las cards */
#servicio-tecnico .card-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: #0367A6;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-align: center;
  margin-bottom: .75rem;
  transition: color .3s ease, transform .3s ease;
}
#servicio-tecnico .card-content p {
  font-size: .95rem;
  color: #444;
  line-height: 1.6;
  text-align: center;
  transition: color .3s ease;
}
#servicio-tecnico .card:hover .card-content p {
  color: #222;
}

/* El enlace que envuelve la card */
#servicio-tecnico .card-link {
  display: block;
  height: 100%;
  text-decoration: none;
  color: inherit;
}

/* Layout base: 3 columnas en escritorio */
#servicio-tecnico .row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-left: -0.75rem;
  margin-right: -0.75rem;
}
#servicio-tecnico .col {
  display: flex;
  float: none; /* anulamos float de Materialize solo aquí */
  padding: 0 0.75rem;
  margin-bottom: 1.5rem;
  flex: 0 0 33.333%;
  max-width: 33.333%;
}

/* Cards mismas alturas */
#servicio-tecnico .card {
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: 15px;
  overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease;
}
#servicio-tecnico .card-content {
  flex-grow: 1;
  padding: 1.5rem;
}
#servicio-tecnico .card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,.2);
}

/* Hover conjunto icono + título */
#servicio-tecnico .card:hover .icono-circular,
#servicio-tecnico .card:hover .card-title {
  transform: scale(1.1);
}

/* ===== BREAKPOINTS ===== */

/* TABLET + MÓVIL: 1 card por fila */
@media (max-width: 992px) {
  #servicio-tecnico .col {
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }
}

/* SOLO TABLETS: 600px–992px: altura mínima igual para todas */
@media (min-width: 690px) and (max-width: 992px) {
  #servicio-tecnico .card {
    width: 600px !important;
  }
}


@media (min-width: 600px) and (max-width: 670px) {
  #servicio-tecnico .card {
    width: 540px !important;
  }
} 

@media (min-width: 720px) and (max-width: 690px) {
  #servicio-tecnico .card {
    width: 640px !important;
  }
} 

@media (min-width: 625px) and (max-width: 665px) {
  #servicio-tecnico .card {
    width: 540px !important;
  }
} 
@media (min-width: 665px) and (max-width: 692px) {
  #servicio-tecnico .card {
    width: 600px !important;
  }
} 

@media (min-width: 693px) and (max-width: 755px) {
  #servicio-tecnico .card {
    width: 620px !important;
  }
} 

@media (min-width: 753px) and (max-width: 800px) {
  #servicio-tecnico .card {
    width: 660px !important;
  }
} 

@media (min-width: 801px) and (max-width: 840px) {
  #servicio-tecnico .card {
    width: 700px !important;
  }
} 

@media (min-width: 841px) and (max-width: 900px) {
  #servicio-tecnico .card {
    width: 750px !important;
  }
} 

@media (min-width: 901px) and (max-width: 950px) {
  #servicio-tecnico .card {
    width: 780px !important;
  }
} 

@media (min-width: 951px) and (max-width: 992px) {
  #servicio-tecnico .card {
    width: 820px !important;
  }
} 



/* Móvil puro: puedes dejar que crezcan libremente si quieres */
@media (max-width: 599px) {
  #servicio-tecnico .card {
    min-height: auto;
  }
}

/* Animaciones (si no las tienes ya) */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }
.delay-3 { transition-delay: 0.6s; }















/* =======================
   SECCIÓN PRODUCTOS
======================= */

#productos {
  overflow: hidden;
}

/* ===== Título ===== */
.titulo-seccion {
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 2rem;
  color: #0367A6;
  position: relative;
  font-family: 'Montserrat', sans-serif;
}

.titulo-seccion::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: #0378A6;
  margin: .5rem auto 0;
  border-radius: 3px;
}

/* Link dentro del título */
.titulo-seccion .titulo-link a {
  color: inherit;
  text-decoration: none;
  display: inline-block;
  transition: color .3s ease, transform .3s ease;
}

.titulo-seccion .titulo-link a:hover {
  color: #024c7e;
  transform: translateY(-1px);
}

/* ===== Carrusel ===== */
#productos .carousel-container {
  position: relative;
  padding: 0 48px;
}

#productos .carousel {
  height: 320px;
  overflow: hidden;
}

/* Card */
#productos .carousel .carousel-item {
  width: 260px;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #fff;
  border: 1px solid #e3e9ee;
  border-radius: 12px;
  padding: 12px;
  box-shadow: 0 3px 10px rgba(0,0,0,.08);
  transition: transform .3s ease, box-shadow .3s ease;
}

#productos .carousel .carousel-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 18px rgba(0,0,0,.12);
}

/* Imagen */
#productos .carousel .carousel-item img {
  width: 100%;
  height: 220px;
  object-fit: contain;
  border-radius: 10px;
  background: #fff;
}

/* Texto */
#productos .carousel .carousel-item span {
  margin-top: .6rem;
  padding: 0 .5rem;
  font-weight: 700;
  color: #0367A6;
  text-align: center;
  line-height: 1.25;

  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Flechas */
#productos .carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid #dfe5ea;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: box-shadow .25s ease;
}

#productos .carousel-nav:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,.15);
}

#productos .carousel-nav.left { left: 0; }
#productos .carousel-nav.right { right: 0; }

#productos .carousel-nav i {
  color: #0367A6;
}

/* Responsive */
@media (max-width: 992px) {
  #productos .carousel { height: 300px; }
  #productos .carousel .carousel-item { width: 240px; }
}

@media (max-width: 600px) {
  #productos .carousel { height: 280px; }
  #productos .carousel .carousel-item { width: 220px; }
}

























/* ===== Sección Acerca de Nosotros ===== */
#acerca {
  background: linear-gradient(135deg, #f8f9fa 0%, #eaf4fb 100%);
  padding: 4rem 0;
}

/* --- Título de sección --- */
#acerca .titulo-seccion {
  font-size: 2rem;
  font-weight: 700;
  color: #0367A6;
  margin-bottom: 1rem;
  position: relative;
}
#acerca .titulo-seccion::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: #0378A6;
  margin: 0.5rem 0;
  border-radius: 3px;
}

/* --- Imagen --- */
.acerca-img-wrapper {
  overflow: hidden;
  border-radius: 15px;
}
.acerca-img-wrapper img {
  transition: transform 0.5s ease;
  width: 100%;
  height: auto;
  display: block;
}
.acerca-img-wrapper:hover img {
  transform: scale(1.05);
}

/* --- Texto principal --- */
.descripcion-acerca {
  font-size: 1rem;
  color: #444;
  line-height: 1.6;
  margin-bottom: 2rem;
}

/* --- Bloque de ítems (Misión, Visión, Experiencia) --- */
.acerca-items {
  margin-bottom: 2rem;
}
.acerca-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 1.2rem;
}
.acerca-item i {
  font-size: 2rem;
  color: #0367A6;
  flex-shrink: 0;
}
.acerca-item h5 {
  font-size: 1.1rem;
  color: #0367A6;
  margin: 0 0 .3rem;
}
.acerca-item p {
  margin: 0;
  font-size: .95rem;
  color: #555;
}

/* --- Botón --- */
.acerca-btn-wrapper {
  text-align: center;
  margin-top: 1.5rem;
}
.acerca-btn {
  background: #0367A6 !important;
  border-radius: 25px;
  padding: 0 1.5rem;
  font-weight: 600;
}
.acerca-btn:hover {
  background: #024c7e !important;
}

/* ===== Layout principal ===== */

/* --- Pantallas grandes (≥993px): imagen y texto lado a lado --- */
@media (min-width: 993px) {
  #acerca .acerca-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  #acerca .img-col {
    order: 1;
    flex: 1 1 50%;
    display: block;
  }

  #acerca .text-col {
    order: 2;
    flex: 1 1 50%;
    padding-left: 2rem;
  }
}

/* --- Pantallas medianas y pequeñas (≤992px): ocultar imagen y centrar texto --- */
@media (max-width: 992px) {
  #acerca .acerca-row {
    display: block;
    margin-left: 0 !important;
    margin-right: 0 !important;
    text-align: center;
  }

  /* Imagen oculta */
  #acerca .img-col {
    display: none !important;
  }

  /* Texto centrado */
  #acerca .text-col {
    width: 100% !important;
    max-width: 760px;
    margin: 0 auto;
    padding-left: 12px !important;
    padding-right: 12px !important;
    text-align: center;
  }

  /* Ítems perfectamente alineados (icono + texto) */
  #acerca .acerca-items {
    width: 100%;
    display: flex;
    flex-direction: column;
    row-gap: 12px;
    align-items: center;
  }
  #acerca .acerca-item {
    width: 100%;
    max-width: 700px;
    display: grid;
    grid-template-columns: 32px 1fr; /* icono + texto */
    column-gap: 10px;
    align-items: start;
    justify-content: center;
    text-align: left;
    margin: 0;
  }

  #acerca .acerca-item i {
    font-size: 1.8rem;
    line-height: 1;
  }
  #acerca .acerca-item h5 {
    font-size: 1.05rem;
    margin: 0 0 .25rem;
  }
  #acerca .acerca-item p {
    margin: 0;
    font-size: .95rem;
  }

  /* Botón centrado */
  #acerca .acerca-btn-wrapper {
    text-align: center;
    margin-top: 1.25rem;
  }

  /* Tipografía más compacta */
  #acerca .titulo-seccion { font-size: 1.8rem; }
  #acerca .descripcion-acerca { font-size: .95rem; }

  /* Neutralizar animaciones laterales */
  .fade-left, .fade-right { transform: none !important; }
}




















/* ===== Sección Contacto — versión final ===== */
#contacto {
  background: #fff;
  padding: 4rem 0;
}

/* Título consistente con otras secciones */
#contacto .titulo-seccion {
  font-size: 2rem;
  font-weight: 700;
  color: #0367A6;
  margin-bottom: 2rem;
  position: relative;
}
#contacto .titulo-seccion::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: #0378A6;
  margin: 0.5rem auto 0;
  border-radius: 3px;
}

/* Card estética + hover */
#contacto .card {
  border-radius: 15px;
  transition: transform .3s ease, box-shadow .3s ease;
}
#contacto .card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,.2);
}

/* Utilitario de color */
#contacto .color-principal { color: #0367A6 !important; }

/* ===== Columna Información (centrada en todas las pantallas) ===== */
#contacto .info-contacto {
  list-style: none;
  padding: 0;
  margin: 2rem 0 0;
  text-align: center;              /* centra contenido siempre */
}
#contacto .info-contacto li {
  display: flex;
  justify-content: center;         /* centra icono + texto en cada fila */
  align-items: center;
  gap: 8px;
  margin-bottom: 0.8rem;
  font-size: 1rem;
  color: #444;
}
#contacto .info-contacto i {
  font-size: 1rem;                 /* ícono pequeño */
  color: #0367A6;                  /* color corporativo */
  flex-shrink: 0;
}

/* ===== Formulario ===== */
#contacto .input-field input:focus,
#contacto .input-field textarea:focus {
  border-bottom: 2px solid #0367A6 !important;
  box-shadow: 0 1px 0 0 #0367A6 !important;
}
#contacto .input-field label {
  color: #555 !important;
}
#contacto .input-field input:focus + label,
#contacto .input-field textarea:focus + label {
  color: #0367A6 !important;
}

/* Botón coherente con el sitio */
#contacto button.btn {
  background-color: #0367A6 !important;
  border-radius: 25px;
  font-weight: 600;
  padding: 0 1.5rem;
  transition: background-color .3s ease;
}
#contacto button.btn:hover {
  background-color: #024c7e !important;
}

/* ===== Responsive ===== */
@media (max-width: 600px) {
  /* Apilar y reordenar: primero el formulario, luego la info */
  #contacto .row {
    display: flex;
    flex-direction: column;
  }
  #contacto .col.s12.m7 { order: 1; } /* Formulario */
  #contacto .col.s12.m5 { order: 2; } /* Información */

  /* Reducir padding interno (sobrescribe inline styles del HTML) */
  #contacto .col[style] { padding: 1.25rem !important; }
  #contacto .card { border-radius: 12px; }

  /* Título más compacto */
  #contacto .titulo-seccion {
    font-size: 1.8rem;
    margin-bottom: 1.2rem;
  }
  #contacto .titulo-seccion::after { margin-top: 0.4rem; }

  /* Lista: más aire y lectura */
  #contacto .info-contacto { margin-top: 1.25rem; }
  #contacto .info-contacto li {
    margin-bottom: 0.7rem;
    line-height: 1.4;
  }
  #contacto .info-contacto i { font-size: 1.05rem; }

  /* Inputs cómodos (evita zoom en iOS) */
  #contacto .input-field input,
  #contacto .input-field textarea {
    font-size: 16px;
  }

  /* Botón a ancho completo y área táctil */
  #contacto button.btn {
    width: 100%;
    height: 44px;
    line-height: 44px;
    padding: 0 1rem;
  }

  /* Título del formulario con menos margen */
  #contacto .col.s12.m7 h5 { margin-bottom: 0.8rem; }
}

@media (min-width: 601px) and (max-width: 992px) {
  #contacto .col[style] { padding: 1.5rem !important; }
  #contacto .info-contacto li { margin-bottom: 0.9rem; }
  #contacto button.btn { padding: 0 1.2rem; }
}















/* ===== Footer ===== */
.footer-light {
  background: #F2F2F2 !important;
  color: #444;
  padding-top: 2.2rem;
}
.footer-logo {
  height: 60px;
  display: block;
  margin-bottom: .8rem;
}
.footer-desc {
  margin: 0 0 1rem;
  line-height: 1.6;
  font-size: .95rem;
  color: #555;
}

/* Títulos con subrayado */
.footer-title {
  font-weight: 700;
  color: #0367A6;
  margin-bottom: .6rem;
  position: relative;
}
.footer-title::after {
  content: "";
  display: block;
  width: 50px;
  height: 3px;
  background: #0378A6;
  border-radius: 3px;
  margin-top: 6px;
}

/* Enlaces */
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links li {
  margin-bottom: .4rem;
}
.footer-links a {
  color: #0367A6;
  text-decoration: none;
  font-weight: 600;
}
.footer-links a:hover {
  color: #024c7e;
}

/* Mapa */
.map-switch {
  display: flex;
  gap: 6px;
  justify-content: center; /* ahora centrados */
  flex-wrap: wrap;
  margin-bottom: .6rem;
}
.map-btn {
  color: #0367A6 !important;
  font-weight: 700;
  text-transform: none;
  border-radius: 20px;
}
.map-btn.active {
  text-decoration: underline;
}
.footer-map {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 10px;
  background: #fff;
}
.footer-map iframe {
  display: block;
  width: 100%;
  height: 220px;
  border: 0;
}

/* Botón flat secundario */
.cta-maps {
  color: #0367A6 !important;
  font-weight: 600;
  text-transform: none;
  border-radius: 20px;
}
.cta-maps:hover {
  background-color: rgba(3,103,166,0.08);
}

/* Barra inferior */
.footer-bottom {
  background: #e9eef3;
  padding: .8rem 0;
  margin-top: 1.2rem;
  color: #555;
  font-size: .9rem;
}

/* Responsive */
@media (max-width: 600px) {
  .footer-logo {
    height: 48px;
  }
  .footer-links {
    text-align: center;
  }
  .footer-map iframe {
    height: 180px;
  }
  .map-switch {
    justify-content: center;
  }
  .footer-brand {
    text-align: center;
  }
}















/* ================================
   CATEGORÍAS – CARDS CORREGIDAS
   ================================ */

.categoria-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;

  height: 420px;
  padding: 1.2rem;
  border-radius: 10px !important;

  background: #fff;
  box-shadow: 0 6px 14px rgba(0,0,0,.08) !important;

  transition: transform .25s ease, box-shadow .25s ease;
}

.categoria-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 22px rgba(0,0,0,.14) !important;
}

/* ===== Imagen ===== */
.categoria-card .card-image {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.categoria-card .card-image img {
  max-height: 100%;
  width: 100%;
  object-fit: contain;
}

/* ===== Título ===== */
.categoria-card .card-title {
  position: static !important;   /* 🔥 rompe estilo Materialize */
  transform: none !important;

  min-height: 3.6rem;
  max-height: 3.6rem;

  font-size: 1rem !important;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;

  color: #0367A6 !important;

  margin: 0.5rem 0 1rem 0;

  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;

  overflow: hidden;
  text-overflow: ellipsis;
  word-break: break-word;
}

/* ===== Contenido ===== */
.categoria-card .card-content {
  padding: 0 !important;
  text-align: center;
  font-size: 0.95rem;
}

/* ===== Botón ===== */
.categoria-card .card-action {
  border: none !important;
  padding: 0.5rem 0 0;
  text-align: center;
}

.categoria-card .btn {
  margin-top: 0.2rem;
}






/* =========================================================
   Catálogo - Sección Ítems (genérica)
   ========================================================= */
#catalogo-items {
  background-color: #ffffff; /* fondo blanco */
  padding-top: 3rem;
  padding-bottom: 3rem;
  border-top: 1px solid #e0e0e0;
  border-bottom: 1px solid #e0e0e0;
}

/* ====== Contenedor de cada ítem ====== */
#catalogo-items .item-box {
  background: transparent;
  border-radius: 12px;
  overflow: visible; /* evita cortes en bordes redondeados */
  box-shadow: none;
  padding: 1rem 0 1.5rem;
  text-align: center;
  transition: transform 0.3s ease;
}
#catalogo-items .item-box:hover {
  transform: translateY(-4px);
}

/* ====== Imagen del producto ====== */
#catalogo-items .item-img {
  border-radius: 12px;
  transition: box-shadow 0.4s ease;
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}
#catalogo-items .item-img:hover {
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
}

/* ====== Título del ítem ====== */
#catalogo-items .item-title {
  font-weight: 700;
  color: #0367A6;
  margin: 0.8rem 0 1rem;
  font-size: 1rem;
}

/* ====== Botón principal ====== */
#catalogo-items .btn {
  background-color: #0367A6;
  border-radius: 6px;
  text-transform: none;
  font-weight: 600;
  letter-spacing: 0.3px;
  color: #ffffff;
}
#catalogo-items .btn:hover {
  background-color: #0378A6;
}





/* =========================================================
   Modal (Pop-up de información del producto)
   ========================================================= */
.modal {
  border-radius: 12px;
  max-width: 800px;
  background-color: #ffffff;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.3);
}
.modal-content {
  padding: 2rem;
  border-bottom: 1px solid #e0e0e0;
}
.modal-content h5 {
  font-weight: 700;
  color: #0367A6;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.modal-content h6 {
  font-weight: 600;
  color: #0378A6;
  margin-bottom: 1rem;
}
.modal-content ul {
  list-style: none;
  padding-left: 0;
  margin-top: 0.5rem;
}
.modal-content ul li {
  color: #444;
  margin-bottom: 0.3rem;
  font-size: 0.95rem;
}

/* ====== Imagen dentro del modal (ajuste fino) ====== */
.modal-img-wrapper {
  margin-top: 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
}
.modal-img-wrapper img {
  max-width: 60%;
  max-height: 200px;
  border-radius: 10px;
  object-fit: contain;
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.1);
}

/* ====== Footer del modal ====== */
.modal-footer {
  background-color: #F2F2F2;
  border-top: 1px solid #e0e0e0;
  border-radius: 0 0 12px 12px;
  padding: 1rem;
  text-align: right;
}
.modal-footer .btn {
  background-color: #0367A6 !important;
  color: #ffffff !important;
  border-radius: 6px;
  text-transform: none;
  font-weight: 600;
}
.modal-footer .btn:hover {
  background-color: #0378A6 !important;
}

/* =========================================================
   Responsividad
   ========================================================= */
@media (max-width: 992px) {
  #catalogo-items .item-title {
    font-size: 0.95rem;
  }
  .modal-content {
    padding: 1.5rem;
  }
  .modal-img-wrapper img {
    max-height: 180px;
    max-width: 65%;
  }
}
@media (max-width: 600px) {
  #catalogo-items .item-box {
    padding-bottom: 1rem;
  }
  #catalogo-items .item-title {
    font-size: 0.9rem;
  }
  .modal-img-wrapper img {
    max-height: 160px;
    max-width: 70%;
  }
}








/* =========================================================
   Paginación — estilo ALT (pill/outline)
   ========================================================= */
:root{
  --pager-primary:#0367A6;
  --pager-hover:#0378A6;
  --pager-bg:#ffffff;
  --pager-border:#dfe6eb;
  --pager-muted:#a6b3bd;
}

.items-pager{
  display:flex; justify-content:center; align-items:center;
  margin: 2.5rem 0 1rem;
}
.items-pager__list{
  list-style:none; padding:0; margin:0;
  display:flex; gap:.5rem; flex-wrap:wrap;
}
.items-pager__item a{
  display:inline-flex; align-items:center; justify-content:center;
  min-width: 40px; height:40px; padding:0 .75rem;
  border:1px solid var(--pager-border);
  border-radius:999px; background:var(--pager-bg);
  color:var(--pager-primary); font-weight:600; text-decoration:none;
  transition: all .18s ease;
  box-shadow: 0 0 0 rgba(0,0,0,0);
}
.items-pager__item a:hover{
  border-color: var(--pager-hover);
  color:#fff; background: var(--pager-primary);
  box-shadow: 0 4px 10px rgba(3,103,166,.15);
}
.items-pager__item.is-active a{
  background: var(--pager-primary);
  color:#fff; border-color: var(--pager-primary);
  box-shadow: 0 4px 10px rgba(3,103,166,.18);
  cursor: default;
}
.items-pager__item.is-disabled a{
  pointer-events:none; color: var(--pager-muted);
  border-color: var(--pager-border); background: #f7f9fb;
  opacity:.7;
}
.items-pager__item i.material-icons{
  font-size:20px; line-height:20px;
}

/* Compacto en móviles */
@media (max-width:600px){
  .items-pager__item a{ min-width: 36px; height:36px; padding:0 .6rem; }
  .items-pager__list{ gap:.4rem; }
}

/* Variante “ghost” para puntos suspensivos (si los usas) */
.items-pager__item.is-ellipsis a{
  background: transparent; border-color: transparent;
  color: var(--pager-muted); cursor: default;
}








/* ===== Hero Servicios ===== */
.serv-hero{
  background: linear-gradient(135deg,#eaf4fb 0%,#f8f9fa 100%);
  padding: 2.5rem 0 1.5rem;
}
.serv-breadcrumb .breadcrumb{
  color:#0367A6 !important;
}
.serv-breadcrumb .breadcrumb::before{ color:#0378A6; }
.serv-subtitle{
  max-width:800px;
  margin: .75rem auto 0;
  color:#4a4a4a;
}







/* Reusa tu estilo global de .titulo-seccion, solo aseguramos centrado aquí si hiciera falta */
/* .titulo-seccion { ... } */

/* ===== Tabs ===== */
.serv-tabs .tab a{
  color:#0367A6;
  font-weight:600;
}
.serv-tabs .tab a.active,
.serv-tabs .tab a:hover{
  color:#024c7e;
}
.serv-tabs .indicator{
  background:#0367A6;
}
.serv-tab-content{
  padding-top:1.5rem;
}

/* ===== Titulares y listas ===== */
.serv-h3{
  font-size:1.5rem;
  font-weight:700;
  color:#0367A6;
  margin-bottom:.75rem;
}
.serv-list{
  list-style:none;
  padding:0;
  margin:1rem 0 0;
}
.serv-list li{
  display:flex;
  align-items:flex-start;
  gap:8px;
  margin-bottom:.6rem;
  color:#444;
}
.serv-list i{
  color:#0367A6;
}

/* ===== Cards de planes ===== */
.plan-card{
  border-radius:12px;
  overflow:hidden;
  box-shadow:0 4px 14px rgba(0,0,0,.08);
}
.plan-card .card-title{
  font-weight:700;
  color:#0367A6;
}
.plan-bullets{
  list-style:none;
  padding:0;
  margin:1rem 0 0;
}
.plan-bullets li{
  margin-bottom:.4rem;
  color:#555;
}

/* Botón reutiliza tu .contacto-btn */
.contacto-btn{
  background:#0367A6 !important;
  border-radius:25px;
  padding:0 1.5rem;
  font-weight:600;
}
.contacto-btn:hover{
  background:#024c7e !important;
}

/* ===== FAQ ===== */
.serv-faq{
  background:#f8f9fa;
  padding-top:2.5rem;
  padding-bottom:2.5rem;
}
.serv-faq .collapsible-header{
  font-weight:600;
  color:#0367A6;
}
.serv-faq .collapsible{
  border-radius:10px;
  overflow:hidden;
}

/* ===== CTA final ===== */
.serv-cta{
  background:#0367A6;
  padding:2.5rem 0;
}
.serv-cta h3{ margin:.25rem 0 .25rem; }

/* ===== Responsive ===== */
@media (max-width: 992px){
  .serv-h3{ font-size:1.35rem; }
}
@media (max-width: 600px){
  .serv-subtitle{ padding:0 14px; }
}
















/* ===== ENCABEZADO LIVIANO ===== */
.about-top .about-subtitle {
  max-width: 820px;
  margin: .5rem auto 0;
  color: #444;
  font-size: 1.1rem;
}

/* ===== QUIÉNES SOMOS ===== */
.about-h3 {
  font-size: 1.6rem;
  font-weight: 700;
  color: #0367A6;
  margin-bottom: .75rem;
}
.about-text {
  color: #444;
  line-height: 1.65;
}
.about-bullets {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
}
.about-bullets li {
  display: flex;
  gap: 8px;
  margin-bottom: .5rem;
  color: #555;
}
.about-bullets i {
  color: #0367A6;
}

/* Imagen sin sombra ni animación */
.about-img-wrapper {
  overflow: hidden;
  border-radius: 14px;
}
.about-img-wrapper img {
  display: block;
  width: 100%;
  height: auto;
}
.about-img-wrapper:hover img {
  transform: none;
}






/* ===== MISIÓN / VISIÓN / VALORES ===== */
.about-mvv .mvv-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
}
.about-mvv .mvv-col {
  display: flex;
}
.value-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  text-align: center;
  border-radius: 14px;
  padding: 1.25rem 1rem 1rem;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .07);
  width: 100%;
  height: 100%;
}
.value-card h5 {
  color: #0367A6;
  font-weight: 700;
  margin: .5rem 0;
}
.value-card p {
  color: #555;
  margin: 0;
}
.value-icon {
  font-size: 2.2rem;
  color: #0367A6;
  margin-bottom: .25rem;
}

/* ===== TIMELINE ===== */
.about-timeline .timeline {
  position: relative;
  list-style: none;
  padding-left: 0;
  margin: 2rem 0 0;
}
.about-timeline .timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 3px;
  background: rgba(3, 103, 166, .25);
  transform: translateX(-50%);
}
.timeline li {
  position: relative;
  margin: 0 0 2rem 0;
}
.timeline-dot {
  position: absolute;
  left: 50%;
  transform: translate(-50%, 2px);
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #0367A6;
  box-shadow: 0 0 0 4px rgba(3, 103, 166, .15);
}
.timeline-card {
  background: #fff;
  border-radius: 12px;
  padding: 1rem 1rem .75rem;
  max-width: 430px;
}
.timeline li:nth-child(odd) .timeline-card {
  margin-right: auto;
}
.timeline li:nth-child(even) .timeline-card {
  margin-left: auto;
}
.timeline .time {
  font-size: .85rem;
  color: #0378A6;
  font-weight: 700;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
  /* Timeline: línea lateral en tablet/móvil */
  .about-timeline .timeline::before {
    left: 24px;
    transform: none;
  }
  .timeline-dot {
    left: 24px;
    transform: translate(0, 2px);
  }
  .timeline-card {
    margin-left: 48px !important;
    margin-right: 0 !important;
  }
}

@media (max-width: 600px) {
  .about-h3 {
    font-size: 1.45rem;
  }
  .value-icon {
    font-size: 2rem;
  }
  .about-top .about-subtitle {
    padding: 0 12px;
  }
}
/* ===== Responsive (imagen debajo del texto en móvil) ===== */
@media (max-width: 600px) {
  /* Cambia el orden de las columnas dentro de .about-who */
  .about-who .row {
    display: flex;
    flex-direction: column;
  }

  /* El texto primero, la imagen después */
  .about-who .col.s12.m6:first-child {
    order: 1;
  }
  .about-who .col.s12.m6:last-child {
    order: 2;
    margin-top: 1.5rem;
  }
}
