/**
 * Next Innovation SpA - CSS Optimizado y Combinado
 * Combina: style.css + custom.css
 * Versión: 2.0 Optimizada
 */

/* ========================================
   VARIABLES CSS Y CONFIGURACIÓN BASE
========================================= */
:root {
  /* Colores principales */
  --primary-color: #2563EB;
  --secondary-color: #00C6A7;
  --accent-color: #F59E0B;
  --text-dark: #212529;
  --text-light: #D1D5DB;
  --white: #ffffff;
  --black: #151515;
  --light-bg: #f8f9fa;
  --dark-bg: #0D1117;
  --accent-hover: #F97316;         /* Naranja intenso para hover */
  --text-muted: #9CA3AF;           /* Gris medio */
  --hero-overlay: rgba(13, 17, 23, 0.7); /* Overlay para hero */
  
  /* Estados */
  --success-color: #28a745;
  --danger-color: #dc3545;
  --warning-color: #ffc107;
  
  /* Espaciado y efectos */
  --border-radius: 8px;
  --box-shadow: 0 0 30px rgba(214, 215, 216, 0.6);
  --transition: all 0.3s ease;
  --font-primary: "Open Sans", sans-serif;
  --font-secondary: "Raleway", sans-serif;
  --font-headings: "Poppins", sans-serif;
}

/* ========================================
   BASE STYLES
========================================= */
* {
  box-sizing: border-box;
}

body {
  font-family: var(--font-primary);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: #ffd584;
  text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-secondary);
  font-weight: 700;
  line-height: 1.2;
}

/* ========================================
   UTILIDADES DE ACCESIBILIDAD
========================================= */
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.sr-only-focusable:focus {
  position: static !important;
  width: auto !important;
  height: auto !important;
  padding: 0.25rem 0.5rem !important;
  margin: 0 !important;
  overflow: visible !important;
  clip: auto !important;
  white-space: normal !important;
  background-color: var(--primary-color) !important;
  color: var(--white) !important;
  border-radius: var(--border-radius) !important;
}

.skip-link {
  position: absolute;
  top: -40px;
  left: 6px;
  background: var(--primary-color);
  color: var(--white);
  padding: 8px;
  border-radius: var(--border-radius);
  z-index: 10000;
  font-weight: 600;
}

.skip-link:focus {
  top: 6px;
}

/* ========================================
   BACK TO TOP BUTTON
========================================= */
.back-to-top {
  position: fixed;
  bottom: 110px;
  right: 30px;
  background: var(--primary-color);
  color: var(--white);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  transition: var(--transition);
  z-index: 9999;
  box-shadow: 0 4px 20px rgba(71, 178, 228, 0.4);
  visibility: hidden;
  opacity: 0;
  /* Ocultar completamente el botón */
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
}

.back-to-top:hover {
  background: var(--secondary-color);
  transform: translateY(-5px);
  color: var(--white);
  text-decoration: none;
}

.back-to-top.active {
  display: flex;
  visibility: visible;
  opacity: 1;
}

/* ========================================
   PRELOADER
========================================= */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  overflow: hidden;
  background: var(--black);
}

#preloader:before {
  content: "";
  position: fixed;
  top: calc(50% - 30px);
  left: calc(50% - 30px);
  border: 6px solid var(--accent-color);
  border-top-color: var(--black);
  border-bottom-color: var(--black);
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: animate-preloader 1s linear infinite;
}

@keyframes animate-preloader {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* ========================================
   HEADER Y NAVEGACIÓN
========================================= */
#header {
  transition: var(--transition);
  background: var(--dark-bg);
  box-shadow: 0px 0px 25px 0 rgba(0, 0, 0, 0.08);
  z-index: 997;
  padding: 15px 0;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
}

#header.header-scrolled,
#header.header-inner-pages {
  background: var(--dark-bg);
}

#header .logo {
  font-size: 32px;
  margin: 0;
  padding: 0;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 1px;
}

#header .logo a {
  color: var(--white);
}

#header .logo a span {
  color: var(--accent-color);
}

#header .logo img {
  max-height: 52px;
}

#header .logo .logo-img {
  height: 40px;
  width: auto;
  margin-right: 12px;
  vertical-align: middle;
  display: inline-block;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
  transition: var(--transition);
}

#header .logo:hover .logo-img {
  filter: drop-shadow(0 2px 8px rgba(37, 99, 235, 0.4));
  transform: scale(1.05);
}

#header .logo a {
  display: flex;
  align-items: center;
  text-decoration: none;
}

/* Navegación Desktop */
.navbar {
  padding: 0;
}

.navbar ul {
  margin: 0;
  padding: 0;
  display: flex;
  list-style: none;
  align-items: center;
}

.navbar li {
  position: relative;
}

.navbar a,
.navbar a:focus {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0 10px 30px;
  font-size: 15px;
  font-weight: 600;
  color: var(--white);
  white-space: nowrap;
  transition: var(--transition);
}

.navbar a i,
.navbar a:focus i {
  font-size: 12px;
  line-height: 0;
  margin-left: 5px;
}

.navbar a:hover,
.navbar .active,
.navbar .active:focus,
.navbar li:hover > a {
  color: var(--accent-color);
}

/* Dropdowns */
.navbar .dropdown ul {
  display: block;
  position: absolute;
  left: 14px;
  top: calc(100% + 30px);
  margin: 0;
  padding: 10px 0;
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  background: var(--white);
  box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25);
  transition: var(--transition);
}

.navbar .dropdown ul li {
  min-width: 200px;
}

.navbar .dropdown ul a {
  padding: 10px 20px;
  font-size: 14px;
  text-transform: none;
  color: var(--black);
  font-weight: 400;
}

.navbar .dropdown ul a i {
  font-size: 12px;
}

.navbar .dropdown ul a:hover,
.navbar .dropdown ul .active:hover,
.navbar .dropdown ul li:hover > a {
  background-color: var(--accent-color);
}

.navbar .dropdown:hover > ul {
  opacity: 1;
  top: 100%;
  visibility: visible;
}

