/* ========================================
   CSS VARIABLES & FOUNDATION
   ======================================== */

:root {
  /* Typography */
  --font-family-base: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-family-heading: "Poppins", sans-serif;
  
  /* Color Palette */
  --color-primary: #135c51;
  --color-primary-dark: #17635c;
  --color-accent: #F39C12;
  --color-danger: #DC2626;
  --color-success: #16A085;
  
  /* Background Colors */
  --color-bg-primary: #FFFFFF;
  --color-bg-secondary: #f4f9f8;
  --color-bg-body: #f0fdf9;
  
  /* Text Colors */
  --color-text-primary: #052e29;
  --color-text-secondary: #7F8C8D;
  
  /* Border Colors */
  --color-border: #e7e7e7;
  
  /* Global Theme Colors */
  --background-color: var(--color-bg-primary);
  --default-color: var(--color-text-primary);
  --heading-color: var(--color-text-primary);
  --accent-color: var(--color-primary);
  --surface-color: var(--color-bg-primary);
  --contrast-color: #ffffff;
  
  /* Navigation Colors */
  --nav-color: var(--color-text-primary);
  --nav-hover-color: var(--color-primary);
  --nav-mobile-bg: var(--color-bg-primary);
  --nav-dropdown-bg: var(--color-bg-primary);
  --nav-dropdown-color: var(--color-text-primary);
  --nav-dropdown-hover: var(--color-primary);
  
  /* ========================================
     STANDARDIZED SPACING SYSTEM
     ======================================== */
  
  /* Base Spacing Units */
  --spacing-xs: 0.25rem;    /* 4px */
  --spacing-sm: 0.5rem;     /* 8px */
  --spacing-md: 1rem;       /* 16px */
  --spacing-lg: 1.5rem;     /* 24px */
  --spacing-xl: 2rem;       /* 32px */
  --spacing-xxl: 3rem;      /* 48px */
  --spacing-xxxl: 4rem;     /* 64px */
  
  /* Section Spacing */
  --section-padding-y: 5rem;        /* 80px */
  --section-padding-y-sm: 3rem;     /* 48px */
  --section-padding-y-lg: 6rem;     /* 96px */
  
  /* Component Spacing */
  --component-margin: 2rem;          /* 32px */
  --component-margin-sm: 1rem;       /* 16px */
  --component-margin-lg: 3rem;       /* 48px */
  
  /* Element Spacing */
  --element-gap: 1.5rem;             /* 24px */
  --element-gap-sm: 1rem;            /* 16px */
  --element-gap-lg: 2rem;            /* 32px */
  
  /* Text Spacing */
  --text-margin-bottom: 1rem;        /* 16px */
  --text-margin-bottom-sm: 0.75rem;  /* 12px */
  --text-margin-bottom-lg: 1.5rem;   /* 24px */
  
  /* Card Spacing */
  --card-padding: 2rem;              /* 32px */
  --card-padding-sm: 1.5rem;         /* 24px */
  --card-padding-lg: 3rem;           /* 48px */
  
  /* Border Radius */
  --border-radius-sm: 4px;
  --border-radius-md: 8px;
  --border-radius-lg: 12px;
  --border-radius-xl: 16px;
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;
  
  /* Shadows */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 15px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 25px rgba(0, 0, 0, 0.15);
  
  /* Smooth Scroll */
  scroll-behavior: smooth;
}

/* ========================================
   COLOR PRESETS
   ======================================== */

.light-background {
  --background-color: #f1f8f7;
  --surface-color: #ffffff;
}

.dark-background {
  --background-color: transparent;
  --surface-color: var(--color-bg-primary);
}

/* ========================================
   BASE STYLES
   ======================================== */

.text-primary-color {
  color: #135c51 !important;
}

* {
  box-sizing: border-box;
}

html, body {
  overflow-x: hidden;
}

body {
  color: var(--default-color);
  background-color: transparent;
  font-family: var(--font-family-base);
  line-height: 1.6;
  margin: 0;
  padding: 0;
}

/* ========================================
   TYPOGRAPHY
   ======================================== */

h1, h2, h3, h4, h5, h6 {
  color: var(--heading-color);
  font-family: var(--font-family-heading);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 var(--spacing-md) 0;
}

p {
  margin: 0 0 var(--spacing-md) 0;
}

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

a:hover {
  color: var(--color-primary-dark);
  text-decoration: none;
}

/* ========================================
   BUTTON COMPONENTS
   ======================================== */

.btn {
  font-size: 16px !important;
  font-weight: 500 !important;
  padding: 6px 22px !important;
  height: 56px !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: var(--border-radius-lg);
  cursor: pointer;
  transition: all var(--transition-base);
  letter-spacing: 0.5px;
}

.btn:hover {
  transform: translateY(-1px) scale(1.01);
  border-radius: var(--border-radius-lg);
  text-decoration: none;
}

.btn:active {
  transform: translateY(-1px) scale(0.98);
}

/* Button Variants */
.btn-primary {
  background: var(--color-primary);
  color: var(--contrast-color);
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  background: var(--color-primary-dark);
  color: var(--contrast-color);
  box-shadow: var(--shadow-sm);
}

.btn-primary:active {
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
  box-shadow: var(--shadow-sm);
}

.btn-outline:hover {
  background: #ffffff;
  color: #000000;
  box-shadow: var(--shadow-md);
}

.btn-outline:active {
  box-shadow: var(--shadow-sm);
}

/* ========================================
   FORM COMPONENTS
   ======================================== */

.php-email-form .error-message {
  display: none;
  background: var(--color-danger);
  color: var(--contrast-color);
  text-align: left;
  padding: var(--spacing-md);
  margin-bottom: var(--spacing-lg);
  font-weight: 600;
  border-radius: var(--border-radius-sm);
}

.php-email-form .sent-message {
  display: none;
  color: var(--color-success);
  background: transparent;
  border: none;
  text-align: center;
  padding: var(--spacing-sm);
  margin-top: var(--spacing-md);
  margin-bottom: 0;
  font-weight: 500;
  border-radius: var(--border-radius-sm);
  font-size: 0.9rem;
  transition: all 0.3s ease;
  position: relative;
  z-index: 10;
}

.php-email-form .loading {
  display: none;
  background: var(--surface-color);
  text-align: center;
  padding: var(--spacing-md);
  margin-bottom: var(--spacing-lg);
  border-radius: var(--border-radius-sm);
}

.php-email-form .loading::before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 var(--spacing-sm) -6px 0;
  border: 3px solid var(--accent-color);
  border-top-color: var(--surface-color);
  animation: php-email-form-loading 1s linear infinite;
}

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

/* ========================================
   HEADER COMPONENT
   ======================================== */

.header {
  background-color: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1.5px solid #bebebe;
  border-radius: 200px;
  box-shadow: 0 8px 32px rgba(19, 92, 81, 0.2), 0 2px 8px rgba(0, 0, 0, 0.05);
  color: var(--default-color);
  padding: 8px 16px;
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1140px;
  transition: all var(--transition-base);
  z-index: 997;
}

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

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

.header .logo img {
  width: 180px;
  height: 60px;
  object-fit: contain;
  background: transparent;
  background-color: transparent;
  mix-blend-mode: multiply;
  transition: all var(--transition-base);
}

.header .logo h1 {
  font-size: 30px;
  margin: 0;
  font-weight: 700;
  color: var(--heading-color);
}

.navbar-logo {
  color: var(--heading-color) !important;
  font-family: "Boruna", serif;
  font-size: 30px;
  font-weight: 700;
  text-decoration: none;
  transition: color var(--transition-base);
  max-height: 60px;
  width: 160px;
  height: 60px;
  object-fit: contain;
  display: block;
}

.navbar-logo img {
  width: 180px;
  height: 60px;
  object-fit: contain;
  /* LCP optimization */
  will-change: auto;
  contain: layout style paint;
  max-height: 60px;
  width: auto;
}

.navbar-logo:hover {
  color: var(--color-primary) !important;
  text-decoration: none;
}

.header .btn-getstarted,
.header .btn-navbar-demo {
  font-size: 14px;
  padding: 6px 22px;
  height: 48px;
  margin: 0;
  background: var(--color-primary);
  color: var(--contrast-color);
  border: 2px solid transparent;
  border-radius: var(--border-radius-lg);
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.header .btn-getstarted > *,
.header .btn-navbar-demo > * {
  position: relative;
  z-index: 2;
}

.header .btn-getstarted::before,
.header .btn-navbar-demo::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: left 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  z-index: 1;
}

.header .btn-getstarted::after,
.header .btn-navbar-demo::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  z-index: 0;
}

.header .btn-getstarted:hover {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: var(--contrast-color);
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 12px 35px rgba(19, 92, 81, 0.4), 0 4px 12px rgba(19, 92, 81, 0.2);
  border-color: rgba(245, 242, 242, 0.);
}

.header .btn-getstarted:hover::after {
  width: 100%;
  height: 100%;
  opacity: 0.8;
}

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

.header .btn-navbar-demo:hover {
  background: var(--color-primary-dark);
  color: var(--contrast-color);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(19, 92, 81, 0.15);
  border-color: rgba(255, 255, 255, 0.2);
}

.header .btn-navbar-demo:hover::after {
  width: 0;
  height: 0;
  opacity: 0;
}

.header .btn-navbar-demo:hover::before {
  left: -100%;
}

.header .btn-getstarted:active,
.header .btn-navbar-demo:active {
  transform: translateY(-1px) scale(0.99);
  box-shadow: 0 6px 20px rgba(19, 92, 81, 0.3);
  transition: all 0.15s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.header .btn-navbar-demo {
  font-size: 16px;
  padding: 8px 22px;
  font-weight: 500;
}



/* ========================================
   NAVIGATION MENU
   ======================================== */

/* Desktop Navigation */
@media (min-width: 1200px) {
  .mobile-nav-toggle {
    display: none;
  }

  .mobile-demo-btn {
    display: none;
  }

  .desktop-demo-btn {
    display: flex !important;
  }

  .navmenu {
    padding: 0;
  }

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

  .navmenu li {
    position: relative;
  }

  .navmenu > ul > li {
    white-space: nowrap;
    padding: var(--spacing-md) 14px;
  }

  .navmenu > ul > li:last-child {
    padding-right: 0;
  }

  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-color);
    font-size: 16px;
    padding: 0 2px;
    font-family: var(--font-family-heading);
    font-weight: 400;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: var(--transition-base);
    position: relative;
  }

  .navmenu a i,
  .navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: var(--spacing-sm);
    transition: var(--transition-base);
  }

  .navmenu > ul > li > a::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: -6px;
    left: 0;
    background-color: var(--accent-color);
    visibility: hidden;
    width: 0;
    transition: all var(--transition-base);
  }

  .navmenu a:hover::before,
  .navmenu li:hover > a::before,
  .navmenu .active::before {
    visibility: visible;
    width: 100%;
  }

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

  .navmenu .dropdown ul {
    margin: 0;
    padding: var(--spacing-sm) 0;
    background: var(--nav-dropdown-bg);
    display: block;
    position: absolute;
    visibility: hidden;
    left: 14px;
    top: 130%;
    opacity: 0;
    transition: var(--transition-base);
    border-radius: var(--border-radius-sm);
    z-index: 99;
    box-shadow: var(--shadow-lg);
  }

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

  .navmenu .dropdown ul a {
    padding: var(--spacing-sm) var(--spacing-xl);
    font-size: 16px;
    text-transform: none;
    color: var(--nav-dropdown-color);
  }

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

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

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

  .navmenu .dropdown .dropdown ul {
    top: 0;
    left: -90%;
    visibility: hidden;
  }

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

/* ========================================
   MOBILE NAVIGATION - CLEAN IMPLEMENTATION
   ======================================== */

/* Mobile and Tablet Navigation */
@media (max-width: 1199px) {
  /* Hide desktop elements */
  .desktop-nav {
    display: none !important;
  }
  
  .desktop-demo-btn {
    display: none !important;
  }

  /* Mobile toggle button */
  .mobile-nav-toggle {
    display: flex !important;
    align-items: center;
    justify-content: center;
    color: var(--nav-color);
    font-size: 24px;
    cursor: pointer;
    transition: color var(--transition-base);
    background: none;
    border: none;
    padding: 8px;
    margin: 0;
    z-index: 1000;
  }

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

  /* Mobile menu */
  .mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #ffffff;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    transform: translateY(-100%);
  }

  .mobile-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  /* Mobile menu header */
  .mobile-menu-header {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 10001;
  }

  /* Close button */
  .mobile-menu-close {
    width: 44px;
    height: 44px;
    background: #f8f9fa;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #135c51;
    cursor: pointer;
    transition: all 0.3s ease;
  }

  .mobile-menu-close:hover {
    background: #e9ecef;
    transform: scale(1.1);
  }

  .mobile-menu-close i {
    color: #135c51 !important;
    font-size: 24px;
  }

  /* Mobile menu list */
  .mobile-menu-list {
    position: absolute;
    top: 100px;
    left: 0;
    right: 0;
    bottom: 0;
    background: #ffffff;
    margin: 0;
    padding: 0;
    list-style: none;
    overflow-y: auto;
  }

  .mobile-menu-list li {
    margin: 0;
    padding: 0;
  }

  .mobile-menu-list a {
    display: block;
    padding: 20px 30px;
    color: #052e29;
    font-size: 20px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border-bottom: 1px solid #f0f0f0;
  }

  .mobile-menu-list li:last-child a {
    border-bottom: none;
  }

  .mobile-menu-list a:hover {
    background: #f8f9fa;
    color: var(--color-primary);
  }

  /* Mobile demo button */
  .mobile-demo-btn {
    padding-top: 40px;
    padding: 0 30px;
  }

  .btn-demo {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: calc(100% - 60px) !important;
    max-width: 400px !important;
    height: 56px !important;
    background: var(--color-primary) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 12px !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    text-align: center !important;
    text-decoration: none !important;
    cursor: pointer !important;
    padding: 0 !important;
    margin: 0 auto !important;
    box-sizing: border-box !important;
  }

  .btn-demo:hover {
    transform: none !important;
    background: var(--color-primary) !important;
    color: #ffffff !important;
    text-decoration: none !important;
  }

  .btn-demo:active {
    transform: none !important;
  }
}

/* ========================================
   RESPONSIVE HEADER
   ======================================== */

@media (min-width: 1400px) {
  .header {
    max-width: 1320px;
  }
}

@media (max-width: 1200px) {
  .header {
    width: calc(100% - 40px);
    max-width: 960px;
    padding: 10px 20px;
  }

  .scrolled .header {
    width: calc(100% - 40px);
    max-width: 960px;
  }
}

@media (max-width: 992px) {
  .header {
    max-width: 720px;
  }

  .scrolled .header {
    max-width: 720px;
  }
}

@media (max-width: 768px) {
  .header {
    max-width: 540px;
  }

  .scrolled .header {
    max-width: 540px;
  }
}

