/*
Theme Name: TSA Chile
Author: Blidux
Version: 1.0
*/

/* ----------------------------------------
   BASE & RESETS
-----------------------------------------*/

:root {
  --tsa-primary: #0c3c60;
  --tsa-primary-light: #155487;
  --tsa-bg-light: #f8f9fa;
  --tsa-text: #1f2d3d;
  --tsa-text-white: #fff;
  --tsa-radius: 18px;
  --tsa-shadow: 0px 8px 24px rgba(0,0,0,0.08);
  --tsa-shadow-hover: 0px 12px 32px rgba(0,0,0,0.12);
}

html, body {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, Helvetica, Arial, sans-serif;
  background-color: var(--tsa-bg-light);
  color: var(--tsa-text);
  scroll-behavior: smooth;
}

/* Limpiar estilos de Bootstrap */



@media (max-width: 768px) {
  section {
    padding: 48px 0;
  }
}
/* ===============================
   LOGO HEADER
================================ */

.navbar-brand {
  display: flex;
  align-items: center;
}

.header-logo {
  height: 32px;        /* desktop */
  width: auto;
}

@media (max-width: 768px) {
  .header-logo {
    height: 26px;      /* mobile */
  }
}

/* ===============================
   FIX MENU WORDPRESS + BOOTSTRAP
================================ */

.navbar-nav li {
  list-style: none;
}

.navbar-nav li > a,
.navbar-nav li > a > .nav-link {
  display: block;
  padding: 8px 12px;
  font-weight: 500;
  color: var(--tsa-text) !important;
  text-decoration: none;
  transition: opacity .2s ease;
}

.navbar-nav li > a:hover,
.navbar-nav li > a:hover > .nav-link {
  opacity: .6;
}

/* Item activo */
.navbar-nav .current-menu-item > a,
.navbar-nav .current-menu-item > a > .nav-link {
  color: var(--tsa-primary) !important;
  font-weight: 700;
}

/* -----------------------------------------
   SISTEMA DE BOTONES TSA (UNIFICADO)
----------------------------------------- */

.btn-tsa-primary {
  background-color: #0c3c60;
  color: #fff;
  padding: 14px 32px;
  border-radius: 16px;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: all .25s ease;
  border: none;
}

.btn-tsa-primary:hover {
  background-color: #0a2f4a;
  transform: translateY(-3px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
}

.btn-tsa-outline {
  border: 2px solid #0c3c60;
  color: #0c3c60;
  padding: 12px 28px;
  border-radius: 16px;
  text-decoration: none;
  font-weight: 600;
  transition: all .25s ease;
}

.btn-tsa-outline:hover {
  background-color: #0c3c60;
  color: #fff;
  transform: translateY(-3px);
}


/* ----------------------------------------
   NAVBAR
-----------------------------------------*/

.navbar {
  background: #fff !important;
  box-shadow: 0 1px 8px rgba(0,0,0,0.06);
  padding: 14px 0 !important;
}

.navbar-brand img {
  height: 30px;
}

.nav-link {
  font-weight: 500;
  margin: 0 10px;
  color: var(--tsa-text) !important;
  transition: opacity .2s;
}

.nav-link:hover {
  opacity: .6;
}

.language-toggle {
  cursor: pointer;
  padding: 8px !important;
  display: flex;
  align-items: center;
  justify-content: center;
}

.language-toggle svg {
  transition: transform 0.3s ease;
}

.language-toggle:hover svg {
  transform: scale(1.1);
}

.language-menu {
  min-width: 120px;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  border: none;
  padding: 8px 0;
}

.lang-option {
  padding: 10px 20px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.lang-option:hover {
  background-color: #f8f9fa;
  color: var(--tsa-primary);
}

.lang-option.active {
  background-color: var(--tsa-primary);
  color: white;
}

.lang-option.active:hover {
  background-color: var(--tsa-primary-light);
  color: white;
}

/* ----------------------------------------
   HERO COMERCIAL
-----------------------------------------*/

.tsa-hero-commercial {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 120px 0 80px;
}

.tsa-hero-commercial .hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.tsa-hero-commercial video,
.tsa-hero-commercial img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tsa-hero-commercial::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(12, 60, 96, 0.92) 0%, rgba(21, 84, 135, 0.88) 100%);
  z-index: 2;
}

.hero-commercial-content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  color: white;
  animation: fadeInUp 1s ease-out;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 10px 20px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 24px;
  color: white;
}

.hero-badge svg {
  color: #4ade80;
}

.hero-main-title {
  font-size: 4rem;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 24px;
  color: white;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
  font-size: 1.35rem;
  line-height: 1.6;
  margin-bottom: 40px;
  color: rgba(255, 255, 255, 0.95);
  max-width: 750px;
  margin-left: auto;
  margin-right: auto;
}

.hero-cta-group {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: white;
  color: #0c3c60;
  padding: 18px 36px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.1rem;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.btn-hero-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
  color: #0c3c60;
}

.btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: white;
  padding: 18px 36px;
  border-radius: 50px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  font-weight: 700;
  font-size: 1.1rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-hero-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: white;
  transform: translateY(-3px);
  color: white;
}

.hero-trust-badges {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  font-size: 0.95rem;
}

.trust-item svg {
  color: #fbbf24;
  flex-shrink: 0;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  animation: bounce 2s infinite;
}

.hero-scroll-indicator svg {
  color: white;
  opacity: 0.7;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-10px);
  }
  60% {
    transform: translateX(-50%) translateY(-5px);
  }
}

@media (max-width: 992px) {
  .tsa-hero-commercial {
    padding: 100px 0 60px;
    min-height: 80vh;
  }

  .hero-main-title {
    font-size: 2.8rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .hero-cta-group {
    flex-direction: column;
    align-items: center;
  }

  .btn-hero-primary,
  .btn-hero-secondary {
    width: 100%;
    max-width: 320px;
    justify-content: center;
  }

  .hero-trust-badges {
    flex-direction: column;
    gap: 16px;
  }
}

/* ----------------------------------------
   PROPUESTA DE VALOR
-----------------------------------------*/

.value-proposition {
  padding: 100px 0;
  background: white;
}

.value-content {
  padding-right: 20px;
}

.value-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--tsa-primary);
  margin-bottom: 20px;
  line-height: 1.2;
}

.value-description {
  font-size: 1.15rem;
  color: #64748b;
  margin-bottom: 40px;
  line-height: 1.7;
}

.value-points {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 32px;
}

.value-point {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.value-point-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #0c3c60 0%, #155487 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.value-point-text h4 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--tsa-primary);
  margin-bottom: 6px;
}

.value-point-text p {
  font-size: 0.95rem;
  color: #64748b;
  margin: 0;
}

.btn-value-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--tsa-primary);
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-value-link:hover {
  gap: 12px;
  color: var(--tsa-primary-light);
}

.value-image-wrapper {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.value-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 24px;
}

.value-floating-card {
  position: absolute;
  bottom: 30px;
  right: 30px;
  background: white;
  padding: 24px 32px;
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
  animation: float 3s ease-in-out infinite;
}

.floating-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.floating-number {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--tsa-primary);
  line-height: 1;
}

.floating-label {
  font-size: 0.9rem;
  color: #64748b;
  font-weight: 600;
  margin-top: 8px;
  text-align: center;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@media (max-width: 992px) {
  .value-proposition {
    padding: 60px 0;
  }

  .value-title {
    font-size: 2rem;
  }

  .value-description {
    font-size: 1rem;
  }

  .value-content {
    padding-right: 0;
    margin-bottom: 40px;
  }

  .value-floating-card {
    bottom: 20px;
    right: 20px;
    padding: 16px 20px;
  }

  .floating-number {
    font-size: 2rem;
  }

  .floating-label {
    font-size: 0.8rem;
  }
}

/* ----------------------------------------
   CIFRAS DESTACADAS
-----------------------------------------*/

.tsa-stats {
  background: linear-gradient(135deg, #0c3c60 0%, #155487 100%);
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}

.tsa-stats::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
  pointer-events: none;
}

.stat-card {
  text-align: center;
  padding: 24px;
  position: relative;
  z-index: 1;
}

.stat-number {
  font-size: 3.5rem;
  font-weight: 800;
  color: white;
  line-height: 1;
  margin-bottom: 12px;
  font-variant-numeric: tabular-nums;
}

.stat-number::after {
  content: '+';
  font-size: 2.5rem;
  margin-left: 4px;
  opacity: 0.9;
}

.stat-label {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

@media (max-width: 768px) {
  .tsa-stats {
    padding: 40px 0;
  }

  .stat-card {
    padding: 16px;
  }

  .stat-number {
    font-size: 2.5rem;
  }

  .stat-number::after {
    font-size: 1.8rem;
  }

  .stat-label {
    font-size: 0.85rem;
  }
}


/* ----------------------------------------
   CARDS
-----------------------------------------*/

.card-wow {
  border: none;
  border-radius: var(--tsa-radius);
  box-shadow: var(--tsa-shadow);
  padding: 32px;
  background: #fff;
  transition: all .25s ease;
}

.card-wow:hover {
  transform: translateY(-6px);
  box-shadow: var(--tsa-shadow-hover);
}

.card-wow h4 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 12px;
}

/* ----------------------------------------
   PRODUCTOS (CATÁLOGO)
-----------------------------------------*/

.product-card {
  background: white;
  border-radius: 18px;
  padding: 22px;
  border: 1px solid #e2e8f0;
  transition: all 0.25s ease;
  height: 100%;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.animal-badge {
  display: inline-block;
  background: #004272;
  color: white;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 0.7rem;
  margin-right: 4px;
}


.product-fade-in {
  animation: productFadeIn 0.5s ease-out forwards;
}

@keyframes productFadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ----------------------------------------
   SECCIÓN MARCAS
-----------------------------------------*/

.marcas-section {
  background: #fff;
  padding: 80px 0;
}

.marcas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 40px;
  align-items: center;
  justify-items: center;
  margin: 0 auto;
}

.marca-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  transition: all 0.3s ease;
}