.navbar .dropdown .dropdown ul {
  top: 0;
  left: calc(100% - 30px);
  visibility: hidden;
}

.navbar .dropdown .dropdown:hover > ul {
  opacity: 1;
  top: 0;
  left: 100%;
  visibility: visible;
}

/* Navegación Mobile */
.mobile-nav-toggle {
  color: var(--white);
  font-size: 28px;
  cursor: pointer;
  display: none;
  line-height: 0;
  transition: var(--transition);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 12px;
  margin: 0;
  border-radius: 8px;
  min-width: 48px;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  position: relative;
  /* Aumentar área clickeable */
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}

.mobile-nav-toggle:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.02);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.mobile-nav-toggle:active {
  transform: scale(0.98);
  background: rgba(255, 255, 255, 0.3);
}

/* Pseudo-elemento para expandir área clickeable sin afectar visualmente */
.mobile-nav-toggle::before {
  content: '';
  position: absolute;
  top: -8px;
  left: -8px;
  right: -8px;
  bottom: -8px;
  z-index: -1;
}

.mobile-nav-toggle:focus {
  outline: 2px solid var(--accent-color);
  outline-offset: 2px;
}

@media (max-width: 991px) {
  .mobile-nav-toggle {
    display: flex !important;
    position: relative;
    z-index: 10000;
  }
  .navbar ul {
    display: none;
  }
  
  /* Mejorar header en móvil */
  #header {
    padding: 10px 0;
  }
  
  .logo {
    font-size: 1.2rem;
  }
  
  .logo-img {
    max-height: 40px;
  }
}

.navbar-mobile {
  position: fixed;
  overflow: hidden;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.9);
  transition: var(--transition);
  z-index: 999;
}

.navbar-mobile .mobile-nav-toggle {
  position: absolute;
  top: 15px;
  right: 15px;
}

.navbar-mobile ul {
  display: block;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 20px;
  right: 20px;
  height: auto;
  max-height: 50vh;
  padding: 0;
  margin: 0;
  background-color: var(--white);
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  overflow-y: auto;
  transition: var(--transition);
  list-style: none;
}

.navbar-mobile ul li {
  margin: 0;
  padding: 0;
  list-style: none;
  width: 100%;
}

.navbar-mobile a,
.navbar-mobile a:focus {
  padding: 16px 24px;
  font-size: 16px;
  color: var(--black);
  transition: var(--transition);
  border-bottom: 1px solid #f0f0f0;
  text-align: left;
  display: block;
  width: 100%;
}

.navbar-mobile a:hover,
.navbar-mobile .active,
.navbar-mobile li:hover > a {
  color: var(--primary-color);
  background-color: rgba(37, 99, 235, 0.1);
  transform: translateX(4px);
}

.navbar-mobile .getstarted,
.navbar-mobile .getstarted:focus {
  margin: 15px;
}

.navbar-mobile .dropdown ul {
  position: static;
  display: none;
  margin: 10px 20px;
  padding: 10px 0;
  z-index: 99;
  opacity: 1;
  visibility: visible;
  background: var(--white);
  box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25);
}

.navbar-mobile .dropdown ul li {
  min-width: 200px;
}

.navbar-mobile .dropdown ul a {
  padding: 10px 20px;
  color: var(--black);
}

.navbar-mobile .dropdown ul a i {
  font-size: 12px;
}

.navbar-mobile .dropdown ul a:hover,
.navbar-mobile .dropdown ul .active:hover,
.navbar-mobile .dropdown ul li:hover > a {
  background-color: var(--accent-color);
}

.navbar-mobile .dropdown > .dropdown-active {
  display: block;
}


/* ========================================
   HERO SECTION
========================================= */
#hero {
  width: 100%;
  min-height: 100vh;
  background: url("../img/hero-bg.png") top center;
  background-size: cover;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

#hero:before {
  content: "";
  background: linear-gradient(180deg, var(--hero-overlay) 0%, rgba(13, 17, 23, 0.3) 100%);
  position: absolute;
  bottom: 0;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1;
}

#hero .container {
  position: relative;
  z-index: 2;
  text-align: center;
  padding-top: 74px;
}

#hero h1 {
  margin: 0;
  font-size: 56px;
  font-weight: 700;
  line-height: 64px;
  color: var(--white);
  font-family: var(--font-headings);
}

#hero h1 span {
  color: var(--accent-color);
}

#hero h2 {
  color: rgba(255, 255, 255, 0.9);
  margin: 10px 0 0 0;
  font-size: 24px;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1.5rem;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.5), 0 0 20px rgba(37, 99, 235, 0.3);
  font-family: var(--font-headings);
}

.hero-subtitle {
  font-size: 1.5rem;
  color: var(--text-light);
  font-weight: 400;
  line-height: 1.6;
  margin-bottom: 2rem;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.4);
}

#hero .icon-box {
  padding: 30px 20px;
  transition: ease-in-out 0.3s;
  border: 1px solid rgba(255, 255, 255, 0.3);
  height: 100%;
  text-align: center;
}

#hero .icon-box i {
  font-size: 32px;
  line-height: 1;
  color: var(--accent-color);
}

#hero .icon-box h3 {
  font-weight: 700;
  margin: 10px 0 0 0;
  padding: 0;
  line-height: 1;
  font-size: 20px;
  line-height: 26px;
}

#hero .icon-box h3 a {
  color: var(--white);
  transition: ease-in-out 0.3s;
}

#hero .icon-box h3 a:hover {
  color: var(--accent-color);
}

#hero .icon-box:hover {
  border-color: var(--accent-color);
}

/* Botón Get Started */
.get-started-btn {
  background: var(--accent-color);
  color: var(--white);
  padding: 15px 35px;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: var(--transition);
  box-shadow: 0 5px 20px rgba(255, 196, 81, 0.4);
  position: relative;
  overflow: hidden;
  border: 2px solid var(--accent-color);
  margin-top: 75px;
  font-size: 14px;
  white-space: nowrap;
}

