/* ===== IMPORTAR FUENTE ===== */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

/* ===== VARIABLES ===== */
:root {
  --primary-color: #0066CC;
  --primary-dark: #0052A3;
  --white: #FFFFFF;
  --gray-200: #E9ECEF;
  --gray-800: #343A40;
  --transition-normal: all 0.3s ease;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --font-bold: 700;
  --font-semibold: 600;
  --z-fixed: 1030;
  
  /* Variables adicionales para un sistema más completo */
  --black: #000000;
  --gray-100: #F8F9FA;
  --gray-300: #DEE2E6;
  --gray-400: #CED4DA;
  --gray-500: #ADB5BD;
  --gray-600: #6C757D;
  --gray-700: #495057;
  --gray-900: #212529;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
  --radius-sm: 0.25rem;
  --radius-md: 0.375rem;
  --radius-lg: 0.5rem;
  --container-width: 1200px;
  --font-family: 'Poppins', sans-serif;
}

/* ===== RESET GENERAL ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-family);
  line-height: 1.6;
  color: var(--gray-800);
  background-color: var(--white);
  overflow-x: hidden;
}

/* ===== ELEMENTOS DE TEXTO ===== */
h1, h2, h3, h4, h5, h6 {
  font-weight: var(--font-bold);
  line-height: 1.2;
  margin-bottom: var(--space-4);
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.75rem;
}

h4 {
  font-size: 1.5rem;
}

h5 {
  font-size: 1.25rem;
}

h6 {
  font-size: 1rem;
}

p {
  margin-bottom: var(--space-4);
}

/* ===== ENLACES ===== */
a {
  color: var(--primary-color);
  text-decoration: none;
  transition: var(--transition-normal);
}

a:hover {
  color: var(--primary-dark);
}

/* ===== IMÁGENES ===== */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ===== BOTONES ===== */
button {
  cursor: pointer;
  font-family: inherit;
  border: none;
  background: none;
}

/* ===== LISTAS ===== */
ul, ol {
  list-style: none;
}

/* ===== FORMULARIOS ===== */
input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

/* ===== CONTENEDOR PRINCIPAL ===== */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

/* ===== UTILIDADES DE DISEÑO ===== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.text-center {
  text-align: center;
}

/* ===== SISTEMA DE ESPACIADO ===== */
.section-padding {
  padding: 5rem 0;
}

.mt-3 {
  margin-top: var(--space-6);
}

/* ===== SISTEMA DE FONDOS ===== */
.bg-light {
  background-color: var(--gray-100);
}

.bg-dark {
  background-color: var(--gray-900);
  color: var(--white);
}

/* ===== SISTEMA DE GRID ===== */
.grid-2-col,
.grid-3-col,
.grid-4-col {
  display: grid;
  gap: var(--space-6);
}

.grid-2-col {
  grid-template-columns: repeat(2, 1fr);
}

.grid-3-col {
  grid-template-columns: repeat(3, 1fr);
}

.grid-4-col {
  grid-template-columns: repeat(4, 1fr);
}

/* ===== SISTEMA DE BOTONES ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  font-weight: var(--font-semibold);
  text-align: center;
  transition: var(--transition-normal);
  cursor: pointer;
}

.btn-primary {
  background-color: var(--primary-color);
  color: var(--white);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.btn-outline:hover {
  background-color: var(--primary-color);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: var(--text-xl);
}

.btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background-color: var(--white);
  color: var(--gray-800);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
}

.btn-icon:hover {
  background-color: var(--primary-color);
  color: var(--white);
  transform: scale(1.05);
  box-shadow: var(--shadow-md);
}

/* ===== HEADER ===== */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--white);
  box-shadow: var(--shadow-sm);
  z-index: var(--z-fixed);
  transition: var(--transition-normal);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-4) 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.logo-img {
  height: 40px;
}

.logo-text {
  font-weight: var(--font-bold);
  color: var(--primary-color);
}

.nav-list {
  display: flex;
  gap: var(--space-6);
}

.nav-link {
  color: var(--gray-800);
  font-weight: var(--font-semibold);
  position: relative;
}

.nav-link.active {
  color: var(--primary-color);
}

.menu-toggle {
  display: none;
}

/* ===== HERO SECTION ===== */
.hero-section {
  position: relative;
  height: 100vh;
  overflow: hidden;
  margin-top: 80px;
}

.slider-container {
  position: relative;
  height: 100%;
}

.slider-item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.slider-item.active {
  opacity: 1;
}

.slider-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slider-caption {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: var(--white);
  max-width: 800px;
  padding: var(--space-6);
  background: rgba(0, 0, 0, 0.5);
  border-radius: var(--radius-lg);
}

.slider-title {
  font-size: 3rem;
  margin-bottom: var(--space-4);
}

.highlight {
  color: var(--primary-color);
}

.slider-text {
  font-size: var(--text-xl);
  margin-bottom: var(--space-6);
}

.slider-controls {
  position: absolute;
  bottom: var(--space-8);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: var(--space-4);
}

/* ===== QUALITY SECTION ===== */
.quality-guarantee-content {
  align-items: center;
}

.calidad-icon {
  text-align: center;
}

.calidad-icon i {
  font-size: 5rem;
  color: var(--primary-color);
}

.quality-text {
  font-size: var(--text-xl);
  line-height: 1.8;
}

/* ===== PRODUCTOS SECTION ===== */
.section-header {
  margin-bottom: var(--space-8);
}

.section-title {
  font-size: 2.5rem;
  color: var(--gray-800);
  margin-bottom: var(--space-4);
}

.section-subtitle {
  font-size: var(--text-xl);
  color: var(--gray-600);
}

.product-card {
  position: relative;
  height: 400px;
  perspective: 1000px;
  cursor: pointer;
}

