/* Fonts */
:root {
  --default-font: "Winky Rough", system-ui, -apple-system, "Segoe UI", sans-serif,
    "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --heading-font: "Winky Rough", sans-serif;
  --nav-font: "Winky Rough", sans-serif;
}

/* Global Colors - Nueva paleta de colores para Empren de Hoy */
:root {
  --background-color: #f8fafc;
  --default-color: #1e293b;
  --heading-color: #0f172a;
  --accent-color: #dc2626;
  --surface-color: #ffffff;
  --contrast-color: #ffffff;
  --bg-color: #059669;
  --nav-color: #dc2626;
  --nav-hover-color: #059669;
  --nav-mobile-background-color: #ffffff;
  --nav-dropdown-background-color: #f1f5f9;
  --nav-dropdown-color: #1e293b;
  --nav-dropdown-hover-color: #dc2626;
  --light-text: #64748b;
  --gradient-primary: linear-gradient(135deg, #dc2626 0%, #059669 100%);
  --gradient-secondary: linear-gradient(135deg, #059669 0%, #dc2626 100%);
  --gradient-dark: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  --shadow-color: rgba(220, 38, 38, 0.2);
  --glow-color: rgba(220, 38, 38, 0.3);
  --success-color: #059669;
  --warning-color: #f59e0b;
  --error-color: #dc2626;
  --info-color: #3b82f6;
}

/* Color Presets */
.light-background {
  --surface-color: #f1f5f9;
  --default-color: #0f172a;
}

.dark-background {
  --background-color: #0f172a;
  --default-color: #ffffff;
  --heading-color: #dc2626;
  --surface-color: #1e293b;
  --contrast-color: #ffffff;
}

/* Smooth scroll */
:root {
  scroll-behavior: smooth;
}

/*--------------------------------------------------------------
# General Styling & Shared Classes
--------------------------------------------------------------*/
body {
  color: var(--default-color);
  background-color: var(--background-color);
  font-family: var(--default-font);
  line-height: 1.6;
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: var(--bg-color);
  text-decoration: none;
  transform: translateY(-2px);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--bg-color);
  font-family: var(--heading-font);
  font-weight: 600;
  line-height: 1.2;
}

#performance-cookies, #marketing-cookies {
  display: none;
}

/* PHP Email Form Messages */
.php-email-form .error-message {
  display: none;
  background: var(--gradient-secondary);
  color: #ffffff;
  text-align: left;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
  box-shadow: 0 4px 15px var(--shadow-color);
  border-radius: 8px;
}

.php-email-form .sent-message {
  display: none;
  color: #ffffff;
  background: var(--gradient-primary);
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
  border-radius: 8px;
  box-shadow: 0 4px 15px var(--shadow-color);
}

.php-email-form .loading {
  display: none;
  background: var(--gradient-dark);
  color: #ffffff;
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
  border-radius: 8px;
}