.get-started-btn:hover {
  background: var(--accent-hover);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(245, 158, 11, 0.6), 0 0 20px rgba(0, 198, 167, 0.3);
  text-decoration: none;
}

.get-started-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s;
}

.get-started-btn:hover::before {
  left: 100%;
}

/* WhatsApp Float Button */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 10000;
  transition: var(--transition);
}

.iconwasath {
  background: #25d366;
  padding: 12px;
  border-radius: 50%;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: pulse 2s infinite;
  width: 68px;
  height: 68px;
  text-decoration: none;
}

.iconwasath:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6);
}

.iconwasath img {
  width: 50px;
  height: 50px;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* ========================================
   SECTIONS GENERALES
========================================= */
section {
  padding: 34px 0;
  overflow: hidden;
}

.section-padding {
  padding: 80px 0;
}

.section-bg {
  position: relative;
}

.section-bg:not([style*="background-image"]) {
  background-color: var(--light-bg);
}

.section-bg[style*="background-image"]::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(248, 249, 250, 0.05);
  z-index: 1;
}

.section-bg .container {
  position: relative;
  z-index: 2;
}

/* Títulos de Sección */
.section-title {
  text-align: center;
  margin-bottom: 3rem;
  padding-bottom: 40px;
}

.section-title h2 {
  font-size: 14px;
  font-weight: 500;
  padding: 0;
  line-height: 1px;
  margin: 0 0 5px 0;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #aaaaaa;
  font-family: var(--font-headings);
}

.section-title h2::after {
  content: "";
  width: 120px;
  height: 1px;
  display: inline-block;
  background: #ffde9e;
  margin: 4px 10px;
}

.section-title p {
  margin: 0;
  font-size: 36px;
  font-weight: 700;
  text-transform: uppercase;
  font-family: var(--font-headings);
  color: var(--black);
}

.section-title .section-subtitle {
  margin: 0;
  font-size: 36px;
  font-weight: 700;
  text-transform: uppercase;
  font-family: var(--font-headings);
  color: var(--white);
}

/* ========================================
   ABOUT SECTION
========================================= */
.about .content h3 {
  font-weight: 700;
  font-size: 28px;
  font-family: var(--font-headings);
}

.about .content ul {
  list-style: none;
  padding: 0;
}

.about .content ul li {
  padding: 0 0 8px 26px;
  position: relative;
}

.about .content ul i {
  position: absolute;
  font-size: 20px;
  left: 0;
  top: -3px;
  color: var(--accent-color);
}

.about .content p:last-child {
  margin-bottom: 0;
}

.feature-list {
  list-style: none;
  padding: 0;
}

.feature-list li {
  padding: 0.75rem 0;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.feature-list i {
  font-size: 1.2rem;
  margin-top: 0.2rem;
  flex-shrink: 0;
  color: var(--primary-color);
}

/* ========================================
   CLIENTS SECTION
========================================= */
.clients {
  padding-top: 20px;
}

.clients .swiper-slide img {
  opacity: 0.5;
  transition: var(--transition);
  filter: grayscale(100);
}

.clients .swiper-slide img:hover {
  filter: none;
  opacity: 1;
}

.clients .swiper-pagination {
  margin-top: 20px;
  position: relative;
}

.clients .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: var(--white);
  opacity: 1;
  background-color: #ddd;
}

.clients .swiper-pagination .swiper-pagination-bullet-active {
  background-color: var(--accent-color);
}

/* ========================================
   FEATURES/SOLUTIONS SECTION
========================================= */
.features {
  padding: 90px 0;
}

.features .icon-box {
  padding-left: 15px;
}

.features .icon-box h4 {
  font-size: 20px;
  font-weight: 700;
  margin: 5px 0 10px 60px;
}

.features .icon-box i {
  font-size: 48px;
  float: left;
  color: var(--accent-color);
}

.features .icon-box p {
  font-size: 15px;
  color: #848484;
  margin-left: 60px;
}

.features .image {
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  min-height: 400px;
}

.solution-box {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 2rem;
  background: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  margin-bottom: 1.5rem;
}

.solution-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 40px rgba(214, 215, 216, 0.8);
}

.icon-wrapper {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: var(--white);
  width: 60px;
  height: 60px;
  border-radius: var(--border-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.solution-box .content h4 {
  color: var(--text-dark);
  font-weight: 600;
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

/* ========================================
   SERVICES SECTION
========================================= */
.services .icon-box {
  text-align: center;
  border: 1px solid #ebebeb;
  padding: 80px 20px;
  transition: all ease-in-out 0.3s;
  background: var(--white);
}

.services .icon-box .icon {
  margin: 0 auto;
  width: 64px;
  height: 64px;
  background: var(--accent-color);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: var(--transition);
}

.services .icon-box .icon i {
  color: var(--black);
  font-size: 28px;
  transition: ease-in-out 0.3s;
}

.services .icon-box h4 {
  font-weight: 700;
  margin-bottom: 15px;
  font-size: 24px;
}

.services .icon-box h4 a {
  color: var(--black);
  transition: ease-in-out 0.3s;
}

.services .icon-box h4 a:hover {
  color: var(--accent-color);
}

.services .icon-box p {
  line-height: 24px;
  font-size: 14px;
  margin-bottom: 0;
}

.services .icon-box:hover {
  border-color: var(--white);
  box-shadow: 0px 0 25px 0 rgba(0, 0, 0, 0.1);
  transform: translateY(-10px);
}

.service-box {
  background: var(--white);
  padding: 2.5rem 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  text-align: center;
  border-top: 4px solid var(--primary-color);
  height: 100%;
  border: 1px solid #ebebeb;
}

.service-box:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 50px rgba(214, 215, 216, 0.9);
  border-color: var(--white);
}

.service-box .icon {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: var(--white);
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 1.5rem;
  transition: var(--transition);
}

.service-box h4 {
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text-dark);
  font-size: 24px;
}

.service-box h4 a {
  color: var(--text-dark);
  transition: var(--transition);
}

.service-box h4 a:hover {
  color: var(--primary-color);
}

.service-box p {
  color: var(--text-dark);
  line-height: 1.7;
  font-size: 14px;
  margin-bottom: 0;
  opacity: 0.8;
}

/* ========================================
   CTA SECTION
========================================= */
.cta {
  background: linear-gradient(rgba(2, 2, 2, 0.5), rgba(0, 0, 0, 0.5)), url("../img/cta-bg.png") fixed center center;
  background-size: cover;
  padding: 60px 0;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100" fill="white" opacity="0.1"><polygon points="0,0 1000,100 0,100"/></svg>') no-repeat;
  background-size: cover;
}

.cta h3 {
  color: var(--white);
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.cta p {
  color: var(--white);
}

.cta .cta-btn {
  font-family: var(--font-secondary);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 8px 28px;
  border-radius: 4px;
  transition: 0.5s;
  margin-top: 10px;
  border: 2px solid var(--white);
  color: var(--white);
  background: var(--white);
  color: var(--primary-color);
  padding: 15px 40px;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: var(--transition);
  box-shadow: 0 5px 20px rgba(255, 255, 255, 0.3);
}

.cta .cta-btn:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(245, 158, 11, 0.6), 0 0 15px rgba(0, 198, 167, 0.2);
}

/* ========================================
   PORTFOLIO SECTION
========================================= */
.portfolio .portfolio-item {
  margin-bottom: 30px;
}

.portfolio #portfolio-flters {
  padding: 0;
  margin: 0 auto 20px auto;
  list-style: none;
  text-align: center;
}

