/* Titan Industri - prototipo estatico (replica real del WP en titan-oficial) */
@import url("buscador.css");

*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  font-family: 'Roboto', Arial, sans-serif;
  color: #000;
  background: #fff;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }
img { max-width: 100%; display: block; }
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 15px;
}

/* ===================== HEADER ===================== */
.titan-topbar {
  background: #D5E1E1;
  display: none;
}
/* Barra de contacto superior — solo movil/tablet, fuera del header pegajoso:
   se desplaza con la pagina normalmente (no queda fija). */
.titan-header-topbar-mobile { display: none; background: #FFFFFF; border-bottom: 1px solid #E5E7EB; }
.titan-header-topbar-mobile .titan-contact-col--top { padding: 8px 6px; text-align: center; }
@media (max-width: 1024px) {
  .titan-header-topbar-mobile { display: block; }
}
.titan-header {
  background: #FFFFFF;
  box-shadow: 0 0 10px 3px rgba(0,0,0,0.5);
  position: sticky;
  top: 0;
  z-index: 100;
  transition: box-shadow .2s;
}
.titan-header.is-scrolled { box-shadow: 0 2px 14px rgba(0,0,0,.18); }
.titan-header.is-scrolled .titan-logo-col img { max-width: 150px; padding: 2px; }
@media (max-width: 1024px) {
  .titan-header.is-scrolled .titan-logo-col img { max-width: 120px; }
  .titan-header.is-scrolled .titan-header-inner { padding-top: 8px; padding-bottom: 8px; }
}
.titan-logo-col img { transition: max-width .2s, padding .2s; }
.titan-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 50px;
  padding: 10px 0;
  gap: 16px;
  max-width: 1320px;
}
.titan-logo-col {
  flex: 0 0 auto;
}
.titan-logo-col img {
  max-width: 220px;
  padding: 10px 10px 5px 10px;
}
.titan-nav-col { flex: 1 1 auto; }

/* Menu principal */
.titan-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: nowrap;
  gap: 4px;
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  font-weight: 600;
}
.titan-nav > li { position: relative; }
.titan-nav > li > a {
  display: block;
  padding: 10px 9px;
  color: #000;
  white-space: nowrap;
  transition: background-color .2s, color .2s;
}
.titan-nav > li > a:hover,
.titan-nav > li.current > a {
  background-color: #0738a0;
  color: #FFFFFF;
}

/* Submenu Productos */
.titan-submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: #FFFFFF;
  box-shadow: 0 4px 10px rgba(0,0,0,.15);
  z-index: 200;
  padding: 10px 0;
}
.titan-nav > li:hover .titan-submenu { display: block; }
.titan-submenu li a {
  display: block;
  padding: 10px 10px;
  font-size: 13px;
  font-weight: 600;
  color: #000;
}
.titan-submenu li a:hover {
  background-color: #0738a0;
  color: #fff;
}

/* Bloque de contacto del header */
.titan-contact-col {
  flex: 0 0 auto;
  text-align: center;
  font-size: 12px;
  line-height: 1.5;
}
.titan-contact-col strong { font-weight: 700; }
.titan-contact-col a { color: #000; }

/* Whatsapp flotante */
.titan-whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 55px;
  height: 55px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,.3);
  z-index: 999;
}
.titan-whatsapp-float svg { width: 28px; height: 28px; fill: #fff; }

/* Boton hamburguesa (solo movil) */
.titan-menu-toggle {
  display: none;
  width: 40px;
  height: 34px;
  padding: 6px 2px;
  background: transparent;
  border: none;
  cursor: pointer;
}
.titan-menu-toggle-bar {
  display: block;
  width: 100%;
  height: 3px;
  margin: 4px 0;
  background: #04349C;
  border-radius: 3px;
  transition: transform .25s, opacity .2s;
}
.titan-menu-toggle.is-open .titan-menu-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.titan-menu-toggle.is-open .titan-menu-toggle-bar:nth-child(2) { opacity: 0; }
.titan-menu-toggle.is-open .titan-menu-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1024px) {
  .titan-header-inner {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 22px;
    align-items: center;
    padding: 14px 6px;
  }
  .titan-logo-col { order: 1; flex: 0 0 auto; }
  .titan-logo-col img { max-width: 160px; padding: 4px; }

  .titan-bsc-wrap { order: 2; margin-left: 0; }
  .titan-menu-toggle { display: block; order: 3; flex: 0 0 40px; margin-right: 0; }

  .titan-contact-col--inline { display: none; }

  /* El menu de escritorio (.titan-nav-col) se reemplaza por completo en
     movil/tablet por el drawer .titan-mnav (ver mas abajo). */
  .titan-nav-col { display: none; }
}