/* Header layout for mobile and tablet */
@media (max-width: 1200px) {
  .header .logo {
    order: 1;
  }

  .header .btn-getstarted,
  .header .btn-navbar-demo {
    order: 2;
    margin: 0 var(--spacing-md) 0 0;
    padding: 6px 20px;
  }

  .header .navmenu {
    order: 3;
  }

  .mobile-nav-toggle {
    order: 4;
  }
}

/* Hide mobile navbar on desktop */
@media (min-width: 1200px) {
  .mobile-nav {
    display: none !important;
  }
  
  .mobile-menu {
    display: none !important;
  }
  
  .mobile-nav-toggle {
    display: none !important;
  }
}

/* Responsive adjustments for smaller screens */
@media (max-width: 768px) {
  .header {
    top: 15px;
    border-radius: 200px;
    padding: 8px 18px;
    width: calc(100% - 30px);
    max-width: 540px;
  }

  .scrolled .header {
    width: calc(100% - 30px);
    max-width: 540px;
  }

  .header .logo img {
    max-height: 150px;
    width: 300px;
    height: 150px;
  }

  .mobile-nav-toggle {
    font-size: 24px;
  }
}

@media (max-width: 576px) {
  .header {
    top: 10px;
    border-radius: 200px;
    padding: 6px 15px;
    width: calc(100% - 20px);
    max-width: none;
  }

  .scrolled .header {
    width: calc(100% - 20px);
    max-width: none;
  }

  .header .logo img {
    max-height: 40px;
    width: 120px;
    height: 40px;
  }
}

/* ========================================
   FOOTER
   ======================================== */

.footer {
  background: #f8f9fa;
  color: #052e29;
  border-top: 1px solid #e9ecef;
}

.footer-top {
  padding: 40px 0 30px;
}

.footer-info {
  margin-bottom: 0;
}

.footer-logo {
  margin-bottom: 15px;
}

.footer-logo img {
  width: 200px;
  height: 80px;
  object-fit: contain;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  image-rendering: pixelated;
}

.footer-description {
  color: #052e29;
  line-height: 1.6;
  margin-bottom: 20px;
  font-size: 14px;
}

.footer-contact .contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
  color: #052e29;
  font-size: 14px;
}

.footer-contact .contact-item i {
  color: #052e29;
  margin-right: 8px;
  font-size: 14px;
  width: 16px;
  text-align: center;
}

.footer-links h4 {
  color: #052e29;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 15px;
}

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

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

.footer-links ul li a {
  color: #052e29;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}

.footer-links ul li a:hover {
  color: #052e29;
}

.footer-newsletter h4 {
  color: #052e29;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 15px;
}

.footer-newsletter p {
  color: #052e29;
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 20px;
}

.social-links {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 35px;
  height: 35px;
  background: #fff;
  border: 1px solid #e9ecef;
  border-radius: 50%;
  color: #052e29;
  font-size: 16px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-link:hover {
  background: #052e29;
  border-color: #052e29;
  color: #fff;
  transform: translateY(-2px);
}



.footer-bottom {
  background: #fff;
  padding: 20px 0;
  border-top: 1px solid #e9ecef;
}

.copyright p {
  margin: 0;
  color: #052e29;
  font-size: 14px;
}

.footer-legal {
  display: flex;
  gap: 15px;
  justify-content: flex-end;
}

.legal-link {
  color: #052e29;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}

.legal-link:hover {
  color: #052e29;
}

/* Responsive */
@media (max-width: 768px) {
  .footer-top {
    padding: 30px 0 20px;
  }
  
  .footer-legal {
    justify-content: flex-start;
    margin-top: 10px;
  }
  
  .social-links {
    justify-content: flex-start;
  }
}

/* ========================================
   PRELOADER
   ======================================== */



/* ========================================
   WHATSAPP FLOATING BUTTON
   ======================================== */

.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 9999;
}

.whatsapp-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: #25d366;
  color: var(--contrast-color);
  border-radius: 50%;
  text-decoration: none;
  font-size: 28px;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

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

.whatsapp-btn:hover {
  background: #128c7e;
  color: var(--contrast-color);
  transform: translateY(-3px) scale(1.1);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
  text-decoration: none;
}

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

.whatsapp-btn:active {
  transform: translateY(-1px) scale(1.05);
}

@media (max-width: 768px) {
  .whatsapp-float {
    bottom: 20px;
    right: 20px;
  }
  
  .whatsapp-btn {
    width: 55px;
    height: 55px;
    font-size: 24px;
  }
}

/* ========================================
   UTILITY CLASSES
   ======================================== */

/* Optimize AOS animations for mobile devices */
@media screen and (max-width: 768px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }
  
  /* Reduce animation duration on mobile for better performance */
  [data-aos] {
    transition-duration: 300ms !important;
  }
  
  /* Ensure smooth animations on mobile */
  .aos-animate {
    transition-timing-function: ease-out !important;
  }
}

/* Additional optimization for very small screens */
@media screen and (max-width: 480px) {
  [data-aos] {
    transition-duration: 250ms !important;
  }
}

/* ========================================
   PAGE TITLES & BREADCRUMBS
   ======================================== */



/* ========================================
   GLOBAL SECTIONS
   ======================================== */

section,
.section {
  color: var(--default-color);
  background-color: transparent;
  padding: 60px 0;
  scroll-margin-top: 82px;
  overflow: clip;
}

section:not(.hero),
.section:not(.hero) {
  padding-top: 60px;
}

@media (max-width: 1199px) {
  section,
  .section {
    scroll-margin-top: 73px;
    padding: 40px 0;
  }
  
  section:not(.hero),
  .section:not(.hero) {
    padding-top: 40px;
  }
}

/* ========================================
   SECTION TITLES
   ======================================== */

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

.section-title h2 {
  font-size: 13px;
  letter-spacing: 1px;
  font-weight: 700;
  padding: 8px 20px;
  margin: 0;
  background: color-mix(in srgb, var(--accent-color), transparent 90%);
  color: var(--accent-color);
  display: inline-block;
  text-transform: uppercase;
  border-radius: 50px;
  font-family: var(--font-family-base);
}

.section-title div {
  color: var(--heading-color);
  margin: 10px 0 0 0;
  font-size: 40px;
  font-weight: 700;
  font-family: var(--font-family-heading);
}

.section-title div .description-title {
  color: var(--accent-color);
}

/* ========================================
   HERO SECTION
   ======================================== */

.hero {
  background-image: url('../img/fondo-hero.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: scroll; /* Changed from fixed for better performance */
  min-height: 110vh;
  overflow: hidden;
  padding: 120px 0 220px 0; /* Reduced top padding */
  position: relative;
  margin-top: -100px;
  padding-top: 200px; /* Reduced top padding */
  will-change: transform; /* Optimize for animations */
  content-visibility: auto; /* Optimize rendering */
  contain-intrinsic-size: 110vh; /* Provide size hint */
  transition: opacity 0.3s ease;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* Responsive background images for better LCP */
@media (max-width: 768px) {
  .hero {
    background-image: url('../img/fondo-hero.jpg') !important; /* Force same image for mobile */
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    min-height: 95vh;
    padding: 140px 0 140px 0;
    margin-top: -90px;
    padding-top: 280px;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .hero {
    background-image: url('../img/fondo-hero.jpg') !important; /* Force same image for tablet */
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
}

@media (min-width: 1025px) {
  .hero {
    background-image: url('../img/fondo-hero.jpg') !important; /* Force same image for desktop */
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
}

.hero.loading {
  opacity: 0.8;
}

.hero.loaded {
  opacity: 1;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(19, 92, 81, 0.1) 0%,
    rgba(19, 92, 81, 0.2) 15%,
    rgba(19, 92, 81, 0.3) 30%,
    rgba(0, 0, 0, 0.2) 50%,
    rgba(0, 0, 0, 0.4) 70%,
    rgba(0, 0, 0, 0.6) 85%,
    rgba(0, 0, 0, 0.7) 100%
  );
  z-index: 1;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(240, 253, 249, 0.05) 20%,
    rgba(240, 253, 249, 0.1) 40%,
    rgba(240, 253, 249, 0.2) 60%,
    rgba(240, 253, 249, 0.3) 80%,
    rgba(240, 253, 249, 0.4) 100%
  );
  z-index: 2;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.hero .container {
  position: relative;
  z-index: 15;
  margin-top: 100px; /* Reduced margin-top */
}

/* Degradado superior para transición suave con el header */
.hero-top-gradient {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 150px;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.15) 0%,
    rgba(255, 255, 255, 0.08) 30%,
    rgba(255, 255, 255, 0.03) 60%,
    transparent 100%
  );
  z-index: 3;
  pointer-events: none;
}

.hero .hero-content {
  position: relative;
  z-index: 15;

}

.hero .hero-content h2 {
  color: #ffffff;
  font-size: 52px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--spacing-lg);
  margin-top: 140px; 
}

.hero .hero-content p {
  color: #ffffff;
  font-size: 18px;
  font-weight: 400;
  margin-bottom: var(--spacing-xl);
}

.hero .hero-content.text-left {
  max-width: 800px;
  margin: 0;
  text-align: left;
}

.hero .hero-content .hero-btns {
  display: flex;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-xxl);
  justify-content: flex-start;
}

.hero .hero-content .hero-btns .btn {
  padding: 14px 30px;
  height: 56px;
  font-weight: 500;
}



.hero .hero-image {
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  position: relative;
}

.hero .hero-image img {
  background: transparent;
  border-radius: var(--border-radius-lg);
  height: auto;
  transition: transform var(--transition-slow);
  width: 100%;
}

/* ========================================
   HERO RESPONSIVE
   ======================================== */

@media (max-width: 992px) {
  .hero {
    min-height: 100vh;
    padding: 100px 0 160px 0; /* Reduced top padding */
    margin-top: -90px;
    padding-top: 180px; /* Reduced top padding */
  }

  section:not(.hero),
  .section:not(.hero) {
    padding-top: 140px;
  }

  .hero .hero-content {
    margin-bottom: var(--spacing-xxl);
    text-align: left;
  }

  .hero .hero-content .hero-btns {
    justify-content: flex-start;
  }

  .hero .hero-content h2 {
    font-size: 36px;
  }
}

@media (max-width: 768px) {
  .hero {
    min-height: 95vh;
    padding: 140px 0 140px 0;
    margin-top: -90px;
    padding-top: 280px;
  }

  section:not(.hero),
  .section:not(.hero) {
    padding-top: 130px;
  }

  .hero .hero-content h2 {
    font-size: 48px !important;
    line-height: 1.1;
  }
  
  .hero .hero-content h2 .rotating-text {
    font-size: 48px !important;
    line-height: 1.1;
  }
}

@media (max-width: 576px) {
  .hero {
    min-height: 90vh;
    padding: 120px 0 120px 0;
    margin-top: -80px;
    padding-top: 250px;
  }

  section:not(.hero),
  .section:not(.hero) {
    padding-top: 120px;
  }

  .hero .hero-content .hero-btns {
    flex-direction: column;
  }
}





/* ========================================
   SERVICES SECTION
   ======================================== */

.services {
  background-color: transparent;
  background-image: 
    linear-gradient(rgba(0, 0, 0, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.03) 1px, transparent 1px);
  background-size: 30px 30px;
  background-position: 0 0, 0 0;
  padding: 60px 0;
  position: relative;
  margin-bottom: 40px;
  margin-top: 160px;
}



.services .service-card {
  background: linear-gradient(145deg, var(--surface-color) 0%, color-mix(in srgb, var(--surface-color), var(--color-primary) 2%) 100%);
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(19, 92, 81, 0.1), 0 1px 8px rgba(19, 92, 81, 0.05);
  height: 100%;
  margin-bottom: var(--component-margin);
  overflow: hidden;
  padding: var(--card-padding);
  position: relative;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transform-style: preserve-3d;
  perspective: 1000px;
  border: 1px solid color-mix(in srgb, var(--color-primary), transparent 85%);
  backdrop-filter: blur(10px);
}

.services .service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, color-mix(in srgb, var(--color-primary), transparent 70%) 50%, transparent 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.services .service-card:hover::before {
  opacity: 1;
}

.services .service-card:hover {
  box-shadow: none;
  transform: translateY(-8px) scale(1.02);
  border: 1px solid color-mix(in srgb, var(--color-primary), transparent 70%);
  background: linear-gradient(145deg, var(--surface-color) 0%, color-mix(in srgb, var(--surface-color), var(--color-primary) 4%) 100%);
}

.services .service-card:hover .icon-box {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--accent-color) 100%);
  color: var(--contrast-color);
  transform: scale(1.1) rotate(5deg);
  box-shadow: none;
}

.services .service-card .icon-box {
  align-items: center;
  background: linear-gradient(135deg, color-mix(in srgb, var(--color-primary), transparent 85%) 0%, color-mix(in srgb, var(--accent-color), transparent 90%) 100%);
  border-radius: 18px;
  color: var(--color-primary);
  display: flex;
  font-size: 2.2rem;
  height: 75px;
  justify-content: center;
  margin-bottom: 25px;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  width: 75px;
  box-shadow: 0 4px 15px rgba(19, 92, 81, 0.1);
  border: 1px solid color-mix(in srgb, var(--color-primary), transparent 92%);
}

.services .service-card h3 {
  color: var(--heading-color);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 25px;
  line-height: 1.4;
  letter-spacing: -0.02em;
}

.services .service-card p {
  color: var(--default-color);
  margin-bottom: var(--text-margin-bottom);
}

.services .service-card .service-features {
  list-style: none;
  margin: 0 0 var(--component-margin) 0;
  padding: 0;
}

.services .service-card .service-features li {
  align-items: flex-start;
  color: var(--default-color);
  display: flex;
  padding: 10px 0;
  font-size: 16px;
  line-height: 1.5;
  transition: all 0.2s ease;
}

.services .service-card .service-features li i {
  color: var(--color-primary);
  font-size: 1.1rem;
  margin-right: 12px;
  margin-top: 2px;
  flex-shrink: 0;
  line-height: 1;
}