.portfolio #portfolio-flters li {
  cursor: pointer;
  display: inline-block;
  padding: 8px 15px 10px 15px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  text-transform: uppercase;
  color: #444444;
  margin-bottom: 5px;
  transition: all 0.3s ease-in-out;
  border-radius: 3px;
}

.portfolio #portfolio-flters li:hover,
.portfolio #portfolio-flters li.filter-active {
  color: var(--black);
  background: var(--accent-color);
}

.portfolio #portfolio-flters li:last-child {
  margin-right: 0;
}

.portfolio .portfolio-wrap {
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  z-index: 1;
  background: rgba(21, 21, 21, 0.6);
}

.portfolio .portfolio-wrap::before {
  content: "";
  background: rgba(21, 21, 21, 0.6);
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  transition: all ease-in-out 0.3s;
  z-index: 2;
  opacity: 0;
}

.portfolio .portfolio-wrap img {
  transition: all ease-in-out 0.3s;
}

.portfolio .portfolio-wrap .portfolio-info {
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  transition: all ease-in-out 0.3s;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  padding: 20px;
}

.portfolio .portfolio-wrap .portfolio-info h4 {
  font-size: 20px;
  color: var(--white);
  font-weight: 600;
}

.portfolio .portfolio-wrap .portfolio-info p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  text-transform: uppercase;
  padding: 0;
  margin: 0;
  font-style: italic;
}

.portfolio .portfolio-wrap .portfolio-links {
  text-align: center;
  z-index: 4;
}

.portfolio .portfolio-wrap .portfolio-links a {
  color: var(--white);
  margin: 0 5px 0 0;
  font-size: 28px;
  display: inline-block;
  transition: var(--transition);
}

.portfolio .portfolio-wrap .portfolio-links a:hover {
  color: var(--accent-color);
}

.portfolio .portfolio-wrap:hover::before {
  opacity: 1;
}

.portfolio .portfolio-wrap:hover img {
  transform: scale(1.2);
}

.portfolio .portfolio-wrap:hover .portfolio-info {
  opacity: 1;
}

/* ========================================
   PORTFOLIO DETAILS SECTION
========================================= */
.portfolio-details {
  padding-top: 40px;
}

.portfolio-details .portfolio-details-slider img {
  width: 100%;
}

.portfolio-details .portfolio-details-slider .swiper-pagination {
  margin-top: 20px;
  position: relative;
}

.portfolio-details .portfolio-details-slider .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: var(--white);
  opacity: 1;
  border: 1px solid var(--accent-color);
}

.portfolio-details .portfolio-details-slider .swiper-pagination .swiper-pagination-bullet-active {
  background-color: var(--accent-color);
}

.portfolio-details .portfolio-info {
  padding: 30px;
  box-shadow: 0px 0 30px rgba(21, 21, 21, 0.08);
}

.portfolio-details .portfolio-info h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
}

.portfolio-details .portfolio-info ul {
  list-style: none;
  padding: 0;
  font-size: 15px;
}

.portfolio-details .portfolio-info ul li + li {
  margin-top: 10px;
}

.portfolio-details .portfolio-description {
  padding-top: 30px;
}

.portfolio-details .portfolio-description h2 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 20px;
}

.portfolio-details .portfolio-description p {
  padding: 0;
}

/* ========================================
   COUNTS/STATS SECTION
========================================= */
.counts .content {
  padding: 30px 0;
}

.counts .content h3 {
  font-weight: 700;
  font-size: 34px;
  color: var(--black);
}

.counts .content p {
  margin-bottom: 0;
}

.counts .content .count-box {
  padding: 20px 0;
  width: 100%;
}

.counts .content .count-box i {
  display: block;
  font-size: 36px;
  color: var(--accent-color);
  float: left;
}

.counts .content .count-box span {
  font-size: 36px;
  line-height: 30px;
  display: block;
  font-weight: 700;
  color: var(--black);
  margin-left: 50px;
}

.counts .content .count-box p {
  padding: 15px 0 0 0;
  margin: 0 0 0 50px;
  font-family: var(--font-secondary);
  font-size: 14px;
  color: #3b3b3b;
}

.counts .content .count-box a {
  font-weight: 600;
  display: block;
  margin-top: 20px;
  color: #3b3b3b;
  font-size: 15px;
  font-family: var(--font-headings);
  transition: ease-in-out 0.3s;
}

.counts .content .count-box a:hover {
  color: #626262;
}