.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;
}

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

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
.header {
  transition: all 0.5s;
  z-index: 997;
  height: 90px;
  background-color: rgba(15, 15, 35, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(139, 92, 246, 0.1);
}

.header.sticked {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  height: 70px;
  box-shadow: 0px 2px 20px rgba(139, 92, 246, 0.1);
}

.header .logo img {
  max-height: 50px;
  width: 50px;
  height: 50px;
  transition: all 0.3s ease;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.header .logo img:hover {
  transform: scale(1.1);
  filter: drop-shadow(0 0 15px var(--accent-color))
    drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

/* SVG logo specific styles */
.header .logo img[src*=".svg"] {
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.header .logo img[src*=".svg"]:hover {
  filter: drop-shadow(0 0 15px var(--accent-color))
    drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.header .logo {
  line-height: 0;
}

.header .logo h1 {
  font-size: 30px;
  margin: 0;
  font-weight: 600;
  color: var(--accent-color);
  letter-spacing: 1px;
}

.header .logo h1 span {
  color: var(--bg-color);
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
.navmenu {
  padding: 0;
  margin: 0;
}

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

.navmenu li {
  position: relative;
}

.navmenu a,
.navmenu a:focus {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0 10px 30px;
  font-family: var(--nav-font);
  font-size: 16px;
  font-weight: 500;
  color: var(--nav-color);
  white-space: nowrap;
  transition: 0.3s;
}

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

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

.navmenu .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(--nav-dropdown-background-color);
  box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25);
  transition: 0.3s;
  border-radius: 8px;
}

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

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

.navmenu .dropdown ul a:hover,
.navmenu .dropdown ul .active:hover,
.navmenu .dropdown ul li:hover > a {
  color: var(--nav-dropdown-hover-color);
}

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

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

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

.mobile-nav-toggle {
  color: var(--nav-color);
  font-size: 28px;
  cursor: pointer;
  display: none;
  line-height: 0;
  transition: 0.5s;
  z-index: 9999;
}

.mobile-nav-toggle.bi-x {
  color: var(--nav-hover-color);
}

@media (max-width: 991px) {
  .mobile-nav-toggle {
    display: block;
  }

  .navmenu ul {
    display: none;
  }
}

.navmenu-mobile {
  position: fixed;
  overflow: hidden;
  inset: 0;
  background: var(--nav-mobile-background-color);
  transition: 0.3s;
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  transform: translateX(100%);
  height: 90vh;
  margin-top: 2rem;
}

/* Show mobile menu when body has mobile-nav-active class */
body.mobile-nav-active .navmenu-mobile {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

/* Prevent body scroll when mobile menu is open */
body.mobile-nav-active {
  overflow: hidden;
}

.navmenu-mobile .mobile-nav-toggle {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 9999;
  color: var(--nav-hover-color);
  font-size: 32px;
  cursor: pointer;
  background: var(--nav-mobile-background-color);
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  border: 2px solid var(--accent-color);
}

.navmenu-mobile .mobile-nav-toggle:hover {
  background: var(--accent-color);
  color: white;
  transform: scale(1.1);
  box-shadow: 0 4px 15px rgba(139, 92, 246, 0.4);
}

/* Ensure the close button is always visible when mobile menu is active */
body.mobile-nav-active .navmenu-mobile .mobile-nav-toggle {
  opacity: 1;
  visibility: visible;
}

.navmenu-mobile ul {
  display: block;
  position: absolute;
  top: 80px;
  right: 15px;
  bottom: 15px;
  left: 15px;
  padding: 10px 0;
  border: 1px solid rgba(139, 92, 246, 0.2);
  background-color: var(--nav-mobile-background-color);
  overflow-y: auto;
  transition: 0.3s;
  border-radius: 8px;
  list-style: none;
  margin: 0;
}

.navmenu-mobile a,
.navmenu-mobile a:focus {
  padding: 10px 20px;
  font-size: 15px;
  color: var(--nav-dropdown-color);
  text-decoration: none;
  display: block;
  font-weight: 500;
}

.navmenu-mobile a:hover,
.navmenu-mobile .active,
.navmenu-mobile .active:focus,
.navmenu-mobile li:hover > a {
  color: var(--nav-dropdown-hover-color);
}

.navmenu-mobile .dropdown ul {
  position: static;
  display: none;
  margin: 10px 0;
  padding: 10px 0;
  z-index: 99;
  opacity: 1;
  visibility: visible;
  background: transparent;
  box-shadow: none;
  transition: 0.3s;
}

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

.navmenu-mobile .dropdown ul a {
  padding: 10px 20px;
  font-size: 15px;
  text-transform: none;
  font-weight: 400;
  color: var(--nav-dropdown-color);
}

.navmenu-mobile .dropdown ul a:hover,
.navmenu-mobile .dropdown ul .active:hover,
.navmenu-mobile .dropdown ul li:hover > a {
  color: var(--nav-dropdown-hover-color);
}

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

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero {
  width: 100%;
  min-height: 100vh;
  background: var(--gradient-dark);
  background-size: cover;
  position: relative;
  padding: 120px 0 60px 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero h2 {
  color: var(--bg-color);
  margin-bottom: 20px;
  font-size: 48px;
  font-weight: 700;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero p {
  color: var(--background-color);
  font-weight: 400;
  margin-bottom: 30px;
  font-size: 20px;
  line-height: 1.6;
}

.hero .download-btn {
  font-family: var(--heading-font);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 12px 30px;
  border-radius: 50px;
  transition: 0.5s;
  color: #fff;
  background: var(--gradient-primary);
  border: 2px solid var(--accent-color);
  text-transform: uppercase;
  box-shadow: 0 8px 25px var(--shadow-color);
}

.hero .download-btn:hover {
  background: var(--gradient-secondary);
  border-color: var(--bg-color);
  transform: translateY(-3px);
  box-shadow: 0 12px 35px var(--glow-color);
}

.hero .hero-img {
  text-align: right;
}

@media (max-width: 768px) {
  .hero h2 {
    font-size: 28px;
    text-align: center;
  }

  .hero h1 {
    font-size: 32px;
    text-align: center;
  }

  .hero p {
    text-align: center;
  }

  .hero .hero-img {
    text-align: center;
    margin-top: 80px;
  }
}

/*--------------------------------------------------------------
# Sections
--------------------------------------------------------------*/
section {
  padding: 60px 0;
  overflow: hidden;
}

.section {
  padding: 60px 0;
  overflow: hidden;
}

.section-title {
  text-align: center;
  padding-bottom: 60px;
}

.section-title h2 {
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 20px;
  padding-bottom: 20px;
  position: relative;
  color: var(--heading-color);
}

.section-title h2::after {
  content: "";
  position: absolute;
  display: block;
  width: 50px;
  height: 3px;
  background: var(--gradient-primary);
  bottom: 0;
  left: calc(50% - 25px);
  border-radius: 2px;
}

.section-title p {
  margin-bottom: 0;
  color: var(--background-color);
  font-size: 18px;
  line-height: 1.6;
}

/*--------------------------------------------------------------
# New About Section Styles
--------------------------------------------------------------*/
.about-header {
  margin-bottom: 60px;
}

.about-badge {
  display: inline-block;
  background: var(--gradient-primary);
  color: white;
  padding: 8px 20px;
  border-radius: 25px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.about-title {
  font-size: 42px;
  font-weight: 700;
  color: var(--heading-color);
  margin-bottom: 20px;
  line-height: 1.2;
}

.about-subtitle {
  font-size: 20px;
  color: var(--default-color);
  line-height: 1.6;
  margin-bottom: 0;
}

.about-content {
  margin-top: 40px;
}

.about-story {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.story-card {
  background: var(--surface-color);
  border-radius: 20px;
  padding: 32px;
  border: 2px solid transparent;
  transition: all 0.4s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}

.story-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-primary);
  opacity: 0;
  transition: all 0.4s ease;
  z-index: 1;
}

.story-card:hover::before {
  opacity: 0.05;
}

.story-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px var(--shadow-color);
  border-color: var(--accent-color);
}

.story-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  position: relative;
  z-index: 2;
}

.story-icon i {
  font-size: 24px;
  color: white;
}

.story-card h3 {
  font-size: 24px;
  font-weight: 700;
  color: var(--heading-color);
  margin-bottom: 16px;
  position: relative;
  z-index: 2;
}

.story-card p {
  color: var(--default-color);
  line-height: 1.6;
  margin: 0;
  position: relative;
  z-index: 2;
}

.about-image {
  position: relative;
  border-radius: 2rem;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.about-image img {
  width: 100%;
  height: auto;
  transition: transform 0.4s ease;
}

.about-image:hover img {
  transform: scale(1.05);
}

.image-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--gradient-dark);
  padding: 24px;
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

.about-image:hover .image-overlay {
  transform: translateY(0);
}

.overlay-content h4 {
  color: white;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}

.overlay-content p {
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  font-size: 14px;
}

.expertise-card {
  background: var(--surface-color);
  border-radius: 16px;
  padding: 32px 24px;
  text-align: center;
  height: 100%;
  border: 1px solid rgba(220, 38, 38, 0.1);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.expertise-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-primary);
  opacity: 0;
  transition: all 0.3s ease;
  z-index: 1;
}

.expertise-card:hover::before {
  opacity: 0.05;
}

.expertise-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px var(--shadow-color);
  border-color: var(--accent-color);
}

.expertise-icon {
  width: 70px;
  height: 70px;
  border-radius: 18px;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  position: relative;
  z-index: 2;
}

.expertise-icon i {
  font-size: 28px;
  color: white;
}

.expertise-card h4 {
  font-size: 20px;
  font-weight: 600;
  color: var(--heading-color);
  margin-bottom: 12px;
  position: relative;
  z-index: 2;
}

.expertise-card p {
  color: var(--default-color);
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
  position: relative;
  z-index: 2;
}

.about-cta {
  background: var(--gradient-secondary);
  border-radius: 24px;
  padding: 60px 40px;
  text-align: center;
  margin-top: 60px;
  position: relative;
  overflow: hidden;
}

.about-cta::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.1);
  z-index: 1;
}

.about-cta .cta-content {
  position: relative;
  z-index: 2;
}

.about-cta h3 {
  font-size: 32px;
  font-weight: 700;
  color: white;
  margin-bottom: 16px;
}

.about-cta p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 32px;
}