/* ===================== MENU MOVIL (drawer) =====================
   Copiado y adaptado de cronostec-chile-ok (.mobile-nav.cronos-panel /
   .mnav-*), con la paleta Titan (#04349C / #4177E6). Clases propias
   .titan-mnav-* — reemplaza el submenu en linea que usaba .titan-nav-col
   en movil. */
.titan-mnav-backdrop {
  display: none; position: fixed; inset: 0; background: rgba(4,52,156,.32);
  z-index: 99998; opacity: 0; transition: opacity .3s;
}
.titan-mnav-backdrop.active { display: block; opacity: 1; }

.titan-mnav {
  display: flex; flex-direction: column; position: fixed; top: 0; left: -100%;
  width: 100%; max-width: 360px; height: 100vh; height: 100dvh;
  background: #FFFFFF; z-index: 99999; padding: 18px 0;
  transition: left .35s cubic-bezier(.4,0,.2,1);
  box-shadow: 8px 0 40px rgba(4,52,156,.18); overflow-y: auto; overflow-x: hidden;
}
.titan-mnav.open { left: 0; }

.titan-mnav-close {
  display: flex; align-items: center; justify-content: center; width: 34px; height: 34px;
  background: #F3F6FC; border: none; border-radius: 50%; cursor: pointer;
  color: #04349C; font-size: 15px; margin: 0 0 10px 16px; flex-shrink: 0;
}