.marca-item img {
  max-width: 100%;
  height: auto;
  filter: grayscale(100%);
  opacity: 0.6;
  transition: all 0.3s ease;
}

.marca-item:hover img {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .marcas-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }

  .marcas-section {
    padding: 60px 0;
  }
}

/* ----------------------------------------
   BOTÓN FLOTANTE WHATSAPP
-----------------------------------------*/

.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
  z-index: 9999;
  transition: all 0.3s ease;
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
  color: #fff;
}

.whatsapp-float svg {
  width: 32px;
  height: 32px;
}

@media (max-width: 768px) {
  .whatsapp-float {
    width: 56px;
    height: 56px;
    bottom: 20px;
    right: 20px;
  }

  .whatsapp-float svg {
    width: 28px;
    height: 28px;
  }
}

/* ----------------------------------------
   FORMULARIOS
-----------------------------------------*/

.form-control {
  border-radius: var(--tsa-radius);
  padding: 14px;
  border: 1px solid #dce1e6;
}

.form-control:focus {
  border-color: var(--tsa-primary);
  box-shadow: 0 0 0 3px rgba(12,60,96,.15);
}

/* ----------------------------------------
   FOOTER
-----------------------------------------*/

.tsa-footer {
  background: #0c3c60;
  color: #fff;
  padding: 60px 0 0;
}

.footer-logo {
  height: 40px;
  filter: brightness(0) invert(1);
  margin-bottom: 16px;
}

.footer-descripcion {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  line-height: 1.6;
}

.footer-titulo {
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 20px;
}

.footer-lista {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-lista li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  line-height: 1.6;
}

.footer-lista li svg {
  flex-shrink: 0;
  margin-top: 2px;
  opacity: 0.8;
}

.footer-lista a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-lista a:hover {
  color: #fff;
}

.footer-direccion {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  line-height: 1.8;
  display: flex;
  gap: 12px;
}

.footer-direccion svg {
  flex-shrink: 0;
  margin-top: 2px;
  opacity: 0.8;
}

.footer-bottom {
  margin-top: 48px;
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.footer-bottom p {
  margin: 0;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

@media (max-width: 992px) {
  .tsa-footer {
    padding: 48px 0 0;
  }

  .footer-logo {
    height: 35px;
  }
}

/* ----------------------------------------
   ANIMACIONES WOW
-----------------------------------------*/

.fade-up {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp .6s ease forwards;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  opacity: 0;
  animation: fadeIn .8s ease forwards;
}

@keyframes fadeIn {
  to { opacity: 1; }
}
/* ----------------------------------------
   HERO CON VIDEO O IMAGEN DE FONDO
-----------------------------------------*/

.hero-bg {
  position: relative;
  overflow: hidden;
  padding: 0;
  color: #fff;
}

/* Fondo con video */
.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  z-index: 1;
  object-fit: cover;
  opacity: 0.85;
}

/* Fondo con imagen */
.hero-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 1;
  opacity: 0.9;
}

/* Overlay */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .45);
  z-index: 2;
  backdrop-filter: blur(3px);
}

/* Contenido por encima */
.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
}

.hero-content h1 {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.1;
}

.hero-content p {
  font-size: 1.2rem;
  opacity: .9;
}

@media (max-width: 768px) {
  .hero-bg {
    padding: 120px 0 110px;
  }
  .hero-content h1 {
    font-size: 2.2rem;
  }
  .hero-content p {
    font-size: 1rem;
  }
}

/* ----------------------------------------
   SECCIÓN TESTIMONIOS
-----------------------------------------*/

.testimonios-section {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  padding: 80px 0;
}

.testimonio-card {
  background: #fff;
  border-radius: var(--tsa-radius);
  padding: 48px 40px;
  margin: 0 auto;
  max-width: 800px;
  box-shadow: var(--tsa-shadow);
  position: relative;
  min-height: 320px;
}

.comillas {
  font-size: 80px;
  line-height: 1;
  color: var(--tsa-primary);
  opacity: 0.15;
  font-family: Georgia, serif;
  position: absolute;
  top: 30px;
  left: 30px;
  font-weight: 700;
}

.testimonio-texto {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--tsa-text);
  margin-bottom: 32px;
  position: relative;
  z-index: 1;
  font-style: italic;
}

.testimonio-autor {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: auto;
}

.autor-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--tsa-primary) 0%, var(--tsa-primary-light) 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.autor-info h5 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--tsa-primary);
}

.autor-info p {
  margin: 4px 0 0;
  font-size: 0.9rem;
  color: #666;
  opacity: 0.8;
}

.carousel-indicators {
  margin-bottom: -40px;
}

.carousel-indicators button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: var(--tsa-primary);
  opacity: 0.3;
  border: none;
}

.carousel-indicators button.active {
  opacity: 1;
}

.carousel-control-prev,
.carousel-control-next {
  width: 48px;
  height: 48px;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
  opacity: 1;
}

.carousel-control-prev {
  left: -60px;
}

.carousel-control-next {
  right: -60px;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  width: 32px;
  height: 32px;
  background-color: var(--tsa-primary);
  border-radius: 50%;
  padding: 8px;
}

@media (max-width: 992px) {
  .carousel-control-prev {
    left: 10px;
  }

  .carousel-control-next {
    right: 10px;
  }
}

@media (max-width: 768px) {
  .testimonios-section {
    padding: 60px 0;
  }

  .testimonio-card {
    padding: 32px 24px;
    min-height: 280px;
  }

  .comillas {
    font-size: 60px;
    top: 15px;
    left: 20px;
  }

  .testimonio-texto {
    font-size: 1rem;
    margin-bottom: 24px;
  }

  .autor-avatar {
    width: 48px;
    height: 48px;
    font-size: 1rem;
  }

  .autor-info h5 {
    font-size: 1rem;
  }

  .autor-info p {
    font-size: 0.85rem;
  }
}/* -----------------------------------------------------
   ULTRA WOW CTA — TSA Premium Module
------------------------------------------------------*/

.tsa-ultra-cta {
  padding: 140px 0;
  position: relative;
  overflow: hidden;
}

/* Fondo suave gradiente */
.tsa-ultra-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #eef6ff 0%, #e4f2ff 45%, #f8fbff 100%);
  border-radius: 48px;
  transform: scale(0.97);
  z-index: -1;
}

/* Línea vertical animada */
.cta-line {
  position: absolute;
  left: 50%;
  top: 20px;
  width: 3px;
  height: 120px;
  background: #0c3c6070;
  border-radius: 2px;
  animation: linePulse 2.5s infinite ease-in-out;
}
@keyframes linePulse {
  0% { transform: scaleY(1); opacity: .6; }
  50% { transform: scaleY(1.4); opacity: 1; }
  100% { transform: scaleY(1); opacity: .6; }
}

.ultra-box {
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(12px);
  border-radius: 40px;
  box-shadow: 0 32px 64px rgba(0,0,0,0.07);
  overflow: hidden;
}

/* Textos */
.ultra-title {
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1.2;
  color: #0c3c60;
}

.ultra-desc {
  max-width: 540px;
  font-size: 1.2rem;
  line-height: 1.6;
  color: #2c3b4a;
}

/* CTA SECUNDARIO */
.ultra-btn-secondary {
  padding: 14px 32px;
  border-radius: 16px;
  font-size: 1.05rem;
}

/* -----------------------------------------------------
   BUTTON LIQUID (CTA PRINCIPAL)
------------------------------------------------------*/

.liquid-btn {
  position: relative;
  overflow: hidden;
  padding: 14px 32px;
  border-radius: 16px;
  background: #0c3c60;
  color: #fff;
  font-weight: 600;
  font-size: 1.05rem;
  display: inline-block;
  text-decoration: none;
  cursor: pointer;
  z-index: 1;
}

.liquid-btn .liquid-bg {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 50%, #0f4f80, #0c3c60);
  transform: scale(1.6);
  transition: transform .45s ease;
  z-index: -1;
}

.liquid-btn:hover .liquid-bg {
  transform: scale(1);
}

/* -----------------------------------------------------
   PARALLAX MOCKUP
------------------------------------------------------*/

.ultra-media {
  position: relative;
  width: 100%;
  max-width: 520px;
}

.media-parallax-layer {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 30px;
  opacity: 0.2;
}

.layer-back {
  background: #d8e8ff;
  top: -20px;
  left: -20px;
}

.layer-middle {
  background: #cfe2ff;
  top: -10px;
  left: -10px;
}

.media-frame {
  background: #e7f1ff;
  padding: 24px;
  border-radius: 32px;
  width: 100%;
  box-shadow: 0 18px 38px rgba(0,0,0,0.06);
  position: relative;
  z-index: 5;
}

.mockup-img {
  width: 100%;
  border-radius: 22px;
}