.about-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: white;
  color: var(--bg-color);
  padding: 18px 36px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 18px;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.about-btn:hover {
  background: var(--accent-color);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
  text-decoration: none;
}

/*--------------------------------------------------------------
# About Section Responsive
--------------------------------------------------------------*/
@media (max-width: 768px) {
  .about-title {
    font-size: 32px;
  }
  
  .about-subtitle {
    font-size: 18px;
  }
  
  .story-card {
    padding: 24px 20px;
  }
  
  .story-icon {
    width: 50px;
    height: 50px;
  }
  
  .story-icon i {
    font-size: 20px;
  }
  
  .story-card h3 {
    font-size: 20px;
  }
  
  .expertise-card {
    padding: 24px 20px;
  }
  
  .expertise-icon {
    width: 60px;
    height: 60px;
  }
  
  .expertise-icon i {
    font-size: 24px;
  }
  
  .about-cta {
    padding: 40px 20px;
  }
  
  .about-cta h3 {
    font-size: 28px;
  }
}

/*--------------------------------------------------------------
# Features Section Base Styles
--------------------------------------------------------------*/
.features {
  padding-top: 80px;
}

/*--------------------------------------------------------------
# Transformación Section Base Styles
--------------------------------------------------------------*/
.transformacion {
  background: var(--gradient-dark);
  position: relative;
}

.transformacion::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(139, 92, 246, 0.05);
  z-index: 1;
}

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

/*--------------------------------------------------------------
# Testimonials Section Base Styles
--------------------------------------------------------------*/
.testimonials-section {
  background: var(--gradient-dark);
  padding: 80px 0;
  position: relative;
}

.testimonials-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(139, 92, 246, 0.05);
  z-index: 1;
}

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

/*--------------------------------------------------------------
# Footer Base Styles
--------------------------------------------------------------*/
.footer {
  color: var(--default-color);
  font-size: 14px;
  background: var(--gradient-dark);
}

/*--------------------------------------------------------------
# New Features Section Styles
--------------------------------------------------------------*/
.features-header {
  margin-bottom: 60px;
}

.features-badge {
  display: inline-block;
  background: var(--gradient-primary);
  color: white;
  padding: 8px 20px;
  border-radius: 25px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.features-title {
  font-size: 42px;
  font-weight: 700;
  color: var(--heading-color);
  margin-bottom: 20px;
  line-height: 1.2;
}

.features-subtitle {
  font-size: 20px;
  color: var(--default-color);
  line-height: 1.6;
  margin-bottom: 0;
}

.features-showcase {
  margin-top: 40px;
}

.feature-showcase-card {
  background: var(--surface-color);
  border-radius: 24px;
  padding: 40px;
  height: 100%;
  position: relative;
  overflow: hidden;
  border: 2px solid transparent;
  transition: all 0.4s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.feature-showcase-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-primary);
  opacity: 0;
  transition: all 0.4s ease;
  z-index: 1;
}