.card-front,
.card-back {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  transition: transform 0.8s ease;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.card-front {
  background: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.card-back {
  background: var(--primary-color);
  color: var(--white);
  transform: rotateY(180deg);
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.product-card:hover .card-front {
  transform: rotateY(180deg);
}

.product-card:hover .card-back {
  transform: rotateY(0deg);
}

.product-img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.card-title {
  padding: var(--space-4);
  text-align: center;
  font-size: var(--text-xl);
}

.features-list {
  margin-bottom: var(--space-6);
}

.feature-item {
  padding: var(--space-3) 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials-slider {
  position: relative;
  overflow: hidden;
}

.testimonials-track {
  display: flex;
  transition: transform 0.5s ease;
}

.testimonial-card {
  flex: 0 0 calc(33.333% - 2rem);
  margin: 0 var(--space-4);
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.testimonial-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.testimonial-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-content {
  padding: var(--space-6);
}

.testimonial-name {
  font-size: var(--text-xl);
  margin-bottom: var(--space-3);
}

.testimonial-rating {
  color: #FFD700;
  margin-bottom: var(--space-4);
}

.testimonial-text {
  font-style: italic;
  margin-bottom: var(--space-4);
  line-height: 1.6;
}

.testimonial-location {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  color: var(--gray-600);
}

/* ===== FOOTER ===== */
.main-footer {
  background: var(--gray-900);
  color: var(--white);
}

.footer-title {
  font-size: var(--text-xl);
  margin-bottom: var(--space-6);
  color: var(--white);
}

.footer-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer-item {
  padding: var(--space-3) 0;
}

.footer-link {
  color: var(--gray-300);
  transition: var(--transition-normal);
}

.footer-link:hover {
  color: var(--primary-color);
}

.social-icons {
  display: flex;
  gap: var(--space-4);
  margin-bottom: var(--space-6);
}

/*
.social-icon {
  width: 40px;
  height: 40px;
  transition: var(--transition-normal);
}

.social-icon:hover {
  transform: scale(1.1);
}
*/
.contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.contact-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.footer-bottom {
  border-top: 1px solid var(--gray-700);
  padding-top: var(--space-6);
  margin-top: var(--space-8);
  text-align: center;
}

.copyright {
  color: var(--gray-400);
}

/* ===== ANIMACIONES BASE ===== */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.appear {
  opacity: 1;
  transform: translateY(0);
}

/* ===== MEDIA QUERIES - RESPONSIVO ===== */
@media (max-width: 1200px) {
  :root {
    --container-width: 992px;
  }
  
  .grid-4-col {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 992px) {
  :root {
    --container-width: 768px;
  }
  
  h1 {
    font-size: 2.25rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  .slider-title {
    font-size: 2.5rem;
  }
  
  .grid-3-col {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .grid-4-col {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .testimonial-card {
    flex: 0 0 calc(50% - 2rem);
  }
}

@media (max-width: 768px) {
  :root {
    --container-width: 100%;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  .container {
    padding: 0 var(--space-4);
  }
  
  .menu-toggle {
    display: block;
    z-index: var(--z-fixed);
  }
  
  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100vh;
    background: var(--white);
    box-shadow: var(--shadow-lg);
    transition: right 0.3s ease;
    z-index: var(--z-fixed);
  }
  
  .main-nav.active {
    right: 0;
  }
  
  .nav-list {
    flex-direction: column;
    padding: 5rem var(--space-6);
    gap: var(--space-6);
  }
  
  .grid-2-col,
  .grid-3-col {
    grid-template-columns: 1fr;
  }
  
  .grid-4-col {
    grid-template-columns: 1fr;
  }
  
  .slider-title {
    font-size: 2rem;
  }
  
  .testimonial-card {
    flex: 0 0 calc(100% - 2rem);
  }
  
  .footer-content.grid-3-col {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }
}

@media (max-width: 576px) {
  html {
    font-size: 14px;
  }
  
  h1 {
    font-size: 1.75rem;
  }
  
  h2 {
    font-size: 1.375rem;
  }
  
  .section-padding {
    padding: 3rem 0;
  }
  
  .slider-caption {
    width: 90%;
  }
  
  .slider-title {
    font-size: 1.5rem;
  }
  
  .slider-text {
    font-size: 1rem;
  }
  
  .calidad-icon i {
    font-size: 3rem;
  }
  
  .quality-text {
    font-size: 1rem;
  }
}

/* ===== UTILIDADES JS PARA ANIMACIONES ===== */
.sticky-header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-md);
}

.animate-on-scroll {
  animation: fadeIn 1s ease forwards;
}

.delay-1 {
  animation-delay: 0.2s;
}

.delay-2 {
  animation-delay: 0.4s;
}

.delay-3 {
  animation-delay: 0.6s;
}

/*===================================================================*/
/*===================================================================*/


/* ========================== */
/* ===== ESTILOS HEADER ===== */
/* ========================== */

.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  z-index: var(--z-fixed);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  padding: 0.5rem 0;
}

.main-header.header-scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  padding: 0.3rem 0;
}

.main-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: translateY(-2px);
}

.logo-img {
  height: 45px;
  width: auto;
  transition: all 0.3s ease;
}

.header-scrolled .logo-img {
  height: 40px;
}

.logo-text {
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--primary-color);
  letter-spacing: -0.5px;
  margin: 0;
}

/* Estilos de navegación */
.main-nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  gap: 2rem;
  margin: 0;
  padding: 0;
}

.nav-item {
  position: relative;
}

.nav-link {
  color: var(--gray-800);
  font-weight: 500;
  font-size: 1rem;
  padding: 0.5rem 0;
  position: relative;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-link::before {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: width 0.3s ease;
}

.nav-link:hover {
  color: var(--primary-color);
}

.nav-link:hover::before,
.nav-link.active::before {
  width: 100%;
}

.nav-link.active {
  color: var(--primary-color);
  font-weight: 600;
}

/* Menu Toggle (Mobile) */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background: var(--primary-color);
  border-radius: 8px;
  position: relative;
  z-index: 1001;
  transition: all 0.3s ease;
}

.menu-toggle:hover {
  background: var(--primary-dark);
  transform: scale(1.05);
}

.menu-icon,
.close-icon {
  font-size: 1.5rem;
  color: white;
  transition: all 0.3s ease;
}

.close-icon {
  position: absolute;
  opacity: 0;
  transform: rotate(90deg);
}

.menu-toggle.active .menu-icon {
  opacity: 0;
  transform: rotate(90deg);
}

.menu-toggle.active .close-icon {
  opacity: 1;
  transform: rotate(0deg);
}

/* Mobile Navigation */
@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }
  
  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: white;
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.1);
    transition: right 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: 1000;
    padding: 5rem 1.5rem 2rem;
    display: flex;
    flex-direction: column;
  }
  
  .main-nav.active {
    right: 0;
  }
  
  .nav-list {
    flex-direction: column;
    gap: 0;
    width: 100%;
  }
  
  .nav-item {
    width: 100%;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  }
  
  .nav-link {
    padding: 1rem 0;
    font-size: 1.1rem;
    width: 100%;
    justify-content: space-between;
  }
  
  .logo-text {
    font-size: 1.3rem;
  }
  
  .logo-img {
    height: 38px;
  }
  
  .main-header .container {
    padding: 0 1rem;
  }
}