.services .service-card:hover .service-features li {
  color: color-mix(in srgb, var(--default-color), #000 5%);
}

.services .service-card:hover .service-features li i {
  color: var(--accent-color);
  transform: scale(1.1);
}

.services .service-card .read-more {
  align-items: center;
  color: var(--accent-color);
  display: inline-flex;
  font-weight: 600;
  transition: all var(--transition-base);
}

.services .service-card .read-more i {
  margin-left: 5px;
  transition: transform var(--transition-base);
}

.services .service-card .read-more:hover {
  color: color-mix(in srgb, var(--accent-color), #000 10%);
}

.services .service-card .read-more:hover i {
  transform: translateX(5px);
}

.services .btn-primary {
  padding: 12px 30px;
  height: 52px;
}

/* ========================================
   CONSULTATION SECTION
   ======================================== */



/* ========================================
   WHY CHOOSE US SECTION
   ======================================== */

.why-choose-us {
  background-color: transparent;
  overflow: hidden;
  padding: 60px 0;
  position: relative;
}



.why-choose-us .container {
  position: relative;
  z-index: 1;
}

.why-choose-us .features-content {
  padding-right: var(--element-gap);
}

.why-choose-us .features-content h2 {
  color: var(--heading-color);
  font-size: 40px;
  font-weight: 700;
  margin-bottom: var(--text-margin-bottom-lg);
}

.why-choose-us .features-content .lead {
  color: var(--default-color);
  font-size: 16px;
  font-weight: 400;
  margin-bottom: var(--text-margin-bottom-lg);
}

.why-choose-us .features-content p {
  color: var(--default-color);
  font-size: 16px;
  font-weight: 400;
  margin-bottom: var(--text-margin-bottom);
}

.why-choose-us .features-content .features-list .feature-item {
  display: flex;
  margin-bottom: var(--element-gap);
}

.why-choose-us .features-content .features-list .feature-item:last-child {
  margin-bottom: 0;
}

.why-choose-us .features-content .features-list .feature-item .feature-icon {
  align-items: center;
  background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  border-radius: var(--border-radius-lg);
  color: var(--accent-color);
  display: flex;
  flex-shrink: 0;
  font-size: 1.8rem;
  height: 60px;
  justify-content: center;
  margin-right: var(--element-gap);
  transition: all var(--transition-base);
  width: 60px;
}

.why-choose-us .features-content .features-list .feature-item .feature-icon:hover {
  background-color: var(--accent-color);
  color: var(--contrast-color);
  transform: translateY(-5px);
}

.why-choose-us .features-content .features-list .feature-item .feature-text h4 {
  color: var(--heading-color);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: var(--text-margin-bottom-sm);
}

.why-choose-us .features-content .features-list .feature-item .feature-text p {
  color: var(--default-color);
  font-size: 16px;
  margin-bottom: 0;
}

.why-choose-us .features-image {
  position: relative;
}

.why-choose-us .features-image .main-image {
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 1;
}

.why-choose-us .features-image .stats-card {
  background-color: var(--color-primary);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
  display: grid;
  gap: var(--element-gap-sm);
  grid-template-columns: 1fr 1fr;
  left: -30px;
  padding: var(--card-padding);
  position: absolute;
  top: -30px;
  width: 220px;
  z-index: 2;
}

.why-choose-us .features-image .stats-card .stat-item {
  text-align: center;
}

.why-choose-us .features-image .stats-card .stat-item h3 {
  color: var(--contrast-color);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.why-choose-us .features-image .stats-card .stat-item p {
  color: var(--contrast-color);
  font-size: 0.8rem;
  margin-bottom: 0;
}

.why-choose-us .features-image .experience-badge {
  background-color: var(--accent-color);
  border-radius: var(--border-radius-lg);
  bottom: -20px;
  box-shadow: var(--shadow-md);
  color: var(--contrast-color);
  padding: var(--spacing-xl);
  position: absolute;
  right: -20px;
  z-index: 2;
}

.why-choose-us .features-image .experience-badge .badge-content {
  align-items: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.why-choose-us .features-image .experience-badge .badge-content .number {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1;
}

.why-choose-us .features-image .experience-badge .badge-content .text {
  font-size: 0.9rem;
  line-height: 1.2;
  text-align: center;
}

.parallax-image {
  position: sticky;
  top: 100px;
  transition: transform 0.1s ease-out;
}

/* ========================================
   TEAM SECTION
   ======================================== */



.team .team-card {
  background-color: var(--surface-color);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
  height: 100%;
  overflow: hidden;
  position: relative;
  transition: var(--transition-base);
}

.team .team-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-5px);
}

.team .team-card:hover .team-overlay {
  opacity: 1;
  visibility: visible;
}

.team .team-card:hover .team-image img {
  transform: scale(1.08);
}

.team .team-image {
  overflow: hidden;
  position: relative;
}

.team .team-image img {
  transition: transform 0.6s ease;
}

.team .team-image .team-overlay {
  align-items: flex-end;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.7) 100%);
  bottom: 0;
  display: flex;
  justify-content: center;
  left: 0;
  opacity: 0;
  padding-bottom: var(--spacing-xl);
  position: absolute;
  right: 0;
  top: 0;
  transition: var(--transition-base);
  visibility: hidden;
}

.team .team-image .social-links {
  display: flex;
  gap: 15px;
}

.team .team-image .social-links a {
  align-items: center;
  background-color: var(--accent-color);
  border-radius: 50%;
  color: var(--contrast-color);
  display: flex;
  font-size: 16px;
  height: 36px;
  justify-content: center;
  transition: var(--transition-base);
  width: 36px;
}

.team .team-image .social-links a:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
  transform: translateY(-5px);
}

.team .team-content {
  padding: var(--spacing-xl);
  text-align: center;
}

.team .team-content h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 5px;
}

.team .team-content span {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  display: block;
  font-size: 14px;
  margin-bottom: var(--spacing-md);
}

.team .team-content p {
  color: color-mix(in srgb, var(--default-color), transparent 10%);
  font-size: 14px;
  margin-bottom: 0;
}



/* ========================================
   WHY CHOOSE US, TEAM & TESTIMONIALS RESPONSIVE
   ======================================== */

@media (max-width: 992px) {
  .why-choose-us .features-content {
    margin-bottom: 50px;
    padding-right: 0;
  }

  .team .team-card {
    margin-bottom: 20px;
  }
}

@media (max-width: 768px) {
  .why-choose-us .features-content h2 {
    font-size: 32px;
  }

  .why-choose-us .features-image .stats-card {
    left: -10px;
    padding: var(--spacing-md);
    top: -20px;
    width: 180px;
  }

  .why-choose-us .features-image .stats-card .stat-item h3 {
    font-size: 1.2rem;
    color: var(--contrast-color);
  }

  .why-choose-us .features-image .stats-card .stat-item p {
    font-size: 0.7rem;
    color: var(--contrast-color);
  }

  .why-choose-us .features-image .experience-badge {
    padding: var(--spacing-md);
    right: 0;
  }

  .why-choose-us .features-image .experience-badge .badge-content .number {
    font-size: 2rem;
  }



}



/* ========================================
   PRICING SECTION
   ======================================== */

.pricing {
  padding: 60px 0;
}

.pricing .pricing-toggle {
  align-items: center;
  display: flex;
  margin-bottom: 50px;
  position: relative;
}

.pricing .pricing-toggle span {
  color: var(--default-color);
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  padding: 0 15px;
  transition: all var(--transition-base);
}

.pricing .pricing-toggle span.active {
  color: var(--accent-color);
}

.pricing .pricing-toggle .switch {
  display: inline-block;
  height: 30px;
  position: relative;
  width: 60px;
}

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

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

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

.pricing .pricing-toggle .switch .slider {
  background-color: color-mix(in srgb, var(--accent-color), transparent 70%);
  border-radius: 34px;
  bottom: 0;
  cursor: pointer;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
  transition: 0.4s;
}

.pricing .pricing-toggle .switch .slider:before {
  background-color: white;
  border-radius: 50%;
  bottom: 4px;
  content: "";
  height: 22px;
  left: 4px;
  position: absolute;
  transition: 0.4s;
  width: 22px;
}

.pricing .pricing-toggle .discount-badge {
  background-color: var(--accent-color);
  border-radius: 20px;
  color: var(--contrast-color);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 5px 10px;
  position: absolute;
  right: -15px;
  top: -25px;
}

.pricing .pricing-item {
  background-color: var(--surface-color);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  height: 100%;
  margin-bottom: var(--component-margin-lg);
  overflow: hidden;
  position: relative;
  transition: all var(--transition-base);
  border: 2px solid transparent;
}

/* Border para las cards de los extremos (no featured) */
.pricing .pricing-item:not(.featured) {
  border: 2px solid var(--color-primary);
}

.pricing .pricing-item:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-10px);
}

.pricing .pricing-item.featured {
  border: 2px solid var(--accent-color);
  transform: scale(1.05);
  z-index: 1;
}

.pricing .pricing-item.featured:hover {
  transform: translateY(-10px) scale(1.05);
}

.pricing .pricing-item.featured .pricing-badge {
  background-color: var(--accent-color);
  border-radius: 0;
  color: var(--contrast-color);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 5px 40px;
  position: absolute;
  right: -35px;
  top: 16px;
  transform: rotate(45deg);
}

.pricing .pricing-item .pricing-header {
  border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  padding: var(--card-padding);
  text-align: center;
}

.pricing .pricing-item .pricing-header .plan-icon {
  text-align: center;
  margin-bottom: var(--text-margin-bottom);
}

.pricing .pricing-item .pricing-header .plan-icon i {
  font-size: 48px;
  color: var(--color-primary);
  opacity: 0.8;
  transition: all var(--transition-base);
}

.pricing .pricing-item:hover .pricing-header .plan-icon i {
  opacity: 1;
  transform: scale(1.1);
}

.pricing .pricing-item .pricing-header h3 {
  color: var(--heading-color);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: var(--text-margin-bottom);
}

.pricing .pricing-item .pricing-header .price-monthly,
.pricing .pricing-item .pricing-header .price-yearly {
  color: var(--accent-color);
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.pricing .pricing-item .pricing-header .price-monthly span,
.pricing .pricing-item .pricing-header .price-yearly span {
  color: var(--default-color);
  font-size: 1rem;
  font-weight: 500;
}

.pricing .pricing-item .pricing-header p {
  color: var(--default-color);
  font-size: 0.9rem;
  margin-bottom: 0;
}

.pricing .pricing-item .pricing-header .price-yearly {
  display: none;
}

.pricing .pricing-item.yearly-active .price-monthly {
  display: none;
}

.pricing .pricing-item.yearly-active .price-yearly {
  display: block;
}

.pricing .pricing-item .pricing-features {
  flex-grow: 1;
  padding: 30px;
}

.pricing .pricing-item .pricing-features ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.pricing .pricing-item .pricing-features ul li {
  align-items: center;
  color: var(--default-color);
  display: flex;
  font-size: 16px;
  padding: 10px 0;
}

.pricing .pricing-item .pricing-features ul li i {
  font-size: 1.1rem;
  margin-right: var(--spacing-sm);
}

.pricing .pricing-item .pricing-features ul li i.bi-check-circle {
  color: #28a745;
}

.pricing .pricing-item .pricing-features ul li i.bi-x-circle {
  color: #dc3545;
}

.pricing .pricing-item .pricing-footer {
  padding: 20px 30px 30px;
  text-align: center;
}

.pricing .pricing-item .pricing-footer .btn {
  border-radius: var(--border-radius-lg);
  font-weight: 600;
  height: 52px;
  padding: 12px 30px;
  transition: all var(--transition-base);
  width: 100%;
}

.pricing .pricing-note p {
  color: var(--default-color);
  font-size: 1rem;
  margin-top: 60px !important;
}

.pricing .pricing-note p a {
  color: var(--accent-color);
  font-weight: 600;
  text-decoration: none;
}

.pricing .pricing-note p a:hover {
  text-decoration: underline;
}

/* ========================================
   PRICING TABS STYLING (matching services tabs)
   ======================================== */

.pricing .nav-tabs {
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  display: flex;
  margin-bottom: 3rem;
  padding: 0;
  position: relative;
  gap: 15px;
}

.pricing .nav-tabs .nav-item {
  margin: 0;
}

.pricing .nav-tabs .nav-link {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(245, 248, 250, 0.8) 100%);
  border: 1.5px solid var(--color-primary);
  border-radius: 20px;
  color: var(--color-primary);
  display: flex;
  align-items: center;
  font-size: 16px;
  font-weight: 500;
  margin: 0;
  min-width: 200px;
  padding: 16px 24px;
  position: relative;
  text-align: center;
  transition: all 0.3s ease;
  white-space: nowrap;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 8px 32px rgba(5, 46, 41, 0.08);
}

.pricing .nav-tabs .nav-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, color-mix(in srgb, var(--color-primary), transparent 70%) 50%, transparent 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.pricing .nav-tabs .nav-link:hover::before {
  opacity: 1;
}

.pricing .nav-tabs .nav-link:hover {
  background: linear-gradient(135deg, var(--surface-color) 0%, color-mix(in srgb, var(--surface-color), var(--color-primary) 4%) 100%);
  box-shadow: 0 12px 40px rgba(19, 92, 81, 0.15);
  color: var(--color-primary);
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--color-primary), transparent 70%);
}

.pricing .nav-tabs .nav-link.active {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  border: 1.5px solid var(--color-primary);
  box-shadow: 0 12px 40px rgba(19, 92, 81, 0.25);
  color: white;
  font-weight: 600;
  transform: translateY(-2px);
}

.pricing .nav-tabs .nav-link.active::after {
  display: none;
}

.pricing .nav-tabs .nav-link i {
  color: var(--color-primary);
  opacity: 0.8;
  transition: all 0.3s ease;
  font-size: 1.1rem;
}

.pricing .nav-tabs .nav-link:hover i {
  color: var(--color-primary);
  opacity: 1;
  transform: scale(1.05);
}

.pricing .nav-tabs .nav-link.active i {
  color: white;
  opacity: 1;
  transform: scale(1.05);
}

/* ========================================
   FAQ SECTION
   ======================================== */

.faq .faq-card {
  background-color: color-mix(in srgb, var(--default-color), transparent 96%);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  border-radius: var(--border-radius-md);
  height: 100%;
  padding: 40px;
  text-align: center;
}

.faq .faq-card i {
  color: var(--accent-color);
  display: block;
  font-size: 48px;
  margin-bottom: var(--spacing-xl);
}

.faq .faq-card h3 {
  font-size: 24px;
  margin-bottom: var(--spacing-md);
}

.faq .faq-card p {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  font-size: 16px;
  line-height: 24px;
  margin-bottom: 25px;
}

.faq .faq-card .btn-primary {
  font-size: 16px;
  height: 52px;
  padding: 8px 20px;
}

.faq .faq-list {
  padding: 0;
}

.faq .faq-list .faq-item {
  background-color: var(--surface-color);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  border-radius: var(--border-radius-md);
  cursor: pointer;
  margin-bottom: 25px;
  padding: 30px;
  position: relative;
}

.faq .faq-list .faq-item:last-child {
  margin-bottom: 0;
}

.faq .faq-list .faq-item h3 {
  color: var(--heading-color);
  cursor: pointer;
  font-size: 18px;
  font-weight: 600;
  line-height: 28px;
  margin-bottom: 0;
  padding-right: 40px;
  position: relative;
}

.faq .faq-list .faq-item .faq-content {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition: 0.3s ease-in-out;
  visibility: hidden;
}

.faq .faq-list .faq-item .faq-content p {
  font-size: 16px;
  line-height: 24px;
  margin-bottom: 0;
  overflow: hidden;
}

.faq .faq-list .faq-item .faq-toggle {
  color: var(--accent-color);
  font-size: 24px;
  position: absolute;
  right: 30px;
  top: 30px;
  transition: transform 0.2s ease;
}