.feature-showcase-card:hover::before {
  opacity: 0.05;
}

.feature-showcase-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 50px var(--shadow-color);
  border-color: var(--accent-color);
}

.feature-showcase-card.primary .showcase-icon {
  background: var(--gradient-primary);
}

.feature-showcase-card.secondary .showcase-icon {
  background: var(--gradient-secondary);
}

.showcase-icon {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  position: relative;
  z-index: 2;
}

.showcase-icon i {
  font-size: 32px;
  color: white;
}

.showcase-content {
  position: relative;
  z-index: 2;
}

.showcase-content h3 {
  font-size: 28px;
  font-weight: 700;
  color: var(--heading-color);
  margin-bottom: 16px;
}

.showcase-content p {
  font-size: 16px;
  color: var(--default-color);
  line-height: 1.6;
  margin-bottom: 24px;
}

.showcase-features {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
}

.feature-tag {
  background: rgba(220, 38, 38, 0.1);
  color: var(--accent-color);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
}

.showcase-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--gradient-primary);
  color: white;
  padding: 16px 32px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px var(--shadow-color);
}

.showcase-btn:hover {
  background: var(--gradient-secondary);
  transform: translateY(-2px);
  box-shadow: 0 15px 35px var(--glow-color);
  color: white;
  text-decoration: none;
}

.feature-mini-card {
  background: var(--surface-color);
  border-radius: 16px;
  padding: 32px 24px;
  text-align: center;
  height: 100%;
  border: 1px solid rgba(220, 38, 38, 0.1);
  transition: all 0.3s ease;
}

.feature-mini-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px var(--shadow-color);
  border-color: var(--accent-color);
}

.mini-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.mini-icon i {
  font-size: 24px;
  color: white;
}

.feature-mini-card h4 {
  font-size: 20px;
  font-weight: 600;
  color: var(--heading-color);
  margin-bottom: 12px;
}

.feature-mini-card p {
  color: var(--default-color);
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
}

/*--------------------------------------------------------------
# New Transformación Section Styles
--------------------------------------------------------------*/
.transformacion-header {
  margin-bottom: 60px;
}

.transformacion-badge {
  display: inline-block;
  background: var(--gradient-secondary);
  color: white;
  padding: 8px 20px;
  border-radius: 25px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.transformacion-title {
  font-size: 42px;
  font-weight: 700;
  color: var(--heading-color);
  margin-bottom: 20px;
  line-height: 1.2;
}

.transformacion-subtitle {
  font-size: 20px;
  color: var(--background-color);
  line-height: 1.6;
  margin-bottom: 0;
}

.transformacion-journey {
  margin-top: 40px;
}

.journey-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  margin-bottom: 60px;
}

.journey-step {
  background: var(--surface-color);
  border-radius: 20px;
  padding: 32px;
  position: relative;
  border: 2px solid transparent;
  transition: all 0.4s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.journey-step:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px var(--shadow-color);
  border-color: var(--accent-color);
}