/* Animation for header elements */
@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.main-header .logo,
.main-header .nav-list {
  animation: slideDown 0.6s ease forwards;
}

.main-header .nav-list .nav-item:nth-child(1) { animation-delay: 0.1s; }
.main-header .nav-list .nav-item:nth-child(2) { animation-delay: 0.2s; }
.main-header .nav-list .nav-item:nth-child(3) { animation-delay: 0.3s; }
.main-header .nav-list .nav-item:nth-child(4) { animation-delay: 0.4s; }

/* Responsive adjustments */
@media (max-width: 992px) {
  .nav-list {
    gap: 1.5rem;
  }
  
  .logo-text {
    font-size: 1.3rem;
  }
}

@media (max-width: 368px) {
  .logo-text {
    display: none;
  }
  
  .logo {
    gap: 0;
  }
  
  .logo-img {
    height: 35px;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .main-header {
    background: white;
    border-bottom: 2px solid black;
  }
  
  .nav-link {
    font-weight: 700;
  }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  .main-header,
  .nav-link,
  .menu-toggle,
  .logo {
    transition: none;
  }
  
  .main-nav {
    transition: right 0.2s ease;
  }
  
  .main-header .logo,
  .main-header .nav-list {
    animation: none;
  }
}

/* ======================== */
/* ===== SECCION HERO ===== */
/* ======================== */

.hero-section {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  margin-top: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slider-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.slider-item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.8s ease, transform 1.2s ease;
  transform: scale(1.1);
}

.slider-item.active {
  opacity: 1;
  transform: scale(1);
  z-index: 2;
}

.slider-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.7);
  transition: transform 8s ease;
}

.slider-item.active .slider-img {
  transform: scale(1.05);
}

.slider-caption {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: var(--white);
  max-width: 800px;
  padding: var(--space-8);
  z-index: 3;
  opacity: 0;
  transition: opacity 0.8s ease 0.3s, transform 0.8s ease 0.3s;
  transform: translate(-50%, -40%);
}

.slider-item.active .slider-caption {
  opacity: 1;
  transform: translate(-50%, -50%);
}

.slider-title {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: var(--space-4);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  line-height: 1.2;
}

.highlight {
  color: var(--primary-color);
  position: relative;
  display: inline-block;
}

.highlight::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--primary-color);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.8s ease;
}

.slider-item.active .highlight::after {
  transform: scaleX(1);
}

.slider-text {
  font-size: 1.5rem;
  margin-bottom: var(--space-8);
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease 0.5s, transform 0.8s ease 0.5s;
}

.slider-item.active .slider-text {
  opacity: 1;
  transform: translateY(0);
}

.slider-controls {
  position: absolute;
  bottom: var(--space-8);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: var(--space-4);
  z-index: 10;
}

.slider-prev,
.slider-next {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  opacity: 0;
  animation: fadeInUp 0.8s ease 1s forwards;
}

.slider-prev:hover,
.slider-next:hover {
  background: var(--primary-color);
  border-color: var(--primary-color);
  transform: scale(1.1);
}

.slider-pagination {
  position: absolute;
  bottom: 0.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: var(--space-3);
  z-index: 10;
}

.slider-pagination button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.slider-pagination button.active {
  background: var(--primary-color);
  transform: scale(1.2);
}

.slider-pagination button:hover {
  background: var(--white);
}