.counts .image {
  background: url("../img/counts-img.jpg") center center no-repeat;
  background-size: cover;
  min-height: 400px;
}

.stats-box {
  text-align: center;
  padding: 2rem 1rem;
}

.stats-box i {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.counter {
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--text-dark);
  display: block;
  margin-bottom: 0.5rem;
}

.stats-box p {
  color: var(--text-dark);
  font-weight: 600;
  margin: 0;
}

/* ========================================
   TESTIMONIALS SECTION
========================================= */
.client {
  color: var(--accent-color);
  display: flex;
  justify-content: center;
}

.testimonials {
  padding: 80px 0;
  background: url("../img/cta-bg.png") no-repeat;
  background-position: center center;
  background-size: cover;
  position: relative;
}

.testimonials::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  background: linear-gradient(135deg, var(--hero-overlay) 0%, rgba(0, 0, 0, 0.8) 100%);
  z-index: 1;
}

.testimonials .section-header {
  margin-bottom: 40px;
}

.testimonials .testimonials-carousel,
.testimonials .testimonials-slider {
  overflow: hidden;
  padding: 20px 0;
}

.testimonials .swiper-slide {
  opacity: 0.7;
  transform: scale(0.95);
  transition: all 0.3s ease;
}

.testimonials .swiper-slide-active {
  opacity: 1;
  transform: scale(1);
}

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

.testimonial-item {
  text-align: center;
  color: var(--text-dark);
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  padding: 2.5rem 2rem;
  border-radius: var(--border-radius);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15), 0 2px 8px rgba(37, 99, 235, 0.1);
  margin: 1rem;
  transition: var(--transition);
  position: relative;
  border-top: 4px solid var(--primary-color);
  color: var(--text-dark);
}

.testimonial-item:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 20px 60px rgba(214, 215, 216, 0.9);
}

.testimonials .testimonial-item .testimonial-img {
  width: 150px;
  margin: 0 auto;
  height: auto;
  border-radius: 0;
  object-fit: cover;
  border: none;
}

.testimonials .testimonial-item h3 {
  font-size: 20px;
  font-weight: bold;
  margin: 10px 0 5px 0;
  color: var(--text-dark);
}

.testimonials .testimonial-item h4 {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0 0 15px 0;
}

.testimonials .testimonial-item .quote-icon-left,
.testimonials .testimonial-item .quote-icon-right {
  color: var(--primary-color);
  font-size: 26px;
}

.testimonials .testimonial-item .quote-icon-left {
  display: inline-block;
  left: -5px;
  position: relative;
}

.testimonials .testimonial-item .quote-icon-right {
  display: inline-block;
  right: -5px;
  position: relative;
  top: 10px;
}

.testimonials .testimonial-item p {
  font-style: italic;
  margin: 0 auto 15px auto;
  color: var(--text-dark);
  font-weight: 500;
}

.testimonials .swiper-pagination {
  margin-top: 20px;
  position: relative;
}

.testimonials .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: rgba(255, 255, 255, 0.4);
  opacity: 0.5;
}

.testimonials .swiper-pagination .swiper-pagination-bullet-active {
  background-color: var(--accent-color);
  opacity: 1;
}

.stars {
  margin-bottom: 1rem;
}

.stars i {
  color: var(--accent-color);
  margin: 0 2px;
}

/* ========================================
   TEAM SECTION
========================================= */
.team {
  background: var(--white);
  padding: 60px 0;
}

.member {
  margin-bottom: 20px;
  overflow: hidden;
  border-radius: 5px;
  background: var(--white);
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
}

.member:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 50px rgba(214, 215, 216, 0.9);
}

.member .member-img {
  position: relative;
  overflow: hidden;
}

.member .member-img::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  opacity: 0;
  transition: var(--transition);
  z-index: 1;
}

.member:hover .member-img::before {
  opacity: 0.8;
}

.member .social {
  position: absolute;
  left: 0;
  bottom: 30px;
  right: 0;
  opacity: 0;
  transition: ease-in-out 0.3s;
  text-align: center;
  z-index: 2;
}

.member .social a {
  transition: color 0.3s;
  color: var(--black);
  margin: 0 3px;
  border-radius: 4px;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.8);
  transition: ease-in-out 0.3s;
  color: #484848;
  display: inline-flex;
  justify-content: center;
  align-items: center;
}

.member .social a:hover {
  color: var(--black);
  background: var(--accent-color);
}

.member .social i {
  font-size: 18px;
  line-height: 0;
}

.member .member-info {
  padding: 25px 15px;
  text-align: center;
}

.member .member-info h4 {
  font-weight: 700;
  margin-bottom: 5px;
  font-size: 18px;
  color: var(--black);
}

.member .member-info span {
  display: block;
  font-size: 13px;
  font-weight: 400;
  color: #aaaaaa;
}

.member .member-info p {
  font-style: italic;
  font-size: 14px;
  line-height: 26px;
  color: #777777;
}

.member:hover .social {
  opacity: 1;
  bottom: 15px;
}

/* ========================================
   CONTACT SECTION
========================================= */
.contact .info {
  width: 100%;
  background: var(--white);
}

.contact .info i {
  font-size: 20px;
  background: var(--accent-color);
  color: var(--black);
  float: left;
  width: 44px;
  height: 44px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 4px;
  transition: all 0.3s ease-in-out;
}

.contact .info h4 {
  padding: 0;
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 5px;
  color: var(--black);
}

.contact .info p {
  padding: 0;
  margin-bottom: 0;
  font-size: 14px;
  color: #484848;
}

.contact .info .email,
.contact .info .phone {
  margin-top: 40px;
}

.contact .php-email-form {
  width: 100%;
  background: var(--white);
  padding: 30px;
}

.contact .php-email-form .form-group {
  padding-bottom: 8px;
}

.contact .php-email-form .error-message br + br {
  margin-top: 25px;
}

.contact .php-email-form .sent-message {
  display: none;
  color: var(--white);
  background: #18d26e;
  text-align: center;
  padding: 15px;
  font-weight: 600;
}