.step-number {
  position: absolute;
  top: -20px;
  left: 32px;
  width: 40px;
  height: 40px;
  background: var(--gradient-primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
  box-shadow: 0 8px 20px var(--shadow-color);
}

.step-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.step-icon i {
  font-size: 24px;
  color: white;
}

.journey-step h3 {
  font-size: 24px;
  font-weight: 700;
  color: var(--heading-color);
  margin-bottom: 16px;
}

.journey-step p {
  color: var(--default-color);
  line-height: 1.6;
  margin-bottom: 24px;
}

.step-metrics {
  display: flex;
  gap: 24px;
}

.metric {
  text-align: center;
}

.metric-number {
  display: block;
  font-size: 24px;
  font-weight: 700;
  color: var(--accent-color);
  line-height: 1;
}

.step-content {
  position: relative;
  overflow: hidden;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.step-content h3 {
  font-size: 24px;
  font-weight: 700;
  color: var(--heading-color);
  margin-bottom: 16px;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.step-content p {
  color: var(--default-color);
  line-height: 1.6;
  margin-bottom: 24px;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.step-metrics {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.metric {
  text-align: center;
  min-width: 0;
  flex: 1;
}

.metric-number {
  display: block;
  font-size: 24px;
  font-weight: 700;
  color: var(--accent-color);
  line-height: 1;
  margin-bottom: 4px;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.metric-label {
  font-size: 12px;
  color: var(--light-text);
  text-transform: uppercase;
  letter-spacing: 1px;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.journey-cta {
  background: var(--gradient-primary);
  border-radius: 24px;
  padding: 60px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.journey-cta::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.1);
  z-index: 1;
}

.cta-content {
  position: relative;
  z-index: 2;
}

.journey-cta h3 {
  font-size: 32px;
  font-weight: 700;
  color: white;
  margin-bottom: 16px;
}

.journey-cta p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 32px;
}

.journey-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: white;
  color: var(--accent-color);
  padding: 18px 36px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 18px;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.journey-btn:hover {
  background: var(--bg-color);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
  text-decoration: none;
}

/*--------------------------------------------------------------
# New Testimonials Section Styles
--------------------------------------------------------------*/
.testimonials-header {
  margin-bottom: 60px;
}

.testimonials-badge {
  display: inline-block;
  background: var(--gradient-primary);
  color: white;
  padding: 8px 20px;
  border-radius: 25px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.testimonials-title {
  font-size: 42px;
  font-weight: 700;
  color: var(--heading-color);
  margin-bottom: 20px;
  line-height: 1.2;
}

.testimonials-subtitle {
  font-size: 20px;
  color: var(--background-color);
  line-height: 1.6;
  margin-bottom: 0;
}

.testimonials-grid {
  margin-top: 40px;
}

.testimonial-featured {
  background: var(--surface-color);
  border-radius: 24px;
  padding: 40px;
  height: 100%;
  position: relative;
  border: 2px solid transparent;
  transition: all 0.4s ease;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.testimonial-featured:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 50px var(--shadow-color);
  border-color: var(--accent-color);
}

.testimonial-quote {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.testimonial-quote i {
  font-size: 24px;
  color: white;
}

.testimonial-content p {
  font-size: 18px;
  line-height: 1.7;
  color: var(--default-color);
  margin-bottom: 32px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 20px;
}

.author-avatar {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.author-avatar i {
  font-size: 32px;
  color: white;
}

.author-info h4 {
  font-size: 20px;
  font-weight: 700;
  color: var(--heading-color);
  margin-bottom: 4px;
}

.author-info span {
  color: var(--light-text);
  font-size: 14px;
  margin-bottom: 8px;
  display: block;
}

.author-metrics {
  display: flex;
  gap: 16px;
}

.author-metrics .metric {
  background: rgba(220, 38, 38, 0.1);
  color: var(--accent-color);
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
}

.testimonial-card {
  background: var(--surface-color);
  border-radius: 20px;
  padding: 32px;
  height: 100%;
  border: 1px solid rgba(220, 38, 38, 0.1);
  transition: all 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px var(--shadow-color);
  border-color: var(--accent-color);
}

.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.card-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-icon i {
  font-size: 20px;
  color: white;
}

.card-stats {
  text-align: right;
}

.stat-number {
  display: block;
  font-size: 24px;
  font-weight: 700;
  color: var(--accent-color);
  line-height: 1;
}

.stat-label {
  font-size: 12px;
  color: var(--light-text);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.testimonial-card p {
  color: var(--default-color);
  line-height: 1.6;
  margin-bottom: 20px;
  font-style: italic;
}

.card-author strong {
  color: var(--heading-color);
  font-weight: 600;
  display: block;
  margin-bottom: 4px;
}

.card-author span {
  color: var(--light-text);
  font-size: 14px;
}

.testimonials-cta {
  background: var(--gradient-secondary);
  border-radius: 24px;
  padding: 60px 40px;
  text-align: center;
  margin-top: 60px;
  position: relative;
  overflow: hidden;
}

.testimonials-cta::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.1);
  z-index: 1;
}

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

.testimonials-cta h3 {
  font-size: 32px;
  font-weight: 700;
  color: white;
  margin-bottom: 16px;
}

.testimonials-cta p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 32px;
}

.testimonials-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: white;
  color: var(--bg-color);
  padding: 18px 36px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 18px;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.testimonials-btn:hover {
  background: var(--accent-color);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
  text-decoration: none;
}

/*--------------------------------------------------------------
# New Footer Styles
--------------------------------------------------------------*/
.footer-main {
  background: var(--gradient-dark);
  padding: 80px 0 40px;
  position: relative;
}

.footer-main::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 15, 35, 0.8);
  z-index: 1;
}

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

.footer-brand {
  margin-bottom: 40px;
}

.brand-logo img {
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
  margin-bottom: 20px;
}

.brand-name {
  font-size: 28px;
  font-weight: 700;
  color: var(--bg-color);
  margin-bottom: 16px;
}

.brand-description {
  color: var(--background-color);
  line-height: 1.6;
  margin-bottom: 32px;
}

.brand-stats {
  display: flex;
  gap: 32px;
}

.brand-stats .stat {
  text-align: center;
}

.brand-stats .stat-number {
  display: block;
  font-size: 24px;
  font-weight: 700;
  color: var(--accent-color);
  line-height: 1;
  margin-bottom: 4px;
}

.brand-stats .stat-label {
  font-size: 12px;
  color: var(--light-text);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-section {
  margin-bottom: 40px;
}

.footer-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--bg-color);
  margin-bottom: 24px;
}

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

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: var(--light-text);
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 14px;
}

.footer-links a:hover {
  color: var(--accent-color);
  text-decoration: none;
}

.footer-newsletter {
  margin-bottom: 40px;
}

.newsletter-description {
  color: var(--background-color);
  line-height: 1.6;
  margin-bottom: 24px;
}

.newsletter-form {
  margin-bottom: 32px;
}

.newsletter-input-group {
  display: flex;
  background: var(--surface-color);
  border-radius: 50px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.newsletter-input {
  flex: 1;
  border: none;
  padding: 16px 24px;
  background: transparent;
  color: var(--default-color);
  font-size: 16px;
}

.newsletter-input:focus {
  outline: none;
}

.newsletter-input::placeholder {
  color: var(--light-text);
}

.newsletter-btn {
  background: var(--gradient-primary);
  border: none;
  padding: 16px 24px;
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
}

.newsletter-btn:hover {
  background: var(--gradient-secondary);
}

.newsletter-privacy {
  font-size: 12px;
  color: var(--light-text);
  margin: 0;
}

.newsletter-privacy a {
  color: var(--accent-color);
  text-decoration: none;
}

.newsletter-privacy a:hover {
  text-decoration: underline;
}

.footer-social h5 {
  font-size: 16px;
  font-weight: 600;
  color: var(--heading-color);
  margin-bottom: 16px;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-link {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent-color);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-link:hover {
  background: var(--bg-color);
  color: white;
  transform: translateY(-2px);
  text-decoration: none;
}

.footer-bottom {
  background: rgba(15, 15, 35, 0.9);
  padding: 24px 0;
  border-top: 1px solid rgba(220, 38, 38, 0.1);
}

.footer-legal {
  text-align: left;
}

.copyright {
  color: var(--light-text);
  font-size: 14px;
  margin: 0;
}

.footer-legal-links {
  text-align: right;
  display: flex;
  gap: 24px;
  justify-content: flex-end;
}

.footer-legal-links a {
  color: var(--light-text);
  text-decoration: none;
  font-size: 14px;
  transition: all 0.3s ease;
}

.footer-legal-links a:hover {
  color: var(--accent-color);
  text-decoration: none;
}

/*--------------------------------------------------------------
# Responsive Design for New Sections
--------------------------------------------------------------*/
@media (max-width: 768px) {
  .features-title,
  .transformacion-title,
  .testimonials-title {
    font-size: 32px;
  }
  
  .features-subtitle,
  .transformacion-subtitle,
  .testimonials-subtitle {
    font-size: 18px;
  }
  
  .feature-showcase-card {
    padding: 30px 20px;
  }
  
  .journey-container {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .journey-step {
    padding: 24px 20px;
  }
  
  .step-metrics {
    flex-direction: column;
    gap: 16px;
  }
  
  .step-content h3 {
    font-size: 20px;
  }
  
  .step-content p {
    font-size: 14px;
  }
  
  .metric-number {
    font-size: 20px;
  }
  
  .metric-label {
    font-size: 11px;
  }
  
  .journey-cta,
  .testimonials-cta {
    padding: 40px 20px;
  }
  
  .testimonial-featured {
    padding: 30px 20px;
  }
  
  .testimonial-author {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }
  
  .author-metrics {
    justify-content: center;
  }
  
  .footer-main {
    padding: 60px 0 30px;
  }
  
  .brand-stats {
    flex-direction: column;
    gap: 16px;
  }
  
  .footer-legal-links {
    flex-direction: column;
    gap: 12px;
    text-align: left;
  }
  
  .newsletter-input-group {
    flex-direction: column;
    border-radius: 16px;
  }
  
  .newsletter-btn {
    border-radius: 0 0 16px 16px;
  }
}

/*--------------------------------------------------------------
# Features Details
--------------------------------------------------------------*/
.feature-details {
  padding-top: 40px;
}

.feature-details .features-item {
  padding-top: 0;
}

.feature-details .features-item h3 {
  font-size: 26px;
  font-weight: 700;
  margin: 20px 0;
  color: var(--heading-color);
}

.feature-details .features-item ul {
  list-style: none;
  padding: 0;
}

.feature-details .features-item ul li {
  padding: 0 0 6px 22px;
  position: relative;
}

.feature-details .features-item ul li::before {
  content: "▸";
  position: absolute;
  font-size: 20px;
  left: 0;
  top: -8px;
  color: var(--accent-color);
  font-weight: bold;
}

.feature-details .features-item:not(:last-child) {
  margin-bottom: 50px;
}



/*--------------------------------------------------------------
# Contact
--------------------------------------------------------------*/
.contact {
  background: var(--gradient-dark);
  position: relative;
}

.contact::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 15, 35, 0.3);
  z-index: 1;
}

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

.contact-info-section {
  background: var(--surface-color);
  padding: 40px 30px;
  border-radius: 20px;
  height: 100%;
  border: 1px solid rgba(139, 92, 246, 0.1);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.contact-info-section h3 {
  color: var(--heading-color);
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 30px;
  text-align: center;
}

.contact-method {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: rgba(139, 92, 246, 0.05);
  border-radius: 15px;
  transition: all 0.3s ease;
}

.contact-method:hover {
  background: rgba(139, 92, 246, 0.1);
  transform: translateX(10px);
}

.contact-icon {
  width: 60px;
  height: 60px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.contact-method:hover .contact-icon {
  background: var(--gradient-secondary);
  transform: scale(1.1);
}

.contact-icon i {
  font-size: 24px;
  color: white;
}

.contact-details h5 {
  color: var(--heading-color);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}

.contact-details p {
  color: var(--default-color);
  font-size: 14px;
  margin-bottom: 10px;
  line-height: 1.5;
}

.contact-link {
  color: var(--accent-color);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.contact-link:hover {
  color: var(--bg-color);
  text-decoration: underline;
}

.contact-form-section {
  background: var(--surface-color);
  padding: 40px;
  border-radius: 20px;
  border: 1px solid rgba(139, 92, 246, 0.1);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.contact-form-section h3 {
  color: var(--heading-color);
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 30px;
  text-align: center;
}

.enhanced-contact-form .form-group {
  margin-bottom: 25px;
}

.enhanced-contact-form label {
  color: var(--heading-color);
  font-weight: 600;
  margin-bottom: 8px;
  display: block;
  font-size: 14px;
}

.enhanced-contact-form .form-control {
  background: var(--background-color);
  border: 2px solid rgba(139, 92, 246, 0.2);
  border-radius: 12px;
  padding: 15px 20px;
  font-size: 16px;
  color: var(--default-color);
  transition: all 0.3s ease;
}

.enhanced-contact-form .form-control:focus {
  border-color: var(--accent-color);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
  outline: none;
}

.enhanced-contact-form select.form-control {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%238b5cf6' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 15px center;
  background-size: 16px;
  padding-right: 45px;
}

.form-check {
  margin-bottom: 20px;
}

.form-check-input {
  width: 20px;
  height: 20px;
  margin-right: 10px;
  border: 2px solid var(--accent-color);
  border-radius: 4px;
}

.form-check-input:checked {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
}

.form-check-label {
  color: var(--default-color);
  font-size: 14px;
  line-height: 1.5;
}

.form-check-label a {
  color: var(--accent-color);
  text-decoration: none;
}

.form-check-label a:hover {
  text-decoration: underline;
}

.submit-btn {
  background: var(--gradient-primary);
  color: white;
  border: none;
  padding: 18px 40px;
  border-radius: 50px;
  font-size: 18px;
  font-weight: 600;
  font-family: var(--heading-font);
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 8px 25px var(--shadow-color);
}

.submit-btn:hover {
  background: var(--gradient-secondary);
  transform: translateY(-3px);
  box-shadow: 0 15px 35px var(--glow-color);
}

.submit-btn i {
  font-size: 20px;
}

.consultation-section {
  background: var(--surface-color);
  padding: 50px;
  border-radius: 20px;
  border: 2px solid var(--accent-color);
  box-shadow: 0 20px 40px var(--shadow-color);
}

.consultation-section h3 {
  color: var(--heading-color);
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 20px;
}

.consultation-section .lead {
  color: var(--default-color);
  font-size: 18px;
  line-height: 1.6;
}

.consultation-btn {
  background: var(--gradient-secondary);
  color: white;
  text-decoration: none;
  padding: 18px 40px;
  border-radius: 50px;
  font-size: 18px;
  font-weight: 600;
  font-family: var(--heading-font);
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 8px 25px var(--shadow-color);
}

.consultation-btn:hover {
  background: var(--gradient-primary);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 15px 35px var(--glow-color);
  text-decoration: none;
}

.consultation-btn i {
  font-size: 20px;
}

/* Mensajes del formulario */
.enhanced-contact-form .loading,
.enhanced-contact-form .error-message,
.enhanced-contact-form .sent-message {
  display: none;
  padding: 15px;
  border-radius: 10px;
  margin-bottom: 20px;
  text-align: center;
  font-weight: 600;
}

.enhanced-contact-form .loading {
  background: var(--info-color);
  color: white;
}

.enhanced-contact-form .error-message {
  background: var(--error-color);
  color: white;
}

.enhanced-contact-form .sent-message {
  background: var(--success-color);
  color: white;
}


/*--------------------------------------------------------------
# Scroll top button
--------------------------------------------------------------*/
.scroll-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 996;
  background: var(--gradient-primary);
  width: 40px;
  height: 40px;
  border-radius: 50px;
  transition: all 0.4s;
  border: 2px solid var(--accent-color);
}

.scroll-top i {
  font-size: 24px;
  color: #fff;
  line-height: 0;
}

.scroll-top:hover {
  background: var(--gradient-secondary);
  border-color: var(--bg-color);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px var(--shadow-color);
}

.scroll-top.active {
  visibility: visible;
  opacity: 1;
}

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  overflow: hidden;
  background: var(--background-color);
  transition: all 0.6s ease-out;
}

#preloader:before,
#preloader:after {
  content: "";
  position: fixed;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--gradient-primary);
  animation: animate-preloader 2s linear infinite;
}

#preloader:before {
  top: calc(50% - 30px);
  left: calc(50% - 30px);
  animation-delay: 0s;
}

#preloader:after {
  top: calc(50% - 30px);
  left: calc(50% - 30px);
  animation-delay: -1s;
}

@keyframes animate-preloader {
  0% {
    transform: scale(0);
    opacity: 1;
  }
  100% {
    transform: scale(4);
    opacity: 0;
  }
}

/*--------------------------------------------------------------
# New Cookie Popup Styles
--------------------------------------------------------------*/
#cookie-popup {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: var(--surface-color);
  color: var(--default-color);
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  z-index: 9999;
  border: 1px solid rgba(220, 38, 38, 0.2);
  display: none;
  max-width: 500px;
  margin: 0 auto;
}