.faq .faq-list .faq-item.faq-active h3 {
  color: var(--accent-color);
}

.faq .faq-list .faq-item.faq-active .faq-content {
  grid-template-rows: 1fr;
  opacity: 1;
  padding-top: var(--spacing-md);
  visibility: visible;
}

.faq .faq-list .faq-item.faq-active .faq-toggle {
  transform: rotate(45deg);
}

/* ========================================
   CONTACT SECTION
   ======================================== */

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

.contact .contact-info {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-bottom: 30px;
}

.contact .contact-card {
  background-color: var(--surface-color);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  padding: var(--card-padding);
  position: relative;
}

.contact .contact-card:before {
  background-color: var(--accent-color);
  content: "";
  height: 3px;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
}

.contact .contact-card h3 {
  color: var(--heading-color);
  font-size: 22px;
  font-weight: 600;
  margin-bottom: var(--text-margin-bottom);
  padding-bottom: var(--text-margin-bottom);
  position: relative;
}

.contact .contact-card h3:after {
  background-color: var(--accent-color);
  bottom: 0;
  content: "";
  height: 2px;
  left: 0;
  position: absolute;
  width: 50px;
}

.contact .contact-card p {
  color: var(--default-color);
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: var(--text-margin-bottom);
}

.contact .contact-card .contact-details {
  margin-bottom: var(--text-margin-bottom);
}

.contact .contact-card .contact-details .contact-item {
  align-items: flex-start;
  display: flex;
  margin-bottom: var(--element-gap-sm);
}

.contact .contact-card .contact-details .contact-item i {
  color: var(--accent-color);
  flex-shrink: 0;
  font-size: 18px;
  margin-right: var(--element-gap);
  margin-top: 5px;
}

.contact .contact-card .contact-details .contact-item div h4 {
  color: var(--heading-color);
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 0px !important;
}

.contact .contact-card .contact-details .contact-item div p {
  color: var(--default-color);
  font-size: 14px;
  line-height: 1.5;
}

.contact .contact-card .contact-details .contact-item div p:last-child {
  margin-bottom: 0;
}

.contact .contact-card .contact-details .contact-item:last-child {
  margin-bottom: 0;
}

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

.contact .contact-card .social-links a {
  align-items: center;
  background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  border-radius: 50%;
  color: var(--accent-color);
  display: flex;
  font-size: 16px;
  height: 36px;
  justify-content: center;
  transition: all var(--transition-base);
  width: 36px;
}

.contact .contact-card .social-links a:hover {
  background-color: var(--accent-color);
  color: var(--contrast-color);
  transform: translateY(-3px);
}

.contact .contact-form-wrapper {
  background-color: var(--surface-color);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  padding: 35px;
  position: relative;
}

.contact .contact-form-wrapper:before {
  background-color: var(--accent-color);
  content: "";
  height: 3px;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
}

.contact .contact-form-wrapper .php-email-form .form-group {
  margin-bottom: 15px;
}

.contact .contact-form-wrapper .php-email-form .form-group label {
  color: var(--heading-color);
  display: block;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 8px;
}

.contact .contact-form-wrapper .php-email-form .form-group .form-control {
  background-color: var(--surface-color);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 80%);
  border-radius: var(--border-radius-md);
  color: var(--default-color);
  font-size: 14px;
  height: auto;
  padding: 12px 20px;
}

.contact .contact-form-wrapper .php-email-form .form-group .form-control:focus {
  border-color: var(--accent-color);
  box-shadow: none;
}

.contact .contact-form-wrapper .php-email-form .form-group .form-control::placeholder {
  color: color-mix(in srgb, var(--default-color), transparent 70%);
}

.contact .contact-form-wrapper .php-email-form .form-group textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

.contact .contact-form-wrapper .php-email-form .interests-checkboxes {
  margin-top: 0.5rem;
}

.contact .contact-form-wrapper .php-email-form .interests-checkboxes .form-check {
  margin-bottom: 0.75rem;
  display: flex;
  align-items: flex-start;
}

.contact .contact-form-wrapper .php-email-form .interests-checkboxes .form-check:last-child {
  margin-bottom: 0;
}

.contact .contact-form-wrapper .php-email-form .interests-checkboxes .form-check-input {
  width: 1.2em;
  height: 1.2em;
  margin-top: 0;
  margin-right: 0.5rem;
  border: 2px solid var(--color-border);
  border-radius: 4px;
  cursor: pointer;
  flex-shrink: 0;
}

.contact .contact-form-wrapper .php-email-form .interests-checkboxes .form-check-input:checked {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
}

.contact .contact-form-wrapper .php-email-form .interests-checkboxes .form-check-input:focus {
  box-shadow: 0 0 0 0.2rem rgba(19, 92, 81, 0.25);
  border-color: var(--color-primary);
}

.contact .contact-form-wrapper .php-email-form .interests-checkboxes .form-check-label {
  margin-left: 0;
  font-size: 1rem;
  color: var(--color-text-primary);
  cursor: pointer;
  line-height: 1.4;
  padding-top: 0.3em;
}

.contact .contact-form-wrapper .php-email-form .form-check {
  margin-bottom: 20px;
}

.contact .contact-form-wrapper .php-email-form .form-check .form-check-input {
  margin-top: 0.3em;
}

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

.contact .contact-form-wrapper .php-email-form .form-check .form-check-input:focus {
  border-color: color-mix(in srgb, var(--accent-color), transparent 50%);
  box-shadow: none;
}

.contact .contact-form-wrapper .php-email-form .form-check .form-check-label {
  color: var(--default-color);
  font-size: 14px;
  padding-left: 5px;
}

.contact .contact-form-wrapper .php-email-form button {
  border-radius: var(--border-radius-lg);
  font-size: 16px;
  height: 52px;
  padding: 12px 30px;
}

/* ========================================
   PRICING, FAQ & CONTACT RESPONSIVE
   ======================================== */

@media (max-width: 992px) {
  .pricing .pricing-item.featured {
    transform: scale(1);
  }

  .pricing .pricing-item.featured:hover {
    transform: translateY(-10px) scale(1);
  }

  .contact .contact-info {
    margin-bottom: 40px;
  }

  .contact .contact-card,
  .contact .contact-form-wrapper {
    padding: 25px;
  }
}

@media (max-width: 768px) {
  .pricing .pricing-toggle .discount-badge {
    right: 0;
    top: -30px;
  }

  /* Espaciado mejorado para las cards de pricing en móviles */
  .pricing .pricing-item {
    margin-bottom: 2rem;
  }

  .pricing .row .col-md-6:not(:last-child) {
    margin-bottom: 2rem;
  }

  /* Asegurar espaciado consistente en todas las columnas */
  .pricing .row > div {
    margin-bottom: 2rem;
  }

  .pricing .row > div:last-child {
    margin-bottom: 0;
  }

  .faq .faq-list .faq-item {
    padding: 20px;
  }

  .faq .faq-list .faq-item h3 {
    font-size: 16px;
    line-height: 24px;
  }

  .faq .faq-list .faq-item .faq-toggle {
    font-size: 20px;
    right: 20px;
    top: 20px;
  }

  .contact {
    padding: 60px 0;
  }

  .contact .contact-card h3 {
    font-size: 20px;
  }
  
  /* Estilos para el botón de envío en móviles */
  .contact .contact-form-wrapper .php-email-form button {
    width: 100% !important;
    max-width: none !important;
    min-width: auto !important;
  }
}

@media (max-width: 576px) {
  .pricing .pricing-toggle .discount-badge {
    top: -30px;
  }

  /* Espaciado adicional para móviles muy pequeños */
  .pricing .pricing-item {
    margin-bottom: 2.5rem;
  }

  .pricing .row .col-md-6:not(:last-child) {
    margin-bottom: 2.5rem;
  }

  /* Asegurar espaciado consistente en todas las columnas para móviles pequeños */
  .pricing .row > div {
    margin-bottom: 2.5rem;
  }

  .pricing .row > div:last-child {
    margin-bottom: 0;
  }
  
  /* Estilos para el botón de envío en móviles pequeños */
  .contact .contact-form-wrapper .php-email-form button {
    width: 100% !important;
    max-width: none !important;
    min-width: auto !important;
  }
}

/* ========================================
   SERVICE DETAILS SECTION
   ======================================== */



/* ========================================
   MODULE BUTTONS
   ======================================== */

.modulo-btn {
  background: transparent;
  border: 2px solid var(--color-primary);
  border-radius: var(--border-radius-lg);
  box-shadow: none;
  color: var(--color-primary) !important;
  display: flex;
  align-items: center;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 10px;
  padding: 12px 24px;
  text-align: left;
  transition: var(--transition-base);
}

.modulo-btn .bi {
  font-size: 1.5rem;
}

.modulo-btn:hover,
.modulo-btn:focus {
  background: #e6f4f1;
  box-shadow: none;
  color: var(--color-primary) !important;
  transform: translateY(-1px);
}

.modulo-btn.active,
.modulo-btn:active {
  background: var(--color-primary-dark) !important;
  border-color: var(--color-primary-dark);
  box-shadow: var(--shadow-md);
  color: #fff !important;
}

.modulos-list .modulo-btn {
  justify-content: flex-start;
  min-width: 220px;
  width: 100%;
}

/* ========================================
   PROBLEMAS INMOBILIARIAS SECTION
   ======================================== */

#problemas-inmobiliarias {
  padding: 60px 0;
}

#problemas-inmobiliarias .row {
  display: flex;
  align-items: stretch;
}

#problemas-inmobiliarias .col-lg-6 {
  display: flex;
  flex-direction: column;
}

#problemas-inmobiliarias .problemas-content,
#problemas-inmobiliarias .soluciones-content {
  border-radius: var(--border-radius-md);
  padding: 2rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  flex: 1;
}

#problemas-inmobiliarias .problemas-content {
  background: rgba(220, 38, 38, 0.05);
  border: 1px solid rgba(220, 38, 38, 0.1);
  height: 100%;
}

#problemas-inmobiliarias .soluciones-content {
  background: rgba(19, 92, 81, 0.05);
  border: 1px solid rgba(19, 92, 81, 0.1);
  height: 100%;
}

#problemas-inmobiliarias .problemas-list,
#problemas-inmobiliarias .soluciones-list {
  margin: 0;
  padding: 0;
  flex: 1;
}

#problemas-inmobiliarias .problema-item,
#problemas-inmobiliarias .solucion-item {
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--border-radius-sm);
  margin-bottom: 1rem;
  overflow: hidden;
}

#problemas-inmobiliarias .problema-item:last-child,
#problemas-inmobiliarias .solucion-item:last-child {
  margin-bottom: 0;
}

#problemas-inmobiliarias .problema-header,
#problemas-inmobiliarias .solucion-header {
  align-items: center;
  background: rgba(255, 255, 255, 0.7);
  color: var(--color-text-primary);
  cursor: pointer;
  display: flex;
  font-size: 1rem;
  font-weight: 500;
  padding: 1rem;
  text-align: left;
  transition: all var(--transition-base);
}

#problemas-inmobiliarias .problema-header:hover,
#problemas-inmobiliarias .solucion-header:hover {
  background: rgba(255, 255, 255, 0.9);
}

#problemas-inmobiliarias .problema-header i:first-child,
#problemas-inmobiliarias .solucion-header i:first-child {
  font-size: 20px;
  font-weight: 600;
  margin-top: 0.1rem;
}

#problemas-inmobiliarias .problema-header .bi-plus,
#problemas-inmobiliarias .solucion-header .bi-plus {
  color: var(--color-text-secondary);
  font-size: 1.5rem;
  transition: all var(--transition-base);
}

#problemas-inmobiliarias .problema-header[aria-expanded="true"] .bi-plus,
#problemas-inmobiliarias .solucion-header[aria-expanded="true"] .bi-plus {
  transform: rotate(45deg);
}

#problemas-inmobiliarias .problema-descripcion,
#problemas-inmobiliarias .solucion-descripcion {
  background: rgba(255, 255, 255, 0.5);
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  padding: 1rem;
}

#problemas-inmobiliarias .problema-descripcion p,
#problemas-inmobiliarias .solucion-descripcion p {
  color: #052e29;
  font-size: 1rem;
  line-height: 1.6;
  margin: 0;
  text-align: left;
}

#problemas-inmobiliarias h4 {
  color: var(--color-primary);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: var(--spacing-lg);
  text-align: left;
}

#problemas-inmobiliarias .problemas-content h4 {
  color: #dc2626;
}

/* ========================================
   CTA NEWSLETTER SECTION
   ======================================== */

.cta-newsletter {
  background: linear-gradient(90deg, #e0eafc 0%, #cfdef3 100%);
  border-radius: var(--border-radius-xl);
  margin: 40px 0;
  padding: 32px 0;
}

.cta-container {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1100px;
}

.cta-content {
  flex: 1 1 350px;
  min-width: 300px;
}

.cta-content h2 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.cta-content p {
  color: #333;
  font-size: 1rem;
  margin-bottom: 24px;
}

.cta-form {
  align-items: center;
  background: #fff;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-sm);
  display: flex;
  max-width: 420px;
  padding: 4px 8px 4px 16px;
}

.cta-form input[type="email"] {
  background: transparent;
  border: none;
  border-radius: var(--border-radius-lg) 0 0 var(--border-radius-lg);
  flex: 1;
  font-size: 1rem;
  outline: none;
  padding: 12px 8px;
}

.cta-form button {
  background: #222;
  border: none;
  border-radius: var(--border-radius-lg);
  color: #fff;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  margin-left: 8px;
  padding: 10px 28px;
  transition: background var(--transition-fast);
}

.cta-form button:hover {
  background: #444;
}

.cta-image {
  align-items: center;
  display: flex;
  flex: 1 1 320px;
  justify-content: center;
  min-width: 260px;
}

.cta-image img {
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  max-width: 320px;
  width: 100%;
}

/* ========================================
   CTA SECTION
   ======================================== */

.cta-section {
  color: white;
  overflow: hidden;
  position: relative;
}

.cta-image-wrapper {
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  max-width: 500px;
  overflow: hidden;
  position: relative;
  width: 100%;
}

.cta-main-image {
  display: block;
  height: auto;
  width: 100%;
}

.cta-image-overlay,
.cta-image-wrapper:hover .cta-main-image,
.cta-image-wrapper:hover .cta-image-overlay {
  display: none !important;
}

.cta-content h2 {
  color: white;
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--spacing-lg);
}

.cta-content .lead {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.2rem;
  line-height: 1.6;
  margin-bottom: var(--spacing-xl);
}

.cta-benefits {
  margin-bottom: var(--spacing-xxl);
}

.cta-benefits .benefit-item {
  align-items: center;
  display: flex;
  font-size: 1.1rem;
  margin-bottom: var(--spacing-md);
}

.cta-benefits .benefit-item i {
  color: var(--color-accent);
  flex-shrink: 0;
  font-size: 1.2rem;
  margin-right: 0.75rem;
}