.contact .php-email-form .loading {
  display: none;
  background: var(--white);
  text-align: center;
  padding: 15px;
}

.contact .php-email-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid #18d26e;
  border-top-color: #eee;
  animation: animate-loading 1s linear infinite;
}

.contact .php-email-form input,
.contact .php-email-form textarea {
  border-radius: 0;
  box-shadow: none;
  font-size: 14px;
  border-radius: 4px;
}

.contact .php-email-form input:focus,
.contact .php-email-form textarea:focus {
  border-color: var(--accent-color);
}

.contact .php-email-form input {
  height: 44px;
}

.contact .php-email-form textarea {
  padding: 10px 12px;
}

.contact .php-email-form button[type=submit] {
  background: var(--accent-color);
  border: 0;
  padding: 10px 24px;
  color: var(--black);
  transition: 0.4s;
  border-radius: 4px;
}

.contact .php-email-form button[type=submit]:hover {
  background: #ffcd6b;
}

@keyframes animate-loading {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  margin-bottom: 1.5rem;
  transition: var(--transition);
}

.contact-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 40px rgba(214, 215, 216, 0.8);
}

.contact-icon {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: var(--white);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-content h4 {
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
  font-size: 22px;
}

.contact-content p {
  margin-bottom: 0;
  font-size: 14px;
  color: var(--text-muted);
}

.contact-content a {
  color: var(--primary-color);
  text-decoration: none;
  transition: var(--transition);
}

.contact-content a:hover {
  color: var(--secondary-color);
}

/* Formulario */
.form-control {
  border: 2px solid #e9ecef;
  border-radius: var(--border-radius);
  padding: 12px 15px;
  font-size: 1rem;
  transition: var(--transition);
  background: var(--white);
  box-shadow: none;
}

.form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(71, 178, 228, 0.25);
  outline: none;
}

.form-control.is-invalid {
  border-color: var(--danger-color);
  box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

.invalid-feedback {
  display: block;
  width: 100%;
  margin-top: 0.25rem;
  font-size: 0.875rem;
  color: var(--danger-color);
}

.btn-submit {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: var(--white);
  border: none;
  padding: 15px 40px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: var(--transition);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.btn-submit:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(71, 178, 228, 0.4);
}

.btn-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.btn-submit::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s;
}

.btn-submit:hover::before {
  left: 100%;
}

.spinner-sm {
  display: inline-block;
  width: 1rem;
  height: 1rem;
  border: 2px solid transparent;
  border-top: 2px solid currentColor;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-right: 0.5rem;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Estados del formulario */
.loading {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary-color);
  font-weight: 500;
}

.spinner {
  width: 20px;
  height: 20px;
  border: 2px solid #f3f3f3;
  border-top: 2px solid var(--primary-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

.error-message {
  background: #f8d7da;
  color: #721c24;
  padding: 1rem;
  border-radius: var(--border-radius);
  border: 1px solid #f5c6cb;
  margin: 1rem 0;
}

.sent-message {
  background: #d4edda;
  color: #155724;
  padding: 1rem;
  border-radius: var(--border-radius);
  border: 1px solid #c3e6cb;
  margin: 1rem 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.sent-message i {
  font-size: 1.2rem;
}

/* ========================================
   BREADCRUMBS
========================================= */
.breadcrumbs {
  padding: 15px 0;
  background: whitesmoke;
  min-height: 40px;
  margin-top: 74px;
}

.breadcrumbs h2 {
  font-size: 28px;
  font-weight: 400;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
}

.breadcrumbs ol li + li {
  padding-left: 10px;
}

.breadcrumbs ol li + li::before {
  display: inline-block;
  padding-right: 10px;
  color: #2f2f2f;
  content: "/";
}

/* ========================================
   FOOTER
========================================= */
.bottondecontac {
  background: var(--accent-color);
  border: 0;
  padding: 10px 24px;
  color: var(--black);
  transition: 0.4s;
  border-radius: 4px;
}

#footer {
  background: var(--black);
  padding: 0 0 30px 0;
  color: var(--white);
  font-size: 14px;
}

#footer .footer-top {
  background: var(--black);
  border-bottom: 1px solid #222222;
  padding: 35px 0 20px 0;
}

#footer .footer-top .footer-info {
  margin-bottom: 30px;
}

#footer .footer-top .footer-info h3 {
  font-size: 28px;
  margin: 0 0 20px 0;
  padding: 2px 0 2px 0;
  line-height: 1;
  font-weight: 700;
  text-transform: uppercase;
}

#footer .footer-top .footer-info h3 span {
  color: var(--accent-color);
}

#footer .footer-top .footer-info p {
  font-size: 14px;
  line-height: 24px;
  margin-bottom: 0;
  font-family: var(--font-secondary);
  color: var(--white);
}

.footer-info .footer-description {
  line-height: 1.7;
  color: #6c757d;
  margin-bottom: 1.5rem;
  font-size: 14px;
  font-family: var(--font-secondary);
}

#footer .footer-top .social-links a {
  font-size: 18px;
  display: inline-block;
  background: #292929;
  color: var(--white);
  line-height: 1;
  padding: 8px 0;
  margin-right: 4px;
  border-radius: 4px;
  text-align: center;
  width: 36px;
  height: 36px;
  transition: var(--transition);
}

#footer .footer-top .social-links a:hover {
  background: var(--accent-color);
  color: var(--black);
  text-decoration: none;
}

.social-links a {
  background: var(--primary-color);
  color: var(--white);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 10px;
  transition: var(--transition);
  font-size: 18px;
  line-height: 1;
  padding: 8px 0;
  text-align: center;
}

.social-links a:hover {
  background: var(--secondary-color);
  transform: translateY(-3px);
  text-decoration: none;
}

.social-links a.whatsapp:hover {
  background: #25d366;
}

#footer .footer-top h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--white);
  position: relative;
  padding-bottom: 12px;
}

#footer .footer-top .footer-links {
  margin-bottom: 30px;
}