/* PARALLAX JS ANIMATION */
[data-parallax] {
  transform-style: preserve-3d;
  perspective: 1000px;
}
[data-parallax] .media-frame {
  transition: transform .2s ease-out;
}

/* Responsive */
@media (max-width: 768px) {
  .ultra-title {
    font-size: 2rem;
  }
  .ultra-desc {
    font-size: 1.05rem;
  }
  .cta-line {
    display: none;
  }
}
/* ---------------------------------------------------------
   BENEFICIOS PREMIUM TSA (Estilo Banco de Chile / Fintual)
----------------------------------------------------------*/

/* ----------------------------------------
   SERVICIOS PREMIUM TSA (NUEVO DISEÑO)
-----------------------------------------*/

.tsa-services-new {
  padding: 100px 0;
  background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
}

.services-main-title {
  text-align: center;
  font-size: 2.75rem;
  font-weight: 800;
  color: #0c3c60;
  margin-bottom: 60px;
  line-height: 1.2;
}

@media (max-width: 768px) {
  .services-main-title {
    font-size: 2rem;
    margin-bottom: 40px;
  }
}

/* Service Cards con imagen de fondo */
.service-card {
  position: relative;
  height: 480px;
  border-radius: 24px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
}

.service-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.service-card-disabled {
  opacity: 0.9;
}

.service-card-disabled:hover {
  transform: translateY(-4px);
}

/* Overlay con gradiente */
.service-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    180deg,
    rgba(12, 60, 96, 0.3) 0%,
    rgba(12, 60, 96, 0.85) 70%,
    rgba(12, 60, 96, 0.95) 100%
  );
  transition: background 0.4s ease;
}

.service-card:hover .service-overlay {
  background: linear-gradient(
    180deg,
    rgba(12, 60, 96, 0.4) 0%,
    rgba(12, 60, 96, 0.9) 70%,
    rgba(12, 60, 96, 1) 100%
  );
}

/* Contenido de la card */
.service-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 40px;
  color: white;
}

/* Badge "Pronto disponible" */
.service-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: linear-gradient(135deg, #0c3c60 0%, #155487 100%);
  color: white;
  padding: 10px 20px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 14px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Iconos grandes */
.service-icon {
  width: 80px;
  height: 80px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transition: all 0.3s ease;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.service-card:hover .service-icon {
  background: rgba(255, 255, 255, 0.25);
  transform: scale(1.1);
  border-color: rgba(255, 255, 255, 0.5);
}

.service-icon svg {
  stroke: white;
}

/* Títulos de servicios */
.service-title {
  font-size: 1.75rem;
  font-weight: 800;
  color: white;
  margin-bottom: 12px;
  line-height: 1.2;
}

/* Descripciones */
.service-description {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  margin-bottom: 24px;
}

/* Links de "Conoce más" */
.service-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: white;
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
  transition: gap 0.3s ease, color 0.3s ease;
  padding: 12px 0;
}

.service-link:hover {
  gap: 14px;
  color: #ffd700;
}

.service-link svg {
  transition: transform 0.3s ease;
}

.service-link:hover svg {
  transform: translateX(4px);
}

/* CTA Section - Conocer Historia */
.services-cta {
  margin-top: 80px;
  background: linear-gradient(135deg, #0c3c60 0%, #155487 100%);
  border-radius: 28px;
  padding: 60px;
  box-shadow: 0 20px 60px rgba(12, 60, 96, 0.3);
  position: relative;
  overflow: hidden;
}

.services-cta::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.services-cta-content {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
}

.services-cta-text {
  flex: 1;
  color: white;
}

.services-cta-text h3 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 16px;
  line-height: 1.3;
}

.services-cta-text p {
  font-size: 1.1rem;
  opacity: 0.9;
  line-height: 1.6;
}

.services-cta-buttons {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}

.services-cta-buttons .btn-tsa-primary {
  background: white;
  color: #0c3c60;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.services-cta-buttons .btn-tsa-primary:hover {
  background: #f0f0f0;
  transform: translateY(-2px);
}

.services-cta-buttons .btn-tsa-outline {
  border-color: white;
  color: white;
  white-space: nowrap;
}

.services-cta-buttons .btn-tsa-outline:hover {
  background: white;
  color: #0c3c60;
}

/* Responsive */
@media (max-width: 992px) {
  .service-card {
    height: 420px;
  }

  .services-cta {
    padding: 40px;
  }

  .services-cta-content {
    flex-direction: column;
    text-align: center;
  }

  .services-cta-buttons {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .service-card {
    height: 380px;
  }

  .service-content {
    padding: 30px;
  }

  .service-icon {
    width: 64px;
    height: 64px;
  }

  .service-icon svg {
    width: 36px;
    height: 36px;
  }

  .service-title {
    font-size: 1.5rem;
  }

  .services-cta {
    padding: 30px;
  }

  .services-cta-text h3 {
    font-size: 1.5rem;
  }

  .services-cta-text p {
    font-size: 1rem;
  }

  .services-cta-buttons {
    flex-direction: column;
    width: 100%;
  }

  .services-cta-buttons a {
    width: 100%;
    justify-content: center;
  }
}

/* ----------------------------------------
   NOTICIAS Y TIPS
-----------------------------------------*/

.news-tips-section {
  padding: 100px 0;
  background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-title {
  font-size: 2.75rem;
  font-weight: 800;
  color: #0c3c60;
  margin-bottom: 16px;
  line-height: 1.2;
}

.section-subtitle {
  font-size: 1.15rem;
  color: #5a6c7d;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Filter Tabs */
.news-tips-filters {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 50px;
  flex-wrap: wrap;
}

.filter-btn {
  background: white;
  border: 2px solid #e0e6ed;
  color: #5a6c7d;
  padding: 12px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  outline: none;
}

.filter-btn:hover {
  border-color: #0c3c60;
  color: #0c3c60;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(12, 60, 96, 0.15);
}

.filter-btn.active {
  background: linear-gradient(135deg, #0c3c60 0%, #155487 100%);
  border-color: #0c3c60;
  color: white;
  box-shadow: 0 4px 16px rgba(12, 60, 96, 0.25);
}

/* News & Tips Grid */
.news-tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 30px;
}

/* Loading Spinner */
.loading-spinner {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 0;
  gap: 20px;
}

.spinner {
  width: 50px;
  height: 50px;
  border: 4px solid #e0e6ed;
  border-top-color: #0c3c60;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.loading-spinner p {
  color: #5a6c7d;
  font-size: 1rem;
  font-weight: 500;
}

/* News/Tip Card */
.news-tip-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.4s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.news-tip-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.card-image-wrapper {
  position: relative;
  width: 100%;
  height: 240px;
  overflow: hidden;
}

.card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.news-tip-card:hover .card-image {
  transform: scale(1.1);
}

.card-category {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.card-category.news {
  background: linear-gradient(135deg, rgba(21, 84, 135, 0.95) 0%, rgba(12, 60, 96, 0.95) 100%);
  color: white;
}

.card-category.tip {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.95) 0%, rgba(5, 150, 105, 0.95) 100%);
  color: white;
}

.card-content {
  padding: 28px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.card-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: #0c3c60;
  margin-bottom: 12px;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-excerpt {
  font-size: 1rem;
  color: #5a6c7d;
  line-height: 1.6;
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex-grow: 1;
}

.card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid #e0e6ed;
}

.card-author {
  font-size: 0.9rem;
  color: #5a6c7d;
  font-weight: 500;
}

.card-date {
  font-size: 0.85rem;
  color: #9ca3af;
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.tag {
  background: #f0f4f8;
  color: #0c3c60;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 600;
}

/* Modal Styles */
.modal-category.news {
  background: linear-gradient(135deg, #1554a3 0%, #0c3c60 100%);
  color: white;
}

.modal-category.tip {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: white;
}

#newsDetailModal .modal-content-wrapper {
  max-height: 600px;
  overflow-y: auto;
}

#newsDetailModal .btn-close:hover {
  transform: rotate(90deg);
  transition: transform 0.3s ease;
}

/* Empty State */
.empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 80px 20px;
}

.empty-state-icon {
  font-size: 4rem;
  margin-bottom: 20px;
}

.empty-state-text {
  font-size: 1.2rem;
  color: #5a6c7d;
  font-weight: 500;
}

/* News/Tips Responsive */
@media (max-width: 992px) {
  .news-tips-grid {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  }

  .news-tips-section .section-title {
    font-size: 2.25rem;
  }
}

@media (max-width: 768px) {
  .news-tips-section {
    padding: 60px 0;
  }

  .news-tips-grid {
    grid-template-columns: 1fr;
  }

  .news-tips-section .section-title {
    font-size: 2rem;
  }

  .section-subtitle {
    font-size: 1rem;
  }

  .card-image-wrapper {
    height: 200px;
  }

  .filter-btn {
    padding: 10px 24px;
    font-size: 0.9rem;
  }
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .beneficios-box {
    padding: 40px 25px;
  }

  .beneficios-title {
    font-size: 1.6rem;
  }
}
.tsa-cta-proyecto {
  padding: 100px 0;
}

.cta-box {
  background: #eef4fc;
  border-radius: 32px;
  overflow: hidden;
}

.cta-title {
  color: #0c3c60;
  font-size: 2rem;
  font-weight: 800;
}

.cta-desc {
  color: #3b4d60;
  font-size: 1.05rem;
  max-width: 470px;
}

.media-frame {
  background: #dce9f9;
  padding: 20px;
  border-radius: 24px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.08);
}/* ============================= */
/* ESTILOS CHIPS WOW PRO         */
/* ============================= */

.chip {
  display: inline-block;
  background: #e8edf5;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
  color: #0c3c60;
  cursor: pointer;
  white-space: nowrap;
  transition: all .2s ease;
  margin-right: 8px;
}

.chip:hover {
  background: #d8e4f4;
}

.chip.active {
  background: #0c3c60;
  color: #fff;
}

/* Contenedor scroll horizontal */
.catalogo-chips {
  overflow-x: auto;
  padding-bottom: 8px;
}
.catalogo-chips::-webkit-scrollbar {
  display:none;
}
/* ==========================================
   CHIPS TSA (UNIFICADO)
========================================== */
.chip {
  display: inline-block;
  padding: 8px 18px;
  background: #ffffff;
  border: 1px solid #dce5ef;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 500;
  color: #0c3c60;
  cursor: pointer;
  margin-right: 8px;
  margin-bottom: 8px;
  transition: all .25s ease;
  white-space: nowrap;
}

.chip:hover {
  background: #eef4ff;
  border-color: #bcd0e8;
}

.chip.active {
  background: #0c3c60;
  color: #fff;
  border-color: #0a2f4a;
  box-shadow: 0 6px 14px rgba(12,60,96,0.2);
}

.chip.disabled {
  opacity: 0.35;
  cursor: not-allowed;
  pointer-events: none;
}

/* Contenedor scroll horizontal */
.catalogo-chips {
  overflow-x: auto;
  padding-bottom: 6px;
  display: flex;
  gap: 8px;
}
.catalogo-chips::-webkit-scrollbar { display: none; }


/* ==========================================
   CARDS PRODUCTOS TSA (UNIFICADO)
========================================== */
.product-card {
  background: #fff;
  border-radius: 18px;
  padding: 22px;
  border: 1px solid #e2e8f0;
  transition: all 0.25s ease;
  height: 100%;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 25px rgba(12,60,96,0.12);
}

.product-card h5 {
  color: #0c3c60;
}


/* ==========================================
   BADGES
========================================== */
.animal-badge {
  background: #eaf3ff;
  color: #0c3c60;
  padding: 4px 10px;
  border-radius: 14px;
  font-size: 12px;
  margin-right: 6px;
}


/* ==========================================
   PANEL VENDEDOR PREMIUM
========================================== */
.modo-vendedor-panel {
  position: fixed;
  top: 90px;
  right: 20px;
  width: 320px;
  background: #fff;
  border-radius: 16px;
  padding: 20px;
  border: 1px solid #dce5ef;
  box-shadow: 0 12px 32px rgba(0,0,0,0.12);
  z-index: 9900;
}

.vendedor-items {
  max-height: 60vh;
  overflow-y: auto;
}

.vendedor-item {
  background: #f8fbff;
  border-left: 4px solid #0c3c60;
  padding: 10px 14px;
  border-radius: 10px;
  margin-bottom: 6px;

  display: flex;
  justify-content: space-between;
  align-items: center;
}

.vendedor-item button {
  background: none;
  border: none;
  color: #0c3c60;
  font-size: 18px;
  cursor: pointer;
  opacity: 0.7;
}

.vendedor-item button:hover {
  opacity: 1;
}


/* ==========================================
   BUSCADOR PREMIUM
========================================== */
.catalogo-search {
  width: 100%;
  padding: 14px 20px;
  border-radius: 28px;
  border: 1px solid #d0d7e5;
  font-size: 15px;
  transition: all .25s;
}

.catalogo-search:focus {
  border-color: #0c3c60;
  box-shadow: 0 0 0 3px rgba(12,60,96,0.15);
}
.product-fade {
  opacity: 0;
  transform: translateY(15px);
  transition: all .35s ease;
}

.product-fade.show {
  opacity: 1;
  transform: translateY(0);
}

/* =============================== */
/* BUSCADOR TOP                    */
/* =============================== */

.catalogo-toolbar {
  position: relative;
}

.search-bar-wrapper {
  display: flex;
  gap: 12px;
  align-items: center;
}

.catalogo-search {
  flex-grow: 1;
  padding: 14px 20px;
  border-radius: 14px;
  border: 1px solid #cfd7e5;
  font-size: 15px;
}

.btn-filtros {
  background: #0c3c60;
  color: #fff;
  padding: 10px 18px;
  border-radius: 12px;
  border: none;
  font-weight: 600;
  transition: .2s ease;
}

.btn-filtros:hover {
  background: #092c49;
}

/* =============================== */
/* PANEL DE FILTROS DESPLEGABLE   */
/* =============================== */

.panel-filtros {
  background: #ffffff;
  border: 1px solid #dbe3ee;
  padding: 18px 18px 22px;
  border-radius: 16px;
  margin-top: 12px;
  display: none;

  box-shadow: 0 12px 28px rgba(0,0,0,0.06);
  animation: fadeDown .25s ease forwards;
}

.panel-filtros.open {
  display: block;
}

@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: translateY(0); }
}