.cta-benefits .benefit-item span {
  color: white;
  font-weight: 500;
}

.cta-stats .stat-item {
  flex: 1;
  text-align: center;
}

.cta-stats .stat-item h3 {
  color: var(--color-accent);
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: var(--spacing-sm);
}

.cta-stats .stat-item p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  font-weight: 500;
  margin: 0;
}

.cta-right-content {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xl);
}

.cta-form-card {
  background: white;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  max-width: 450px;
  padding: 2.5rem;
  width: 100%;
}

.cta-form-card h3 {
  color: var(--color-primary);
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: var(--spacing-md);
  text-align: center;
}

.cta-form-card p {
  color: var(--color-text-secondary);
  font-size: 1rem;
  margin-bottom: var(--spacing-xl);
  text-align: center;
}

.cta-form .form-group {
  margin-bottom: var(--spacing-lg);
}

.cta-form .form-control {
  background: #f8f9fa;
  border: 2px solid #e9ecef;
  border-radius: var(--border-radius-lg);
  font-size: 1rem;
  padding: 1rem 1.25rem;
  transition: all var(--transition-base);
}

.cta-form .form-control:focus {
  background: white;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 0.2rem rgba(19, 92, 81, 0.25);
}

.cta-form .form-control::placeholder {
  color: #6c757d;
}

.cta-form select.form-control {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m1 6 7 7 7-7'/%3e%3c/svg%3e");
  background-position: right 1rem center;
  background-repeat: no-repeat;
  background-size: 16px 12px;
  padding-right: 3rem;
}

.cta-form-select {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m1 6 7 7 7-7'/%3e%3c/svg%3e");
  background-position: right 1rem center;
  background-repeat: no-repeat;
  background-size: 16px 12px;
  padding-right: 3rem;
}

.cta-form button[type="submit"] {
  border-radius: var(--border-radius-lg);
  font-size: 1.1rem;
  height: 52px;
  margin-top: var(--spacing-md);
  padding: 1rem 2rem;
  width: 100%;
}

.cta-form-footer {
  margin-top: var(--spacing-lg);
  text-align: center;
}

.cta-form-footer p {
  align-items: center;
  color: #6c757d;
  display: flex;
  font-size: 0.9rem;
  justify-content: center;
  margin: 0;
}

.cta-form-footer i {
  color: var(--color-primary);
  margin-right: 0.5rem;
}






/* ========================================
   PREMIUM WEB DESIGN SECTION
   ======================================== */

.premium-features-content {
  padding: 2rem 0;
}

.premium-features-grid {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.premium-feature-card {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 2rem;
  background: transparent;
  border-radius: 25px;
  position: relative;
}

/* Nueva clase específica para las cards de características */
.feature-card {
  background: linear-gradient(145deg, var(--surface-color) 0%, color-mix(in srgb, var(--surface-color), var(--color-primary) 2%) 100%);
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(19, 92, 81, 0.1), 0 1px 8px rgba(19, 92, 81, 0.05);
  height: 100%;
  margin-bottom: var(--component-margin);
  overflow: hidden;
  padding: var(--card-padding);
  position: relative;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transform-style: preserve-3d;
  perspective: 1000px;
  border: 1px solid color-mix(in srgb, var(--color-primary), transparent 85%);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  flex-direction: column;
  justify-content: space-between;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, color-mix(in srgb, var(--color-primary), transparent 70%) 50%, transparent 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-card:hover {
  box-shadow: none;
  transform: translateY(-8px) scale(1.02);
  border: 1px solid color-mix(in srgb, var(--color-primary), transparent 70%);
  background: linear-gradient(145deg, var(--surface-color) 0%, color-mix(in srgb, var(--surface-color), var(--color-primary) 4%) 100%);
}

.feature-card .feature-content-premium {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.feature-card .feature-content-premium h4 {
  color: var(--heading-color);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 25px;
  line-height: 1.4;
  letter-spacing: -0.02em;
}

.feature-card .feature-content-premium p {
  color: var(--default-color);
  margin-bottom: var(--text-margin-bottom);
  flex: 1;
}

.feature-card .feature-icon-premium {
  align-items: center;
  background: linear-gradient(135deg, color-mix(in srgb, var(--color-primary), transparent 85%) 0%, color-mix(in srgb, var(--accent-color), transparent 90%) 100%);
  border-radius: 18px;
  color: var(--color-primary);
  display: flex;
  font-size: 2.2rem;
  height: 75px;
  justify-content: center;
  margin-bottom: 25px;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  width: 75px;
  box-shadow: 0 4px 15px rgba(19, 92, 81, 0.1);
  border: 1px solid color-mix(in srgb, var(--color-primary), transparent 92%);
  flex-shrink: 0;
}

.feature-card:hover .feature-icon-premium {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--accent-color) 100%);
  color: var(--contrast-color);
  transform: scale(1.1) rotate(5deg);
  box-shadow: none;
}

.feature-card:hover .feature-icon-premium i {
  color: white;
}

.feature-card .feature-icon-premium i {
  font-size: 2.2rem;
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-card .highlight-tag {
  display: inline-block;
  background: rgba(19, 92, 81, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--color-primary);
  padding: 0.5rem 1rem;
  border-radius: 25px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: 1px solid rgba(19, 92, 81, 0.3);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}







.feature-icon-premium {
  position: relative;
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 8px 24px rgba(19, 92, 81, 0.3);
  border: 1px solid var(--color-primary);
  margin-top: 0;
}

.feature-icon-premium i {
  font-size: 28px;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
}



.feature-content-premium h4 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #052e29 !important;
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.feature-content-premium p {
  color: #666;
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.feature-highlight {
  margin-top: 0.75rem;
}

.highlight-tag {
  display: inline-block;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  border: 1px solid white;
}

/* Premium CTA */
.premium-cta {
  background: url('../img/CTA-background.png') center center/cover no-repeat;
  border-radius: 12px;
  padding: 3rem 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  margin: 3rem auto;
  max-width: 1296px;
  width: 100%;
  min-height: 300px;
  margin-top: 0;
}

.premium-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.02)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.02)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.03)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  opacity: 0.4;
  margin-top: 120px;
}

.cta-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
}

.premium-cta h5 {
  color: white;
  font-size: 2.5rem;
  font-weight: 600;
  font-family: "Dancing Script", cursive;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.premium-cta p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1.5rem;
}

.btn-premium {
  background: linear-gradient(135deg, #1abc9c 0%, #16a085 100%);
  border: none;
  color: white;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-shadow: 0 8px 24px rgba(26, 188, 156, 0.3);
  position: relative;
  overflow: hidden;
}

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

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

.btn-premium:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(26, 188, 156, 0.4);
  color: white;
}

.btn-premium i {
  margin-right: 0.5rem;
}



/* CTA Badge (segundo CTA) */
.cta-badge {
  display: block;
  background: rgba(255, 255, 255, 0.2);
  color: white;
  padding: 0.75rem 2rem;
  border-radius: 30px;
  font-size: 1rem;
  font-weight: 600;
  margin: 0 auto 2rem auto;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  width: fit-content;
  text-align: center;
}

/* CTA Buttons Container */
.cta-buttons {
  display: flex;
  gap: 2.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 3rem;
}

/* White Button */
.btn-white {
  background: white;
  color: #052e29;
  padding: 1.25rem 2.5rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  text-decoration: none;
  min-width: 200px;
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-white:hover {
  background: rgba(255, 255, 255, 0.9);
  color: #052e29;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

/* Outline White Button */
.btn-outline-white {
  background: transparent !important;
  color: white !important;
  border: 2px solid white !important;
  padding: 1.25rem 2.5rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  text-decoration: none;
  min-width: 200px;
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-outline-white:hover {
  background: white !important;
  color: #052e29 !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.2);
}

/* Responsive CTA */
@media (max-width: 1200px) {
  .premium-cta {
    max-width: 95%;
    padding: 3rem 2rem;
  }
  
  .premium-cta h5 {
    font-size: 2rem;
    font-family: "Dancing Script", cursive;
    font-weight: 600;
  }
}

@media (max-width: 768px) {
  .premium-cta {
    padding: 2.5rem 1.5rem;
    border-radius: 20px;
    height: auto;
    min-height: 265px;
  }
  
  .premium-cta h5 {
    font-size: 36px;
    font-family: "Dancing Script", cursive;
    font-weight: 600;
    line-height: 1.2;
  }
  
  .cta-badge {
    font-size: 0.9rem;
    padding: 0.6rem 1.5rem;
    margin-bottom: 1.5rem;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
    width: 100%;
  }
  
  .btn-white,
  .btn-outline-white {
    width: 100% !important;
    max-width: none !important;
    padding: 1rem 2rem;
    font-size: 1rem;
    min-width: auto !important;
    text-align: center !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    white-space: nowrap;
  }
}

/* Premium Showcase */
.premium-showcase {
  position: relative;
  height: 800px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 2rem;
}

.devices-showcase {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.device-desktop {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.device-desktop img {
  border-radius: 16px;
  box-shadow: none;
  background: transparent;
}

.device-mobile {
  position: absolute;
  bottom: 20px;
  right: -20px;
  width: 35%;
  max-width: 200px;
  z-index: 3;
}

.device-mobile img {
  border-radius: 20px;
  box-shadow: 0 15px 40px rgba(5, 46, 41, 0.3);
  transition: transform 0.3s ease;
}

.device-mobile:hover img {
  transform: scale(1.05);
}

.device-glow-mobile {
  position: absolute;
  top: -10px;
  left: -10px;
  right: -10px;
  bottom: -10px;
  background: linear-gradient(135deg, rgba(26, 188, 156, 0.3), rgba(22, 160, 133, 0.3));
  border-radius: 30px;
  filter: blur(15px);
  opacity: 0.6;
  z-index: -1;
}

/* Floating Stats */
.floating-stats {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
}

.stat-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(26, 188, 156, 0.2);
  border-radius: 16px;
  padding: 1rem 1.5rem;
  box-shadow: 0 8px 32px rgba(5, 46, 41, 0.1);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  animation: floatStats 3s ease-in-out infinite;
}

.stat-1 {
  top: 15%;
  left: 5%;
  animation-delay: 0s;
}

.stat-2 {
  top: 50%;
  right: 5%;
  animation-delay: 1s;
}

.stat-3 {
  bottom: 20%;
  left: 10%;
  animation-delay: 2s;
}

.stat-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #1abc9c, #16a085);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stat-icon i {
  color: white;
  font-size: 18px;
}

.stat-content {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-size: 1.25rem;
  font-weight: 700;
  color: #052e29;
  line-height: 1;
}

.stat-label {
  font-size: 0.8rem;
  color: #666;
  font-weight: 500;
}

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

/* Section Headers */
.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: #052e29;
  line-height: 1.2;
}

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

/* Responsive Design */
@media (max-width: 992px) {
  .premium-feature-card {
    padding: 1.5rem;
    gap: 1rem;
  }
  
  .feature-icon-premium {
    width: 56px;
    height: 56px;
  }
  
  .feature-icon-premium i {
    font-size: 24px;
  }
  
  .premium-showcase {
    height: 400px;
    margin-top: 3rem;
  }
  
  .device-mobile {
    bottom: 10px;
    right: -10px;
    width: 40%;
  }
  
  .floating-stats {
    display: none;
  }
}

@media (max-width: 768px) {
  .premium-features-grid {
    gap: 1rem;
  }
  
  .premium-feature-card {
    flex-direction: column;
    text-align: center;
    padding: 1.25rem;
    min-height: 250px;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .premium-cta {
    padding: 1.5rem;
  }
  
  .btn-premium {
    padding: 0.875rem 1.5rem;
    font-size: 0.9rem;
  }
  
  .premium-showcase {
    height: 300px;
  }
  
  .device-mobile {
    display: none;
  }
}

/* Large Mockup Container */
.large-mockup-container {
  position: relative;
  padding: 3rem 0;
  text-align: center;
}

.large-mockup-wrapper {
  position: relative;
  display: inline-block;
  max-width: 1400px;
  width: 100%;
}

.large-mockup-image {
  border-radius: 20px;
  box-shadow: none;
  background: transparent;
  width: 100%;
  height: auto;
}

/* Responsive adjustments for large mockup */
@media (max-width: 1200px) {
  .large-mockup-wrapper {
    max-width: 1000px;
  }
}

@media (max-width: 992px) {
  .large-mockup-wrapper {
    max-width: 800px;
  }
  
  .large-mockup-container {
    padding: 2rem 0;
  }
}

@media (max-width: 768px) {
  .large-mockup-wrapper {
    max-width: 100%;
  }
  
  .large-mockup-image {
    border-radius: 16px;
  }
  
  .floating-stats {
    display: none;
  }
}

/* ========================================
   MOCKUP WAVES BACKGROUND
   ======================================== */

.mockup-container {
  position: relative;
  padding: 4rem 0;
  margin: 3rem -100vw;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  width: 100vw;
  overflow: hidden;
}

.background-illustration {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.illustration-bg {
  width: 120%;
  height: 120%;
  object-fit: contain;
  opacity: 0.25;
  filter: blur(0.5px);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .mockup-container {
    padding: 2rem 0;
    margin: 2rem 0;
  }
}

/* ========================================
   CTA SECTION STYLES
   ======================================== */

.cta-section-fullwidth {
  background: url('../img/CTA-background.png') center center/cover no-repeat;
  color: white;
  box-shadow: 0 10px 30px rgba(19, 92, 81, 0.3);
  border-radius: 12px;
  position: relative;
  overflow: hidden;
}

.cta-section-fullwidth::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(ellipse at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 60%),
    radial-gradient(ellipse at 20% 80%, rgba(255, 255, 255, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse at 40% 40%, rgba(255, 255, 255, 0.06) 0%, transparent 60%),
    radial-gradient(ellipse at 60% 60%, rgba(255, 255, 255, 0.04) 0%, transparent 60%);
  z-index: 1;
  animation: subtleGlow 6s ease-in-out infinite;
}

@keyframes subtleGlow {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.8;
    transform: scale(1.02);
  }
}

.cta-section-fullwidth::after {
  content: '';
  position: absolute;
  top: -20%;
  left: -20%;
  right: -20%;
  bottom: -20%;
  background: 
    radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 70% 70%, rgba(255, 255, 255, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.02) 0%, transparent 50%);
  animation: gentleFloat 8s ease-in-out infinite;
  z-index: 1;
}

@keyframes gentleFloat {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  25% {
    transform: translate(15px, -15px) scale(1.05);
  }
  50% {
    transform: translate(-10px, 10px) scale(0.98);
  }
  75% {
    transform: translate(-15px, -10px) scale(1.02);
  }
}

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

/* Floating wave elements */
.cta-section-fullwidth .wave-element {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  animation: float 8s ease-in-out infinite;
  z-index: 1;
  backdrop-filter: blur(2px);
}

.cta-section-fullwidth .wave-element:nth-child(1) {
  width: 120px;
  height: 120px;
  top: 15%;
  left: 15%;
  animation-delay: 0s;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.02) 70%);
}