#footer .footer-top .footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

#footer .footer-top .footer-links ul i {
  padding-right: 2px;
  color: var(--accent-color);
  font-size: 18px;
  line-height: 1;
}

#footer .footer-top .footer-links ul li {
  padding: 10px 0;
  display: flex;
  align-items: center;
}

#footer .footer-top .footer-links ul li:first-child {
  padding-top: 0;
}

#footer .footer-top .footer-links ul a {
  color: var(--white);
  transition: var(--transition);
  display: inline-block;
  line-height: 1;
}

#footer .footer-top .footer-links ul a:hover {
  color: var(--accent-color);
}

.footer-links {
  margin-bottom: 30px;
}

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

.footer-links li {
  padding: 8px 0;
  display: flex;
  align-items: center;
}

.footer-links li:first-child {
  padding-top: 0;
}

.footer-links a {
  color: #6c757d;
  text-decoration: none;
  transition: var(--transition);
  display: flex;
  align-items: center;
  line-height: 1;
}

.footer-links a:hover {
  color: var(--primary-color);
  padding-left: 10px;
}

.footer-links i {
  margin-right: 5px;
  font-size: 0.8rem;
  color: var(--accent-color);
  padding-right: 2px;
}

#footer .footer-top .footer-newsletter form {
  margin-top: 30px;
  background: var(--white);
  padding: 6px 10px;
  position: relative;
  border-radius: 4px;
}

#footer .footer-top .footer-newsletter form input[type=email] {
  border: 0;
  padding: 4px;
  width: calc(100% - 110px);
}

#footer .footer-top .footer-newsletter form input[type=submit] {
  position: absolute;
  top: 0;
  right: -2px;
  bottom: 0;
  border: 0;
  background: none;
  font-size: 16px;
  padding: 0 20px;
  background: var(--accent-color);
  color: var(--black);
  transition: var(--transition);
  border-radius: 0 4px 4px 0;
}

#footer .footer-top .footer-newsletter form input[type=submit]:hover {
  background: #ffcd6b;
}

/* Los estilos de footer-contact ahora usan la clase footer-links estándar */

#footer .copyright {
  text-align: center;
  padding-top: 25px;
}

#footer .credits {
  padding-top: 10px;
  text-align: center;
  font-size: 13px;
  color: var(--white);
}

/* ========================================
   SWIPER/CAROUSEL CUSTOMIZATIONS
========================================= */
.swiper-pagination {
  margin-top: 20px;
  position: relative;
}

.swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: rgba(255, 255, 255, 0.4);
  opacity: 0.5;
}

.swiper-pagination .swiper-pagination-bullet-active {
  background-color: var(--accent-color);
  opacity: 1;
}

.testimonials .swiper-pagination .swiper-pagination-bullet {
  background-color: rgba(255, 255, 255, 0.4);
}

.testimonials .swiper-pagination .swiper-pagination-bullet-active {
  background-color: var(--accent-color);
}

/* ========================================
   RESPONSIVE DESIGN
========================================= */
@media (max-width: 1366px) {
  .navbar .dropdown .dropdown ul {
    left: -90%;
  }
  .navbar .dropdown .dropdown:hover > ul {
    left: -100%;
  }
}

@media (min-width: 1024px) {
  #hero {
    background-attachment: fixed;
  }
  .testimonials {
    background-attachment: fixed;
  }
}

@media (max-width: 992px) {
  .get-started-btn {
    padding: 7px 20px 8px 20px;
    margin-right: 15px;
  }
  
  .iconwasath {
    padding: 7px 20px 8px 20px;
    margin-right: 15px;
  }
  
  .solution-box {
    flex-direction: column;
    text-align: center;
  }
  
  .hero-title {
    font-size: 2.8rem;
  }
  
  .section-padding {
    padding: 60px 0;
  }
  
  .counts .image {
    text-align: center;
  }
  
  .counts .image img {
    max-width: 80%;
  }
  
  .breadcrumbs {
    margin-top: 68px;
  }
  
  .breadcrumbs .d-flex {
    display: block !important;
  }
  
  .breadcrumbs ol {
    display: block;
  }
  
  .breadcrumbs ol li {
    display: inline-block;
  }
  
  .testimonials .testimonial-item p {
    width: 80%;
  }
}

@media (max-width: 768px) {
  #hero h1 {
    font-size: 28px;
    line-height: 36px;
  }
  
  #hero h2 {
    font-size: 20px;
    line-height: 24px;
  }
  
  .whatsapp-float {
    bottom: 20px;
    right: 20px;
  }
  
  .iconwasath {
    width: 60px;
    height: 60px;
    padding: 10px;
  }
  
  .iconwasath img {
    width: 40px;
    height: 40px;
  }
  
  .hero-title {
    font-size: 2.2rem;
    line-height: 36px;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
    line-height: 24px;
  }
  
  .section-title p {
    font-size: 2rem;
  }
  
  .contact-item {
    flex-direction: column;
    text-align: center;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    margin: 0 auto;
    max-width: 300px;
  }
  
  .cta h3 {
    font-size: 2rem;
  }
  
  .back-to-top {
    bottom: 100px;
    right: 20px;
    width: 45px;
    height: 45px;
  }
  
  .counts .image img {
    max-width: 100%;
  }
  
  [data-aos-delay] {
    transition-delay: 0 !important;
  }
}

@media (max-width: 667px) {
  .counts .image img {
    max-width: 100%;
  }
}