.filtro-grupo {
  margin-bottom: 16px;
}

.filtro-grupo label {
  font-weight: 600;
  font-size: 0.9rem;
  color: #0c3c60;
  margin-bottom: 5px;
  display: block;
}

/* =============================== */
/* CONTADOR DE RESULTADOS         */
/* =============================== */

.contador-wrapper {
  font-size: 0.9rem;
  font-weight: 600;
  color: #0c3c60;
}

/* =============================== */
/* ANIMACIÓN CARDS                */
/* =============================== */

.fade-in {
  animation: fadeInCards .4s ease forwards;
  opacity: 0;
}

@keyframes fadeInCards {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ==========================================
   CATÁLOGO MINIMALISTA
========================================== */

.catalogo-hero {
  background: linear-gradient(135deg, #0c3c60 0%, #155487 100%);
  padding: 140px 0 80px;
  margin-top: 70px;
  position: relative;
}

.catalogo-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(12, 60, 96, 0.6);
  z-index: 1;
}

.catalogo-hero-content {
  text-align: center;
  color: #fff;
  position: relative;
  z-index: 2;
}

.catalogo-hero-content h1 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.catalogo-hero-content p {
  font-size: 1.2rem;
  opacity: 0.9;
}

.catalogo-section {
  padding: 60px 0 100px;
  background: #f8f9fa;
}

.catalogo-search-box {
  background: #fff;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  margin-bottom: 24px;
  display: flex;
  gap: 12px;
  align-items: center;
}

.catalogo-search-input {
  flex: 1;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  padding: 14px 20px;
  font-size: 15px;
  transition: all 0.3s ease;
}

.catalogo-search-input:focus {
  outline: none;
  border-color: #0c3c60;
  box-shadow: 0 0 0 4px rgba(12, 60, 96, 0.1);
}

.btn-filtros-toggle {
  background: #0c3c60;
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 14px 24px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.btn-filtros-toggle:hover {
  background: #155487;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(12, 60, 96, 0.3);
}

.panel-filtros-avanzados {
  background: #fff;
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: all 0.4s ease;
}

.panel-filtros-avanzados.show {
  max-height: 500px;
  opacity: 1;
  margin-bottom: 24px;
}

.filtro-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: #0c3c60;
  margin-bottom: 8px;
}

.filtro-select {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e2e8f0;
  border-radius: 10px;
  font-size: 14px;
  transition: all 0.3s ease;
  background: #fff;
}

.filtro-select:focus {
  outline: none;
  border-color: #0c3c60;
  box-shadow: 0 0 0 4px rgba(12, 60, 96, 0.1);
}

.filtros-actions {
  margin-top: 20px;
  text-align: right;
}

.btn-limpiar-filtros {
  background: transparent;
  border: 2px solid #e2e8f0;
  color: #64748b;
  padding: 10px 24px;
  border-radius: 10px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-limpiar-filtros:hover {
  border-color: #0c3c60;
  color: #0c3c60;
  background: #f8f9fa;
}

.catalogo-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
}

.contador-resultados {
  font-size: 1rem;
  font-weight: 600;
  color: #0c3c60;
}

.btn-modo-vendedor {
  background: #fff;
  border: 2px solid #0c3c60;
  color: #0c3c60;
  padding: 10px 20px;
  border-radius: 10px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.btn-modo-vendedor:hover {
  background: #0c3c60;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(12, 60, 96, 0.3);
}

.catalogo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

.producto-card {
  background: #fff;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0;
  animation: fadeInProduct 0.5s ease forwards;
  display: flex;
  flex-direction: column;
}

@keyframes fadeInProduct {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.producto-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(12, 60, 96, 0.15);
}

.producto-header {
  display: flex;
  justify-content: space-between;
  align-items: start;
  margin-bottom: 12px;
  gap: 12px;
}

.producto-nombre {
  font-size: 1.25rem;
  font-weight: 700;
  color: #0c3c60;
  margin: 0;
  flex: 1;
}

.producto-marca-badge {
  background: linear-gradient(135deg, #0c3c60 0%, #155487 100%);
  color: #fff;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
}

.producto-categoria {
  color: #64748b;
  font-size: 0.9rem;
  margin-bottom: 12px;
  font-weight: 500;
}

.producto-descripcion {
  color: #475569;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 16px;
  flex: 1;
}

.producto-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}

.producto-actions {
  display: flex;
  gap: 8px;
  margin-top: auto;
}

.btn-ver-detalle {
  flex: 1;
  background: #0c3c60;
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 12px 20px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-ver-detalle:hover {
  background: #155487;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(12, 60, 96, 0.3);
}

.btn-agregar {
  width: 48px;
  height: 48px;
  background: #fff;
  border: 2px solid #0c3c60;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  color: #0c3c60;
}

.btn-agregar:hover {
  background: #0c3c60;
  color: #fff;
  transform: rotate(90deg);
}

.mensaje-vacio {
  text-align: center;
  padding: 80px 20px;
  color: #64748b;
}

.mensaje-vacio svg {
  opacity: 0.3;
  margin-bottom: 24px;
}

.mensaje-vacio h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #0c3c60;
  margin-bottom: 12px;
}

.mensaje-vacio p {
  font-size: 1rem;
  color: #64748b;
}

.panel-modo-vendedor {
  position: fixed;
  right: 0;
  top: 70px;
  bottom: 0;
  width: 400px;
  background: #fff;
  box-shadow: -4px 0 24px rgba(0,0,0,0.1);
  display: none;
  flex-direction: column;
  z-index: 1000;
  animation: slideInRight 0.3s ease;
}

@keyframes slideInRight {
  from {
    transform: translateX(100%);
  }
  to {
    transform: translateX(0);
  }
}

.panel-header {
  padding: 24px;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.panel-header h4 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #0c3c60;
  margin: 0;
}

.btn-cerrar-panel {
  background: transparent;
  border: none;
  font-size: 2rem;
  color: #64748b;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  transition: all 0.3s ease;
  line-height: 1;
}

.btn-cerrar-panel:hover {
  background: #f8f9fa;
  color: #0c3c60;
}

.panel-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
}

.lista-vendedor {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.vendedor-item {
  background: #f8f9fa;
  border-radius: 12px;
  padding: 16px;
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 12px;
  animation: fadeInItem 0.3s ease;
}

@keyframes fadeInItem {
  from {
    opacity: 0;
    transform: translateX(20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.vendedor-item-content {
  flex: 1;
}

.vendedor-item-content h6 {
  font-size: 1rem;
  font-weight: 700;
  color: #0c3c60;
  margin: 0 0 4px 0;
}

.vendedor-item-content p {
  font-size: 0.85rem;
  color: #64748b;
  margin: 0;
}

.btn-eliminar-item {
  background: transparent;
  border: none;
  color: #ef4444;
  font-size: 1.5rem;
  width: 32px;
  height: 32px;
  border-radius: 6px;
  transition: all 0.3s ease;
  line-height: 1;
}

.btn-eliminar-item:hover {
  background: #fee2e2;
}

.lista-vacia {
  text-align: center;
  padding: 40px 20px;
  color: #94a3b8;
}

.panel-footer {
  padding: 16px;
  border-top: 1px solid #e2e8f0;
}

.btn-enviar-whatsapp {
  width: 100%;
  background: #25d366;
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 14px 24px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.btn-enviar-whatsapp:hover {
  background: #20ba5a;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.modal-producto {
  border-radius: 20px;
  border: none;
}

.modal-producto .modal-header {
  border-bottom: 1px solid #e2e8f0;
  padding: 24px;
}

.modal-producto .modal-header h4 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #0c3c60;
  margin: 0;
}

.modal-producto .modal-body {
  padding: 24px;
}

.producto-meta {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
}

.producto-marca {
  background: linear-gradient(135deg, #0c3c60 0%, #155487 100%);
  color: #fff;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
}

.producto-categoria {
  background: #f1f5f9;
  color: #64748b;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
}

.producto-section {
  margin-bottom: 24px;
}

.producto-section h6 {
  font-size: 1rem;
  font-weight: 700;
  color: #0c3c60;
  margin-bottom: 8px;
}

.producto-section p {
  color: #475569;
  line-height: 1.6;
  margin: 0;
}

.modal-producto .modal-footer {
  border-top: 1px solid #e2e8f0;
  padding: 24px;
  gap: 12px;
}

.btn-tsa-primary {
  background: #0c3c60;
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 12px 24px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-tsa-primary:hover {
  background: #155487;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(12, 60, 96, 0.3);
}

.btn-tsa-outline {
  background: transparent;
  color: #64748b;
  border: 2px solid #e2e8f0;
  border-radius: 10px;
  padding: 12px 24px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-tsa-outline:hover {
  border-color: #0c3c60;
  color: #0c3c60;
  background: #f8f9fa;
}

.notificacion-toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #0c3c60;
  color: #fff;
  padding: 16px 24px;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
  z-index: 10000;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease;
}

.notificacion-toast.show {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 768px) {
  .catalogo-hero {
    padding: 120px 0 60px;
  }

  .catalogo-hero-content h1 {
    font-size: 2rem;
  }

  .catalogo-hero-content p {
    font-size: 1rem;
  }

  .catalogo-search-box {
    flex-direction: column;
  }

  .btn-filtros-toggle {
    width: 100%;
    justify-content: center;
  }

  .catalogo-toolbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .btn-modo-vendedor {
    width: 100%;
    justify-content: center;
  }

  .catalogo-grid {
    grid-template-columns: 1fr;
  }

  .panel-modo-vendedor {
    width: 100%;
  }
}

/* ==========================================
   PORTAFOLIO DE PROYECTOS
========================================== */

.proyectos-hero {
  position: relative;
  padding: 140px 0 80px;
  margin-top: 70px;
  min-height: 400px;
  display: flex;
  align-items: center;
}

.proyectos-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(12, 60, 96, 0.85) 0%, rgba(21, 84, 135, 0.75) 100%);
  z-index: 1;
}

.proyectos-hero .container {
  position: relative;
  z-index: 2;
}

.proyectos-hero-content {
  text-align: center;
  color: #fff;
}

.proyectos-hero-content h1 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 16px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.proyectos-hero-content p {
  font-size: 1.2rem;
  opacity: 0.95;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

.proyectos-filtros {
  padding: 40px 0 20px;
  background: #f8f9fa;
}

.filtros-wrapper {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.filtro-btn {
  background: #fff;
  border: 2px solid #e2e8f0;
  color: #64748b;
  padding: 12px 24px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.filtro-btn:hover {
  border-color: #0c3c60;
  color: #0c3c60;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(12, 60, 96, 0.15);
}

.filtro-btn.active {
  background: #0c3c60;
  border-color: #0c3c60;
  color: #fff;
  box-shadow: 0 4px 12px rgba(12, 60, 96, 0.3);
}

.proyectos-section {
  padding: 60px 0 100px;
  background: #f8f9fa;
}

.proyectos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
  gap: 32px;
}

.proyecto-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0;
  animation: fadeInProject 0.6s ease forwards;
}

@keyframes fadeInProject {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.proyecto-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 20px 40px rgba(12, 60, 96, 0.2);
}

.proyecto-imagen {
  height: 240px;
  position: relative;
  overflow: hidden;
}

.proyecto-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s ease;
}

.proyecto-card:hover .proyecto-overlay {
  background: rgba(0, 0, 0, 0.1);
}

.proyecto-numero {
  font-size: 4rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.6);
  transition: all 0.4s ease;
}

.proyecto-card:hover .proyecto-numero {
  transform: scale(1.2);
  color: rgba(255, 255, 255, 0.9);
}

.proyecto-contenido {
  padding: 28px;
}

.proyecto-titulo {
  font-size: 1.5rem;
  font-weight: 700;
  color: #0c3c60;
  margin-bottom: 16px;
  line-height: 1.3;
}

.proyecto-descripcion {
  color: #475569;
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 24px;
}

.proyecto-meta {
  display: flex;
  gap: 24px;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #e2e8f0;
}

.meta-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.meta-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.meta-value {
  font-size: 0.9rem;
  font-weight: 600;
  color: #0c3c60;
}

.proyecto-servicios {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.servicio-badge {
  background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
  color: #0c3c60;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.proyecto-card:hover .servicio-badge {
  background: linear-gradient(135deg, #0c3c60 0%, #155487 100%);
  color: #fff;
}

.mensaje-no-proyectos {
  text-align: center;
  padding: 80px 20px;
  color: #64748b;
}

.mensaje-no-proyectos svg {
  opacity: 0.3;
  margin-bottom: 24px;
}

.mensaje-no-proyectos h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #0c3c60;
  margin-bottom: 12px;
}

.mensaje-no-proyectos p {
  font-size: 1rem;
  color: #64748b;
}

.proyectos-cta {
  background: linear-gradient(135deg, #0c3c60 0%, #155487 100%);
  padding: 80px 0;
}

.cta-contenido {
  text-align: center;
  color: #fff;
}

.cta-contenido h2 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.cta-contenido p {
  font-size: 1.2rem;
  opacity: 0.9;
  margin-bottom: 32px;
}

.btn-cta-primary {
  display: inline-block;
  background: #fff;
  color: #0c3c60;
  padding: 16px 48px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.1rem;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.btn-cta-primary:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.25);
  color: #0c3c60;
}

@media (max-width: 992px) {
  .proyectos-grid {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  }
}

@media (max-width: 768px) {
  .proyectos-hero {
    padding: 120px 0 60px;
  }

  .proyectos-hero-content h1 {
    font-size: 2rem;
  }

  .proyectos-hero-content p {
    font-size: 1rem;
  }

  .filtros-wrapper {
    flex-direction: column;
    align-items: stretch;
  }

  .filtro-btn {
    width: 100%;
    justify-content: center;
  }

  .proyectos-grid {
    grid-template-columns: 1fr;
  }

  .cta-contenido h2 {
    font-size: 1.8rem;
  }

  .cta-contenido p {
    font-size: 1rem;
  }

  .btn-cta-primary {
    padding: 14px 36px;
    font-size: 1rem;
  }
}

/* ==========================================
   PÁGINA EMPRESA
========================================== */

.navbar-transparent {
  background: transparent;
  box-shadow: none;
  transition: all 0.4s ease;
}

.navbar-transparent .navbar-brand img {
  filter: brightness(0) invert(1);
}

.navbar-transparent .nav-link {
  color: #fff !important;
}

.navbar-transparent .navbar-toggler {
  border-color: rgba(255, 255, 255, 0.3);
}

.navbar-transparent .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.8%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.empresa-hero-video {
  position: relative;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-video-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-video-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(12, 60, 96, 0.7) 0%, rgba(21, 84, 135, 0.6) 100%);
  z-index: 1;
}

.hero-video-content {
  position: relative;
  z-index: 2;
  width: 100%;
  text-align: center;
  color: #fff;
}

.hero-video-text h1 {
  font-size: 4rem;
  font-weight: 800;
  margin-bottom: 24px;
  line-height: 1.1;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
}

.hero-video-text p {
  font-size: 1.5rem;
  margin-bottom: 48px;
  opacity: 0.95;
}

.hero-video-scroll {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0.8;
  animation: bounce 2s infinite;
}

.hero-video-scroll span {
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

.empresa-historia {
  background: #fff;
}

.empresa-historia-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 700px;
}

.historia-imagen {
  position: relative;
  overflow: hidden;
}

.historia-imagen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.historia-imagen:hover img {
  transform: scale(1.05);
}

.historia-contenido {
  display: flex;
  align-items: center;
  padding: 80px;
  background: #f8f9fa;
}

.historia-texto h2 {
  font-size: 2.5rem;
  font-weight: 800;
  color: #0c3c60;
  margin-bottom: 32px;
  line-height: 1.2;
}

.historia-texto p {
  font-size: 1.1rem;
  color: #475569;
  line-height: 1.8;
  margin-bottom: 24px;
}

.historia-stats {
  display: flex;
  gap: 48px;
  margin-top: 48px;
  padding-top: 48px;
  border-top: 2px solid #e2e8f0;
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.stat-numero {
  font-size: 3rem;
  font-weight: 800;
  color: #0c3c60;
  line-height: 1;
}

.stat-label {
  font-size: 0.9rem;
  color: #64748b;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.empresa-label {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  color: #0c3c60;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid #0c3c60;
}

.empresa-mision-vision {
  padding: 100px 0;
  background: #fff;
}

.mision-vision-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px;
}

.mision-card {
  background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%);
  padding: 64px;
  border-radius: 24px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
  transition: all 0.4s ease;
}

.mision-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 48px rgba(12, 60, 96, 0.12);
}

.mision-icono {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #0c3c60 0%, #155487 100%);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 32px;
}

.mision-icono svg {
  color: #fff;
}

.mision-card h3 {
  font-size: 1.8rem;
  font-weight: 800;
  color: #0c3c60;
  margin-bottom: 24px;
}

.mision-card p {
  font-size: 1.05rem;
  color: #475569;
  line-height: 1.8;
}

.empresa-valores {
  padding: 100px 0;
  background: #f8f9fa;
}

.valores-header {
  text-align: center;
  margin-bottom: 80px;
}

.valores-header h2 {
  font-size: 3rem;
  font-weight: 800;
  color: #0c3c60;
  margin-bottom: 16px;
}

.valores-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.valor-item {
  background: #fff;
  padding: 48px;
  border-radius: 16px;
  transition: all 0.4s ease;
  border: 2px solid transparent;
}

.valor-item:hover {
  transform: translateY(-8px);
  border-color: #0c3c60;
  box-shadow: 0 16px 48px rgba(12, 60, 96, 0.1);
}

.valor-numero {
  font-size: 3.5rem;
  font-weight: 800;
  color: #e2e8f0;
  line-height: 1;
  margin-bottom: 24px;
}

.valor-item h4 {
  font-size: 1.4rem;
  font-weight: 700;
  color: #0c3c60;
  margin-bottom: 16px;
}

.valor-item p {
  font-size: 1rem;
  color: #64748b;
  line-height: 1.7;
}

.empresa-galeria {
  padding: 0;
  background: #fff;
}

.galeria-header {
  padding: 100px 0 60px;
  text-align: center;
}

.galeria-header h2 {
  font-size: 3rem;
  font-weight: 800;
  color: #0c3c60;
  margin-bottom: 16px;
}

.galeria-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 350px;
  gap: 0;
}

.galeria-item {
  position: relative;
  overflow: hidden;
}

.galeria-grande {
  grid-column: span 2;
  grid-row: span 2;
}

.galeria-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.galeria-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(12, 60, 96, 0.8) 0%, rgba(21, 84, 135, 0.7) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.galeria-item:hover .galeria-overlay {
  opacity: 1;
}

.galeria-item:hover img {
  transform: scale(1.1);
}

.galeria-overlay h3 {
  color: #fff;
  font-size: 1.8rem;
  font-weight: 700;
  text-align: center;
  padding: 0 24px;
}

.empresa-alianzas {
  padding: 100px 0;
  background: #fff;
}

.alianzas-header {
  text-align: center;
  margin-bottom: 64px;
}

.alianzas-header h2 {
  font-size: 2.5rem;
  font-weight: 800;
  color: #0c3c60;
  margin-bottom: 16px;
}

.alianzas-header p {
  font-size: 1.1rem;
  color: #64748b;
}

.alianzas-logos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 48px;
  align-items: center;
}