/* ===== ANIMACIONES ESPECÍFICAS HERO ===== */
@keyframes slideInFromBottom {
  from {
    opacity: 0;
    transform: translateY(100px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* ===== RESPONSIVE HERO ===== */
@media (max-width: 992px) {
  .slider-title {
    font-size: 2.8rem;
  }
  
  .slider-text {
    font-size: 1.3rem;
  }
  
  .hero-section {
    min-height: 500px;
  }
}

@media (max-width: 768px) {
  .slider-title {
    font-size: 2.2rem;
  }
  
  .slider-text {
    font-size: 1.1rem;
    margin-bottom: var(--space-6);
  }
  
  .slider-caption {
    padding: var(--space-6);
    width: 90%;
  }
  
  .slider-prev,
  .slider-next {
    width: 40px;
    height: 40px;
  }
  
  .hero-section {
    min-height: 450px;
    margin-top: 70px;
  }
  
  /* ===== CORRECCIÓN: PARTE DERECHA IMÁGENES EN MOBILE ===== */
  .slider-img {
    object-position: right center;
  }
  
  /* Ajustes específicos para cada imagen */
  .slider-item[data-slide="1"] .slider-img {
    object-position: 75% center;
  }
  
  .slider-item[data-slide="2"] .slider-img {
    object-position: 70% center;
  }
  
  /* Overlay asimétrico para mejor contraste */
  .hero-section::before {
    background: linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.7) 0%,
      rgba(0, 0, 0, 0.4) 40%,
      rgba(0, 0, 0, 0.2) 100%
    );
  }
}

@media (max-width: 576px) {
  .slider-title {
    font-size: 1.8rem;
  }
  
  .slider-text {
    font-size: 1rem;
  }
  
  .slider-caption {
    padding: var(--space-4);
  }
  
  .hero-section {
    min-height: 400px;
    margin-top: 60px;
  }
  
  .slider-controls {
    bottom: var(--space-4);
  }
  
  .slider-pagination {
    bottom: var(--space-3);
  }
  
  /* ===== MÁS ENFOQUE A LA DERECHA EN MÓVILES PEQUEÑOS ===== */
  .slider-img {
    object-position: 85% center;
  }
  
  .slider-item[data-slide="1"] .slider-img {
    object-position: 80% center;
  }
  
  .slider-item[data-slide="2"] .slider-img {
    object-position: 75% center;
  }
}

/* ===== EFECTOS ESPECIALES ===== */
.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    45deg,
    rgba(0, 0, 0, 0.4) 0%,
    rgba(0, 0, 0, 0.2) 50%,
    rgba(0, 0, 0, 0.4) 100%
  );
  z-index: 1;
}

/* Efecto de partículas sutiles */
.hero-section::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.1) 2px, transparent 2px),
    radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
  background-size: 50px 50px, 30px 30px;
  z-index: 1;
  animation: float 20s infinite linear;
}

@keyframes float {
  0% { background-position: 0 0, 0 0; }
  100% { background-position: 50px 50px, 30px 30px; }
}

/* ===== LANDSCAPE MOBILE ===== */
@media (max-width: 768px) and (orientation: landscape) {
  .slider-img {
    object-position: 65% center;
  }
  
  .hero-section {
    min-height: 350px;
  }
}

/* ===== REDUCED MOTION SUPPORT ===== */
@media (prefers-reduced-motion: reduce) {
  .slider-item,
  .slider-img,
  .slider-caption,
  .slider-text,
  .highlight::after,
  .slider-prev,
  .slider-next {
    transition: none;
    animation: none;
  }
  
  .hero-section::after {
    animation: none;
    display: none;
  }
  
  /* Mantener el enfoque a la derecha incluso con reduced motion */
  @media (max-width: 768px) {
    .slider-img {
      object-position: right center;
    }
  }
}

/*=======================================*/
/* ===== QUALITY GUARANTEE SECTION ===== */
/*=======================================*/
.quality-guarantee {
  position: relative;
  padding: 6rem 0;
  background: linear-gradient(135deg, var(--gray-100) 0%, var(--white) 100%);
  overflow: hidden;
}

.quality-guarantee::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 300px;
  height: 200%;
  background: linear-gradient(45deg, var(--primary-color) 0%, transparent 70%);
  opacity: 0.03;
  transform: rotate(15deg);
  animation: floatBackground 20s ease-in-out infinite;
}

.quality-guarantee .container {
  position: relative;
  z-index: 2;
}

.section-title {
  text-align: center;
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--gray-800);
  margin-bottom: 3rem;
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--primary-dark));
  border-radius: 2px;
}

.quality-guarantee-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
}

.calidad-icon {
  text-align: center;
  position: relative;
}

.calidad-icon i {
  font-size: 6rem;
  color: var(--primary-color);
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 5px 15px rgba(0, 102, 204, 0.2));
  animation: pulse 3s ease-in-out infinite;
}

.calidad-icon::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120px;
  height: 120px;
  background: linear-gradient(135deg, rgba(0, 102, 204, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  z-index: -1;
  animation: rotate 10s linear infinite;
}

.calidad-texto {
  position: relative;
}

.quality-text {
  font-size: 1.3rem;
  line-height: 1.8;
  color: var(--gray-700);
  margin-bottom: 2.5rem;
  position: relative;
  padding: 0 2rem;
  text-align: center;
}

/* COMILLAS DE APERTURA Y CIERRE CORREGIDAS */
.quality-text::before,
.quality-text::after {
  content: '"';
  position: absolute;
  font-size: 4rem;
  font-weight: 800;
  color: var(--primary-color);
  opacity: 0.15;
  font-family: 'Times New Roman', serif;
  line-height: 1;
}

.quality-text::before {
  top: -15px;
  left: 0;
}

.quality-text::after {
  content: '"';
  bottom: -30px;
  right: 0;
}

/* ===== ANIMATIONS ===== */
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.05); opacity: 0.8; }
}