@media (max-width: 576px) {
  .section-padding {
    padding: 40px 0;
  }
  
  .hero-title {
    font-size: 1.8rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .solution-box,
  .service-box {
    padding: 1.5rem;
  }
  
  .testimonial-item {
    padding: 2rem 1.5rem;
  }
  
  .member-info {
    padding: 1rem;
  }
  
  /* Mejorar formulario de contacto en móvil */
  .contact .form-group {
    margin-bottom: 20px;
  }
  
  .contact input,
  .contact textarea {
    font-size: 16px; /* Evitar zoom en iOS */
  }
  
  /* Mejorar botones en móvil */
  .get-started-btn,
  .cta-btn {
    padding: 12px 24px;
    font-size: 1rem;
    width: 100%;
    text-align: center;
    margin: 10px 0;
  }
  
  /* Mejorar spacing entre secciones */
  .section-title {
    margin-bottom: 50px;
    text-align: center;
  }
  
  .section-title h2 {
    font-size: 1.8rem;
  }
  
  .section-title p {
    font-size: 1.5rem;
  }
  
  .container {
    padding: 0 20px;
    text-align: center;
  }
  
  /* Centrar mejor las secciones de contacto */
  .contact .row {
    justify-content: center;
  }
  
  .contact-item {
    text-align: center;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    margin: 0 auto 1.5rem auto;
    max-width: 280px;
  }
  
  .contact-item i {
    margin: 0 auto 0.5rem auto;
    display: block;
  }
  
  .contact-content {
    text-align: center;
    width: 100%;
  }
  
  .contact .info {
    padding: 1rem;
    text-align: center;
  }
}

/* Media query específica para dispositivos muy pequeños */
@media (max-width: 480px) {
  .hero-title {
    font-size: 1.6rem;
    line-height: 1.3;
  }
  
  .hero-subtitle {
    font-size: 0.9rem;
    line-height: 1.4;
  }
  
  .container {
    padding: 0 15px;
    text-align: center;
  }
  
  /* Aumentar espaciado de títulos en móviles pequeños */
  .section-title {
    margin-bottom: 40px;
  }
  
  .stats-box {
    margin-bottom: 30px;
  }
  
  .service-box,
  .solution-box {
    margin-bottom: 20px;
    padding: 1rem;
    text-align: center;
  }
  
  /* Centrar mejor iconos y contenido */
  .solution-box .icon-wrapper,
  .service-box .icon {
    margin: 0 auto 15px auto;
  }
  
  .section-title h2 {
    font-size: 1.5rem;
  }
  
  .section-title p {
    font-size: 1.2rem;
  }
  
  #header {
    padding: 8px 0;
  }
  
  .logo {
    font-size: 1rem;
  }
  
  .logo-img {
    max-height: 35px;
  }
  
  /* Optimizar WhatsApp button para pantallas muy pequeñas */
  .whatsapp-float {
    bottom: 15px;
    right: 15px;
  }
  
  .iconwasath {
    width: 55px;
    height: 55px;
    padding: 8px;
  }
  
  .iconwasath img {
    width: 35px;
    height: 35px;
  }
  
  /* Mejorar visibilidad del menú móvil */
  .mobile-nav-toggle {
    font-size: 26px;
    padding: 14px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    min-width: 52px;
    min-height: 52px;
  }
  
  .navbar-mobile ul {
    left: 15px;
    right: 15px;
    max-height: 60vh;
    padding: 0;
    margin: 0;
  }
  
  .navbar-mobile ul li {
    margin: 0;
    padding: 0;
    width: 100%;
  }
  
  .navbar-mobile a {
    padding: 16px 20px;
    font-size: 16px;
    text-align: left;
    display: block;
    width: 100%;
  }
}

/* Media query para tablets en portrait */
@media (max-width: 768px) and (min-width: 577px) {
  .solution-box {
    flex-direction: row;
    text-align: left;
  }
  
  .solution-box .icon-wrapper {
    margin-right: 20px;
    margin-bottom: 0;
  }
  
  .service-box {
    text-align: center;
    padding: 2rem 1.5rem;
  }
  
  .hero-title {
    font-size: 2.2rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
}

/* ========================================
   UTILIDADES Y MEJORAS DE ACCESIBILIDAD
========================================= */

/* Focus Styles */
a:focus,
button:focus,
input:focus,
textarea:focus,
select:focus {
  outline: 3px solid var(--primary-color);
  outline-offset: 2px;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--secondary-color);
}

/* Animaciones mejoradas */
[data-aos].aos-animate {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

.notification {
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  max-width: 300px;
  word-wrap: break-word;
}

/* ========================================
   HIGH CONTRAST MODE SUPPORT
========================================= */
@media (prefers-contrast: high) {
  :root {
    --primary-color: #0066cc;
    --secondary-color: #000000;
    --text-dark: #000000;
    --box-shadow: 0 0 10px rgba(0,0,0,0.8);
  }
}

/* ========================================
   REDUCED MOTION SUPPORT
========================================= */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  .iconwasath {
    animation: none;
  }
  
  html {
    scroll-behavior: auto;
  }
}

/* ========================================
   PRINT STYLES
========================================= */
@media print {
  .whatsapp-float,
  .back-to-top,
  #header,
  .mobile-nav-toggle {
    display: none !important;
  }
  
  body {
    font-size: 12pt;
    line-height: 1.5;
  }
  
  .section-padding {
    padding: 20px 0;
  }
}

/* ========================================
   UTILIDADES ADICIONALES
========================================= */
.container_about {
  padding: 40px;
}

/* Campo de formulario personalizado */
.field {
  margin-bottom: 10px;
}

.field label {
  display: block;
  font-size: 12px;
  color: #777;
}

.field input {
  display: block;
  min-width: 250px;
  line-height: 1.5;
  font-size: 14px;
}

input[type="submit"] {
  display: block;
  padding: 6px 30px;
  font-size: 14px;
  background-color: #4460AA;
  color: var(--white);
  border: none;
}

/* Mejoras adicionales para componentes específicos */
.will-change-transform {
  will-change: transform;
}

.will-change-opacity {
  will-change: opacity;
}

/* Transiciones suaves para mobile nav */
.navbar-mobile {
  transition: transform 0.3s ease;
}

/* Focus mejorado para accesibilidad */
.navbar a:focus,
.btn-submit:focus,
.back-to-top:focus {
  outline: 2px solid #47b2e4;
  outline-offset: 2px;
}

/* ========================================
   FIN DEL ARCHIVO CSS COMBINADO
========================================= */