.alianza-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  transition: all 0.3s ease;
}

.alianza-logo img {
  max-width: 180px;
  /*filter: grayscale(100%) opacity(0.6);*/
  transition: all 0.3s ease;
}

.alianza-logo:hover img {
  /*filter: grayscale(0%) opacity(1);*/
  transform: scale(1.1);
}

.empresa-video-testimonial {
  padding: 100px 0;
  background: #f8f9fa;
}

.testimonial-texto {
  padding-right: 48px;
}

.testimonial-texto h2 {
  font-size: 2.5rem;
  font-weight: 800;
  color: #0c3c60;
  margin-bottom: 32px;
}

.testimonial-texto blockquote {
  border-left: 4px solid #0c3c60;
  padding-left: 32px;
  margin: 0;
}

.testimonial-texto blockquote p {
  font-size: 1.2rem;
  color: #475569;
  line-height: 1.8;
  font-style: italic;
  margin-bottom: 24px;
}

.testimonial-texto blockquote footer {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.testimonial-texto blockquote strong {
  font-size: 1.1rem;
  color: #0c3c60;
  font-weight: 700;
}

.testimonial-texto blockquote span {
  font-size: 0.95rem;
  color: #64748b;
}

.testimonial-video video {
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.15);
}

.empresa-cta-final {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cta-final-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.cta-final-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cta-final-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(12, 60, 96, 0.85) 0%, rgba(21, 84, 135, 0.75) 100%);
}