@keyframes rotate {
  0% { transform: translate(-50%, -50%) rotate(0deg); }
  100% { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes floatBackground {
  0%, 100% { transform: rotate(15deg) translateY(0); }
  50% { transform: rotate(15deg) translateY(-20px); }
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 992px) {
  .quality-guarantee-content {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }
  
  .section-title {
    font-size: 2.4rem;
  }
  
  .calidad-icon i {
    font-size: 5rem;
  }
  
  .quality-text {
    padding: 0 1.5rem;
    margin-top: 1rem;
  }
  
  .quality-text::before {
    top: -20px;
    left: 10px;
  }
  
  .quality-text::after {
    bottom: -35px;
    right: 10px;
  }
}

@media (max-width: 768px) {
  .quality-guarantee {
    padding: 4rem 0;
  }
  
  .section-title {
    font-size: 2rem;
    margin-bottom: 2.5rem;
  }
  
  .quality-text {
    font-size: 1.1rem;
    padding: 0 1rem;
  }
  
  .quality-text::before,
  .quality-text::after {
    font-size: 3rem;
  }
  
  .quality-text::before {
    top: -15px;
    left: 5px;
  }
  
  .quality-text::after {
    bottom: -25px;
    right: 5px;
  }
  
  .calidad-icon i {
    font-size: 4rem;
  }
  
  .calidad-icon::before {
    width: 100px;
    height: 100px;
  }
}

@media (max-width: 576px) {
  .quality-guarantee {
    padding: 3rem 0;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .section-title::after {
    width: 60px;
    height: 3px;
  }
  
  .quality-text {
    font-size: 1rem;
    line-height: 1.7;
    padding: 0 0.5rem;
  }
  
  .quality-text::before,
  .quality-text::after {
    font-size: 2.5rem;
  }
  
  .quality-text::before {
    top: -12px;
    left: 0;
  }
  
  .quality-text::after {
    bottom: -20px;
    right: 0;
  }
  
  .calidad-icon i {
    font-size: 3.5rem;
  }
  
  .calidad-icon::before {
    width: 80px;
    height: 80px;
  }
  
  .quality-guarantee-content {
    gap: 2.5rem;
  }
}

/* ===== REDUCED MOTION SUPPORT ===== */
@media (prefers-reduced-motion: reduce) {
  .calidad-icon i,
  .calidad-icon::before,
  .quality-guarantee::before {
    animation: none;
  }
  
  .quality-guarantee::before {
    opacity: 0.1;
  }
}

/* ===== DARK MODE SUPPORT ===== */
@media (prefers-color-scheme: dark) {
  .quality-guarantee {
    background: linear-gradient(135deg, var(--gray-800) 0%, var(--gray-900) 100%);
  }
  
  .section-title {
    color: var(--white);
  }
  
  .quality-text {
    color: var(--gray-300);
  }
}

/*=======================================*/
/* ===== FEATURED PRODUCTS SECTION ===== */
/*=======================================*/
/* ===== FEATURED PRODUCTS SECTION ===== */
.featured-products {
  position: relative;
  padding: 7rem 0;
  background: var(--white);
}

.featured-products .container {
  position: relative;
  z-index: 2;
}

.section-header {
  text-align: center;
  margin-bottom: 6rem;
}

.section-title {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--gray-800);
  margin-bottom: 2rem;
  position: relative;
  padding-bottom: 1.5rem;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--primary-dark));
  border-radius: 2px;
}

.section-subtitle {
  font-size: 1.3rem;
  color: var(--gray-600);
  font-weight: 400;
  margin-top: 3rem;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.5rem;
  margin-bottom: 3rem;
  justify-content: center;
  align-items: center;
}

.product-card {
  position: relative;
  height: 500px;
  width: 300px;
  perspective: 1000px;
  cursor: pointer;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  margin: 0 auto;
}

.product-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--shadow-lg);
}

.card-front,
.card-back {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  transition: transform 0.8s ease;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.card-front {
  background: var(--white);
  display: flex;
  flex-direction: column;
}

.product-img {
  width: 100%;
  height: 75%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.product-card:hover .product-img {
  transform: scale(1.05);
}

.card-title {
  padding: 1.5rem;
  text-align: center;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--gray-800);
  margin: 0;
  height: 25%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ===== CARD-BACK CORREGIDO - SIN SUPERPOSICIÓN ===== */
.card-back {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  color: var(--white);
  transform: rotateY(180deg);
  padding: 1.5rem 2rem 1rem 2rem; /* Más padding en top, menos en bottom */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  min-height: 100%;
}

.card-back .card-title {
  color: var(--white);
  margin-bottom: 0.8rem; /* Espacio consistente */
  height: auto;
  padding: 0.5rem 0;
  font-size: 1.3rem;
  text-align: center;
  width: 100%;
}

.features-list {
  list-style: none;
  padding: 0;
  margin: 0;
  flex-grow: 1;
  width: 100%;
  max-height: 350px; /* Altura reducida para evitar scroll */
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-start; /* Alineación desde arriba */
  gap: 0.5rem; /* Espacio entre items */
}

.feature-item {
  padding: 0.6rem 0 0.6rem 1.8rem; /* Padding izquierdo aumentado */
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.92rem;
  position: relative;
  line-height: 1.4;
  margin-bottom: 0;
  flex-shrink: 0;
  min-height: 2.2rem; /* Altura mínima para cada item */
}

/* VISTOS POSICIONADOS CORRECTAMENTE */
.feature-item::before {
  content: '✓';
  position: absolute;
  left: 0.5rem; /* Más espacio desde la izquierda */
  top: 50%;
  transform: translateY(-50%); /* Centrado vertical perfecto */
  color: var(--white);
  font-weight: bold;
  font-size: 1rem;
  width: 1.2rem;
  text-align: center;
}

.feature-item:last-child {
  border-bottom: none;
}

/* Espacio inferior adicional */
.card-back::after {
  content: '';
  height: 0.5rem;
  flex-shrink: 0;
}

.text-center {
  text-align: center;
}

.mt-3 {
  margin-top: 3rem;
}

/* ===== ANIMATIONS ===== */
@keyframes productCardAppear {
  from {
    opacity: 0;
    transform: translateY(50px) rotate(5deg);
  }
  to {
    opacity: 1;
    transform: translateY(0) rotate(0deg);
  }
}

.product-card {
  animation: productCardAppear 0.8s ease forwards;
}

.product-card:nth-child(1) { animation-delay: 0.1s; }
.product-card:nth-child(2) { animation-delay: 0.2s; }
.product-card:nth-child(3) { animation-delay: 0.3s; }
.product-card:nth-child(4) { animation-delay: 0.4s; }

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1200px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
  }
  
  .features-list {
    max-height: 240px;
  }
  
  .feature-item {
    padding-left: 1.6rem;
    font-size: 0.9rem;
  }
  
  .feature-item::before {
    left: 0.4rem;
    font-size: 0.95rem;
  }
}