.cta-section-fullwidth .wave-element:nth-child(2) {
  width: 80px;
  height: 80px;
  top: 55%;
  right: 20%;
  animation-delay: 3s;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.01) 70%);
}

.cta-section-fullwidth .wave-element:nth-child(3) {
  width: 100px;
  height: 100px;
  bottom: 25%;
  left: 25%;
  animation-delay: 6s;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.01) 70%);
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px) scale(1) rotate(0deg);
    opacity: 0.4;
  }
  25% {
    transform: translateY(-15px) scale(1.05) rotate(2deg);
    opacity: 0.6;
  }
  50% {
    transform: translateY(-25px) scale(1.1) rotate(0deg);
    opacity: 0.7;
  }
  75% {
    transform: translateY(-10px) scale(1.03) rotate(-2deg);
    opacity: 0.5;
  }
}

.cta-title {
  font-size: 2.25rem;
  color: white;
}

.cta-description {
  color: white;
  font-size: 18px;
}

.cta-btn-primary {
  background: white;
  color: #135c51;
  border: none;
  transition: all 0.3s ease;
}

.cta-btn-outline {
  border: 2px solid white;
  color: white;
  background: transparent;
  transition: all 0.3s ease;
}

.contact-heading {
  font-size: 18px;
}

.premium-cta-heading {
  font-family: 'Poppins', sans-serif;
}

/* ========================================
   CONTACT FORM STYLES
   ======================================== */

.contact-form-wrapper {
  background: var(--surface-color);
  padding: 2rem;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
}



.php-email-form .error-message {
  display: none;
  background: var(--color-danger);
  color: var(--contrast-color);
  text-align: left;
  padding: var(--spacing-md);
  margin: var(--spacing-lg) 0;
  font-weight: 600;
  border-radius: var(--border-radius-md);
}

.php-email-form .sent-message {
  display: none;
  color: var(--color-success);
  background: transparent;
  border: none;
  text-align: center;
  padding: var(--spacing-sm);
  margin-top: var(--spacing-md);
  margin-bottom: 0;
  font-weight: 500;
  border-radius: var(--border-radius-md);
  font-size: 0.9rem;
  transition: all 0.3s ease;
  position: relative;
  z-index: 10;
}

.php-email-form .form-group {
  margin-bottom: var(--spacing-md);
}

.php-email-form .form-control {
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-md);
  padding: 0.75rem 1rem;
  transition: all var(--transition-base);
}

.php-email-form .form-control:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 0.2rem rgba(19, 92, 81, 0.25);
  outline: none;
}

.interests-checkboxes {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-check {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

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

.btn-loading {
  display: none;
  align-items: center;
  gap: 0.5rem;
}

/* Mantener color verde en botones deshabilitados */
.btn-primary:disabled,
.btn-primary[disabled] {
  background: var(--color-primary) !important;
  border-color: var(--color-primary) !important;
  color: var(--contrast-color) !important;
  opacity: 0.8;
}

.btn-primary:disabled:hover,
.btn-primary[disabled]:hover {
  background: var(--color-primary) !important;
  border-color: var(--color-primary) !important;
  color: var(--contrast-color) !important;
}

.required-field {
  color: #dc3545;
  font-weight: bold;
}

/* ========================================
   ROTATING TEXT ANIMATION
   ======================================== */

.rotating-text {
  color: #ffffff;
  display: inline-block;
  font-weight: 600;
  font-family: "Dancing Script", cursive;
  font-size: 1.4em;
  letter-spacing: 0.02em;
  text-transform: none;
  min-width: 200px;
  position: relative;
  font-style: normal;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.rotating-text span {
  display: inline-block;
  animation: fadeInScale 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
  font-family: "Dancing Script", cursive;
  font-weight: 600;
}

@keyframes fadeInScale {
  0% {
    opacity: 0;
    transform: scale(0.8) translateY(10px);
  }
  50% {
    opacity: 0.7;
    transform: scale(1.05) translateY(-2px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.icon-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  font-size: 1.5rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  line-height: 1;
}

.icon-circle i {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-size: 1.5rem;
}

/* ========================================
   SCROLL PHRASES STYLES
   ======================================== */

.scroll-phrases-container {
  margin: 2rem 0;
  text-align: center;
}

.scroll-phrase {
  margin-bottom: 50px;
  opacity: 0;
  transform: translateY(50px) scale(0.95);
  transition: all 1.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  min-height: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  filter: none;
}



.scroll-phrase.animate {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition: all 1.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  filter: none;
}



@keyframes elegantReveal {
  0% {
    transform: translateY(50px) scale(0.95);
    opacity: 0;
    filter: none;
  }
  20% {
    transform: translateY(30px) scale(0.97);
    opacity: 0.6;
    filter: none;
  }
  50% {
    transform: translateY(10px) scale(0.99);
    opacity: 0.8;
    filter: none;
  }
  100% {
    transform: translateY(0) scale(1);
    opacity: 1;
    filter: none;
  }
}

.scroll-phrase.animate {
  animation: elegantReveal 2s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.phrase-text {
  font-size: 56px;
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 20px 0;
  margin-right: auto;
  text-shadow: 0 0 15px rgba(0, 0, 0, 0.05);
  transition: all 0.5s ease;
  position: relative;
}

.phrase-text:not(.phrase-text-primary):not(.phrase-text-primary-large) {
  color: var(--color-text-primary);
}

.scroll-phrase.animate .phrase-text {
  animation: textGlow 2s ease-in-out 0.3s forwards, subtleBreathing 3s ease-in-out 2s infinite;
}

@keyframes textGlow {
  0% {
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.05);
    transform: scale(0.98);
  }
  50% {
    text-shadow: 0 0 20px rgba(19, 92, 81, 0.2), 0 0 40px rgba(19, 92, 81, 0.1);
    transform: scale(1.02);
  }
  100% {
    text-shadow: 0 0 10px rgba(19, 92, 81, 0.1);
    transform: scale(1);
  }
}



.scroll-phrase p.phrase-text {
  font-size: 2.5rem;
  font-weight: 400;
  line-height: 1.4;
}

.scroll-phrase p.phrase-text:not(.phrase-text-primary) {
  color: var(--color-text-secondary);
}

.scroll-phrase h3.phrase-text {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--color-primary) !important;
  position: relative;
}

/* Estilo específico para el texto que debe estar alineado a la izquierda */
.scroll-phrase p.phrase-text.left-aligned-text {
  text-align: left;
  font-size: 24px;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
  margin-bottom: 0;
}

/* Estilos para el contenedor de la imagen mockup */
.mockup-image-container {
  margin-top: 0;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45%;
}

.mockup-computer-img {
  max-width: 80%;
  height: auto;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  transition: transform 0.3s ease;
}

.mockup-computer-img:hover {
  transform: translateY(-5px);
}

/* Estilos para la sección de imagen con texto superpuesto */
.overlay-section {
  margin: 4rem 0;
  width: 100%;
}

.overlay-container {
  position: relative;
  width: 100%;
  margin: 0;
  border-radius: 0;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.overlay-container:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.overlay-img {
  width: 100%;
  height: 600px;
  object-fit: cover;
  display: block;
}

.overlay-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  color: white;
  padding: 2rem;
}

.overlay-content h4 {
  font-size: 2rem;
  font-weight: 700;
  margin: 0 0 1rem 0;
  color: white;
}

.overlay-content p {
  font-size: 1.1rem;
  line-height: 1.6;
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
}

/* Responsive para la sección de overlay */
@media (max-width: 768px) {
  .overlay-img {
    height: 400px;
  }
  
  .overlay-content {
    padding: 1.5rem;
  }
  
  .overlay-content h4 {
    font-size: 1.5rem;
  }
  
  .overlay-content p {
    font-size: 1rem;
  }
}

/* Estilos para la sección de áreas de enfoque */
.focus-section {
  margin: 6rem 0;
  width: 100%;
}

.focus-container {
  display: flex;
  max-width: 1400px;
  margin: 0 auto;
  min-height: 500px;
}

.focus-text-column {
  flex: 1;
  background: #f5f5f0;
  padding: 4rem 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.focus-content {
  display: flex;
  align-items: center;
  height: 100%;
}

.focus-text {
  font-size: 2rem;
  font-weight: 400;
  color: #052e29;
  line-height: 1.4;
  margin: 0;
  text-align: left;
}

.focus-image-column {
  flex: 1;
  position: relative;
  overflow: hidden;
  border-radius: 0 24px 24px 0;
}

.rotating-images {
  position: relative;
  width: 100%;
  height: 100%;
}

.focus-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.focus-img.active {
  opacity: 1;
}

.image-label {
  position: absolute;
  bottom: 2rem;
  right: 2rem;
  background: white;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.image-label span {
  font-size: 0.9rem;
  color: var(--color-text-primary);
  font-weight: 500;
}

/* Responsive para la sección de enfoque */
@media (max-width: 768px) {
  .focus-container {
    flex-direction: column;
  }
  
  .focus-text-column {
    padding: 2rem 1.5rem;
  }
  
  .focus-text {
    font-size: 1.5rem;
  }
  
  .focus-image-column {
    height: 300px;
  }
}





@keyframes subtleBreathing {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.01);
  }
}

@media (max-width: 768px) {
  .phrase-text {
    font-size: 2.5rem;
  }
  
  .scroll-phrase p.phrase-text {
    font-size: 2rem;
  }
  
  .scroll-phrase h3.phrase-text {
    font-size: 3rem;
  }
  
  /* Estilo específico para el texto "Olvidate del caos de planillas" en móviles */
  .scroll-phrase p.phrase-text.phrase-text-primary {
    font-size: 24px !important;
    line-height: 1.3;
  }
  
  .scroll-phrases-container {
    margin: 2rem 0;
  }
  
  .scroll-phrase {
    margin-bottom: 50px;
    min-height: 200px;
  }
}

@media (max-width: 576px) {
  .phrase-text {
    font-size: 2rem;
  }
  
  .scroll-phrase p.phrase-text {
    font-size: 1.6rem;
  }
  
  .scroll-phrase h3.phrase-text {
    font-size: 2.5rem;
  }
  
  /* Estilo específico para el texto "Olvidate del caos de planillas" en móviles pequeños */
  .scroll-phrase p.phrase-text.phrase-text-primary {
    font-size: 24px !important;
    line-height: 1.3;
  }
  
  .scroll-phrases-container {
    margin: 2rem 0;
  }
  
  .scroll-phrase {
    margin-bottom: 50px;
    min-height: 200px;
  }
}

.icon-circle-danger {
  background-color: rgba(220, 38, 38, 0.1);
  border: 1px solid rgba(220, 38, 38, 0.2);
}

.icon-circle-success {
  background-color: rgba(22, 160, 133, 0.1);
  border: 1px solid rgba(22, 160, 133, 0.2);
}

.icon-circle:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.rotating-text span {
  animation: fadeInUp 0.5s ease forwards;
  display: inline-block;
  opacity: 0;
  transform: translateY(20px);
}

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

/* ========================================
   FINAL RESPONSIVE STYLES
   ======================================== */

@media (max-width: 991px) {
  .modulos-list .modulo-btn {
    min-width: 0;
    width: 100%;
  }

  #problemas-inmobiliarias .problemas-content,
  #problemas-inmobiliarias .soluciones-content {
    padding: 1.5rem;
  }
}

@media (max-width: 900px) {
  .cta-container {
    flex-direction: column;
    gap: 24px;
    text-align: center;
  }

  .cta-image {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .services .nav-tabs,
  .pricing .nav-tabs {
    flex-direction: column;
    padding: 6px;
    width: 100%;
  }

  .services .nav-tabs .nav-link,
  .pricing .nav-tabs .nav-link {
    font-size: 16px;
    margin: 2px 0;
    min-width: 100%;
    width: 100%;
    padding: 12px 20px;
    height: 56px;
    justify-content: center;
  }

  .services .nav-tabs .nav-link.active::after,
  .pricing .nav-tabs .nav-link.active::after {
    display: none;
  }

  .cta-content h2 {
    font-size: 2rem;
  }

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

  .cta-stats .stat-item h3 {
    font-size: 2rem;
  }

  .cta-form-card {
    padding: 2rem;
  }

  .cta-section {
    text-align: center;
  }

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

  .cta-stats .stat-item {
    align-items: center;
    display: flex;
    gap: 1rem;
    justify-content: center;
  }

  .cta-stats .stat-item h3 {
    font-size: 1.8rem;
    margin-bottom: 0;
  }

  .cta-right-content {
    gap: 1.5rem;
  }

  .cta-image-wrapper {
    max-width: 400px;
  }

  .cta-form-card {
    padding: 1.5rem;
  }

  .cta-form-card h3 {
    font-size: 1.5rem;
  }
  
  .rotating-text {
    font-size: 1.2em;
  }
  
  /* Estilos para cards de servicios en móviles */
  .services .service-card h3 {
    font-size: 20px !important;
    line-height: 1.3;
  }
  
  .services .service-card .service-features li {
    font-size: 16px !important;
    line-height: 1.4;
  }
  
  /* Estilos para textos alineados a la izquierda en móviles */
  .scroll-phrase p.phrase-text.left-aligned-text {
    font-size: 24px !important;
    line-height: 1.3;
  }
  
  /* Estilos para feature cards en móviles */
  .feature-card {
    height: auto !important;
    min-height: 280px;
    padding: 1.5rem;
  }
  
  .feature-card .feature-content-premium {
    gap: 0.5rem;
  }
  
  .feature-card .feature-content-premium h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem !important;
  }
  
  .feature-card .feature-content-premium p {
    font-size: 16px;
    margin-bottom: 1rem;
  }
  
  .feature-card .highlight-tag {
    font-size: 14px;
    padding: 0.3rem 0.6rem;
  }
}

@media (max-width: 576px) {
  .services .nav-tabs,
  .pricing .nav-tabs {
    margin-bottom: 2rem;
    width: 100%;
  }

  .services .nav-tabs .nav-link,
  .pricing .nav-tabs .nav-link {
    font-size: 16px;
    padding: 10px 16px;
    min-width: 100%;
    width: 100%;
    height: 56px;
    justify-content: center;
  }

  .cta-content h2 {
    font-size: 1.6rem;
  }

  .cta-content .lead {
    font-size: 1rem;
  }
  
  /* Estilos para cards de servicios en móviles pequeños */
  .services .service-card h3 {
    font-size: 20px !important;
    line-height: 1.3;
  }
  
  .services .service-card .service-features li {
    font-size: 16px !important;
    line-height: 1.4;
  }
  
  /* Estilos para textos alineados a la izquierda en móviles pequeños */
  .scroll-phrase p.phrase-text.left-aligned-text {
    font-size: 24px !important;
    line-height: 1.3;
  }
  
  /* Estilos para feature cards en móviles pequeños */
  .feature-card {
    height: auto !important;
    min-height: 260px;
    padding: 1.25rem;
  }
  
  .feature-card .feature-content-premium h4 {
    font-size: 1rem;
    margin-bottom: 0.5rem !important;
  }
  
  .feature-card .feature-content-premium p {
    font-size: 16px;
    margin-bottom: 0.75rem;
  }
  
  .feature-card .highlight-tag {
    font-size: 14px;
    padding: 0.25rem 0.5rem;
  }

  .cta-benefits .benefit-item {
    font-size: 1rem;
  }
  
  /* Estilos adicionales para CTA en móviles pequeños */
  .premium-cta h5 {
    font-size: 36px;
    line-height: 1.2;
  }
  
  .cta-buttons {
    width: 100%;
    align-items: stretch;
  }
  
  .btn-white,
  .btn-outline-white {
    width: 100% !important;
    max-width: none !important;
    min-width: auto !important;
    text-align: center !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    white-space: nowrap;
  }

  .cta-right-content {
    gap: 1rem;
  }

  .cta-image-wrapper {
    max-width: 350px;
  }

  .cta-overlay-content i {
    font-size: 2.5rem;
  }

  .cta-overlay-content span {
    font-size: 1rem;
  }

  .cta-form-card {
    padding: 1.25rem;
  }
  
  .rotating-text {
    font-size: 1.1em;
  }
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); }
}

.whatsapp-btn {
  /* El efecto de pulso se aplica por JS, pero aquí puede ir la animación si se quiere usar por clase */
  /* animation: pulse 1s ease-in-out; */
}

/* Clases para reemplazar estilos inline */
.modulo-title {
  color: var(--color-primary-green);
}

.modulo-preview-img {
  max-height: 320px;
}

.modulo-preview-title {
  color: var(--color-primary-green);
}

.modulo-features {
  list-style: none;
  padding-left: 0;
}

.modulo-features li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.75rem;
  line-height: 1.6;
  font-size: 18px;
}