.cta-final-contenido {
  position: relative;
  z-index: 2;
  width: 100%;
}

.cta-final-texto {
  text-align: center;
  color: #fff;
  max-width: 800px;
  margin: 0 auto;
}

.cta-final-texto h2 {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 24px;
  line-height: 1.2;
}

.cta-final-texto p {
  font-size: 1.3rem;
  margin-bottom: 48px;
  opacity: 0.95;
}

.cta-final-botones {
  display: flex;
  gap: 16px;
  justify-content: center;
}

.btn-cta-secondary {
  display: inline-block;
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
  padding: 16px 48px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.1rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-cta-secondary:hover {
  background: #fff;
  color: #0c3c60;
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(255, 255, 255, 0.3);
}

@media (max-width: 1200px) {
  .valores-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .galeria-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 992px) {
  .empresa-historia-grid {
    grid-template-columns: 1fr;
  }

  .historia-contenido {
    padding: 60px 40px;
  }

  .mision-vision-grid {
    grid-template-columns: 1fr;
  }

  .mision-card {
    padding: 48px;
  }

  .galeria-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .hero-video-text h1 {
    font-size: 2.5rem;
  }

  .hero-video-text p {
    font-size: 1.1rem;
  }

  .historia-texto h2 {
    font-size: 2rem;
  }

  .historia-stats {
    flex-direction: column;
    gap: 24px;
  }

  .valores-grid {
    grid-template-columns: 1fr;
  }

  .valor-item {
    padding: 32px;
  }

  .galeria-grid {
    grid-template-columns: 1fr;
  }

  .galeria-item {
    grid-column: span 1 !important;
    grid-row: span 1 !important;
  }

  .testimonial-texto {
    padding-right: 0;
    margin-bottom: 40px;
  }

  .cta-final-texto h2 {
    font-size: 2.2rem;
  }

  .cta-final-botones {
    flex-direction: column;
  }
}

/* ==========================================
   PÁGINA CONTACTO COMERCIAL
========================================== */

.contacto-hero {
  position: relative;
  height: 60vh;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.contacto-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.contacto-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contacto-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(12, 60, 96, 0.85) 0%, rgba(21, 84, 135, 0.75) 100%);
  z-index: 1;
}