@media (max-width: 992px) {
  .featured-products {
    padding: 6rem 0;
  }
  
  .section-title {
    font-size: 2.4rem;
  }
  
  .section-subtitle {
    font-size: 1.1rem;
  }
  
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }
  
  .card-back {
    padding: 1.2rem 1.8rem 0.8rem 1.8rem;
  }
  
  .features-list {
    max-height: 220px;
  }
  
  .feature-item {
    padding-left: 1.5rem;
    font-size: 0.88rem;
    min-height: 2rem;
  }
  
  .feature-item::before {
    left: 0.3rem;
    font-size: 0.9rem;
  }
}

@media (max-width: 768px) {
  .featured-products {
    padding: 5rem 0;
  }
  
  .section-title {
    font-size: 2rem;
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
  }
  
  .section-header {
    margin-bottom: 5rem;
  }
  
  .section-subtitle {
    margin-top: 2.5rem;
  }
  
  .product-grid {
    gap: 2.5rem;
  }
  
  .card-back {
    padding: 1rem 1.5rem 0.8rem 1.5rem;
  }
  
  .card-back .card-title {
    font-size: 1.2rem;
    margin-bottom: 0.6rem;
  }
  
  .features-list {
    max-height: 200px;
    gap: 0.4rem;
  }
  
  .feature-item {
    padding-left: 1.4rem;
    font-size: 0.85rem;
    min-height: 1.9rem;
  }
  
  .feature-item::before {
    left: 0.2rem;
    font-size: 0.85rem;
  }
}

@media (max-width: 576px) {
  .featured-products {
    padding: 4rem 0;
  }
  
  .section-title {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
  }
  
  .section-subtitle {
    font-size: 1rem;
    margin-top: 2rem;
  }
  
  .product-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    margin: 0 auto 2rem auto;
  }
  
  .card-back {
    padding: 1.2rem 1.2rem 0.8rem 1.2rem;
  }
  
  .features-list {
    max-height: 180px;
    gap: 0.3rem;
  }
  
  .feature-item {
    padding-left: 1.3rem;
    font-size: 0.82rem;
    min-height: 1.8rem;
    line-height: 1.3;
  }
  
  .feature-item::before {
    left: 0.1rem;
    font-size: 0.8rem;
    width: 1rem;
  }
}

/* ===== TOUCH DEVICE SUPPORT ===== */
@media (hover: none) {
  .product-card {
    transition: none;
  }
  
  .product-card:hover {
    transform: none;
    box-shadow: var(--shadow-md);
  }
  
  .product-card.flipped .card-front {
    transform: rotateY(180deg);
  }
  
  .product-card.flipped .card-back {
    transform: rotateY(0deg);
  }
}

/* ===== REDUCED MOTION SUPPORT ===== */
@media (prefers-reduced-motion: reduce) {
  .product-card,
  .card-front,
  .card-back,
  .product-img {
    transition: none;
    animation: none;
  }
  
  .product-card:hover {
    transform: none;
  }
}

/* ===== DARK MODE SUPPORT ===== */
@media (prefers-color-scheme: dark) {
  .featured-products {
    background: var(--gray-900);
  }
  
  .section-title {
    color: var(--white);
  }
  
  .section-subtitle {
    color: var(--gray-400);
  }
  
  .card-front {
    background: var(--gray-800);
  }
  
  .card-title {
    color: var(--white);
  }
}

/* ===== SCROLLBAR PERSONALIZADO ===== */
.features-list::-webkit-scrollbar {
  width: 4px;
}

.features-list::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
}

.features-list::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.3);
  border-radius: 2px;
}

.features-list::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.5);
}


/*==================================*/
/* ===== TESTIMONIALS SECTION ===== */
/*==================================*/
.testimonials-section {
  position: relative;
  padding: 6rem 0;
  background: linear-gradient(135deg, var(--gray-100) 0%, var(--white) 100%);
  overflow: hidden;
}

.testimonials-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -10%;
  width: 300px;
  height: 200%;
  background: linear-gradient(45deg, var(--primary-color) 0%, transparent 70%);
  opacity: 0.03;
  transform: rotate(-15deg);
  animation: floatBackground 20s ease-in-out infinite alternate;
}

.testimonials-section .container {
  position: relative;
  z-index: 2;
}

.testimonials-slider {
  position: relative;
  overflow: hidden;
  padding: 2rem 0;
}

.testimonials-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.215, 0.610, 0.355, 1);
  will-change: transform;
}

.testimonial-card {
  flex: 0 0 calc(33.333% - 2rem);
  margin: 0 1rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  opacity: 0.7;
  transform: scale(0.95);
}

.testimonial-card.active {
  opacity: 1;
  transform: scale(1);
  box-shadow: var(--shadow-xl);
}

.testimonial-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
  position: relative;
}

.testimonial-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.testimonial-card:hover .testimonial-img {
  transform: scale(1.05);
}

.testimonial-image::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 40%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, transparent 100%);
}

.testimonial-content {
  padding: 2rem;
  position: relative;
}