.modulo-features li:before {
  content: "\F26B";
  font-family: "bootstrap-icons";
  position: absolute;
  left: 0;
  color: var(--color-success);
  font-size: 1.2rem;
  top: 50%;
  transform: translateY(-50%);
}

/* ========================================
   CTA PROBLEMAS INMOBILIARIOS
   ======================================== */

.problemas-cta {
  background: linear-gradient(rgba(19, 92, 81, 0.8), rgba(19, 92, 81, 0.8)), url('../img/dolor.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: white;
  padding: var(--section-padding-y) var(--element-gap-lg);
  border-radius: 12px;
  margin: var(--component-margin) auto 0;
  max-width: 1300px;
  width: 100%;
  height: 265px;
  margin-top: 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.cta-badge {
  margin-bottom: var(--text-margin-bottom);
}

.cta-badge span {
  background: rgba(255,255,255,0.2);
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
}

.problemas-cta h2 {
  font-size: 2.2rem;
  font-weight: 600;
  font-family: "Dancing Script", cursive;
  line-height: 1.2;
  color: white;
  margin-bottom: var(--text-margin-bottom);
  text-align: center;
  width: 100%;
  max-width: 800px;
}

.problemas-cta p {
  font-size: 18px;
  opacity: 0.9;
  color: white;
  margin-bottom: var(--text-margin-bottom-lg);
}

.cta-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.cta-buttons .btn {
  margin: 0;
}

.cta-buttons .btn-light {
  background: white;
  color: var(--color-primary);
  font-weight: 600;
}

.cta-buttons .btn-outline-light {
  border: 2px solid white !important;
  color: white !important;
  background: transparent !important;
  transition: all 0.3s ease;
}

.cta-buttons .btn-outline-light:hover {
  background: white !important;
  color: #052e29 !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.2);
}

@media (max-width: 768px) {
  .problemas-cta {
    padding: var(--card-padding);
    height: 265px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
  }
  
  .problemas-cta h2 {
    font-size: 2rem;
    font-family: "Dancing Script", cursive;
    font-weight: 600;
    text-align: center;
    width: 100%;
    max-width: 600px;
  }
  
  .cta-buttons {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
  }
  
  .cta-buttons .btn {
    display: block;
    margin: 0;
    width: 100%;
    max-width: 250px;
  }
}

/* ========================================
   SERVICES TABS
   ======================================== */

.services .nav-tabs {
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  display: flex;
  margin-bottom: 3rem;
  padding: 0;
  position: relative;
  gap: 15px;
}

.services .nav-tabs .nav-item {
  margin: 0;
}

.services .nav-tabs .nav-link {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(245, 248, 250, 0.8) 100%);
  border: 1.5px solid var(--color-primary);
  border-radius: 20px;
  color: var(--color-primary);
  display: flex;
  align-items: center;
  font-size: 16px;
  font-weight: 500;
  margin: 0;
  min-width: 200px;
  padding: 16px 24px;
  position: relative;
  text-align: center;
  transition: all 0.3s ease;
  white-space: nowrap;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 8px 32px rgba(5, 46, 41, 0.08);
}

.services .nav-tabs .nav-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, color-mix(in srgb, var(--color-primary), transparent 70%) 50%, transparent 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.services .nav-tabs .nav-link:hover::before {
  opacity: 1;
}

.services .nav-tabs .nav-link:hover {
  background: linear-gradient(135deg, var(--surface-color) 0%, color-mix(in srgb, var(--surface-color), var(--color-primary) 4%) 100%);
  box-shadow: 0 12px 40px rgba(19, 92, 81, 0.15);
  color: var(--color-primary);
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--color-primary), transparent 70%);
}

.services .nav-tabs .nav-link.active {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  border: 1.5px solid var(--color-primary);
  box-shadow: 0 12px 40px rgba(19, 92, 81, 0.25);
  color: white;
  font-weight: 600;
  transform: translateY(-2px);
}

.services .nav-tabs .nav-link.active::after {
  display: none;
}

.services .tab-content {
  position: relative;
}

.services .tab-pane {
  transition: all var(--transition-base);
}

.services .tab-pane.fade {
  opacity: 0;
  transform: translateY(20px);
}

.services .tab-pane.fade.show {
  opacity: 1;
  transform: translateY(0);
}

.services .nav-tabs .nav-link i {
  color: var(--color-primary);
  opacity: 0.8;
  transition: all 0.3s ease;
  font-size: 1.1rem;
}

.services .nav-tabs .nav-link:hover i {
  color: var(--color-primary);
  opacity: 1;
  transform: scale(1.05);
}

.services .nav-tabs .nav-link.active i {
  color: white;
  opacity: 1;
  transform: scale(1.05);
}







/* ========================================
   CARDS TOGGLE ANIMATION
   ======================================== */

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

.additional-card {
  transition: all 0.3s ease-out;
}

/* ========================================
   TESTIMONIALS SECTION
   ======================================== */

.testimonials {
  padding: 60px 0;
  background: transparent !important;
}

.testimonials .testimonial-item {
  background-color: #ffffff;
  border: 1.5px solid #135c51;
  border-radius: var(--border-radius-lg);
  height: 100%;
  margin-bottom: 20px;
  padding: 30px;
  width: 500px !important;
  transition: box-shadow var(--transition-base), transform var(--transition-base);
}

.testimonials .testimonial-item:hover {
  /* Hover effect removed */
}

.testimonials .testimonial-item .stars {
  color: #135c51;
  margin-bottom: var(--spacing-md);
}

.testimonials .testimonial-item .stars i {
  margin-right: 2px;
}

.testimonials .testimonial-item p {
  color: var(--default-color);
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 30px;
}

.testimonials .testimonial-item .testimonial-footer {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.testimonials .testimonial-item .testimonial-footer .testimonial-author {
  align-items: center;
  display: flex;
}

.testimonials .testimonial-item .testimonial-footer .testimonial-author img {
  border-radius: 50%;
  height: 50px;
  margin-right: var(--spacing-md);
  width: 50px;
}

.testimonials .testimonial-item .testimonial-footer .testimonial-author div h5 {
  color: var(--heading-color);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}

.testimonials .testimonial-item .testimonial-footer .testimonial-author div span {
  color: var(--default-color);
  font-size: 14px;
}

.testimonials .testimonial-item .testimonial-footer .quote-icon {
  color: var(--accent-color);
  font-size: 40px;
  opacity: 0.3;
}

.testimonial-placeholder {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #135c51 0%, #25d366 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  flex-shrink: 0;
}

.testimonial-placeholder i {
  font-size: 2rem;
  color: white;
}

/* ========================================
   TESTIMONIALS CAROUSEL
   ======================================== */

.testimonials-carousel-wrapper {
  width: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

.testimonials-carousel {
  position: relative;
  padding: 0;
  margin: 0;
  width: 100%;
  max-width: 100%;
}

.testimonials-swiper {
  position: relative;
  overflow: hidden;
}

.testimonials-swiper .swiper-slide {
  height: auto;
  display: flex;
  align-items: stretch;
  width: 500px !important;
}

.testimonials-swiper .swiper-slide .testimonial-item {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #ffffff;
  border: 1.5px solid #135c51;
  border-radius: var(--border-radius-lg);
  padding: 1.5rem;
  transition: all 0.2s ease;
  opacity: 1;
  transform: scale(1);
  min-height: 250px;
  width: 500px !important;
  max-width: 500px !important;
  min-width: 500px !important;
  margin: 0 auto;
}



.testimonials-swiper .swiper-slide .testimonial-item:hover {
  /* Hover effect removed */
}







/* Responsive adjustments */
@media (max-width: 768px) {
  .testimonials-carousel {
    padding: 0;
  }
  
  .testimonials-swiper .swiper-slide .testimonial-item {
    padding: 1rem;
  }
}

/* ========================================
   TESTIMONIALS RESPONSIVE
   ======================================== */

@media (max-width: 768px) {
  .testimonials .testimonial-item {
    padding: 25px 20px;
  }

  .testimonials .testimonial-item p {
    font-size: 16px;
    margin-bottom: 20px;
  }

  .testimonials .testimonial-item .testimonial-footer .testimonial-author img {
    height: 45px;
    width: 45px;
  }

  .testimonials .testimonial-item .testimonial-footer .testimonial-author div h5 {
    font-size: 16px;
  }

  .testimonials .testimonial-item .testimonial-footer .testimonial-author div span {
    font-size: 13px;
  }

  .testimonials .testimonial-item .testimonial-footer .quote-icon {
    font-size: 30px;
  }
}

@media (max-width: 576px) {
  .testimonials .testimonial-item {
    padding: 20px 15px;
  }

  .testimonials .testimonial-item .testimonial-footer .testimonial-author img {
    height: 40px;
    margin-right: var(--spacing-sm);
    width: 40px;
  }
}

/* Estilos para las características expandibles de los planes */
.pricing .pricing-item .pricing-features .features-list li:nth-child(n+6) {
  display: none !important;
}

.pricing-features .features-list {
  margin-bottom: 1rem;
}

.pricing-features .read-more-btn,
.pricing-features .read-less-btn {
  color: var(--color-primary);
  text-decoration: underline;
  font-size: 0.9rem;
  padding: 0;
  margin: 0;
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.3s ease;
  text-align: left;
  display: block;
  width: 100%;
}

.pricing-features .read-more-btn:hover,
.pricing-features .read-less-btn:hover {
  color: var(--color-primary-dark);
}

.pricing .pricing-item .pricing-features.expanded .features-list li:nth-child(n+6) {
  display: block !important;
}

.pricing-features.expanded .read-more-btn {
  display: none;
}

.pricing-features .read-less-btn {
  display: none;
}

.pricing-features.expanded .read-less-btn {
  display: inline-block;
}

/* ========================================
   FEATURES CAROUSEL
   ======================================== */

.features-carousel-container {
  position: relative;
  margin: 4rem 0;
  padding: 4rem 0;
  min-height: 600px;
  width: 100vw;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  /* Asegurar que nunca se oculte */
  overflow: visible !important;
  z-index: 10 !important;
}

.features-carousel-container .background-illustration {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  width: 100%;
  height: auto;
}

.features-carousel-container .background-illustration .illustration-bg {
  width: 100%;
  height: auto;
  opacity: 0.25;
}

.features-carousel {
  position: relative;
  overflow: hidden;
  width: 100%;
  margin: 0 auto;
  z-index: 2;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  min-height: 400px;
  /* Asegurar que nunca se oculte */
  overflow: visible !important;
}

.features-carousel .swiper-wrapper {
  transition-timing-function: linear !important;
  display: flex !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.features-carousel .swiper-slide {
  height: auto;
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: auto !important;
  padding: 0 1rem;
  visibility: visible !important;
  opacity: 1 !important;
  /* Asegurar que las slides nunca se oculten */
  overflow: visible !important;
}

.feature-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: auto;
  min-height: 300px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius-lg);
  /* Asegurar que nunca se oculte */
  visibility: visible !important;
  opacity: 1 !important;
}

.feature-image {
  max-width: 100%;
  width: 90%;
  height: auto;
  max-height: 800px;
  object-fit: contain;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 3;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  /* Asegurar que las imágenes nunca se oculten */
  overflow: visible !important;
}

/* Reglas adicionales para prevenir que el carrusel desaparezca */
.features-carousel-container:empty::after {
  content: '';
  display: block;
  min-height: 600px;
  width: 100%;
}

.features-carousel:empty::after {
  content: '';
  display: block;
  min-height: 400px;
  width: 100%;
}

/* Asegurar que el contenedor padre no oculte el carrusel */
.problemas-inmobiliarias {
  overflow: visible !important;
}

.problemas-inmobiliarias .container {
  overflow: visible !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .features-carousel-container {
    margin: 3rem 0;
    padding: 2rem 0;
    min-height: 500px;
    width: 100vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
  }
  
  .feature-image {
    width: 95%;
    max-height: 600px;
  }
}

@media (max-width: 576px) {
  .features-carousel-container {
    margin: 2rem 0;
    padding: 1.5rem 0;
    min-height: 400px;
    width: 100vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
  }
  
  .feature-image {
    width: 98%;
    max-height: 450px;
  }
}

/* ========================================
   INLINE STYLES EXTRACTED FROM HTML
   ======================================== */

/* Margin top utilities */
.margin-top-160 {
  margin-top: 160px;
}

/* Text alignment utilities */
.text-left {
  text-align: left;
}

.text-center {
  text-align: center;
}

/* Color and typography utilities */
.phrase-text-primary {
  color: #052e29;
  font-size: 36px;
}

.phrase-text-primary-large {
  color: var(--color-primary);
  font-size: 56px;
}

/* Image utilities */
.img-fluid-block {
  width: 100%;
  height: auto;
  display: block;
  margin: 15px 0;
}

/* Background image cards */
.card-bg-time {
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  background: transparent;
  position: relative;
  min-height: 300px;
  overflow: hidden;
  border-radius: 25px;
  border-bottom: 2px solid var(--color-primary);
  box-shadow: 0 4px 15px rgba(19, 92, 81, 0.1);
}

.card-bg-happy {
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  background: transparent;
  position: relative;
  min-height: 300px;
  overflow: hidden;
  border-radius: 25px;
  border-bottom: 2px solid var(--color-primary);
  box-shadow: 0 4px 15px rgba(19, 92, 81, 0.1);
}

.card-bg-houses {
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  background: transparent;
  position: relative;
  min-height: 300px;
  overflow: hidden;
  border-radius: 25px;
  border-bottom: 2px solid var(--color-primary);
  box-shadow: 0 4px 15px rgba(19, 92, 81, 0.1);
}

.card-bg-automatization {
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  background: transparent;
  position: relative;
  min-height: 300px;
  overflow: hidden;
  border-radius: 25px;
  border-bottom: 2px solid var(--color-primary);
  box-shadow: 0 4px 15px rgba(19, 92, 81, 0.1);
}

/* Overlay utilities */
.overlay-dark {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.1);
  border-radius: inherit;
  z-index: 1;
}

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