.contacto-hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  text-align: center;
}

.contacto-hero-texto {
  color: #fff;
  max-width: 800px;
  margin: 0 auto;
}

.contacto-hero-texto h1 {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 24px;
  line-height: 1.1;
}

.contacto-hero-texto p {
  font-size: 1.3rem;
  opacity: 0.95;
}

.contacto-beneficios {
  padding: 80px 0;
  background: #fff;
}

.beneficio-item {
  text-align: center;
  padding: 32px 24px;
  background: #f8f9fa;
  border-radius: 16px;
  transition: all 0.3s ease;
  height: 100%;
}

.beneficio-item:hover {
  transform: translateY(-8px);
  background: #fff;
  box-shadow: 0 12px 32px rgba(12, 60, 96, 0.1);
}

.beneficio-icono {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, #0c3c60 0%, #155487 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: #fff;
}

.beneficio-item h5 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #0c3c60;
  margin-bottom: 12px;
}

.beneficio-item p {
  font-size: 0.95rem;
  color: #64748b;
  margin: 0;
}

.contacto-principal {
  padding: 80px 0;
  background: #f8f9fa;
}

.contacto-form-container {
  background: #fff;
  border-radius: 24px;
  padding: 48px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.contacto-form-header {
  margin-bottom: 32px;
}

.contacto-form-header h2 {
  font-size: 2rem;
  font-weight: 800;
  color: #0c3c60;
  margin-bottom: 12px;
}

.contacto-form-header p {
  font-size: 1.05rem;
  color: #64748b;
  margin: 0;
}

.contacto-form .form-label {
  font-weight: 600;
  color: #0c3c60;
  margin-bottom: 8px;
  font-size: 0.9rem;
}

.contacto-form .form-control,
.contacto-form .form-select {
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  padding: 12px 16px;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.contacto-form .form-control:focus,
.contacto-form .form-select:focus {
  border-color: #0c3c60;
  box-shadow: 0 0 0 4px rgba(12, 60, 96, 0.1);
}

.contacto-form textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

.form-check-label {
  font-size: 0.9rem;
  color: #64748b;
}

.btn-contacto-submit {
  width: 100%;
  background: linear-gradient(135deg, #0c3c60 0%, #155487 100%);
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 16px 32px;
  font-weight: 700;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  transition: all 0.3s ease;
}

.btn-contacto-submit:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(12, 60, 96, 0.3);
}

.contacto-info-card {
  background: #fff;
  border-radius: 24px;
  padding: 40px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  margin-bottom: 24px;
}

.contacto-info-card h3 {
  font-size: 1.8rem;
  font-weight: 800;
  color: #0c3c60;
  margin-bottom: 8px;
}

.contacto-info-subtitle {
  font-size: 1rem;
  color: #64748b;
  margin-bottom: 32px;
}

.contacto-info-item {
  display: flex;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid #e2e8f0;
}

.contacto-info-item:last-child {
  border-bottom: none;
}

.contacto-info-icono {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #0c3c60 0%, #155487 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #fff;
}

.contacto-info-item strong {
  display: block;
  font-size: 1.05rem;
  font-weight: 700;
  color: #0c3c60;
  margin-bottom: 4px;
}

.contacto-info-item p {
  font-size: 0.95rem;
  color: #64748b;
  margin: 0;
}

.contacto-info-item a {
  color: #0c3c60;
  text-decoration: none;
  transition: all 0.2s ease;
}

.contacto-info-item a:hover {
  color: #155487;
}

.contacto-mateo-card {
  background: linear-gradient(135deg, #f0f7ff 0%, #e4f0ff 100%);
  border-radius: 20px;
  padding: 32px;
  margin-bottom: 24px;
  border: 2px solid #d0e4ff;
}

.contacto-mateo-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.contacto-mateo-icono {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, #0c3c60 0%, #155487 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
}

.contacto-mateo-header h4 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #0c3c60;
  margin: 0 0 4px 0;
}

.contacto-mateo-badge {
  display: inline-block;
  background: #10b981;
  color: #fff;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
}

.contacto-mateo-card p {
  font-size: 0.95rem;
  color: #475569;
  line-height: 1.6;
  margin-bottom: 24px;
}

.btn-mateo {
  width: 100%;
  background: #0c3c60;
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 14px 24px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.btn-mateo:hover {
  background: #155487;
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(12, 60, 96, 0.3);
}

.contacto-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  background: #fff;
  border-radius: 20px;
  padding: 32px 24px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.contacto-stat {
  text-align: center;
  padding: 16px 0;
}

.contacto-stat-numero {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: #0c3c60;
  line-height: 1;
  margin-bottom: 8px;
}

.contacto-stat-label {
  display: block;
  font-size: 0.8rem;
  color: #64748b;
  font-weight: 600;
}

.contacto-mapa {
  position: relative;
  height: 500px;
  overflow: hidden;
}

.contacto-mapa iframe {
  width: 100%;
  height: 100%;
  filter: grayscale(100%);
  transition: filter 0.3s ease;
}

.contacto-mapa:hover iframe {
  filter: grayscale(0%);
}

.contacto-mapa-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(12, 60, 96, 0.85) 0%, rgba(21, 84, 135, 0.75) 100%);
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.contacto-mapa-info {
  text-align: center;
  color: #fff;
  max-width: 500px;
  padding: 0 20px;
}

.contacto-mapa-info h3 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.contacto-mapa-info p {
  font-size: 1.1rem;
  margin-bottom: 24px;
  opacity: 0.95;
}

.btn-agendar {
  display: inline-block;
  background: #fff;
  color: #0c3c60;
  padding: 14px 40px;
  border-radius: 50px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  pointer-events: all;
}

.btn-agendar:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(255, 255, 255, 0.4);
  color: #0c3c60;
}

.contacto-faq {
  padding: 80px 0 100px;
  background: #fff;
}

.contacto-faq-header {
  text-align: center;
  margin-bottom: 64px;
}

.contacto-faq-header h2 {
  font-size: 2.5rem;
  font-weight: 800;
  color: #0c3c60;
  margin-bottom: 16px;
}

.contacto-faq-header p {
  font-size: 1.1rem;
  color: #64748b;
}

.faq-item {
  background: #f8f9fa;
  border-radius: 16px;
  padding: 32px;
  height: 100%;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.faq-item:hover {
  background: #fff;
  border-color: #0c3c60;
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(12, 60, 96, 0.1);
}

.faq-item h5 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #0c3c60;
  margin-bottom: 16px;
}

.faq-item p {
  font-size: 0.95rem;
  color: #64748b;
  line-height: 1.7;
  margin: 0;
}

@media (max-width: 992px) {
  .contacto-hero-texto h1 {
    font-size: 2.5rem;
  }

  .contacto-form-container {
    padding: 32px;
  }

  .contacto-info-card {
    padding: 32px;
  }

  .contacto-stats {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

@media (max-width: 768px) {
  .contacto-hero {
    height: 50vh;
    min-height: 400px;
  }

  .contacto-hero-texto h1 {
    font-size: 2rem;
  }

  .contacto-hero-texto p {
    font-size: 1.1rem;
  }

  .contacto-beneficios {
    padding: 60px 0;
  }

  .contacto-form-container {
    padding: 24px;
  }

  .contacto-form-header h2 {
    font-size: 1.6rem;
  }

  .contacto-info-card {
    padding: 24px;
  }

  .contacto-mateo-card {
    padding: 24px;
  }

  .contacto-mapa {
    height: 400px;
  }

  .contacto-mapa-info h3 {
    font-size: 1.5rem;
  }

  .contacto-faq {
    padding: 60px 0 80px;
  }

  .contacto-faq-header h2 {
    font-size: 2rem;
  }

  .faq-item {
    padding: 24px;
  }
}

/* Testimonios Section */
.empresa-testimonios {
  background: linear-gradient(135deg, #0c3c60 0%, #1565c0 100%);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.testimonios-pattern {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0.05;
  background-image: url('data:image/svg+xml,%3Csvg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"%3E%3Cg fill="none" fill-rule="evenodd"%3E%3Cg fill="%23ffffff" fill-opacity="1"%3E%3Cpath d="M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z"/%3E%3C/g%3E%3C/g%3E%3C/svg%3E');
}

.testimonios-container {
  position: relative;
  z-index: 1;
}

.testimonios-header {
  text-align: center;
  margin-bottom: 3rem;
}

.testimonios-header .empresa-label {
  color: rgba(255, 255, 255, 0.8);
  border-bottom-color: rgba(255, 255, 255, 0.5);
}

.testimonios-header h2 {
  color: white;
  font-weight: 800;
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.testimonios-header p {
  color: rgba(255, 255, 255, 0.9);
  max-width: 600px;
  margin: 0 auto;
}

.testimonial-card {
  background: white;
  border-radius: 16px;
  padding: 35px;
  height: 100%;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
}

.testimonial-quote-icon {
  position: absolute;
  top: 20px;
  right: 25px;
  opacity: 0.1;
}

.testimonial-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 20px;
}

.testimonial-text {
  color: #333;
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 25px;
  position: relative;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 15px;
  padding-top: 20px;
  border-top: 2px solid #f0f0f0;
}

.testimonial-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0c3c60 0%, #1565c0 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.testimonial-avatar.alt {
  background: linear-gradient(135deg, #1565c0 0%, #0c3c60 100%);
}

.testimonial-author-info h5 {
  color: #0c3c60;
  font-weight: 700;
  margin: 0 0 5px 0;
  font-size: 16px;
}

.testimonial-author-info p {
  color: #666;
  margin: 0;
  font-size: 13px;
}

.testimonios-stats {
  margin-top: 5rem;
  padding-top: 5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.testimonios-stat {
  color: white;
  text-align: center;
}

.testimonios-stat-number {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 10px;
  display: block;
}

.testimonios-stat-label {
  font-size: 1rem;
  opacity: 0.9;
  display: block;
}

@media (max-width: 768px) {
  .empresa-testimonios {
    padding: 60px 0;
  }

  .testimonios-header h2 {
    font-size: 2rem;
  }

  .testimonial-card {
    padding: 25px;
    margin-bottom: 20px;
  }

  .testimonios-stat-number {
    font-size: 2.5rem;
  }

  .testimonios-stats {
    margin-top: 3rem;
    padding-top: 3rem;
  }
}
/*estilos para pagina de casos y servicios*/
 .success-hero {
      background: linear-gradient(135deg, #0c3c60 0%, #155487 100%);
      padding: 140px 0 100px;
      color: white;
      text-align: center;
      position: relative;
      overflow: hidden;
    }

    .success-hero::before {
      content: "";
      position: absolute;
      width: 500px;
      height: 500px;
      background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
      top: -250px;
      right: -250px;
      border-radius: 50%;
    }

    .success-hero::after {
      content: "";
      position: absolute;
      width: 400px;
      height: 400px;
      background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%);
      bottom: -200px;
      left: -200px;
      border-radius: 50%;
    }

    .success-hero-content {
      position: relative;
      z-index: 2;
      max-width: 900px;
      margin: 0 auto;
    }

    .success-hero h1 {
      font-size: 3.5rem;
      font-weight: 900;
      margin-bottom: 24px;
      line-height: 1.2;
    }

    .success-hero p {
      font-size: 1.3rem;
      opacity: 0.95;
      line-height: 1.6;
      max-width: 750px;
      margin: 0 auto;
    }

    @media (max-width: 768px) {
      .success-hero {
        padding: 120px 0 60px;
      }

      .success-hero h1 {
        font-size: 2.2rem;
      }

      .success-hero p {
        font-size: 1.1rem;
      }
    }

    .services-section {
      padding: 80px 0;
      background: #f8f9fa;
    }

    .section-header {
      text-align: center;
      margin-bottom: 60px;
    }

    .section-header h2 {
      font-size: 2.5rem;
      font-weight: 800;
      color: #0c3c60;
      margin-bottom: 16px;
    }

    .section-header p {
      font-size: 1.1rem;
      color: #666;
      max-width: 650px;
      margin: 0 auto;
    }

    .service-card-new {
      background: white;
      border-radius: 20px;
      padding: 40px 30px;
      height: 100%;
      transition: all 0.3s ease;
      box-shadow: 0 4px 20px rgba(0,0,0,0.08);
      border: 2px solid transparent;
    }

    .service-card-new:hover {
      transform: translateY(-8px);
      box-shadow: 0 12px 40px rgba(12, 60, 96, 0.15);
      border-color: #0c3c60;
    }

    .service-icon-wrapper {
      width: 70px;
      height: 70px;
      background: linear-gradient(135deg, #0c3c60 0%, #155487 100%);
      border-radius: 16px;
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 24px;
    }

    .service-icon-wrapper svg {
      color: white;
    }

    .service-card-new h3 {
      font-size: 1.4rem;
      font-weight: 700;
      color: #0c3c60;
      margin-bottom: 16px;
    }

    .service-card-new p {
      font-size: 1rem;
      color: #555;
      line-height: 1.7;
      margin-bottom: 20px;
    }

    .service-result {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      background: #e8f5e9;
      color: #2e7d32;
      padding: 8px 16px;
      border-radius: 50px;
      font-weight: 600;
      font-size: 0.9rem;
    }

    .service-result svg {
      flex-shrink: 0;
    }

    .cases-section {
      padding: 80px 0;
      background: white;
    }

    .case-card {
      background: white;
      border-radius: 20px;
      overflow: hidden;
      box-shadow: 0 4px 24px rgba(0,0,0,0.1);
      transition: all 0.3s ease;
      height: 100%;
      display: flex;
      flex-direction: column;
    }

    .case-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 12px 40px rgba(12, 60, 96, 0.2);
    }

    .video-wrapper {
      position: relative;
      padding-top: 56.25%;
      background: #000;
      cursor: pointer;
    }

    .video-wrapper iframe {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
    }

    .video-placeholder {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      display: flex;
      align-items: center;
      justify-content: center;
      background: linear-gradient(135deg, #0c3c60 0%, #155487 100%);
    }

    .play-button {
      width: 80px;
      height: 80px;
      background: white;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: all 0.3s ease;
    }

    .play-button:hover {
      transform: scale(1.1);
    }

    .case-content {
      padding: 30px;
      flex: 1;
      display: flex;
      flex-direction: column;
    }

    .case-company {
      font-size: 0.9rem;
      font-weight: 700;
      color: #0c3c60;
      text-transform: uppercase;
      letter-spacing: 1px;
      margin-bottom: 12px;
    }

    .case-person {
      font-size: 1.1rem;
      font-weight: 600;
      color: #333;
      margin-bottom: 4px;
    }

    .case-role {
      font-size: 0.95rem;
      color: #666;
      margin-bottom: 20px;
    }

    .case-description {
      font-size: 1rem;
      color: #555;
      line-height: 1.7;
      margin-bottom: 20px;
      flex: 1;
    }

    .case-metric {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      background: #e3f2fd;
      color: #1565c0;
      padding: 10px 18px;
      border-radius: 50px;
      font-weight: 700;
      font-size: 0.95rem;
    }

    .cta-section {
      padding: 100px 0;
      background: linear-gradient(135deg, #0c3c60 0%, #155487 100%);
      color: white;
      text-align: center;
      position: relative;
      overflow: hidden;
    }

    .cta-section::before {
      content: "";
      position: absolute;
      width: 600px;
      height: 600px;
      background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
      top: -300px;
      right: -300px;
      border-radius: 50%;
    }

    .cta-content {
      position: relative;
      z-index: 2;
      max-width: 800px;
      margin: 0 auto;
    }

    .cta-content h2 {
      font-size: 2.8rem;
      font-weight: 900;
      margin-bottom: 24px;
      line-height: 1.2;
    }

    .cta-content p {
      font-size: 1.2rem;
      opacity: 0.95;
      margin-bottom: 40px;
      line-height: 1.6;
    }

    .cta-buttons {
      display: flex;
      gap: 20px;
      justify-content: center;
      flex-wrap: wrap;
    }

    .btn-cta-primary {
      display: inline-flex;
      align-items: center;
      gap: 12px;
      background: white;
      color: #0c3c60;
      padding: 18px 40px;
      border-radius: 50px;
      font-weight: 700;
      font-size: 1.1rem;
      text-decoration: none;
      transition: all 0.3s ease;
      box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    }

    .btn-cta-primary:hover {
      transform: translateY(-3px);
      box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
      color: #0c3c60;
    }

    .btn-cta-secondary {
      display: inline-flex;
      align-items: center;
      gap: 12px;
      background: transparent;
      color: white;
      padding: 18px 40px;
      border-radius: 50px;
      border: 2px solid rgba(255, 255, 255, 0.5);
      font-weight: 700;
      font-size: 1.1rem;
      text-decoration: none;
      transition: all 0.3s ease;
    }

    .btn-cta-secondary:hover {
      background: rgba(255, 255, 255, 0.1);
      border-color: white;
      transform: translateY(-3px);
      color: white;
    }

    @media (max-width: 768px) {
      .cta-content h2 {
        font-size: 2rem;
      }

      .cta-content p {
        font-size: 1.1rem;
      }

      .cta-buttons {
        flex-direction: column;
      }

      .btn-cta-primary,
      .btn-cta-secondary {
        width: 100%;
        justify-content: center;
      }
    }

/**/

/* ===== ANIMACIONES FORMULARIO PASO A PASO ===== */

.step-enter {
  opacity: 0;
  transform: translateY(12px);
}

.step-enter-active {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 300ms ease, transform 300ms ease;
}

.step-exit {
  opacity: 1;
  transform: translateY(0);
}

.step-exit-active {
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 200ms ease, transform 200ms ease;
}

/* Respeta accesibilidad: reduce motion */
@media (prefers-reduced-motion: reduce) {
  .step-enter,
  .step-enter-active,
  .step-exit,
  .step-exit-active {
    transition: none;
    transform: none;
  }
}
/*imagenes formulario*/
.image-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #f8f9fa;
  border-radius: 8px;
  padding: 10px;
  margin-bottom: 8px;
}

.image-name {
  flex: 1;
  font-size: 14px;
}

.progress {
  height: 6px;
  flex: 1;
}

.remove-image {
  border: none;
  background: none;
  color: #dc3545;
  font-size: 18px;
  cursor: pointer;
}
/*footer*/
.footer-dev {
  font-size: 13px;
  opacity: 0.7;
  margin-top: 6px;
}

.footer-dev a {
  color: inherit;
  text-decoration: none;
  font-weight: 500;
}

.footer-dev a:hover {
  text-decoration: underline;
  opacity: 1;
}