.testimonial-name {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--gray-800);
  margin-bottom: 0.5rem;
}

.testimonial-rating {
  color: #FFD700;
  font-size: 1.2rem;
  margin-bottom: 1rem;
  display: flex;
  gap: 0.2rem;
}

.testimonial-text {
  font-style: italic;
  color: var(--gray-700);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  position: relative;
  padding: 0 1rem;
}

.testimonial-text::before,
.testimonial-text::after {
  content: '"';
  font-size: 3rem;
  color: var(--primary-color);
  opacity: 0.2;
  position: absolute;
  font-family: 'Times New Roman', serif;
}

.testimonial-text::before {
  top: -1rem;
  left: -1rem;
}

.testimonial-text::after {
  bottom: -2rem;
  right: 0;
}

.testimonial-location {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--gray-600);
  font-size: 0.9rem;
}

.testimonial-location i {
  color: var(--primary-color);
}

/* Slider Controls */
.testimonials-slider .slider-controls {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  padding: 0 1rem;
  z-index: 10;
}

.testimonials-slider .slider-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--gray-300);
  color: var(--gray-700);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-md);
}

.testimonials-slider .slider-btn:hover {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: var(--white);
  transform: scale(1.1);
}

.testimonials-slider .slider-pagination {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
}

.testimonials-slider .slider-pagination button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: none;
  background: var(--gray-300);
  cursor: pointer;
  transition: all 0.3s ease;
}

.testimonials-slider .slider-pagination button.active {
  background: var(--primary-color);
  transform: scale(1.2);
}

/* ===== ANIMATIONS ===== */
@keyframes floatBackground {
  0% {
    transform: rotate(-15deg) translateY(0px);
  }
  100% {
    transform: rotate(-15deg) translateY(-30px);
  }
}

@keyframes slideInTestimonial {
  from {
    opacity: 0;
    transform: translateX(100px) rotate(2deg);
  }
  to {
    opacity: 1;
    transform: translateX(0) rotate(0deg);
  }
}

.testimonial-card {
  animation: slideInTestimonial 0.8s ease forwards;
}

.testimonial-card:nth-child(1) { animation-delay: 0.1s; }
.testimonial-card:nth-child(2) { animation-delay: 0.2s; }
.testimonial-card:nth-child(3) { animation-delay: 0.3s; }
.testimonial-card:nth-child(4) { animation-delay: 0.4s; }
.testimonial-card:nth-child(5) { animation-delay: 0.5s; }
.testimonial-card:nth-child(6) { animation-delay: 0.6s; }

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1200px) {
  .testimonial-card {
    flex: 0 0 calc(50% - 2rem);
  }
}

@media (max-width: 992px) {
  .testimonials-section {
    padding: 5rem 0;
  }
  
  .testimonial-card {
    flex: 0 0 calc(50% - 1.5rem);
    margin: 0 0.75rem;
  }
  
  .testimonial-content {
    padding: 1.5rem;
  }
  
  .testimonial-name {
    font-size: 1.2rem;
  }
  
  .testimonial-text {
    font-size: 0.95rem;
    padding: 0 0.5rem;
  }
  
  .testimonial-text::before,
  .testimonial-text::after {
    font-size: 2.5rem;
  }
}

@media (max-width: 768px) {
  .testimonials-section {
    padding: 4rem 0;
  }
  
  .testimonial-card {
    flex: 0 0 calc(100% - 2rem);
    margin: 0 1rem;
  }
  
  .testimonials-slider .slider-btn {
    width: 40px;
    height: 40px;
  }
  
  .testimonial-image {
    height: 180px;
  }
  
  .testimonial-content {
    padding: 1.5rem;
  }
  
  .testimonial-name {
    font-size: 1.1rem;
  }
  
  .testimonial-text {
    font-size: 0.9rem;
    margin-bottom: 1.2rem;
  }
  
  .testimonial-rating {
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
  }
}

@media (max-width: 576px) {
  .testimonials-section {
    padding: 3rem 0;
  }
  
  .testimonial-card {
    flex: 0 0 calc(100% - 1rem);
    margin: 0 0.5rem;
  }
  
  .testimonial-image {
    height: 160px;
  }
  
  .testimonial-content {
    padding: 1.2rem;
  }
  
  .testimonial-name {
    font-size: 1rem;
  }
  
  .testimonial-text {
    font-size: 0.85rem;
    padding: 0;
    margin-bottom: 1rem;
  }
  
  .testimonial-text::before,
  .testimonial-text::after {
    font-size: 2rem;
  }
  
  .testimonial-text::before {
    top: -0.5rem;
  }
  
  .testimonial-text::after {
    bottom: -1.5rem;
  }
  
  .testimonial-rating {
    font-size: 1rem;
  }
  
  .testimonial-location {
    font-size: 0.8rem;
  }
  
  .testimonials-slider .slider-btn {
    width: 35px;
    height: 35px;
  }
}

/* ===== TOUCH DEVICE SUPPORT ===== */
@media (hover: none) {
  .testimonial-card:hover {
    transform: scale(0.95);
    box-shadow: var(--shadow-lg);
  }
  
  .testimonial-card:hover .testimonial-img {
    transform: scale(1);
  }
}

/* ===== REDUCED MOTION SUPPORT ===== */
@media (prefers-reduced-motion: reduce) {
  .testimonials-track,
  .testimonial-img,
  .testimonial-card,
  .slider-btn {
    transition: none;
    animation: none;
  }
  
  .testimonials-section::before {
    animation: none;
  }
  
  .testimonial-card {
    opacity: 1;
    transform: scale(1);
  }
}