#cookie-popup .popup-content {
  padding: 0;
}

.popup-header {
  padding: 24px 24px 16px;
  border-bottom: 1px solid rgba(220, 38, 38, 0.1);
}

.popup-header h4 {
  font-size: 20px;
  font-weight: 700;
  color: var(--heading-color);
  margin-bottom: 8px;
}

.popup-header p {
  color: var(--default-color);
  font-size: 14px;
  margin: 0;
  line-height: 1.5;
}

.popup-body {
  padding: 20px 24px;
}

.cookie-types {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cookie-type {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  background: rgba(220, 38, 38, 0.05);
  border-radius: 12px;
  border: 1px solid rgba(220, 38, 38, 0.1);
}

.cookie-type h5 {
  font-size: 16px;
  font-weight: 600;
  color: var(--heading-color);
  margin: 0 0 4px 0;
}

.cookie-type p {
  font-size: 13px;
  color: var(--default-color);
  margin: 0;
  line-height: 1.4;
}

.cookie-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cookie-toggle.disabled {
  opacity: 0.6;
}

.toggle-label {
  font-size: 12px;
  color: var(--light-text);
  font-weight: 500;
}

.toggle-switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
  cursor: pointer;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: 0.3s;
  border-radius: 24px;
}

.toggle-slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: 0.3s;
  border-radius: 50%;
}