.titan-mnav-item {
  display: flex; align-items: center; gap: 10px; padding: 12px 20px;
  font-family: 'Poppins', sans-serif; font-size: 13px; font-weight: 700; color: #04349C;
  text-decoration: none; text-transform: uppercase; letter-spacing: .04em;
  transition: background .15s;
}
.titan-mnav-item svg { color: #4177E6; flex-shrink: 0; width: 16px; height: 16px; }
.titan-mnav-item span { flex: 1; }
.titan-mnav-item:active { background: #F3F6FC; }
.titan-mnav-sep { height: 1px; background: #E5E7EB; margin: 6px 16px; }

.titan-mnav-toggle { position: relative; cursor: pointer; }
.titan-mnav-arrow { margin-left: auto; color: #6B7280; transition: transform .3s; width: 12px; height: 12px; }
.titan-mnav-arrow.open { transform: rotate(90deg); color: #04349C; }
.titan-mnav-toggle.active { background: #F3F6FC; border-left: 3px solid #04349C; }
.titan-mnav-cat-panel { display: none; background: #F3F6FC; }
.titan-mnav-cat-panel.open { display: block; }
.titan-mnav-cat-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 6px; padding: 10px 14px; }
.titan-mnav-cat-chip {
  background: #FFFFFF; border: 1px solid #E5E7EB; border-radius: 8px; padding: 9px 6px; text-align: center;
  font-family: 'Poppins', sans-serif; font-size: 10.5px; font-weight: 600; color: #04349C; text-decoration: none;
  display: flex; flex-direction: column; align-items: center; gap: 4px; transition: all .2s;
}
.titan-mnav-cat-chip img { width: 20px; height: 20px; object-fit: contain; }
.titan-mnav-cat-chip:active { background: #04349C; color: #FFFFFF; border-color: #04349C; }

.titan-mnav-cta {
  display: flex; align-items: center; justify-content: center; gap: 8px; margin: 10px 16px 6px;
  padding: 12px; background: #4177E6; border-radius: 10px;
  font-family: 'Poppins', sans-serif; font-size: 13px; font-weight: 700; color: #FFFFFF;
  text-decoration: none; text-transform: uppercase; letter-spacing: .04em;
}
.titan-mnav-contact { display: flex; flex-direction: column; gap: 8px; align-items: center; padding: 8px 16px 14px; font-size: 11px; color: #6B7280; }
.titan-mnav-contact a { color: #04349C; text-decoration: none; font-weight: 600; }

@media (min-width: 1025px) { .titan-mnav, .titan-mnav-backdrop { display: none; } }

/* ===================== HERO SLIDER ===================== */
.titan-hero {
  position: relative;
  overflow: hidden;
}
.titan-hero-track {
  position: relative;
  min-height: 35vh;
  overflow: hidden;
}
.titan-hero-slides {
  display: flex;
  width: 600%; /* 4 slides reales + 2 clones para el loop infinito */
  min-height: 35vh;
  transition: transform 1s ease;
}
.titan-hero-slides.no-transition { transition: none; }
.titan-hero-slide {
  position: relative;
  flex: 0 0 16.6667%;
  width: 16.6667%;
  min-height: 35vh;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
}
.titan-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(210deg, rgba(0,0,0,0) 0%, rgba(0,0,0,.75) 100%);
}
.titan-hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  min-height: 35vh;
  padding-top: 20px;
  padding-bottom: 20px;
}
.titan-hero-text {
  flex: 0 0 30%;
  max-width: 30%;
  text-align: center;
  color: #FFFFFF;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.titan-hero-eyebrow,
.titan-hero-title,
.titan-hero-btn,
.titan-hero-product img {
  opacity: 0;
  transform: translateY(30px);
}
.titan-hero-eyebrow.animate-in,
.titan-hero-title.animate-in,
.titan-hero-btn.animate-in,
.titan-hero-product img.animate-in {
  animation: titanFadeInUp .8s ease forwards;
}
@keyframes titanFadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
.titan-hero-eyebrow {
  margin: 0;
  font-family: 'Open Sans', sans-serif;
  font-size: 13px;
  line-height: 1.4;
  font-weight: 400;
  text-transform: uppercase;
  text-shadow: 3px 3px 6px #000;
}
.titan-hero-title {
  margin: 6px 0 0;
  font-family: 'Open Sans', sans-serif;
  font-size: 19px;
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.3;
  text-shadow: 3px 3px 5px #000;
}
.titan-hero-btn {
  display: inline-block;
  margin-top: 25px;
  padding: 8px 22px;
  background: #4177E6;
  color: #FFFFFF;
  font-family: 'Open Sans', sans-serif;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: background-color .2s, transform .2s;
}
.titan-hero-btn:hover {
  background: #3a3a3a;
  transform: translateY(-3px) !important;
}
.titan-hero-product {
  flex: 0 0 70%;
  max-width: 70%;
  display: flex;
  justify-content: flex-end;
}
.titan-hero-product img {
  width: 80%;
  max-width: 480px;
}
.titan-hero-product img.animate-in {
  animation-duration: 1.2s;
}

/* animacion continua "bob" (flotando) igual que hover_animation de Elementor */
.titan-hero-product img.animate-in {
  animation-name: titanFadeInUp, titanBob;
  animation-duration: 1.2s, 2.5s;
  animation-timing-function: ease, ease-in-out;
  animation-iteration-count: 1, infinite;
  animation-delay: 0s, 1.2s;
}
@keyframes titanBob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.titan-hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: #FFFFFF59;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color .2s;
}
.titan-hero-arrow:hover { background: #FFFFFFA8; }
.titan-hero-arrow svg { width: 14px; height: 14px; fill: #000; }
.titan-hero-prev { left: 20px; }
.titan-hero-next { right: 20px; }

.titan-hero-dots {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 8px;
}
.titan-hero-dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1px solid #fff;
  background: transparent;
  padding: 0;
  cursor: pointer;
}
.titan-hero-dots button.is-active {
  background: #fff;
}

@media (max-width: 921px) {
  .titan-hero-inner { flex-direction: column; padding-top: 40px; }
  .titan-hero-text,
  .titan-hero-product {
    flex: 0 0 100%;
    max-width: 100%;
  }
  .titan-hero-product { justify-content: center; margin-top: 10px; }
  .titan-hero-product img { width: 50%; }
}

/* ===================== CATEGORIAS DESTACADAS ===================== */
/* Envoltorio reutilizable para fondo real fijo (background-attachment:fixed)
   con overlay blanco, usado en "Categorias Destacadas" y "Marcas Exclusivas". */
.titan-fondo-fijo-wrap {
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}
@media (max-width: 768px) {
  .titan-fondo-fijo-wrap { background-attachment: scroll; }
}
.titan-fondo-fijo-overlay {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.88);
  z-index: 0;
}
.titan-fondo-fijo-inner {
  position: relative;
  z-index: 1;
  background: transparent !important;
}

.titan-destacadas {
  padding: 20px 0 60px;
}
/* Ocultar por completo la seccion "Categorias Destacadas" en tablet y movil */
@media (max-width: 1024px) {
  .titan-destacadas-wrap { display: none; }
}
/* En movil se quita por completo la imagen de fondo estatica de "Marcas Exclusivas" */
@media (max-width: 768px) {
  .titan-marcas-wrap { background-image: none !important; }
  .titan-marcas-wrap .titan-fondo-fijo-overlay { background: #FFFFFF; }
}
.titan-destacada-row {
  display: flex;
  gap: 0;
  margin-bottom: 0;
}
.titan-destacada-derecha { flex-direction: row-reverse; }
.titan-destacada-card,
.titan-destacada-empty {
  flex: 0 0 40%;
  max-width: 40%;
}
.titan-destacada-card {
  position: relative;
  overflow: visible;
  min-height: 440px;
  background: linear-gradient(160deg, #04349C 0%, #021f5c 100%);
  border-radius: 30px;
  padding: 30px;
  text-align: center;
  color: #FFFFFF;
}
.titan-destacada-card h3 {
  position: relative;
  z-index: 2;
  margin: 0 0 8px;
  font-family: 'Poppins', sans-serif;
  font-size: 20px;
  font-weight: 700;
  text-shadow: 3px 3px 6px rgba(0,0,0,.4);
}

/* Imagen: posicion absoluta justo debajo del titulo, se desliza y crece al hover
   (CSS real del widget, extraido de titan-oficial) */
.titan-destacada-card .elementor-widget-image {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  transition: 0.5s ease-in-out;
}
.titan-destacada-card .elementor-widget-image img {
  width: auto;
  max-width: 420px;
  height: auto;
  max-height: 380px;
  transition: 0.5s ease-in-out;
}
.titan-destacada-card.columno:hover .elementor-widget-image { left: 140%; }
.titan-destacada-card.columna:hover .elementor-widget-image { left: -40%; }
.titan-destacada-card:hover .elementor-widget-image img { max-width: 450px; width: auto; max-height: 350px; }

/* Contenido (lista + boton): oculto hasta el hover, posicion absoluta para no
   empujar el layout normal (titulo pegado a la imagen) */
.titan-destacada-card .contenido,
.titan-destacada-card .contenida {
  position: absolute;
  top: 46px;
  left: 0;
  right: 0;
  bottom: 10px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: 1s ease-in-out;
  pointer-events: none;
}
.titan-destacada-card:hover .contenido,
.titan-destacada-card:hover .contenida {
  opacity: 1;
  pointer-events: auto;
}

.titan-destacada-card ul {
  text-align: left;
  max-width: 320px;
  margin: 0 auto 20px;
}
.titan-destacada-card ul li {
  font-size: 13px;
  list-style: disc;
  margin-left: 18px;
  margin-bottom: 6px;
}
.titan-destacada-btn {
  display: inline-block;
  padding: 10px 26px;
  background: #FFFFFF;
  color: #000000;
  font-size: 13px;
  font-weight: 700;
  border-radius: 30px;
  transition: background-color .25s, color .25s;
}
.titan-destacada-btn:hover { background: #4177E6; color: #FFFFFF; }
.titan-destacada-btn i { margin-left: 6px; font-size: 11px; }

@media (max-width: 800px) {
  .titan-destacada-row { flex-direction: column; }
  .titan-destacada-derecha { flex-direction: column; }
  .titan-destacada-card,
  .titan-destacada-empty { flex: 0 0 100%; max-width: 100%; }
  .titan-destacada-empty { display: none; }
  /* En mobile no hay hover: mostrar todo directo */
  .titan-destacada-card .elementor-widget-image { position: static; }
  .titan-destacada-card .contenido,
  .titan-destacada-card .contenida { opacity: 1; }
}

/* ===================== PRODUCTOS DESTACADOS (carrusel) ===================== */
/* Copiado y adaptado de cronostec-chile-ok (.productos), paleta Titan */
/* Contenedor UNICO que envuelve los 3 carruseles: un solo fondo real
   estatico (imagen generada), fijo detras de todo el bloque completo. */
.titan-productos-wrap {
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}
@media (max-width: 768px) {
  /* En movil se quita por completo la imagen de fondo estatica */
  .titan-productos-wrap { background-image: none !important; }
  .titan-productos-overlay { background: #FFFFFF; }
}
.titan-productos-overlay {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.88);
  z-index: 0;
}
.titan-productos-inner {
  position: relative;
  z-index: 1;
}
.titan-productos {
  position: relative;
  background: transparent;
  padding: 5rem 0;
}
.titan-productos-head {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.titan-productos-title { max-width: 640px; }
.titan-badge {
  display: inline-block;
  padding: .4rem .9rem;
  border-radius: 999px;
  background: rgba(4,52,156,.1);
  box-shadow: inset 0 0 0 1px rgba(4,52,156,.2);
  color: #04349C;
  font-family: 'Poppins', sans-serif;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 1rem;
}
.titan-text-gradient {
  margin: 0 0 .75rem;
  font-family: 'Poppins', sans-serif;
  font-size: 1.9rem;
  font-weight: 800;
  color: #04349C;
}
.titan-productos-title p {
  margin: 0;
  color: #6b7280;
  font-size: 14px;
  line-height: 1.6;
}
.titan-productos-nav { display: flex; gap: .75rem; }
.titan-productos-nav button {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid #e7ebf1;
  background: #FFFFFF;
  color: #04349C;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform .2s, background-color .2s, color .2s, border-color .2s;
}
.titan-productos-nav button:hover {
  transform: translateY(-2px);
  color: #FFFFFF;
  border-color: transparent;
  background: linear-gradient(135deg, #4177E6, #04349C);
}

.titan-prod-track-wrap { margin-top: 2.5rem; overflow: hidden; }
.titan-prod-track {
  display: flex;
  gap: 1.5rem;
  transition: transform .5s cubic-bezier(.22,1,.36,1);
}
.titan-prod-card {
  display: block;
  position: relative;
  flex: 0 0 82%;
  overflow: hidden;
  border-radius: 20px;
  background: #FFFFFF;
  box-shadow: 0 2px 6px rgba(20,32,70,.06), 0 14px 30px -18px rgba(20,32,70,.28);
  transition: background-color .35s ease;
}
.titan-prod-card:hover { background-color: #04349C; }
.titan-prod-card-media {
  position: relative;
  aspect-ratio: 1 / 1.1;
  overflow: hidden;
  background: linear-gradient(160deg, #f7f8fa, #eceff3);
}
.titan-prod-card-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
}
.titan-prod-card-body {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(231,235,241,.7);
  padding: 1.5rem;
}
.titan-prod-card:hover .titan-prod-card-body { border-top-color: transparent; }
.titan-prod-card-body h3 {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  font-size: 17px;
  line-height: 1.15;
  font-weight: 800;
  color: #1F2937;
  transition: color .35s ease;
}
.titan-prod-card:hover .titan-prod-card-body h3 { color: #FFFFFF; }
.titan-prod-specs {
  margin: .75rem 0 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .5rem;
}
.titan-prod-specs div {
  border-radius: 8px;
  background: #F7F8FA;
  padding: .4rem .55rem;
  transition: background .35s ease;
}
.titan-prod-card:hover .titan-prod-specs div { background: rgba(255,255,255,.15); }
.titan-prod-specs dt {
  margin: 0;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #94a1b8;
  transition: color .35s ease;
}
.titan-prod-card:hover .titan-prod-specs dt { color: rgba(255,255,255,.75); }
.titan-prod-specs dd {
  margin: .15rem 0 0;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #04349C;
  transition: color .35s ease;
}
.titan-prod-card:hover .titan-prod-specs dd { color: #FFFFFF; }
.titan-prod-card-link {
  margin-top: .9rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(231,235,241,.7);
  padding-top: .75rem;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #04349C;
  transition: color .35s ease, border-color .35s ease;
}
.titan-prod-card:hover .titan-prod-card-link { color: #FFFFFF; border-top-color: rgba(255,255,255,.25); }

.titan-prod-dots { margin-top: 2.5rem; display: flex; justify-content: center; gap: .5rem; }
.titan-prod-dots button {
  height: 6px;
  width: 16px;
  border: none;
  padding: 0;
  border-radius: 999px;
  background: #e7ebf1;
  transition: all .3s;
  cursor: pointer;
}
.titan-prod-dots button.active {
  width: 36px;
  background: linear-gradient(135deg, #4177E6, #04349C);
}

@media (min-width: 640px) {
  .titan-prod-card { flex-basis: 46%; }
}
@media (min-width: 1024px) {
  .titan-productos-head { flex-direction: row; align-items: flex-end; justify-content: space-between; }
  .titan-text-gradient { font-size: 2.3rem; }
  .titan-prod-card { flex-basis: calc(25% - 1.125rem); }
}

/* Menos aire vertical entre los 3 carruseles de "Productos Destacados" en movil */
@media (max-width: 767px) {
  .titan-productos { padding: 1.75rem 0; }
  .titan-prod-dots { margin-top: 1.25rem; }
}

/* ===================== MARCAS EXCLUSIVAS ===================== */
.titan-marcas { padding: 4rem 0 5rem; background: #FFFFFF; }
.titan-marcas-header { text-align: center; margin-bottom: 4rem; }
.titan-marcas-header .section-label {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-size: .85rem;
  font-weight: 800;
  letter-spacing: .06em;
  color: #4177E6;
  margin-bottom: .5rem;
}
.titan-marcas-header h2 {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -.02em;
  color: #04349C;
  margin: 0;
}
.titan-marcas-header h2 span {
  background-image: linear-gradient(100deg, #021f5c 0%, #04349C 45%, #4177E6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.titan-marcas-header p {
  margin-top: 1rem;
  font-size: .92rem;
  color: rgba(4,52,156,.58);
  line-height: 1.75;
  max-width: 42ch;
  margin-left: auto;
  margin-right: auto;
}
.titan-marcas-divider { display: flex; align-items: center; gap: 1rem; justify-content: center; margin-top: 1.5rem; }
.titan-marcas-divider::before,
.titan-marcas-divider::after { content: ''; width: 60px; height: 2px; background: linear-gradient(90deg, transparent, rgba(4,52,156,.3)); }
.titan-marcas-divider::after { background: linear-gradient(90deg, rgba(4,52,156,.3), transparent); }
.titan-marcas-divider-dot { width: 8px; height: 8px; border-radius: 50%; background: #04349C; box-shadow: 0 0 10px rgba(4,52,156,.4); }

.titan-brands-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.titan-brand-card {
  position: relative;
  background: #FFFFFF;
  border: 1.5px solid rgba(4,52,156,.1);
  padding: 3rem 2rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
  transition: all .35s cubic-bezier(.4,0,.2,1);
}
.titan-brand-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background-image: linear-gradient(90deg, #04349C, #4177E6);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s cubic-bezier(.16,1,.3,1);
}
.titan-brand-card:hover {
  border-color: rgba(4,52,156,.25);
  transform: translateY(-6px);
  box-shadow: 0 20px 60px -10px rgba(4,52,156,.12), 0 8px 24px -4px rgba(4,52,156,.08);
}
.titan-brand-card:hover::before { transform: scaleX(1); }
.titan-brand-num {
  position: absolute;
  top: 14px; right: 18px;
  font-family: 'Poppins', sans-serif;
  font-size: .58rem;
  font-weight: 900;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(4,52,156,.2);
  transition: color .3s;
}
.titan-brand-card:hover .titan-brand-num { color: rgba(4,52,156,.5); }
.titan-brand-logo-wrap {
  width: 100%;
  max-width: 220px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.75rem;
  filter: grayscale(100%) opacity(.6);
  transition: filter .45s ease;
}
.titan-brand-card:hover .titan-brand-logo-wrap { filter: grayscale(0%) opacity(1); }
.titan-brand-logo-wrap img { max-width: 100%; max-height: 100%; object-fit: contain; display: block; }
.titan-brand-sep {
  width: 32px;
  height: 2px;
  background: rgba(4,52,156,.12);
  margin-bottom: 1.1rem;
  transition: background .35s, width .35s;
}
.titan-brand-card:hover .titan-brand-sep { background-image: linear-gradient(90deg, #04349C, #4177E6); width: 48px; }
.titan-brand-name {
  font-family: 'Poppins', sans-serif;
  font-size: .92rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-align: center;
  color: #04349C;
  margin-bottom: .5rem;
}
.titan-brand-tag { font-size: .72rem; color: rgba(4,52,156,.45); text-align: center; line-height: 1.5; }
.titan-brand-badge {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  margin-top: 1.25rem;
  padding: .3rem .75rem;
  background: rgba(4,52,156,.07);
  border: 1px solid rgba(4,52,156,.2);
  border-radius: 999px;
  font-family: 'Poppins', sans-serif;
  font-size: .58rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #04349C;
  transition: all .35s cubic-bezier(.4,0,.2,1);
}
.titan-brand-badge::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #04349C; box-shadow: 0 0 6px rgba(4,52,156,.5); flex-shrink: 0; }
.titan-brand-card:hover .titan-brand-badge { background: #04349C; border-color: #04349C; color: #FFFFFF; }
.titan-brand-card:hover .titan-brand-badge::before { background: #FFFFFF; box-shadow: none; }

@media (max-width: 900px) {
  .titan-brands-grid { grid-template-columns: repeat(2, 1fr); }
  .titan-brand-card:last-child:nth-child(odd) { grid-column: 1 / -1; max-width: 400px; margin: 0 auto; width: 100%; }
}
@media (max-width: 600px) {
  .titan-marcas { padding: 3rem 0; }
  .titan-brands-grid { grid-template-columns: 1fr; gap: 1rem; }
  .titan-brand-card:last-child:nth-child(odd) { grid-column: auto; max-width: 100%; margin: 0; }
  .titan-brand-card { padding: 2rem 1.5rem 1.5rem; }
}

/* ===================== CONTACTENOS (pagina) ===================== */
.titan-contacto { padding: 70px 0 90px; background: #FFFFFF; }
.titan-contacto-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: start;
}
.titan-contacto-info h1 {
  margin: 0 0 8px;
  font-family: 'Poppins', sans-serif;
  font-size: 38px;
  font-weight: 800;
  color: #04349C;
}
.titan-contacto-sub { margin: 0 0 30px; font-size: 15px; color: #4177E6; font-weight: 600; }
.titan-contacto-list { display: flex; flex-direction: column; gap: 20px; }
.titan-contacto-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 14px;
  line-height: 1.6;
  color: #4B5563;
}
.titan-contacto-list li i {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(4,52,156,.08);
  color: #04349C;
  border-radius: 50%;
  font-size: 15px;
}
.titan-contacto-list li a { color: #04349C; font-weight: 600; }

.titan-contacto-form-wrap {
  background: #F7F8FA;
  border-radius: 20px;
  padding: 40px;
}
.titan-contacto-form-wrap h2 {
  margin: 0 0 24px;
  font-family: 'Poppins', sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: #04349C;
}
.titan-form-group { margin-bottom: 18px; }
.titan-form-group label {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #04349C;
}
.titan-form-group input,
.titan-form-group select,
.titan-form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #D1D5DB;
  border-radius: 10px;
  font-size: 14px;
  font-family: 'Roboto', sans-serif;
  color: #1F2937;
  background: #FFFFFF;
}
.titan-form-group input:focus,
.titan-form-group select:focus,
.titan-form-group textarea:focus {
  outline: none;
  border-color: #4177E6;
}
.titan-form-submit {
  width: 100%;
  padding: 14px;
  background: #4177E6;
  color: #FFFFFF;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: background-color .2s;
}
.titan-form-submit:hover { background: #04349C; }
.titan-form-msg { margin-top: 14px; font-size: 13px; color: #04349C; text-align: center; }

@media (max-width: 900px) {
  .titan-contacto-inner { grid-template-columns: 1fr; }
  .titan-contacto-form-wrap { padding: 26px; }
}

/* ===================== EMPRESA (pagina) - Quienes Somos + badges ===================== */
.titan-quienes { padding: 60px 0 0; background: #FFFFFF; }
.titan-quienes-inner {
  display: flex;
  align-items: center;
  gap: 50px;
}
.titan-quienes-text { flex: 1 1 auto; }
.titan-quienes-text h2 {
  margin: 0 0 20px;
  font-family: 'Poppins', sans-serif;
  font-size: 30px;
  font-weight: 800;
  color: #04349C;
}
.titan-quienes-text p {
  margin: 0 0 16px;
  font-size: 15px;
  line-height: 1.7;
  color: #4B5563;
}
.titan-quienes-logo {
  flex: 0 0 260px;
  max-width: 260px;
}
.titan-quienes-logo img { width: 100%; }

.titan-badges {
  display: flex;
  justify-content: center;
  gap: 60px;
  padding: 40px 0 60px;
  margin-top: 40px;
  border-top: 1px solid #E5E7EB;
}
.titan-badge-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.titan-badge-item img { width: 56px; height: 56px; object-fit: contain; }
.titan-badge-item span {
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  color: #04349C;
}

@media (max-width: 850px) {
  .titan-quienes-inner { flex-direction: column; text-align: center; }
  .titan-quienes-logo { max-width: 180px; }
  .titan-badges { gap: 30px; }
}

/* ===================== SERVICIOS (pagina) ===================== */
.titan-svc-hero {
  position: relative;
  min-height: 26vh;
  display: block;
  padding: 40px 0;
  background-size: cover;
  background-position: center;
  color: #FFFFFF;
}
.titan-svc-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(2,31,92,.75) 0%, rgba(4,52,156,.55) 50%, rgba(2,31,92,.75) 100%);
}
/* Clase propia (NO reutiliza .container) para que el margin:auto de .container
   no la centre como flex-item; ancho/inset iguales a .container pero
   independiente, texto siempre a la izquierda dentro de su propia caja. */
.titan-svc-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 15px;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-height: calc(26vh - 80px);
}
.titan-svc-hero-tag {
  display: block;
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.titan-svc-hero-inner h1 {
  margin: 0 0 14px;
  font-family: 'Poppins', sans-serif;
  font-size: 26px;
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.15;
  text-shadow: 3px 3px 8px rgba(0,0,0,.4);
}
.titan-svc-hero-btn {
  display: inline-block;
  padding: 9px 24px;
  background: #4177E6;
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: 50px;
  transition: background-color .2s, transform .2s;
}
.titan-svc-hero-btn:hover { background: #04349C; transform: translateY(-2px); }

.titan-servicios { padding: 60px 0 80px; background: #FFFFFF; }
.titan-servicios-title {
  text-align: center;
  font-family: 'Poppins', sans-serif;
  font-size: 30px;
  font-weight: 800;
  color: #04349C;
  margin: 0 0 50px;
}

.titan-svc-row {
  display: flex;
  align-items: center;
  gap: 50px;
  margin-bottom: 60px;
}
.titan-svc-derecha { flex-direction: row-reverse; }
.titan-svc-media {
  flex: 0 0 45%;
  max-width: 45%;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(4,52,156,.15);
}
.titan-svc-media img { width: 100%; display: block; }
.titan-svc-info { flex: 1 1 auto; }
.titan-svc-info h3 {
  margin: 0 0 16px;
  font-family: 'Poppins', sans-serif;
  font-size: 24px;
  font-weight: 800;
  color: #04349C;
  text-transform: uppercase;
}
.titan-svc-info p {
  margin: 0 0 24px;
  font-size: 15px;
  line-height: 1.7;
  color: #4B5563;
}
.titan-svc-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  background: #4177E6;
  color: #FFFFFF;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: 50px;
  transition: background-color .2s, transform .2s;
}
.titan-svc-btn:hover { background: #04349C; transform: translateX(4px); }

@media (max-width: 850px) {
  .titan-svc-row,
  .titan-svc-derecha { flex-direction: column; gap: 24px; }
  .titan-svc-media { max-width: 100%; flex-basis: auto; }
  .titan-svc-hero-inner h1 { font-size: 20px; }
}

/* ===================== FOOTER ===================== */
.titan-footer {
  background: #FFFFFF;
}
.titan-footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.titan-footer-col {
  border: 1px solid #FFFFFF;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.titan-footer-col.logo-col {
  background: #FFFFFF;
}
.titan-footer-col.logo-col img { max-width: 75%; margin: 0 auto; }

.titan-footer-col.info-col,
.titan-footer-col.map-col,
.titan-footer-col.menu-col {
  background: #04349C;
  color: #FFFFFF;
}
.titan-footer-col.info-col h3 {
  font-size: 15px;
  margin: 0 0 10px;
}
.titan-footer-col.info-col ul {
  text-align: left;
  margin-bottom: 15px;
}
.titan-footer-col.info-col ul li {
  font-size: 13px;
  margin-bottom: 8px;
  list-style: disc;
  margin-left: 18px;
}
.titan-footer-col.info-col .titan-footer-contact {
  font-size: 13px;
  line-height: 1.6;
}
.titan-footer-col.info-col .titan-footer-contact a { color: #FFFFFF; }

.titan-footer-col.map-col p {
  font-weight: 700;
  font-size: 13px;
  margin: 0 0 10px;
}
.titan-footer-col.map-col iframe {
  width: 100%;
  height: 200px;
  border: 0;
}

.titan-footer-col.menu-col ul li a {
  display: block;
  padding: 5px 5px 5px 15px;
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  color: #FFFFFF;
  text-align: left;
}
.titan-footer-col.menu-col ul li a:hover { text-decoration: underline; }

@media (max-width: 921px) {
  .titan-footer-grid { grid-template-columns: 1fr; }
}