/* ===== DARK MODE SUPPORT ===== */
@media (prefers-color-scheme: dark) {
  .testimonials-section {
    background: linear-gradient(135deg, var(--gray-800) 0%, var(--gray-900) 100%);
  }
  
  .testimonial-card {
    background: var(--gray-800);
  }
  
  .testimonial-name {
    color: var(--white);
  }
  
  .testimonial-text {
    color: var(--gray-300);
  }
  
  .testimonial-location {
    color: var(--gray-400);
  }
  
  .testimonials-slider .slider-btn {
    background: var(--gray-700);
    border-color: var(--gray-600);
    color: var(--white);
  }
}


/*============================*/
/* ===== FOOTER SECTION ===== */
/*============================*/
.main-footer {
  position: relative;
  padding: 4rem 0 2rem 0;
  background: var(--gray-900);
  color: var(--white);
}

.main-footer .container {
  position: relative;
  z-index: 2;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-section {
  display: flex;
  flex-direction: column;
}

.footer-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--primary-color);
  border-radius: 2px;
}

.footer-list {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-item {
  padding: 0.5rem 0;
  color: var(--gray-300);
  transition: all 0.3s ease;
  position: relative;
  padding-left: 0;
}

.footer-item::before {
  margin-right: 0.5rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.footer-item:hover {
  color: var(--primary-color);
  transform: translateX(5px);
}

.footer-item:hover::before {
  opacity: 1;
}

.footer-link {
  color: var(--gray-300);
  text-decoration: none;
  transition: all 0.3s ease;
  display: block;
  padding: 0.3rem 0;
}

.footer-link:hover {
  color: var(--primary-color);
  transform: translateX(5px);
}

/* Social Links */
.social-icons {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
}

.social-link {
  display: inline-block;
  transition: all 0.3s ease;
}

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  transition: all 0.3s ease;
  filter: grayscale(100%) brightness(0.8);
}

.social-link:hover .social-icon {
  filter: grayscale(0%) brightness(1);
  transform: scale(1.1) translateY(-2px);
}

/* Contact Info */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--gray-300);
  transition: color 0.3s ease;
}

.contact-item:hover {
  color: var(--primary-color);
}

.contact-item i {
  color: var(--primary-color);
  font-size: 1.1rem;
  width: 20px;
  text-align: center;
}

/* Footer Bottom */
.footer-bottom {
  border-top: 1px solid var(--gray-700);
  padding-top: 2rem;
  text-align: center;
}

.copyright {
  color: var(--gray-400);
  font-size: 0.9rem;
  margin: 0;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUpFooter {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.footer-section {
  animation: fadeInUpFooter 0.8s ease forwards;
}

.footer-section:nth-child(1) { animation-delay: 0.1s; }
.footer-section:nth-child(2) { animation-delay: 0.2s; }
.footer-section:nth-child(3) { animation-delay: 0.3s; }

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 992px) {
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }
  
  .footer-section:last-child {
    grid-column: span 2;
    text-align: center;
  }
  
  .social-icons {
    justify-content: center;
  }
  
  .contact-info {
    align-items: center;
  }
}

@media (max-width: 768px) {
  .main-footer {
    padding: 3rem 0 1.5rem 0;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
  
  .footer-section:last-child {
    grid-column: span 1;
  }
  
  .footer-title::after {
    left: 50%;
    transform: translateX(-50%);
  }
  
  .footer-list {
    align-items: center;
  }
  
  .footer-item:hover {
    transform: translateX(0);
  }
  
  .footer-link:hover {
    transform: translateX(0);
  }
  
  .social-icons {
    justify-content: center;
  }
  
  .contact-info {
    align-items: center;
  }
}

@media (max-width: 576px) {
  .main-footer {
    padding: 2.5rem 0 1rem 0;
  }
  
  .footer-content {
    gap: 1.8rem;
  }
  
  .footer-title {
    font-size: 1.2rem;
    margin-bottom: 1.2rem;
  }
  
  .footer-list {
    gap: 0.6rem;
  }
  
  .footer-item {
    padding: 0.4rem 0;
    font-size: 0.9rem;
  }
  
  .social-icon {
    width: 35px;
    height: 35px;
  }
  
  .contact-item {
    font-size: 0.9rem;
    gap: 0.6rem;
  }
  
  .contact-item i {
    font-size: 1rem;
  }
  
  .copyright {
    font-size: 0.8rem;
  }
}

/* ===== DARK MODE SUPPORT ===== */
@media (prefers-color-scheme: dark) {
  .main-footer {
    background: var(--gray-900);
  }
  
  .footer-item,
  .footer-link,
  .contact-item {
    color: var(--gray-300);
  }
  
  .footer-item:hover,
  .footer-link:hover,
  .contact-item:hover {
    color: var(--primary-color);
  }
}

/* ===== REDUCED MOTION SUPPORT ===== */
@media (prefers-reduced-motion: reduce) {
  .footer-section,
  .footer-item,
  .footer-link,
  .social-link,
  .contact-item {
    animation: none;
    transition: none;
  }
  
  .footer-item:hover,
  .footer-link:hover {
    transform: none;
  }
  
  .social-link:hover .social-icon {
    transform: none;
  }
}

/* ===== ENHANCED VISUAL EFFECTS ===== */
.main-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(0, 102, 204, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.footer-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--primary-color);
  transition: width 0.3s ease;
}

.footer-item:hover::after {
  width: 63%;
}

#footer-links .footer-item:hover::after {
  width: 45%;
}

/* Social media specific hover effects */
/*
.social-link[href*="facebook"]:hover .social-icon {
  filter: brightness(1) sepia(1) saturate(5) hue-rotate(200deg);
}

.social-link[href*="instagram"]:hover .social-icon {
  filter: brightness(1) sepia(1) saturate(5) hue-rotate(300deg);
}
*/