/* Flex utilities */
.flex-center-gap {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1rem;
  min-height: 75px;
}

/* Icon utilities */
.icon-transparent {
  align-items: center;
  background: linear-gradient(135deg, color-mix(in srgb, var(--color-primary), transparent 85%) 0%, color-mix(in srgb, var(--accent-color), transparent 90%) 100%);
  border-radius: 18px;
  color: var(--color-primary);
  display: flex;
  font-size: 2.2rem;
  height: 75px;
  justify-content: center;
  margin-bottom: 0;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  width: 75px;
  box-shadow: 0 4px 15px rgba(19, 92, 81, 0.1);
  border: 1px solid color-mix(in srgb, var(--color-primary), transparent 92%);
  margin-top: 0;
  position: relative;
  z-index: 2;
  flex-shrink: 0;
}

.icon-transparent i {
  color: var(--color-primary);
  font-size: 28px;
}

.icon-transparent:hover {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--accent-color) 100%);
  color: var(--contrast-color);
  transform: scale(1.1) rotate(5deg);
  box-shadow: none;
}

.icon-transparent:hover i {
  color: var(--contrast-color);
}

/* Counter animation utilities */
.counter-large {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 0.5rem;
  color: #135c51;
  text-align: left;
}

.counter-title {
  margin: 0;
  text-align: left;
  color: #135c51 !important;
  font-size: 1.25rem;
  font-weight: 700;
}

.counter-description {
  color: #052e29 !important;
  font-size: 16px;
  line-height: 1.6;
}

.highlight-tag-white {
  color: var(--color-primary);
  border-color: var(--color-primary);
  background: rgba(19, 92, 81, 0.1);
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  border: 0.5px solid var(--color-primary);
}

/* Solution image utilities */
.solution-image {
  background: transparent;
  position: relative;
  z-index: 3;
}

/* Section positioning */
.section-relative {
  position: relative;
  padding-top: 30px;
}

/* Stats cards positioning */
.stats-margin {
  margin: 15px 0;
}



/* Additional card visibility */
.additional-card-hidden {
  display: none;
}

/* Left aligned text utilities */
.left-aligned-text {
  color: #052e29;
  font-size: 36px;
}

/* Specific text styling for Grupo Habitia description */
.phrase-text.left-aligned-text {
  color: #052e29 !important;
  font-size: 40px !important;
}

/* Responsive utilities */
@media (max-width: 768px) {
  .margin-top-160 {
    margin-top: 80px;
  }
  
  .phrase-text-primary {
    font-size: 28px;
  }
  
  .phrase-text-primary-large {
    font-size: 40px;
  }
  
  .left-aligned-text {
    font-size: 28px;
  }
}

@media (max-width: 576px) {
  .phrase-text-primary {
    font-size: 24px;
  }
  
  .phrase-text-primary-large {
    font-size: 40px;
  }
  
  .left-aligned-text {
    font-size: 24px;
  }
}

/* ========================================
   CAPACITACIONES SECTION STYLES
   ======================================== */

.capacitaciones {
  padding: var(--spacing-xxl) 0;
}

.capacitaciones .section-title {
  text-align: left;
  margin-bottom: var(--spacing-xxl);
}

.capacitaciones .section-title h3 {
  color: var(--color-primary);
  font-size: 56px;
  font-weight: 700;
  margin-bottom: 140px;
}

.capacitaciones .section-title p {
  color: var(--color-text-secondary);
  font-size: 40px;
  font-weight: 400;
  max-width: 100%;
  margin: 0;
}

.capacitacion-card {
  background: var(--color-bg-primary);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition: all var(--transition-base);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.capacitacion-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.capacitacion-card .video-container {
  position: relative;
  height: 200px;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.capacitacion-card .video-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 1;
}

.capacitacion-card .video-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
  z-index: 2;
  text-align: center;
}

.capacitacion-card .video-placeholder i {
  font-size: 3rem;
  margin-bottom: var(--text-margin-bottom-sm);
  transition: all var(--transition-base);
}

.capacitacion-card .video-placeholder span {
  font-size: 0.9rem;
  font-weight: 500;
  opacity: 0.9;
}

.capacitacion-card:hover .video-placeholder i {
  transform: scale(1.1);
  color: var(--color-accent);
}

.capacitacion-card .capacitacion-content {
  padding: var(--card-padding);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.capacitacion-card .capacitacion-content h4 {
  color: var(--color-text-primary);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: var(--text-margin-bottom);
  line-height: 1.3;
}

.capacitacion-card .capacitacion-content p {
  color: #052e29;
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: var(--text-margin-bottom-lg);
  flex: 1;
}

.capacitacion-card .capacitacion-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: var(--text-margin-bottom);
  border-top: 1px solid var(--color-border);
}

.capacitacion-card .capacitacion-meta span {
  display: flex;
  align-items: center;
  font-size: 0.85rem;
  color: var(--color-text-secondary);
  font-weight: 500;
}

.capacitacion-card .capacitacion-meta span i {
  margin-right: var(--spacing-sm);
  color: var(--color-primary);
}

.capacitacion-card .capacitacion-meta .duration {
  color: var(--color-text-secondary);
}

.capacitacion-card .capacitacion-meta .level {
  color: var(--color-primary);
  font-weight: 600;
}

.capacitaciones-cta {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  border-radius: var(--border-radius-lg);
  padding: var(--spacing-xl);
  text-align: center;
  color: white;
  margin-top: var(--spacing-xxl);
}

.capacitaciones-cta h4 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: var(--spacing-md);
  color: white;
}

.capacitaciones-cta p {
  font-size: 1rem;
  margin-bottom: var(--spacing-lg);
  opacity: 0.9;
}

.capacitaciones-cta .btn {
  background: white;
  color: var(--color-primary);
  border: none;
  padding: var(--spacing-md) var(--spacing-xl);
  font-weight: 600;
  border-radius: var(--border-radius-md);
  transition: all var(--transition-base);
}

.capacitaciones-cta .btn:hover {
  background: var(--color-accent);
  color: white;
  transform: translateY(-2px);
}

/* Tabs styles for capacitaciones */
.capacitaciones .nav-tabs {
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  display: flex;
  margin-bottom: 3rem;
  padding: 0;
  position: relative;
  gap: 15px;
}

.capacitaciones .nav-tabs .nav-item {
  margin: 0;
}

.capacitaciones .nav-tabs .nav-link {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(245, 248, 250, 0.8) 100%);
  border: 1.5px solid var(--color-primary);
  border-radius: 20px;
  color: var(--color-primary);
  display: flex;
  align-items: center;
  font-size: 16px;
  font-weight: 500;
  margin: 0;
  min-width: 200px;
  padding: 16px 24px;
  position: relative;
  text-align: center;
  transition: all 0.3s ease;
  white-space: nowrap;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 8px 32px rgba(5, 46, 41, 0.08);
}

.capacitaciones .nav-tabs .nav-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, color-mix(in srgb, var(--color-primary), transparent 70%) 50%, transparent 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.capacitaciones .nav-tabs .nav-link:hover::before {
  opacity: 1;
}

.capacitaciones .nav-tabs .nav-link:hover {
  background: linear-gradient(135deg, var(--surface-color) 0%, color-mix(in srgb, var(--surface-color), var(--color-primary) 4%) 100%);
  box-shadow: 0 12px 40px rgba(19, 92, 81, 0.15);
  color: var(--color-primary);
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--color-primary), transparent 70%);
}

.capacitaciones .nav-tabs .nav-link.active {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  border: 1.5px solid var(--color-primary);
  box-shadow: 0 12px 40px rgba(19, 92, 81, 0.25);
  color: white;
  font-weight: 600;
  transform: translateY(-2px);
}

.capacitaciones .nav-tabs .nav-link.active::after {
  display: none;
}

.capacitaciones .nav-tabs .nav-link i {
  color: var(--color-primary);
  opacity: 0.8;
  transition: all 0.3s ease;
  font-size: 1.1rem;
}

.capacitaciones .nav-tabs .nav-link:hover i {
  color: var(--color-primary);
  opacity: 1;
  transform: scale(1.05);
}

.capacitaciones .nav-tabs .nav-link.active i {
  color: white;
  opacity: 1;
  transform: scale(1.05);
}

/* Responsive styles for capacitaciones */
@media (max-width: 992px) {
  .capacitaciones .section-title h3 {
    font-size: 2rem;
  }
  
  .capacitacion-card .video-container {
    height: 180px;
  }
  
  .capacitacion-card .capacitacion-content {
    padding: var(--spacing-md);
  }
}

@media (max-width: 768px) {
  .capacitaciones {
    padding: var(--spacing-xl) 0;
  }
  
  .capacitaciones .section-title h3 {
    font-size: 1.75rem;
  }
  
  .capacitaciones .section-title p {
    font-size: 1rem;
  }
  
  .capacitacion-card .video-container {
    height: 160px;
  }
  
  .capacitacion-card .video-placeholder i {
    font-size: 2.5rem;
  }
  
  .capacitacion-card .capacitacion-content h4 {
    font-size: 1.1rem;
  }
  
  .capacitaciones-cta {
    padding: var(--spacing-lg);
  }
  
  .capacitaciones-cta h4 {
    font-size: 1.25rem;
  }
}

@media (max-width: 576px) {
  .capacitaciones .section-title h3 {
    font-size: 1.5rem;
  }
  
  .capacitacion-card .video-container {
    height: 140px;
  }
  
  .capacitacion-card .video-placeholder i {
    font-size: 2rem;
  }
  
  .capacitacion-card .capacitacion-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--spacing-sm);
  }
  
  .capacitaciones-cta h4 {
    font-size: 1.1rem;
  }
}




/* ========================================
   GALERÍA INTERACTIVA
   ======================================== */

.gallery-options {
  padding: var(--spacing-xxl);
  background: transparent;
  height: 100%;
}

.gallery-title {
  color: var(--color-text-primary);
  font-weight: 600;
  font-size: 1.5rem;
  margin-bottom: var(--spacing-xxl);
}

.option-list {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.option-item {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(245, 248, 250, 0.8) 100%);
  border: 1.5px solid var(--color-primary);
  border-radius: 20px;
  color: var(--color-primary);
  display: flex;
  align-items: center;
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 25px;
  padding: 20px 28px;
  position: relative;
  text-align: center;
  transition: all 0.3s ease;
  white-space: nowrap;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 8px 32px rgba(5, 46, 41, 0.08);
  cursor: pointer;
  width: 100%;
}

.option-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, color-mix(in srgb, var(--color-primary), transparent 70%) 50%, transparent 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.option-item:hover::before {
  opacity: 1;
}

.option-item:hover {
  background: linear-gradient(135deg, var(--surface-color) 0%, color-mix(in srgb, var(--surface-color), var(--color-primary) 4%) 100%);
  box-shadow: 0 12px 40px rgba(19, 92, 81, 0.15);
  color: var(--color-primary);
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--color-primary), transparent 70%);
}

.option-item.active {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  border: 1.5px solid var(--color-primary);
  box-shadow: 0 12px 40px rgba(19, 92, 81, 0.25);
  color: white;
  font-weight: 600;
  transform: translateY(-2px);
}

.option-text {
  display: block;
  font-weight: 500;
  width: 100%;
}

.gallery-display {
  position: relative;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
}

.gallery-image {
  width: 100%;
  height: auto;
  transition: all var(--transition-slow);
  opacity: 0;
  transform: scale(1.05);
}

.gallery-image.active {
  opacity: 1;
  transform: scale(1);
}

.image-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  padding: var(--spacing-xl);
  color: white;
  transform: translateY(100%);
  transition: transform var(--transition-base);
}

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

.image-info h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0 0 var(--spacing-sm) 0;
}

.image-info p {
  margin: 0;
  opacity: 0.9;
  font-size: 0.95rem;
}

/* Stats flotantes para la galería */
.gallery-display .floating-stats {
  position: absolute;
  top: var(--spacing-lg);
  right: var(--spacing-lg);
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
  z-index: 10;
}

.gallery-display .stat-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: var(--border-radius-md);
  padding: var(--spacing-sm) var(--spacing-md);
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(255, 255, 255, 0.2);
  min-width: 120px;
}

.gallery-display .stat-icon {
  color: var(--color-primary);
  font-size: 1.25rem;
}

.gallery-display .stat-number {
  font-weight: 700;
  color: var(--color-text-primary);
  font-size: 1.1rem;
}

.gallery-display .stat-label {
  color: var(--color-text-secondary);
  font-size: 0.8rem;
  font-weight: 500;
}

/* Responsive styles para la galería */
@media (max-width: 992px) {
  .gallery-options {
    margin-bottom: var(--spacing-lg);
  }
  
  .option-list {
    flex-direction: row;
    overflow-x: auto;
    padding-bottom: var(--spacing-sm);
  }
  
  .option-item {
    min-width: 200px;
    flex-shrink: 0;
  }
  
  .gallery-display .floating-stats {
    position: relative;
    top: auto;
    right: auto;
    flex-direction: row;
    justify-content: center;
    margin-top: var(--spacing-lg);
  }
}

@media (max-width: 768px) {
  .gallery-options {
    padding: var(--spacing-md);
  }
  
  .gallery-title {
    font-size: 1.25rem;
  }
  
  .option-item {
    padding: var(--spacing-sm);
  }
  
  .option-icon {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
  
  .option-content h5 {
    font-size: 0.9rem;
  }
  
  .option-content p {
    font-size: 0.8rem;
  }
  
  .image-overlay {
    padding: var(--spacing-lg);
  }
  
  .image-info h3 {
    font-size: 1.25rem;
  }
  
  .image-info p {
    font-size: 0.875rem;
  }
}

@media (max-width: 576px) {
  .option-list {
    gap: var(--spacing-sm);
  }
  
  .option-item {
    min-width: 180px;
  }
  
  .gallery-display .floating-stats {
    flex-direction: column;
    align-items: center;
  }
  
  .gallery-display .stat-card {
    min-width: 100px;
  }
}