input:checked + .toggle-switch .toggle-slider {
  background-color: var(--accent-color);
}

input:checked + .toggle-switch .toggle-slider:before {
  transform: translateX(20px);
}

.popup-footer {
  padding: 16px 24px 24px;
  border-top: 1px solid rgba(220, 38, 38, 0.1);
}

.popup-buttons {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
}

.btn-secondary {
  flex: 1;
  background: transparent;
  color: var(--accent-color);
  border: 2px solid var(--accent-color);
  padding: 12px 20px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background: var(--accent-color);
  color: white;
}

.btn-primary {
  flex: 1;
  background: var(--gradient-primary);
  color: white;
  border: none;
  padding: 12px 20px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background: var(--gradient-secondary);
  transform: translateY(-1px);
}

.popup-links {
  display: flex;
  gap: 16px;
  justify-content: center;
}

.popup-links a {
  color: var(--accent-color);
  text-decoration: none;
  font-size: 12px;
  transition: all 0.3s ease;
}

.popup-links a:hover {
  text-decoration: underline;
}

/*--------------------------------------------------------------
# Cookie Popup Responsive
--------------------------------------------------------------*/
@media (max-width: 768px) {
  #cookie-popup {
    left: 10px;
    right: 10px;
    bottom: 10px;
  }
  
  .popup-header,
  .popup-body,
  .popup-footer {
    padding-left: 16px;
    padding-right: 16px;
  }
  
  .cookie-type {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  
  .cookie-toggle {
    align-self: flex-end;
  }
  
  .popup-buttons {
    flex-direction: column;
  }
  
  .popup-links {
    flex-direction: column;
    gap: 8px;
  }
}

/*--------------------------------------------------------------
# Responsive Design
--------------------------------------------------------------*/
@media (max-width: 1199px) {
  .navmenu .dropdown .dropdown ul {
    left: -90%;
  }

  .navmenu .dropdown .dropdown:hover > ul {
    left: -100%;
  }

  /* Ensure mobile nav toggle is visible */
  .mobile-nav-toggle {
    display: block !important;
  }
}

@media (max-width: 768px) {
  .hero h2 {
    font-size: 28px;
  }

  .hero p {
    font-size: 18px;
  }

  .section-title h2 {
    font-size: 28px;
  }

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

  .contact-info-section {
    margin-bottom: 30px;
  }

  .contact-form-section {
    padding: 25px;
  }

  .transformacion-item {
    padding: 30px 20px;
  }

  .transformacion-icon {
    width: 60px;
    height: 60px;
  }

  .transformacion-icon i {
    font-size: 25px;
  }

  .consultation-section {
    padding: 30px 20px;
  }

  #cookie-popup .popup-content {
    flex-direction: column;
    text-align: center;
  }

  #cookie-popup button {
    width: 100%;
  }

  /* Mobile navigation improvements */
  .navmenu-mobile ul {
    top: 80px;
    padding: 20px 0;
  }

  .navmenu-mobile a {
    padding: 15px 20px;
    font-size: 16px;
  }

  /* Mobile close button improvements */
  .navmenu-mobile .mobile-nav-toggle {
    top: 15px;
    right: 15px;
    width: 45px;
    height: 45px;
    font-size: 28px;
  }
}

@media (max-width: 575px) {
  .hero h2 {
    font-size: 24px;
  }

  .section-title h2 {
    font-size: 24px;
  }

  .pricing .pricing-item {
    margin: 20px 0;
  }

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

  .testimonial-author-img {
    width: 50px;
    height: 50px;
  }

  .testimonial-author-img i {
    font-size: 20px;
  }

  .testimonial-author-name {
    font-size: 18px;
  }

  .testimonial-text {
    font-size: 15px;
  }

  .testimonial-text::before,
  
  /* Mobile navigation for very small screens */
  .navmenu-mobile ul {
    top: 70px;
    right: 10px;
    left: 10px;
  }

  .navmenu-mobile .mobile-nav-toggle {
    top: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
    font-size: 24px;
  }

  .testimonial-text::after {
    font-size: 40px;
  }
}

/*--------------------------------------------------------------
# Swiper Styles
--------------------------------------------------------------*/
.swiper {
  width: 100%;
  height: 100%;
}

.swiper-slide {
  text-align: center;
  font-size: 18px;
  background: transparent;
  display: flex;
  justify-content: center;
  align-items: center;
}

.swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.swiper-button-next,
.swiper-button-prev {
  color: var(--accent-color);
  background: var(--surface-color);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  background: var(--accent-color);
  color: white;
}

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

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

/*--------------------------------------------------------------
# AOS Animations
--------------------------------------------------------------*/
[data-aos] {
  pointer-events: none;
}

[data-aos].aos-animate {
  pointer-events: auto;
}

/*--------------------------------------------------------------
# Utility Classes
--------------------------------------------------------------*/
.text-gradient {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.bg-gradient {
  background: var(--gradient-primary);
}

.border-gradient {
  border: 2px solid;
  border-image: var(--gradient-primary) 1;
}

.shadow-glow {
  box-shadow: 0 0 20px var(--glow-color);
}

.hover-lift {
  transition: transform 0.3s ease;
}

.hover-lift:hover {
  transform: translateY(-5px);
}

