/* ============================================
   CSS VARIABLES - DESIGN SYSTEM
   ============================================ */
:root {
  /* Paleta de Colores Principal */
  --color-primary-teal: #1fb295;
  --color-primary-orange: #f37f34;
  --color-dark-blue: #0a192f;
  --color-light-slate: #ccd6f6;
  --color-slate: #8892b0;
  --color-white: #ffffff;
  --color-background: #f9f9f9;
  --color-text-primary: #333333;

  /* Tipografía */
  --font-primary: "Poppins", sans-serif;
  --font-secondary: "Inter", sans-serif;

  /* Espaciado y Dimensiones */
  --nav-height: 80px;
  --border-radius: 8px;
  --border-radius-large: 12px;

  /* Sombras */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.15);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.2);

  /* Transiciones */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.6s ease;
}

/* ============================================
   RESET & BASE STYLES
   ============================================ */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scrollbar-gutter: stable;
}

body {
  font-family: "Lato", sans-serif;
  background-color: #f9f9f9;
  color: #333333;
  line-height: 1.6;
  /* overflow-y: auto; Removed to allow standard document scroll */
  overflow-x: hidden;
  padding-top: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-touch-callout: none;
  position: relative;
  will-change: auto;
  /* Apple-style inertial scrolling */
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-y: auto; /* Allow bounce */
}

/* Estilo personalizado para scrollbar (webkit browsers - Chrome, Safari, Edge) */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: rgba(107, 114, 128, 0.4);
  border-radius: 4px;
  transition: background 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(107, 114, 128, 0.7);
}

/* Firefox scrollbar styling */
* {
  scrollbar-color: rgba(107, 114, 128, 0.4) transparent;
  scrollbar-width: thin;
}

body::after {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("img/fondo-gatos.webp");
  /* background-attachment: fixed; - Removed for performance, position fixed is enough */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.15; /* Reduced from 0.3 for better text readability while maintaining atmosphere */
  pointer-events: none;
  z-index: -1;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.02) 0%,
    rgba(0, 0, 0, 0.04) 50%,
    rgba(0, 0, 0, 0.02) 100%
  );
  pointer-events: none;
  z-index: -2;
  /* Optimizaciones de GPU */
  will-change: auto;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  -moz-backface-visibility: hidden;
}

/* ============================================
   APPLE-STYLE SCROLL EFFECTS
   ============================================ */

/* Smooth and fluid transitions for all interactive elements */
a,
button,
input,
select,
textarea {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Optimize scroll performance with GPU acceleration */
section,
.container,
.hero,
.services,
.testimonials,
.reservation {
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  perspective: 1000px;
}

/* Smooth reveal animations */
section {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

/* Scroll snap removido para evitar sensación de "pegado" */
/* html {
    scroll-snap-type: y proximity;
    scroll-padding-top: 70px;
  } */

section {
  /* scroll-snap-align: start; */
  /* scroll-snap-stop: auto; */
} /* En móviles, evitar background-attachment: fixed por rendimiento */
@media (max-width: 768px) {
  body {
    background-attachment: scroll;
  }

  body::before {
    background-attachment: scroll;
  }
}

/* ============================================
   ACCESSIBILITY: SKIP LINK
   ============================================ */

.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: #d97706;
  color: white;
  padding: 12px 16px;
  text-decoration: none;
  z-index: 10000;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 0 0 8px 0;
  transition: top 0.3s ease;
}

.skip-link:focus {
  top: 0;
  box-shadow: 0 4px 12px rgba(217, 119, 6, 0.4);
}

/* ============================================
   ADVANCED ANIMATIONS
   ============================================ */

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

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

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

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

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

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes glow {
  0%,
  100% {
    box-shadow:
      0 0 20px rgba(217, 119, 6, 0.3),
      0 0 40px rgba(217, 119, 6, 0.1);
  }
  50% {
    box-shadow:
      0 0 30px rgba(217, 119, 6, 0.5),
      0 0 60px rgba(217, 119, 6, 0.2);
  }
}

@keyframes glowAnimation {
  0% {
    background-position: 0% center;
  }
  50% {
    background-position: 100% center;
  }
  100% {
    background-position: 0% center;
  }
}

@keyframes headerGlow {
  0% {
    box-shadow:
      0 4px 20px rgba(217, 119, 6, 0.3),
      0 0 60px rgba(217, 119, 6, 0.15),
      inset 0 1px 0 rgba(255, 255, 255, 0.2);
  }
  50% {
    box-shadow:
      0 4px 30px rgba(217, 119, 6, 0.4),
      0 0 80px rgba(217, 119, 6, 0.25),
      inset 0 1px 0 rgba(255, 255, 255, 0.3);
  }
  100% {
    box-shadow:
      0 4px 20px rgba(217, 119, 6, 0.3),
      0 0 60px rgba(217, 119, 6, 0.15),
      inset 0 1px 0 rgba(255, 255, 255, 0.2);
  }
}

@keyframes shimmer {
  0% {
    background-position: -1000px 0;
  }
  100% {
    background-position: 1000px 0;
  }
}

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

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

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}

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

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

/* ============================================
   PAW PRINT PATTERNS - BACKGROUND DECORATION
   ============================================ */

/* Dog Paw Pattern - Subtle background */
.paw-pattern-dog {
  background-image: url("data:image/svg+xml,%3Csvg width='120' height='120' viewBox='0 0 120 120' xmlns='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3ClinearGradient id='paw-dog' x1='0%25' y1='0%25' x2='100%25' y2='100%25'%3E%3Cstop offset='0%25' style='stop-color:%23D97706;stop-opacity:0.06'/%3E%3Cstop offset='100%25' style='stop-color:%23EA580C;stop-opacity:0.04'/%3E%3C/linearGradient%3E%3C/defs%3E%3C!-- Central pad --%3E%3Ccircle cx='60' cy='70' r='15' fill='url(%23paw-dog)'/%3E%3C!-- Top left toe --%3E%3Ccircle cx='35' cy='35' r='8' fill='url(%23paw-dog)'/%3E%3C!-- Top center toe --%3E%3Ccircle cx='60' cy='25' r='8' fill='url(%23paw-dog)'/%3E%3C!-- Top right toe --%3E%3Ccircle cx='85' cy='35' r='8' fill='url(%23paw-dog)'/%3E%3C!-- Right toe --%3E%3Ccircle cx='95' cy='60' r='8' fill='url(%23paw-dog)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 280px 280px;
  background-position: 0 0;
}

/* Cat Paw Pattern - Subtle background */
.paw-pattern-cat {
  background-image: url("data:image/svg+xml,%3Csvg width='120' height='120' viewBox='0 0 120 120' xmlns='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3ClinearGradient id='paw-cat' x1='0%25' y1='0%25' x2='100%25' y2='100%25'%3E%3Cstop offset='0%25' style='stop-color:%2310B981;stop-opacity:0.06'/%3E%3Cstop offset='100%25' style='stop-color:%23059669;stop-opacity:0.04'/%3E%3C/linearGradient%3E%3C/defs%3E%3C!-- Central pad (smaller for cat) --%3E%3Ccircle cx='60' cy='75' r='12' fill='url(%23paw-cat)'/%3E%3C!-- Top left toe (angular) --%3E%3Ccircle cx='38' cy='40' r='7' fill='url(%23paw-cat)'/%3E%3C!-- Top center-left toe --%3E%3Ccircle cx='55' cy='28' r='7' fill='url(%23paw-cat)'/%3E%3C!-- Top center-right toe --%3E%3Ccircle cx='72' cy='28' r='7' fill='url(%23paw-cat)'/%3E%3C!-- Top right toe --%3E%3Ccircle cx='87' cy='40' r='7' fill='url(%23paw-cat)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 260px 260px;
  background-position: 60px 40px;
}

/* Mixed Pattern - Dog and Cat paws */
.paw-pattern-mixed {
  background-image:
    url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3ClinearGradient id='paw1' x1='0%25' y1='0%25' x2='100%25' y2='100%25'%3E%3Cstop offset='0%25' style='stop-color:%23D97706;stop-opacity:0.05'/%3E%3Cstop offset='100%25' style='stop-color:%23EA580C;stop-opacity:0.03'/%3E%3C/linearGradient%3E%3C/defs%3E%3Ccircle cx='50' cy='65' r='12' fill='url(%23paw1)'/%3E%3Ccircle cx='30' cy='35' r='6.5' fill='url(%23paw1)'/%3E%3Ccircle cx='50' cy='25' r='6.5' fill='url(%23paw1)'/%3E%3Ccircle cx='70' cy='35' r='6.5' fill='url(%23paw1)'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3ClinearGradient id='paw2' x1='0%25' y1='0%25' x2='100%25' y2='100%25'%3E%3Cstop offset='0%25' style='stop-color:%2310B981;stop-opacity:0.05'/%3E%3Cstop offset='100%25' style='stop-color:%23059669;stop-opacity:0.03'/%3E%3C/linearGradient%3E%3C/defs%3E%3Ccircle cx='50' cy='60' r='10' fill='url(%23paw2)'/%3E%3Ccircle cx='32' cy='32' r='5.5' fill='url(%23paw2)'/%3E%3Ccircle cx='50' cy='22' r='5.5' fill='url(%23paw2)'/%3E%3Ccircle cx='68' cy='32' r='5.5' fill='url(%23paw2)'/%3E%3Ccircle cx='80' cy='60' r='5.5' fill='url(%23paw2)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size:
    300px 300px,
    350px 350px;
  background-position:
    0 0,
    100px 100px;
}

/* ============================================
   PRELOADER STYLES - PREMIUM MEDICAL UX/UI
   ============================================ */

.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #115e59; /* Darker Mint/Teal (Teal 800) */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 99999;
  opacity: 1;
  visibility: visible;
  transition:
    opacity 0.8s cubic-bezier(0.165, 0.84, 0.44, 1),
    visibility 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
  overflow: hidden;
  pointer-events: auto;
}

.preloader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-container {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px; /* Reduced gap for tighter cohesion */
  animation: preloaderFadeIn 0.8s ease-out;
}

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

.preloader-image {
  position: relative;
  width: 120px;
  height: 120px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.logo-preload {
  width: 80px;
  height: 80px;
  object-fit: contain;
  filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.25));
  animation: heartbeat 2s ease-in-out infinite;
  z-index: 2;
  position: relative;
}

@keyframes heartbeat {
  0% {
    transform: scale(1);
  }
  5% {
    transform: scale(1.05);
  }
  10% {
    transform: scale(1);
  }
  15% {
    transform: scale(1.05);
  }
  50% {
    transform: scale(1);
  }
  100% {
    transform: scale(1);
  }
}

.preloader-text {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.preloader-text h1,
.preloader-text .preloader-title {
  font-family: "Montserrat", sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: #ccfbf1; /* Very Light Mint/Teal */
  letter-spacing: -0.5px;
  margin: 0;
  animation: preloaderTextSlide 0.8s ease-out 0.2s both;
  text-transform: uppercase;
}

.preloader-subtitle {
  font-family: "Lato", sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  color: #99f6e4; /* Light Teal Accent */
  letter-spacing: 0px;
  animation: preloaderTextSlide 0.8s ease-out 0.4s both;
  margin: 0;
  padding: 0 30px;
  line-height: 1.5;
  max-width: 300px;
}

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

.preloader-spinner {
  position: absolute;
  width: 140px;
  height: 140px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.spinner {
  position: relative;
  width: 100%;
  height: 100%;
}

.spinner::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 4px solid rgba(255, 255, 255, 0.05); /* Slightly wider track */
  border-radius: 50%;
}

.spinner::after {
  content: "";
  position: absolute;
  inset: -4px; /* Matches thickness */
  border: 4px solid transparent; /* Wider spinner */
  border-top-color: #2dd4bf; /* Bright Teal/Mint */
  border-right-color: #f59e0b; /* Orange Accent */
  border-radius: 50%;
  animation: spinnerSpin 1.5s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  box-shadow: 0 0 15px rgba(45, 212, 191, 0.3); /* Soft glow */
}

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

/* Responsive Preloader */
@media (max-width: 768px) {
  .preloader-container {
    gap: 35px;
  }

  .preloader-image {
    width: 100px;
    height: 100px;
  }

  .logo-preload {
    width: 70px;
    height: 70px;
  }

  .preloader-spinner {
    width: 100px;
    height: 100px;
  }

  .spinner {
    width: 100px;
    height: 100px;
  }

  .spinner::before {
    border: 2.5px solid rgba(31, 188, 149, 0.15);
  }

  .spinner::after {
    border: 2.5px solid rgba(31, 188, 149, 0.1);
  }

  .preloader-text .preloader-title {
    font-size: 1.4rem;
  }

  .preloader-subtitle {
    font-size: 0.85rem;
  }

  .preloader-text h1,
  .preloader-text .preloader-title {
    font-size: 1.5rem;
    letter-spacing: 1px;
  }

  .spinner {
    width: 40px;
    height: 40px;
  }

  .spinner::before {
    border-width: 3px;
  }

  .spinner::after {
    border-width: 1.5px;
  }
}

/* ============================================
   COLOR PALETTE
   ============================================ */

:root {
  --primary-orange: #d97706;
  --secondary-orange: #ea580c;
  --light-pink: #a3e4d7;
  --baby-pink: #d1fae5;
  --white: #ffffff;
  --dark-gray: #1f2937;
  --text-gray: #4b5563;
  --light-gray: #f0fdf4;
}

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-header h2 {
  font-family: "Poppins", sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--gray-dark);
  margin-bottom: 15px;
}

.section-header p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 500px;
  margin: 0 auto;
}

/* ============================================
   BUTTONS - PREMIUM EFFECTS
   ============================================ */

.btn {
  font-family: "Poppins", sans-serif;
  border: none;
  border-radius: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  padding: 12px 28px;
  font-size: 0.95rem;
  text-decoration: none;
  display: inline-block;
  -webkit-tap-highlight-color: transparent;
  position: relative;
  overflow: hidden;
  will-change: transform, box-shadow;
  z-index: 1;
}

.btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
    circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(255, 255, 255, 0.3),
    transparent
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.btn:hover::before {
  opacity: 1;
}

.ripple {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.8), transparent);
  transform: scale(0);
  animation: rippleEffect 0.6s ease-out;
  pointer-events: none;
}

@keyframes rippleEffect {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

.header .btn-primary {
  padding: 10px 32px;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.3px;
}

.btn-primary {
  background: linear-gradient(135deg, #d97706 0%, #ea580c 100%);
  background-size: 200% 200%;
  color: white;
  box-shadow:
    0 8px 25px rgba(217, 119, 6, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  border: none;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #cc6600 0%, #d97706 100%);
  background-position: 100% 0;
  transform: translateY(-4px) scale(1.02);
  box-shadow:
    0 16px 40px rgba(217, 119, 6, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  filter: brightness(1.1);
}

.btn-primary:active {
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 8px 20px rgba(217, 119, 6, 0.3);
}

.btn-secondary {
  background-color: rgba(217, 119, 6, 0.08);
  color: #d97706;
  border: 2px solid #d97706;
  font-weight: 700;
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.btn-secondary:hover {
  background-color: var(--baby-pink);
  transform: translateY(-4px) scale(1.02);
  border-color: #cc6600;
  box-shadow: 0 12px 30px rgba(217, 119, 6, 0.2);
}

.btn-secondary:active {
  transform: translateY(-2px) scale(1.01);
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1rem;
  border-radius: 14px;
}

.btn-full {
  width: 100%;
}

/* Animación de entrada para botones */
.btn {
  animation: slideInUp 0.6s ease-out;
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */

/* ============================================
   HEADER & NAVIGATION - PREMIUM DESIGN
   ============================================ */

.header {
  background: rgba(0, 0, 0, 0.1);
  position: absolute;
  top: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: none;
  transition: all 0.4s ease;
  padding: 0;
  height: 70px;
  display: flex;
  align-items: center;
  border-bottom: none;
  backdrop-filter: blur(6px);
}

@keyframes headerFloat {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 1;
  }
}

@keyframes gradientShift {
  0% {
    background-position: 0% center;
    filter: brightness(1) saturate(1);
  }
  15% {
    background-position: 25% center;
    filter: brightness(1.08) saturate(1.05);
  }
  30% {
    background-position: 50% center;
    filter: brightness(1.1) saturate(1.1);
  }
  50% {
    background-position: 100% center;
    filter: brightness(1.05) saturate(1.08);
  }
  70% {
    background-position: 50% center;
    filter: brightness(1.1) saturate(1.1);
  }
  85% {
    background-position: 25% center;
    filter: brightness(1.08) saturate(1.05);
  }
  100% {
    background-position: 0% center;
    filter: brightness(1) saturate(1);
  }
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
  height: 70px;
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(217, 119, 6, 0.1);
}

.header.scrolled .nav,
.header.scrolled .header-actions {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: all 0.4s ease;
}

/* Estilos cuando está scrolled - texto oscuro */
.header.scrolled .logo {
  color: #333333;
}

.header.scrolled .logo:hover {
  color: #d97706;
}

.header.scrolled .logo-main {
  color: #666666;
}

.header.scrolled .logo-sub {
  color: #d97706;
}

.header.scrolled .logo:hover .logo-main {
  color: #999999;
}

.header.scrolled .logo:hover .logo-sub {
  color: #b45309;
}

.header.scrolled .nav-link {
  color: #333333;
}

.header.scrolled .nav-link:hover {
  color: #d97706;
}

.header.scrolled .nav-link::before {
  background: #d97706;
}

.header.scrolled .social-icon {
  color: #333333;
  background: rgba(217, 119, 6, 0.1);
  border-color: rgba(217, 119, 6, 0.3);
}

.header.scrolled .social-icon:hover {
  background: rgba(217, 119, 6, 0.2);
  color: #d97706;
  border-color: #d97706;
}

.header.scrolled .hamburger span {
  background: #333333;
}

.header.scrolled .hamburger:hover span {
  background: #d97706;
}

.header.scrolled .hamburger.active span {
  background: #d97706;
}

.header.scrolled .mobile-menu {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(217, 119, 6, 0.1);
}

.header.scrolled .mobile-nav-link {
  color: #333333;
  border-bottom: none;
}

.header.scrolled .mobile-nav-link::before {
  background: #d97706;
}

.header.scrolled .mobile-nav-link:hover,
.header.scrolled .mobile-nav-link:active {
  color: #d97706;
  background: rgba(217, 119, 6, 0.1);
}
.header.logo-only {
  background: transparent;
  box-shadow: none;
  border-bottom-color: transparent;
  height: 70px;
  justify-content: center;
  backdrop-filter: none;
}

.header.logo-only .header-wrapper {
  padding: 0 48px;
  justify-content: center;
}

.header.logo-only .logo {
  transform: translateY(0);
  margin-right: auto;
}

.header.logo-only .logo:hover {
  background: rgba(255, 255, 255, 0.08);
}

/* Ocultar nav y botones en estado logo-only */
.header.logo-only .nav {
  display: none;
}

.header.logo-only .header-actions {
  display: none;
}

.header.logo-only .hamburger {
  display: none;
}

.header.logo-only .btn-primary-sm {
  display: none;
}

@keyframes gradientShiftScrolled {
  0% {
    background-position: 0% center;
    filter: brightness(0.93) saturate(0.95);
  }
  15% {
    background-position: 25% center;
    filter: brightness(1) saturate(1);
  }
  30% {
    background-position: 50% center;
    filter: brightness(1.02) saturate(1.05);
  }
  50% {
    background-position: 100% center;
    filter: brightness(0.98) saturate(1.02);
  }
  70% {
    background-position: 50% center;
    filter: brightness(1.02) saturate(1.05);
  }
  85% {
    background-position: 25% center;
    filter: brightness(1) saturate(1);
  }
  100% {
    background-position: 0% center;
    filter: brightness(0.93) saturate(0.95);
  }
}

.header-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 48px;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
  gap: 32px;
  height: 70px;
  transition: height 0.35s ease;
}

.header.logo-only .header-wrapper {
  padding: 0 48px;
  justify-content: center;
  height: 70px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  color: #ffffff;
  text-decoration: none;
  letter-spacing: -0.3px;
  transition: all 0.3s ease;
  flex-shrink: 0;
  min-width: fit-content;
  padding: 0;
  border-radius: 0;
  position: relative;
}

.logo::before {
  content: "";
  position: absolute;
  inset: -2px;
  background: transparent;
  border-radius: 0;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: -1;
}

.logo:hover::before {
  opacity: 1;
}

.logo:hover {
  color: #d97706;
  transform: none;
  background: transparent;
  box-shadow: none;
  border: none;
}

/* Logo Image Container */
.logo-image-container {
  position: relative;
  width: 54px;
  height: 54px;
  flex-shrink: 0;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  box-shadow: none;
  transition: all 0.3s ease;
}

.logo-image-container::after {
  content: "";
  position: absolute;
  inset: 0;
  background: transparent;
  border-radius: 8px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.logo:hover .logo-image-container {
  transform: none;
  border-color: transparent;
  box-shadow: none;
  background: transparent;
}

.logo:hover .logo-image-container::after {
  opacity: 1;
}

.logo-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.logo:hover .logo-image {
  transform: scale(1.1);
}

/* Logo Text - Enhanced */
.logo-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1.1;
  position: relative;
  z-index: 1;
}

.logo-main {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.8px;
  color: rgba(255, 255, 255, 0.8);
  text-transform: uppercase;
  text-shadow: none;
  transition: all 0.3s ease;
}

.logo-sub {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fbbf24;
  text-shadow: none;
  transition: all 0.3s ease;
  letter-spacing: 0.3px;
}

.logo:hover .logo-main {
  color: #ffffff;
  letter-spacing: 0.8px;
}

.logo:hover .logo-sub {
  color: #fbbf24;
  text-shadow: none;
}

.header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 0px;
  background: transparent;
  z-index: 1;
}

.header::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 0px;
  background: transparent;
  z-index: 1;
}

.nav {
  flex: 1;
  display: flex;
  justify-content: center;
  margin: 0;
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
}

.nav-list {
  list-style: none;
  display: flex;
  gap: 32px;
  align-items: center;
  margin: 0;
  padding: 0;
}

.nav-item {
  position: relative;
}

.nav-link {
  text-decoration: none;
  color: #ffffff;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  position: relative;
  padding: 0;
  letter-spacing: 0.3px;
  display: inline-block;
  border-radius: 0;
  box-shadow: none;
  font-family: "Poppins", sans-serif;
}

.nav-link::before {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: #fbbf24;
  transition: width 0.3s ease;
  border-radius: 0;
}

.nav-link:hover {
  color: #fbbf24;
  background: transparent;
  box-shadow: none;
  transform: none;
}

.nav-link:hover::before {
  width: 100%;
}

/* ============================================
   NAV LINK ENHANCED EFFECTS - SIMPLIFIED
   ============================================ */

/* Duplicado removido - ya está definido arriba */

.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
  transition:
    opacity 0.35s ease,
    transform 0.35s ease;
}

/* Social Icons */
.social-icons {
  display: flex;
  gap: 16px;
  align-items: center;
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  transition: all 0.3s ease;
  text-decoration: none;
  font-size: 1.1rem;
  backdrop-filter: blur(4px);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
}

.social-icon:hover {
  background: rgba(251, 191, 36, 0.2);
  color: #fbbf24;
  transform: translateY(-3px);
  border-color: #fbbf24;
  box-shadow: 0 8px 20px rgba(251, 191, 36, 0.3);
}

.social-icon.instagram:hover {
  background: linear-gradient(
    135deg,
    rgba(255, 77, 77, 0.2),
    rgba(251, 191, 36, 0.2)
  );
}

.btn-primary-sm {
  background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
  color: white;
  border: none;
  padding: 13px 32px;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 6px 20px rgba(217, 119, 6, 0.35);
  font-family: "Poppins", sans-serif;
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
  text-transform: uppercase;
}

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

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

.btn-primary-sm:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 10px 30px rgba(217, 119, 6, 0.45);
  background: linear-gradient(135deg, #c45b00 0%, #a03f00 100%);
}

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

.hamburger {
  display: none;
  width: 48px;
  height: 48px;
  background: transparent;
  border: none;
  cursor: pointer;
  position: relative;
  margin-left: 12px;
  padding: 0;
  z-index: 1001; /* Ensure above mobile menu */
}

/* Improve tap target and visual feedback */
.hamburger::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.05); /* Subtle background */
  border-radius: 8px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.hamburger:active::before {
  opacity: 1; /* Feedback on tap */
}

.hamburger span {
  display: block;
  position: absolute;
  height: 3px;
  width: 26px;
  background: #ffffff;
  border-radius: 3px;
  opacity: 1;
  left: 11px; /* (48 - 26) / 2 */
  transform: rotate(0deg);
  transition: 0.25s ease-in-out;
}

/* Initial State: Three Bars */
.hamburger span:nth-child(1) {
  top: 15px;
}

.hamburger span:nth-child(2) {
  top: 22.5px;
  width: 20px; /* Stylish shorter middle bar */
  left: 14px; /* Center aligned */
}

.hamburger span:nth-child(3) {
  top: 30px;
}

/* Active State: X Shape */
.hamburger.active span:nth-child(1) {
  top: 22.5px;
  transform: rotate(135deg);
  background: #fbbf24; /* Gold accent when active */
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
  left: -60px; /* Fly out effect */
}

.hamburger.active span:nth-child(3) {
  top: 22.5px;
  transform: rotate(-135deg);
  background: #fbbf24;
}

/* Ensure hover effect doesn't break layout */
.hamburger:hover span {
  background: #fbbf24;
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 70px;
  left: 0;
  width: 100%;
  max-height: calc(100vh - 70px);
  background: rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(8px);
  padding: 20px;
  box-shadow: none;
  animation: slideDown 0.3s ease;
  border-bottom: none;
  z-index: 999;
  overflow-y: auto;
}

@media (max-width: 768px) {
  .header-wrapper {
    padding: 0 20px;
    gap: 20px;
  }

  .nav {
    display: none;
  }

  .hamburger {
    display: block;
  }

  .logo-text {
    display: none;
  }

  .social-icons {
    display: none;
  }

  .logo svg {
    width: 36px;
    height: 36px;
  }

  .mobile-menu {
    top: var(--nav-height, 80px);
    max-height: calc(100vh - var(--nav-height, 80px));
    background: rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(8px);
    border-bottom: none;
  }
}

@media (max-width: 480px) {
  .header-wrapper {
    padding: 0 16px;
    gap: 16px;
    height: 70px;
  }

  .header {
    height: 70px;
  }

  .logo svg {
    width: 32px;
    height: 32px;
  }

  .mobile-menu {
    top: 70px;
    max-height: calc(100vh - 70px);
    padding: 16px 12px;
    background: rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(8px);
    border-bottom: none;
  }
}

@media (max-width: 360px) {
  .mobile-menu {
    top: 70px;
    max-height: calc(100vh - 70px);
    background: rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(8px);
    border-bottom: none;
  }
}

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

.mobile-menu.active {
  display: block;
}

.mobile-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 0;
  padding: 0;
}

.mobile-nav-link {
  text-decoration: none;
  color: #ffffff;
  font-weight: 600;
  display: block;
  padding: 14px 12px;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  border-radius: 6px;
  position: relative;
  background: transparent;
  border-left: none;
  box-shadow: none;
  border-bottom: none;
  letter-spacing: 0.2px;
}

.mobile-nav-link::before {
  content: "";
  position: absolute;
  left: 12px;
  bottom: 0;
  width: 0;
  height: 2px;
  background: #fbbf24;
  transition: width 0.3s ease;
  transform: none;
  border-radius: 1px;
}

.mobile-nav-link:active,
.mobile-nav-link:hover {
  color: #fbbf24;
  background: rgba(251, 191, 36, 0.1);
  border-left: none;
  box-shadow: none;
  transform: none;
}

.mobile-nav-link:active::before,
.mobile-nav-link:hover::before {
  width: calc(100% - 24px);
}

/* ============================================
   HERO SECTION - FULL VIDEO BACKGROUND
   ============================================ */

.hero {
  padding-top: 0;
  height: 100vh;
  min-height: auto;
  margin-top: 0;
  margin-bottom: 80px;
  position: relative;
  overflow: visible;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 80px;
  border-top: none;
  z-index: 1;
}

.hero-video-carousel {
  position: absolute;
  top: -70px;
  left: 0;
  width: 100%;
  height: calc(100vh + 70px);
  z-index: 0;
}

.video-slide {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.video-slide.active {
  opacity: 1;
  z-index: 10;
}

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

.hero-overlay {
  position: absolute;
  top: -70px;
  left: 0;
  width: 100%;
  height: calc(100vh + 70px);
  background: linear-gradient(
    135deg,
    rgba(15, 118, 110, 0.08) 0%,
    rgba(0, 0, 0, 0.05) 50%,
    rgba(20, 184, 166, 0.03) 100%
  );
  z-index: 2;
  pointer-events: none;
}

/* Hero Video Responsive Media Queries */
@media (max-width: 768px) {
  .hero-video-carousel {
    top: -70px;
    height: calc(100vh + 70px);
  }

  .hero-overlay {
    top: -70px;
    height: calc(100vh + 70px);
  }
}

@media (max-width: 480px) {
  .hero-video-carousel {
    top: -70px;
    height: calc(100vh + 70px);
  }

  .hero-overlay {
    top: -70px;
    height: calc(100vh + 70px);
  }
}

@media (max-width: 360px) {
  .hero-video-carousel {
    top: -70px;
    height: calc(100vh + 70px);
  }

  .hero-overlay {
    top: -70px;
    height: calc(100vh + 70px);
  }
}

.hero-container {
  display: flex;
  flex-direction: column;
  gap: 0;
  align-items: flex-start;
  justify-content: flex-start;
  max-width: 1200px;
  margin: 0 auto;
  padding: 50px 48px 100px 48px;
  width: 100%;
  position: relative;
  z-index: 3;
  height: 100%;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-top: 50px;
  animation: fadeInLeft 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.1s both;
  max-width: 600px;
}

@media (max-width: 768px) {
  .hero-content {
    gap: 8px;
    margin-top: 15px;
  }
}

@media (max-width: 480px) {
  .hero-content {
    gap: 6px;
    margin-top: 10px;
  }
}

@media (max-width: 360px) {
  .hero-content {
    gap: 5px;
    margin-top: 8px;
  }
}

/* Hero responsive spacing adjustments */
@media (max-width: 768px) {
  .hero {
    padding-top: 0;
    height: 100vh;
    margin-top: 0;
    margin-bottom: 80px;
    padding-bottom: 50px;
    align-items: center;
    border-top: none;
    z-index: 1;
    overflow: visible;
  }

  .hero-container {
    padding: 0px 36px 30px 36px;
    margin-top: -290px;
    height: 100%;
  }

  .hero-content {
    gap: 24px;
    max-width: 100%;
  }

  .hero-badge {
    font-size: 0.8rem;
    padding: 9px 14px;
    margin-bottom: 4px;
  }

  .hero-title {
    font-size: 2.6rem;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -1px;
    padding-top: 50px;
    margin-bottom: 2px;
  }

  .hero-description {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 4px;
  }

  .hero-cta {
    margin-bottom: 8px;
  }
}

@media (max-width: 480px) {
  .hero {
    padding-top: 0;
    height: 100vh;
    margin-top: 0;
    margin-bottom: 80px;
    padding-bottom: 40px;
    align-items: center;
    border-top: none;
    z-index: 1;
    overflow: visible;
  }

  .hero-container {
    padding: 0px 24px 20px 24px;
    margin-top: -310px;
    height: 100%;
  }

  .hero-content {
    gap: 18px;
    max-width: 100%;
  }

  .hero-badge {
    font-size: 0.75rem;
    padding: 8px 12px;
    margin-bottom: 4px;
  }

  .hero-title {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.8px;
    padding-top: 40px;
    margin-bottom: 2px;
  }

  .hero-description {
    font-size: 0.95rem;
    line-height: 1.6;
    max-width: 100%;
    margin-bottom: 4px;
  }

  .hero-cta {
    margin-bottom: 6px;
  }
}

@media (max-width: 360px) {
  .hero {
    padding-top: 0;
    height: 100vh;
    margin-top: 0;
    margin-bottom: 80px;
    padding-bottom: 35px;
    align-items: center;
    border-top: none;
    z-index: 1;
    overflow: visible;
  }

  .hero-container {
    padding: 0px 16px 15px 16px;
    margin-top: -315px;
    height: 100%;
  }

  .hero-content {
    gap: 16px;
    max-width: 100%;
  }

  .hero-badge {
    font-size: 0.7rem;
    padding: 7px 10px;
    margin-bottom: 3px;
  }

  .hero-title {
    font-size: 1.8rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.6px;
    padding-top: 35px;
    margin-bottom: 2px;
  }

  .hero-description {
    font-size: 0.9rem;
    line-height: 1.5;
    max-width: 100%;
    margin-bottom: 3px;
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(20, 184, 166, 0.18);
  backdrop-filter: blur(10px);
  border: 1.5px solid rgba(20, 184, 166, 0.4);
  padding: 10px 16px;
  border-radius: 50px;
  width: fit-content;
  font-size: 0.85rem;
  font-weight: 600;
  color: #a5f3fc;
  letter-spacing: 0.3px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow:
    0 4px 12px rgba(20, 184, 166, 0.15),
    inset 0 1px 1px rgba(255, 255, 255, 0.1);
}

.hero-badge:hover {
  background: rgba(20, 184, 166, 0.28);
  border-color: rgba(20, 184, 166, 0.6);
  box-shadow:
    0 6px 16px rgba(20, 184, 166, 0.25),
    inset 0 1px 1px rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

.badge-icon {
  font-size: 1rem;
}

.badge-text {
  text-transform: uppercase;
}

.hero-title {
  font-family: "Poppins", sans-serif;
  font-size: 3.5rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.2;
  letter-spacing: -1.2px;
  padding-top: 100px;
  text-shadow:
    0 8px 24px rgba(0, 0, 0, 0.4),
    0 2px 8px rgba(0, 0, 0, 0.3),
    0 0 1px rgba(165, 243, 252, 0.2);
  animation: fadeInUp 0.8s ease-out;
}

.hero-title .highlight {
  background: linear-gradient(135deg, #a5f3fc 0%, #67e8f9 100%);
  -webkit-background-clip: text;
  -moz-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: none;
  animation: shimmer 3s infinite;
  background-size: 200% 200%;
}

@keyframes shimmer {
  0%,
  100% {
    filter: brightness(1);
    background-position: 0% center;
  }
  50% {
    filter: brightness(1.15);
    background-position: 100% center;
  }
}

.hero-description {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.8;
  max-width: 480px;
  text-shadow:
    0 3px 12px rgba(0, 0, 0, 0.3),
    0 1px 3px rgba(0, 0, 0, 0.2);
  font-weight: 500;
  letter-spacing: 0.3px;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-cta {
  display: flex;
  gap: 24px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 36px;
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

.btn-primary {
  background: linear-gradient(135deg, #0f766e 0%, #14b8a6 100%);
  color: white;
  box-shadow:
    0 4px 20px rgba(15, 118, 110, 0.35),
    0 0 40px rgba(20, 184, 166, 0.15),
    inset 0 1px 1px rgba(255, 255, 255, 0.1);
  letter-spacing: 0.5px;
  border: 1px solid rgba(165, 243, 252, 0.2);
}

.btn-primary::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(165, 243, 252, 0.25);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition:
    width 0.6s cubic-bezier(0.4, 0, 0.2, 1),
    height 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary:hover::before {
  width: 300px;
  height: 300px;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #cc6600 0%, #d97706 100%);
  background-position: 100% 0;
  transform: translateY(-4px) scale(1.02);
  box-shadow:
    0 16px 40px rgba(217, 119, 6, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  filter: brightness(1.1);
}

.btn-primary:active {
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 8px 20px rgba(217, 119, 6, 0.3);
}

.btn-lg {
  padding: 14px 36px;
  font-size: 1rem;
  gap: 8px;
}

.btn-arrow {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary:hover .btn-arrow {
  transform: translateX(6px);
}

.btn-outline {
  background: rgba(165, 243, 252, 0.12);
  color: #ffffff;
  border: 2px solid rgba(165, 243, 252, 0.6);
  font-weight: 600;
  backdrop-filter: blur(12px);
  box-shadow:
    0 8px 32px rgba(20, 184, 166, 0.15),
    inset 0 1px 1px rgba(255, 255, 255, 0.2);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.btn-outline::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(165, 243, 252, 0.15);
  transition: left 0.5s ease;
}

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

.btn-outline:hover {
  background: rgba(165, 243, 252, 0.22);
  border-color: rgba(165, 243, 252, 0.9);
  color: #ffffff;
  transform: translateY(-4px) scale(1.02);
  box-shadow:
    0 12px 40px rgba(20, 184, 166, 0.3),
    inset 0 1px 1px rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(15px);
}

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

/* ============================================
   PREMIUM CTA BUTTONS - ENHANCED EFFECTS
   ============================================ */

.btn-primary-enhanced {
  background: linear-gradient(135deg, #0f766e 0%, #14b8a6 100%);
  background-size: 200% 200%;
  color: #ffffff;
  box-shadow:
    0 12px 35px rgba(15, 118, 110, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.25),
    0 0 0 0 rgba(165, 243, 252, 0.3);
  border: none;
  font-weight: 700;
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 8px;
  animation: buttonPulse 3s ease-in-out infinite;
  z-index: 1;
  cursor: pointer;
}

@keyframes buttonPulse {
  0%,
  100% {
    box-shadow:
      0 12px 35px rgba(15, 118, 110, 0.4),
      inset 0 1px 0 rgba(255, 255, 255, 0.25),
      0 0 0 0 rgba(165, 243, 252, 0.5);
  }
  50% {
    box-shadow:
      0 12px 35px rgba(15, 118, 110, 0.4),
      inset 0 1px 0 rgba(255, 255, 255, 0.25),
      0 0 0 12px rgba(165, 243, 252, 0);
  }
}

.btn-shine {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent 0%,
    rgba(255, 255, 255, 0.3) 50%,
    transparent 100%
  );
  transform: rotate(45deg);
  animation: shine 4s infinite;
  pointer-events: none;
}

@keyframes shine {
  0% {
    transform: translateX(-100%) translateY(-100%) rotate(45deg);
  }
  100% {
    transform: translateX(100%) translateY(100%) rotate(45deg);
  }
}

.btn-primary-enhanced:hover {
  background: linear-gradient(135deg, #115e59 0%, #0f766e 100%);
  background-position: 100% 0;
  transform: translateY(-6px) scale(1.03);
  box-shadow:
    0 18px 50px rgba(15, 118, 110, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.35),
    0 0 20px rgba(165, 243, 252, 0.6);
  filter: brightness(1.12);
  letter-spacing: 0.7px;
}

.btn-primary-enhanced:hover .btn-arrow {
  transform: translateX(10px) scale(1.3);
  color: #a5f3fc;
  text-shadow: 0 0 10px rgba(165, 243, 252, 0.8);
}

.btn-primary-enhanced:active {
  transform: translateY(-3px) scale(1.01);
  box-shadow:
    0 10px 25px rgba(15, 118, 110, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

/* Outline Button Enhanced */
.btn-outline-enhanced {
  background: rgba(165, 243, 252, 0.08);
  color: #ffffff;
  border: 2.5px solid rgba(165, 243, 252, 0.7);
  font-weight: 700;
  backdrop-filter: blur(16px);
  box-shadow:
    0 12px 35px rgba(20, 184, 166, 0.15),
    inset 0 1px 1px rgba(255, 255, 255, 0.25),
    0 0 40px rgba(165, 243, 252, 0.1);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 10px;
  letter-spacing: 0.3px;
}

.btn-outline-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(165, 243, 252, 0.3),
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.btn-outline-enhanced:hover .btn-outline-glow {
  opacity: 1;
}

.btn-outline-enhanced::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;
  z-index: 0;
}

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

.btn-outline-enhanced:hover {
  background: rgba(165, 243, 252, 0.16);
  border-color: rgba(165, 243, 252, 1);
  color: #ffffff;
  transform: translateY(-6px) scale(1.03);
  box-shadow:
    0 16px 50px rgba(20, 184, 166, 0.35),
    inset 0 1px 1px rgba(255, 255, 255, 0.4),
    0 0 60px rgba(165, 243, 252, 0.3);
  backdrop-filter: blur(20px);
}

.btn-outline-enhanced:active {
  transform: translateY(-3px) scale(1.01);
}

.btn-full {
  width: 100%;
}

.hero-stats {
  display: flex;
  gap: 48px;
  align-items: center;
  justify-content: flex-start;
  margin-top: 24px;
}

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

.stat-number {
  font-family: "Poppins", sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: #ffd89b;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.stat-label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
}

.video-indicators {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 20;
}

.video-indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  padding: 0;
}

.video-indicator.active {
  background-color: #d97706;
  transform: scale(1.3);
  box-shadow: 0 0 12px rgba(217, 119, 6, 0.8);
}

.video-indicator:hover {
  background-color: rgba(255, 255, 255, 0.7);
}

.video-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.3);
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: white;
  font-size: 1.8rem;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 20;
  font-weight: 300;
  backdrop-filter: blur(5px);
}

.video-control:hover {
  background: rgba(217, 119, 6, 0.5);
  border-color: #d97706;
  transform: translateY(-50%) scale(1.1);
}

.video-control:active {
  transform: translateY(-50%) scale(0.95);
}

.video-prev {
  left: 24px;
}

.video-next {
  right: 24px;
}

.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  z-index: 20;
  margin-top: 60px;
  animation: bounce-animation 2s ease-in-out infinite;
}

.scroll-text {
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
  text-transform: uppercase;
  letter-spacing: 1px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.scroll-mouse {
  width: 24px;
  height: 36px;
  border: 2px solid rgba(255, 255, 255, 0.6);
  border-radius: 12px;
  position: relative;
}

.scroll-mouse::after {
  content: "";
  position: absolute;
  width: 2.5px;
  height: 6px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 1px;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  animation: scroll-wheel 1.5s ease-in-out infinite;
}

@keyframes scroll-wheel {
  0% {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
  80% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateX(-50%) translateY(8px);
  }
}

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

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

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

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

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

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

.hero-decorative {
  display: none;
}

.shape {
  display: none;
}

.shape-1 {
  display: none;
}

.shape-2 {
  display: none;
}

.shape-3 {
  display: none;
}

.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  z-index: 10;
}

.scroll-text {
  font-size: 0.75rem;
  font-weight: 600;
  color: #d97706;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.scroll-mouse {
  width: 24px;
  height: 36px;
  border: 2px solid #d97706;
  border-radius: 12px;
  position: relative;
}

.scroll-mouse::after {
  content: "";
  position: absolute;
  width: 2.5px;
  height: 6px;
  background: #d97706;
  border-radius: 1px;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  animation: scroll-wheel 1.5s ease-in-out infinite;
}

@keyframes scroll-wheel {
  0% {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
  80% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateX(-50%) translateY(8px);
  }
}

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

/* ============================================
   RESERVATION SECTION - HERO WITH BACKGROUND IMAGE
   ============================================ */

.reservation {
  position: relative;
  min-height: 600px;
  overflow: hidden;
  margin-top: 0;
  margin-bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  width: 100%;
  margin-left: 0;
  z-index: 10;
  /* Gradiente de transición orgánica */
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(10, 14, 39, 0.1) 60%,
    rgba(10, 14, 39, 0.4) 100%
  );
}

/* Parallax Background Image - Enhanced Effect */
.reservation-bg-image {
  position: absolute;
  inset: 0;
  background-image: url("img/reserva.webp");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  z-index: 1;
  background-color: transparent;
  width: 100%;
  height: 100%;
  will-change: background-position;
}

/* Mobile: cambiar a scroll para mejor rendimiento */
@media (max-width: 1024px) {
  .reservation-bg-image {
    background-attachment: scroll;
  }
}

/* Garantizar visibilidad en todos los tamaños */
@media (max-width: 768px) {
  .reservation-bg-image {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 1;
  }
}

@media (max-width: 480px) {
  .reservation-bg-image {
    background-size: cover;
    background-position: center center;
  }
}

/* Dark Overlay - oscuro pero visible */
.reservation-overlay {
  position: absolute;
  inset: 0;
  background: transparent;
  backdrop-filter: blur(0px);
  z-index: 2;
}

/* Container for all content */
.reservation-container {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 600px;
  width: 100%;
  padding: 0 20px;
  margin: 0;
  max-width: 100%;
}

/* Main Content Area - Centered */
.reservation-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  max-width: 700px;
  padding: 60px 40px;
  animation: fadeInUp 0.8s ease-out;
  width: 100%;
  margin: 0 auto;
}

/* Header Section */
.reservation-header {
  margin-bottom: 40px;
}

.reservation-title {
  font-size: 3.8rem;
  font-weight: 900;
  color: #ffffff;
  line-height: 1.25;
  margin: 0 0 32px 0;
  letter-spacing: -1px;
  animation: slideUp 0.8s ease-out 0.1s both;
  word-spacing: 0.1em;
}

.title-highlight {
  background: linear-gradient(135deg, #eb7022 0%, #d97706 100%);
  -moz-background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 900;
  display: inline-block;
  animation: glowPulse 3s ease-in-out infinite;
}

@keyframes glowPulse {
  0%,
  100% {
    filter: drop-shadow(0 0 0px rgba(235, 112, 34, 0));
  }
  50% {
    filter: drop-shadow(0 0 8px rgba(235, 112, 34, 0.4));
  }
}

.reservation-description {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.8;
  margin: 0;
  font-weight: 400;
  letter-spacing: 0.4px;
  animation: slideUp 1s ease-out 0.2s both;
  max-width: 650px;
}

/* Actions - Buttons */
.reservation-actions {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 32px;
  animation: slideUp 1.2s ease-out 0.3s both;
}

.reservation-btn {
  padding: 20px 48px;
  font-size: 1.15rem;
  font-weight: 700;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0.8px;
  position: relative;
  overflow: hidden;
  text-transform: uppercase;
  min-width: 260px;
  font-family: "Poppins", sans-serif;
}

.reservation-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.25);
  transition: left 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: -1;
}

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

.reservation-btn::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition:
    width 0.6s ease,
    height 0.6s ease;
  z-index: 0;
}

.reservation-btn:active::after {
  width: 200px;
  height: 200px;
}

/* Primary Button - Orange Gradient */
.reservation-btn-primary {
  background: linear-gradient(135deg, #eb7022 0%, #d97706 100%);
  color: #ffffff;
  box-shadow: 0 12px 40px rgba(235, 112, 34, 0.4);
}

.reservation-btn-primary:hover {
  transform: translateY(-6px) scale(1.05);
  box-shadow: 0 20px 60px rgba(235, 112, 34, 0.5);
}

.reservation-btn-primary:active {
  transform: translateY(-2px) scale(0.98);
}

/* Secondary Button - Improved Premium Style */
.reservation-btn-secondary {
  background: linear-gradient(135deg, #00c853 0%, #009688 100%);
  color: #ffffff;
  border: none;
  box-shadow:
    0 4px 15px rgba(0, 150, 136, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  font-weight: 800;
  letter-spacing: 1px;
  z-index: 1;
}

.reservation-btn-secondary::before {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.4) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-25deg);
  z-index: 2;
  transition: none;
}

.reservation-btn-secondary:hover {
  background: linear-gradient(135deg, #009688 0%, #00796b 100%);
  transform: translateY(-4px) scale(1.02);
  box-shadow:
    0 15px 30px rgba(0, 150, 136, 0.5),
    0 0 0 2px rgba(255, 255, 255, 0.2);
  /* Disable swing animation */
  animation: none;
}

.reservation-btn-secondary:hover::before {
  left: 125%;
  transition: left 0.7s ease;
}

.reservation-btn-secondary:active {
  transform: translateY(1px) scale(0.98);
  box-shadow: 0 5px 15px rgba(0, 150, 136, 0.4);
}

.reservation-btn-secondary svg {
  transition: transform 0.3s ease;
}

.reservation-btn-secondary:hover svg {
  transform: rotate(-10deg) scale(1.1);
}

/* Image Credit */
.reservation-credit {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
  font-weight: 400;
  letter-spacing: 0.3px;
  animation: fadeIn 1.2s ease-out 0.6s both;
}

/* Responsive - Tablet */
@media (max-width: 1024px) {
  .reservation {
    min-height: 480px;
    padding: 0;
    margin-top: 0;
    margin-bottom: 0;
    width: 100%;
    margin-left: 0;
  }

  .reservation-bg-image {
    background-attachment: scroll;
  }

  .reservation-container {
    min-height: 480px;
    width: 100%;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .reservation-content {
    padding: 45px 30px;
  }

  .reservation-title {
    font-size: 2.8rem;
    margin-bottom: 28px;
  }

  .reservation-description {
    font-size: 1.1rem;
  }

  .reservation-actions {
    gap: 20px;
  }

  .reservation-btn {
    padding: 18px 40px;
    font-size: 1rem;
    min-width: 220px;
  }
}

/* Responsive - Mobile */
@media (max-width: 768px) {
  .reservation {
    min-height: 450px;
    padding: 0;
    margin-top: 0;
    margin-bottom: 0;
    width: 100%;
    margin-left: 0;
  }

  .reservation-bg-image {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 1;
    background-attachment: scroll;
  }

  .reservation-overlay {
    background: transparent;
  }

  .reservation-container {
    min-height: 450px;
    width: 100%;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    margin: 0;
  }

  .reservation-content {
    padding: 30px 16px;
    width: 100%;
    max-width: 100%;
  }

  .reservation-title {
    font-size: 2rem;
    line-height: 1.3;
    margin-bottom: 16px;
  }

  .reservation-description {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 28px;
  }

  .reservation-actions {
    gap: 16px;
    flex-direction: column;
    margin-bottom: 24px;
  }

  .reservation-btn {
    padding: 14px 32px;
    font-size: 0.9rem;
    min-width: auto;
    width: auto;
  }

  .reservation-header {
    margin-bottom: 24px;
  }

  .reservation-credit {
    font-size: 0.8rem;
  }
}

/* Responsive - Small Mobile */
@media (max-width: 480px) {
  .reservation {
    min-height: 400px;
    padding: 0;
    margin-top: 0;
    margin-bottom: 0;
    width: 100%;
    margin-left: 0;
  }

  .reservation-bg-image {
    background-size: cover;
    background-position: center center;
    background-attachment: scroll;
  }

  .reservation-overlay {
    background: transparent;
  }

  .reservation-container {
    min-height: 400px;
    width: 100%;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    margin: 0;
  }

  .reservation-content {
    padding: 28px 14px;
    width: 100%;
    max-width: 100%;
  }

  .reservation-title {
    font-size: 1.6rem;
    margin-bottom: 14px;
    line-height: 1.2;
  }

  .reservation-description {
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 24px;
  }

  .reservation-actions {
    gap: 12px;
    margin-bottom: 18px;
  }

  .reservation-btn {
    padding: 12px 28px;
    font-size: 0.85rem;
    min-width: auto;
    width: auto;
  }

  .reservation-header {
    margin-bottom: 18px;
  }

  .reservation-credit {
    font-size: 0.75rem;
  }
}

/* ============================================
   FOOTER - CLEAN & MODERN DESIGN (PLATZI STYLE)
   ============================================ */

.footer {
  background: linear-gradient(
    180deg,
    rgba(10, 14, 39, 0.95) 0%,
    #0f1729 50%,
    #0f1729 100%
  );
  color: #ffffff;
  padding: 60px 0 20px;
  position: relative;
  overflow: hidden;
  margin-top: -40px;
  padding-top: 100px;
  z-index: 1;
}

.footer-decorative-top {
  display: none;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 80px 60px;
  padding: 60px 0 40px;
  position: relative;
  z-index: 1;
  align-items: start;
}

/* Brand Section - Clean */
.footer-brand-section {
  grid-column: span 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.3px;
  font-family: "Poppins", sans-serif;
  margin-bottom: 12px;
  text-decoration: none;
}

.footer-logo-image-container {
  width: 64px;
  height: 64px;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.3s;
}

.footer-logo-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 10px;
}

.footer-logo:hover .footer-logo-image-container {
  transform: scale(1.1);
}

.footer-logo-text {
  text-decoration: none;
}

.footer-logo svg {
  width: 64px;
  height: 64px;
  transition: transform 0.3s;
  filter: drop-shadow(0 2px 8px rgba(217, 119, 6, 0.2));
}

.footer-logo:hover svg {
  transform: scale(1.1);
}

.footer-brand-description {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #ffffff;
  margin: 0;
  font-weight: 400;
  font-family: "Poppins", sans-serif;
}

.footer-social-inline {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}

.social-icon {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  border: none;
  position: relative;
}

.social-icon:hover {
  background: transparent;
  color: #fbbf24;
  border-color: transparent;
  transform: translateY(-4px) scale(1.15);
  box-shadow: 0 8px 24px rgba(251, 191, 36, 0.2);
}

.social-icon svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

/* Footer Sections - Clean */
.footer-section {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.footer-section-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 24px 0;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  position: relative;
  border-bottom: 2px solid rgba(217, 119, 6, 0.3);
  padding-bottom: 12px;
  font-family: "Poppins", sans-serif;
}

/* Footer Links - Clean */
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-links li {
  font-size: 0.9rem;
}

.footer-links a {
  color: #ffffff;
  text-decoration: none;
  transition: all 0.3s;
  position: relative;
  font-weight: 400;
  display: inline-block;
  font-family: "Poppins", sans-serif;
}

.footer-links a:hover {
  color: #fbbf24;
  padding-left: 8px;
}

/* Contact Section - Clean */
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 0;
  border-radius: 0;
  transition: all 0.3s;
}

.contact-item:hover {
  background: transparent;
  padding: 0;
}

.contact-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-family: "Poppins", sans-serif;
}

.contact-value {
  font-size: 0.9rem;
  color: #ffffff;
  text-decoration: none;
  transition: all 0.3s;
  font-weight: 400;
  font-family: "Poppins", sans-serif;
}

.contact-value:hover {
  color: #fbbf24;
}

.contact-value p {
  margin: 0;
  padding: 0;
  font-size: 0.9rem;
}

/* Footer Divider */
.footer-divider {
  height: 1px;
  background: rgba(217, 119, 6, 0.2);
  margin: 20px 0 0 0;
  position: relative;
  z-index: 1;
}

/* Footer Bottom - Clean */
.footer-bottom {
  padding: 24px 0 16px 0;
  background: transparent;
  backdrop-filter: none;
  border-top: 1px solid rgba(217, 119, 6, 0.15);
  position: relative;
  z-index: 1;
  margin: 0;
}

.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.footer-copyright {
  font-size: 0.85rem;
  color: #ffffff;
  margin: 0;
  font-weight: 400;
  font-family: "Poppins", sans-serif;
}

.brand-highlight {
  color: #ffffff;
  font-weight: 700;
}

.footer-legal {
  display: flex;
  gap: 24px;
  align-items: center;
  flex-wrap: wrap;
}

.footer-legal a {
  font-size: 0.85rem;
  color: #ffffff;
  text-decoration: none;
  transition: all 0.3s;
  font-weight: 400;
  position: relative;
  font-family: "Poppins", sans-serif;
}

.footer-legal a:hover {
  color: #fbbf24;
}

.whatsapp-float {
  display: none !important;
}

/* Animación de entrada suave */
@keyframes floatInFromRight {
  0% {
    opacity: 0;
    transform: translateX(120px) scale(0.3);
  }
  100% {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

/* SVG Icon Styling */
.whatsapp-icon {
  width: 32px;
  height: 32px;
  fill: #ffffff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  flex-shrink: 0;
}

/* Estado hover - Efecto profesional */
.whatsapp-float:hover {
  box-shadow: 0 12px 36px rgba(37, 211, 102, 0.5);
  background: linear-gradient(135deg, #1fad4f 0%, #17935f 100%);
}

.whatsapp-float:hover .whatsapp-icon {
  text-shadow: 0 3px 6px rgba(0, 0, 0, 0.25);
}

/* Estado activo - Presión */
.whatsapp-float:active {
  transform: scale(0.95);
}

/* Responsive - WhatsApp Button */
@media (max-width: 768px) {
  .whatsapp-float {
    width: 56px;
    height: 56px;
  }

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

  .whatsapp-float i {
    font-size: 24px;
  }
}

@media (max-width: 480px) {
  .whatsapp-float {
    width: 52px;
    height: 52px;
  }

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

  .whatsapp-float i {
    font-size: 20px;
  }
}

/* Responsive - WhatsApp Button Positions */
@media (max-width: 768px) {
  .whatsapp-float {
    bottom: 20px;
    right: 20px;
  }
}

@media (max-width: 480px) {
  .whatsapp-float {
    bottom: 16px;
    right: 16px;
  }
}

/* Scroll Animation States */
.whatsapp-float.scroll-hide {
  transform: translateY(120px) !important;
  opacity: 0.3 !important;
  pointer-events: none !important;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
}

.whatsapp-float.scroll-show {
  transform: translateY(0) !important;
  opacity: 1 !important;
  pointer-events: auto !important;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
}

/* ============================================
   WHATSAPP MODAL - SERVICIOS
   ============================================ */

.whatsapp-modal {
  display: none !important;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.whatsapp-modal-content {
  background: #ffffff;
  border-radius: 16px;
  width: 90%;
  max-width: 450px;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: slideUp 0.3s ease;
}

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

.whatsapp-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  border-bottom: 2px solid #e5e7eb;
}

.whatsapp-modal-header h3 {
  margin: 0;
  font-size: 1.3rem;
  color: #0f1729;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
}

.whatsapp-modal-close {
  background: none;
  border: none;
  font-size: 28px;
  color: #6b7280;
  cursor: pointer;
  transition: color 0.2s ease;
  padding: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.whatsapp-modal-close:hover {
  color: #1f2937;
}

.whatsapp-modal-services {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 20px;
}

.service-option {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 16px;
  background: linear-gradient(135deg, #e0f7f4 0%, #d9f7f0 100%);
  border: 2px solid #10b981;
  border-radius: 10px;
  text-decoration: none;
  color: #0f1729;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  text-align: center;
  font-family: "Poppins", sans-serif;
  cursor: pointer;
}

.service-option:hover {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff;
  border-color: #10b981;
  transform: scale(1.05);
  box-shadow: 0 8px 16px rgba(16, 185, 129, 0.3);
}

.service-option:active {
  transform: scale(0.98);
}

.service-option.others {
  background: linear-gradient(135deg, #fef08a 0%, #fde047 100%);
  border-color: #eab308;
  color: #0f1729;
}

.service-option.others:hover {
  background: linear-gradient(135deg, #eab308 0%, #ca8a04 100%);
  color: #ffffff;
  border-color: #eab308;
  box-shadow: 0 8px 16px rgba(234, 179, 8, 0.3);
}

/* Responsive - Modal */
@media (max-width: 768px) {
  .whatsapp-modal-content {
    width: 95%;
  }

  .whatsapp-modal-services {
    grid-template-columns: 1fr;
  }

  .whatsapp-modal-header h3 {
    font-size: 1.1rem;
  }

  .service-option {
    font-size: 0.85rem;
    padding: 12px 14px;
  }
}

/* ============================================
   RESPONSIVE - CTA & FOOTER
   ============================================ */

@media (max-width: 1024px) {
  .cta-header h2 {
    font-size: 2.2rem;
  }

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

  .cta-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
  }

  .footer-content {
    grid-template-columns: repeat(2, 1fr);
    gap: 60px 50px;
  }

  .footer-brand-section {
    grid-column: span 1;
  }
}

@media (max-width: 768px) {
  .cta {
    padding: 60px 0;
    margin-top: 60px;
  }

  .cta-bg-top {
    width: 300px;
    height: 300px;
    top: -80px;
    right: -60px;
  }

  .cta-bg-bottom {
    width: 350px;
    height: 350px;
    bottom: -100px;
    left: -80px;
  }

  .cta-header {
    margin-bottom: 40px;
  }

  .cta-badge {
    font-size: 0.8rem;
    padding: 6px 14px;
  }

  .cta-header h2 {
    font-size: 1.8rem;
    margin-bottom: 16px;
  }

  .cta-header p {
    font-size: 0.95rem;
  }

  .cta-actions {
    gap: 12px;
    margin-bottom: 48px;
  }

  .cta-btn {
    padding: 14px 32px;
    font-size: 0.95rem;
    min-width: 150px;
  }

  .cta-stats {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .cta-stat-item {
    padding: 24px;
    border-left: none;
    border-bottom: 1px solid rgba(217, 119, 6, 0.15);
  }

  .cta-stat-item:last-child {
    border-bottom: none;
  }

  .footer {
    padding: 50px 0 20px;
    margin-top: -20px;
    padding-top: 70px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 48px 0;
    padding: 40px 0 30px;
  }

  .footer-brand-section {
    border-bottom: 1px solid rgba(217, 119, 6, 0.15);
    padding-bottom: 40px;
  }

  .footer-logo {
    font-size: 1.3rem;
  }

  .footer-logo svg {
    width: 40px;
    height: 40px;
  }

  .footer-section-title {
    font-size: 0.8rem;
    margin-bottom: 20px;
  }

  .footer-social-inline {
    gap: 12px;
  }

  .social-icon {
    width: 40px;
    height: 40px;
  }

  .social-icon svg {
    width: 22px;
    height: 22px;
  }

  .footer-divider {
    margin: 30px 0 0;
  }

  .footer-bottom {
    padding: 24px 0;
  }

  .footer-bottom-content {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .footer-copyright {
    font-size: 0.8rem;
  }

  .footer-legal {
    justify-content: center;
    gap: 20px;
  }

  .footer-legal a {
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
  .cta-header h2 {
    font-size: 1.6rem;
  }

  .cta-header p {
    font-size: 0.9rem;
  }

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

  .cta-btn {
    width: 100%;
    padding: 12px 24px;
    font-size: 0.9rem;
  }

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

  .cta-stat-label {
    font-size: 0.8rem;
  }

  .footer-content {
    gap: 40px 0;
    padding: 40px 0 20px;
  }

  .footer-brand-section {
    padding-bottom: 30px;
  }

  .footer-logo {
    font-size: 1.2rem;
    gap: 10px;
  }

  .footer-logo svg {
    width: 40px;
    height: 40px;
  }

  .footer-brand-description {
    font-size: 0.85rem;
  }

  .footer-social-inline {
    gap: 10px;
  }

  .social-icon {
    width: 40px;
    height: 40px;
  }

  .footer-section-title {
    font-size: 0.75rem;
    margin-bottom: 18px;
    padding-bottom: 10px;
  }

  .footer-links {
    gap: 12px;
  }

  .footer-links a {
    font-size: 0.85rem;
  }

  .footer-contact {
    gap: 18px;
  }

  .contact-label {
    font-size: 0.7rem;
  }

  .contact-value {
    font-size: 0.85rem;
  }

  .footer-divider {
    margin: 20px 0 0;
  }

  .footer-bottom {
    padding: 20px 0;
  }

  .footer-bottom-content {
    gap: 16px;
  }

  .footer-copyright {
    font-size: 0.75rem;
  }

  .footer-legal {
    gap: 16px;
  }

  .footer-legal a {
    font-size: 0.75rem;
  }
}

/* ============================================
   CTA SECTION (CALL TO ACTION)
   ============================================ */

.cta-section {
  position: relative;
  padding: 80px 0;
  background: linear-gradient(135deg, #ffffff 0%, #f0f9ff 100%);
  overflow: hidden;
  margin: 60px 0;
}

.cta-bg-decoration {
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(
    circle,
    rgba(234, 88, 12, 0.08) 0%,
    transparent 70%
  );
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.cta-wrapper {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  animation: fadeInUp 0.8s ease-out;
}

.cta-header {
  text-align: center;
  margin-bottom: 48px;
}

.cta-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: linear-gradient(
    135deg,
    rgba(234, 88, 12, 0.1) 0%,
    rgba(16, 185, 129, 0.08) 100%
  );
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 24px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #10b981;
  letter-spacing: 0.3px;
  margin-bottom: 20px;
  animation: slideUp 0.6s ease-out;
}

.badge-icon {
  font-size: 1.2rem;
}

.cta-header h2 {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.2;
  margin: 0 0 20px 0;
  color: #0f1729;
  letter-spacing: -0.5px;
  animation: slideUp 0.8s ease-out 0.1s both;
}

.cta-header p {
  font-size: 1.05rem;
  color: #6b7280;
  line-height: 1.7;
  max-width: 650px;
  margin: 0 auto;
  font-weight: 400;
  letter-spacing: 0.2px;
  animation: slideUp 0.8s ease-out 0.2s both;
}

/* Primary WhatsApp Action Button */
.cta-primary-action {
  text-align: center;
  margin-bottom: 48px;
  animation: slideUp 0.8s ease-out 0.3s both;
}

.whatsapp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 18px 48px;
  background: linear-gradient(135deg, #25d366 0%, #20ba5a 100%);
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 700;
  font-family: "Poppins", sans-serif;
  border: none;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  cursor: pointer;
  box-shadow: 0 12px 32px rgba(37, 211, 102, 0.25);
  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.3),
    transparent
  );
  transition: left 0.6s ease;
  z-index: 1;
}

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

.whatsapp-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 48px rgba(37, 211, 102, 0.35);
  background: linear-gradient(135deg, #20ba5a 0%, #1fb855 100%);
}

.whatsapp-btn svg {
  width: 28px;
  height: 28px;
  position: relative;
  z-index: 2;
}

.whatsapp-btn span {
  position: relative;
  z-index: 2;
}

.whatsapp-btn .btn-arrow {
  font-size: 1.3rem;
  transition: transform 0.3s ease;
  display: inline-block;
}

.whatsapp-btn:hover .btn-arrow {
  transform: translateX(4px);
}

/* Info Bar */
.cta-info-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
  padding: 24px;
  background: linear-gradient(
    135deg,
    rgba(16, 185, 129, 0.08) 0%,
    rgba(234, 88, 12, 0.05) 100%
  );
  border: 1px solid rgba(16, 185, 129, 0.15);
  border-radius: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
  animation: slideUp 0.8s ease-out 0.4s both;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  color: #0f1729;
  padding: 0 20px;
  flex: 1;
  min-width: 200px;
}

.info-icon {
  font-size: 1.3rem;
  display: inline-flex;
  align-items: center;
}

.info-item strong {
  color: #10b981;
  font-weight: 700;
}

.info-divider {
  width: 1px;
  height: 40px;
  background: rgba(16, 185, 129, 0.2);
}

/* Secondary Actions */
.cta-secondary {
  text-align: center;
  padding-top: 24px;
  animation: slideUp 0.8s ease-out 0.5s both;
}

.cta-secondary p {
  font-size: 0.95rem;
  color: #6b7280;
  margin-bottom: 16px;
}

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

.btn-secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  background: #ffffff;
  color: #0f1729;
  border: 2px solid #e5e7eb;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  font-family: "Poppins", sans-serif;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn-secondary-action:hover {
  border-color: #10b981;
  background: linear-gradient(
    135deg,
    rgba(16, 185, 129, 0.08) 0%,
    rgba(16, 185, 129, 0.04) 100%
  );
  color: #10b981;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(16, 185, 129, 0.15);
}

.btn-secondary-action .action-icon {
  font-size: 1.1rem;
}

.phone-action:hover {
  border-color: #ea580c;
  background: linear-gradient(
    135deg,
    rgba(234, 88, 12, 0.08) 0%,
    rgba(234, 88, 12, 0.04) 100%
  );
  color: #ea580c;
  box-shadow: 0 8px 20px rgba(234, 88, 12, 0.15);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .cta-section {
    padding: 60px 0;
  }

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

  .whatsapp-btn {
    padding: 16px 40px;
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  .cta-section {
    padding: 50px 0;
    margin: 40px 0;
  }

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

  .cta-header p {
    font-size: 0.95rem;
  }

  .whatsapp-btn {
    padding: 14px 32px;
    font-size: 0.95rem;
    width: 100%;
  }

  .cta-info-bar {
    flex-direction: column;
    gap: 12px;
    padding: 16px;
  }

  .info-item {
    padding: 12px 0;
    justify-content: center;
  }

  .info-divider {
    display: none;
  }

  .cta-secondary-buttons {
    gap: 12px;
  }

  .btn-secondary-action {
    flex: 1;
    min-width: 140px;
  }
}

@media (max-width: 480px) {
  .cta-section {
    padding: 40px 0;
    margin: 30px 0;
  }

  .cta-header h2 {
    font-size: 1.3rem;
  }

  .cta-header p {
    font-size: 0.85rem;
  }

  .cta-badge {
    font-size: 0.8rem;
    padding: 8px 16px;
  }

  .whatsapp-btn {
    padding: 12px 24px;
    font-size: 0.9rem;
    width: 100%;
    gap: 8px;
  }

  .whatsapp-btn svg {
    width: 24px;
    height: 24px;
  }

  .info-item {
    font-size: 0.8rem;
  }

  .cta-secondary p {
    font-size: 0.85rem;
  }

  .btn-secondary-action {
    padding: 10px 16px;
    font-size: 0.85rem;
  }
}

/* ============================================
   TRUST CAROUSEL SECTION - PREMIUM UX/UI REDESIGN
   ============================================ */

.trust-carousel-section {
  background: #ffffff;
  padding: 24px 0;
  overflow: hidden;
  position: relative;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

.trust-carousel {
  display: flex;
  align-items: center;
  width: max-content; /* Ensure container fits all items */
  animation: scroll-carousel 40s linear infinite; /* Slower for readability */
}

/* Pause on hover for better UX */
.trust-carousel:hover {
  animation-play-state: paused;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 40px;
  color: #374151; /* Dark gray for premium readability on white */
  font-family: "Montserrat", sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  white-space: nowrap;
}

/* Separator dot */
.trust-item::after {
  content: "•";
  position: absolute;
  right: 0;
  color: #14b8a6; /* Teal accent color */
  font-size: 1.2rem;
  transform: translateX(50%);
}

.trust-item svg {
  width: 28px;
  height: 28px;
  color: #14b8a6; /* Premium Teal Brand Color */
  flex-shrink: 0;
  filter: drop-shadow(0 2px 4px rgba(20, 184, 166, 0.2));
}

@keyframes scroll-carousel {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.trust-carousel-section::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 120px;
  background: linear-gradient(90deg, #ffffff 0%, rgba(255, 255, 255, 0) 100%);
  z-index: 10;
  pointer-events: none;
}

.trust-carousel-section::after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 120px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, #ffffff 100%);
  z-index: 10;
  pointer-events: none;
}

@media (max-width: 768px) {
  .trust-item {
    padding: 0 24px;
    font-size: 0.8rem;
    gap: 10px;
  }

  .trust-item svg {
    width: 22px;
    height: 22px;
  }

  .trust-carousel-section::before,
  .trust-carousel-section::after {
    width: 60px;
  }
}

/* ============================================
   VISUAL TESTIMONIES SECTION - NEW SECTION
   UX/UI OPTIMIZED WITH MODERN DESIGN
   ============================================ */

.visual-testimonies-section {
  background: linear-gradient(135deg, #0f766e 0%, #115e59 50%, #0d5a52 100%);
  padding: 80px 20px;
  overflow: hidden;
  position: relative;
}

.visual-testimonies-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(
      circle at 20% 50%,
      rgba(255, 255, 255, 0.05) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 50%,
      rgba(255, 255, 255, 0.03) 0%,
      transparent 50%
    );
  pointer-events: none;
  z-index: 1;
}

.visual-testimonies-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.visual-testimonies-title {
  text-align: center;
  margin-bottom: 60px;
  padding: 0 20px;
}

.visual-testimonies-title h2 {
  font-family: "Poppins", sans-serif;
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 900;
  color: #ffffff;
  line-height: 1.1;
  letter-spacing: -1px;
  margin: 0;
}

.visual-testimonies-title h2 span {
  background: linear-gradient(135deg, #14b8a6 0%, #06b6d4 100%);
  -webkit-background-clip: text;
  -moz-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.visual-testimonies-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  width: 100%;
}

.testimony-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 0;
  color: #ffffff;
  font-family: "Poppins", sans-serif;
  background: transparent;
  transition: all 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  text-align: center;
}

.testimony-icon {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(20, 184, 166, 0.3);
  border-radius: 20px;
  flex-shrink: 0;
  transition: all 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.testimony-icon svg {
  width: 44px;
  height: 44px;
  color: #ffffff;
  filter: drop-shadow(0 4px 12px rgba(20, 184, 166, 0.3));
  transition: all 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.testimony-text {
  font-size: clamp(1.3rem, 4vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.5px;
  background: linear-gradient(135deg, #ffffff 0%, #e0f2fe 100%);
  -webkit-background-clip: text;
  -moz-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
  margin: 0;
  transition: all 0.45s ease;
  max-width: 100%;
  word-break: break-word;
}

.testimony-card:hover {
  transform: translateY(-12px);
}

.testimony-card:hover .testimony-icon {
  background: rgba(20, 184, 166, 0.15);
  border-color: rgba(20, 184, 166, 0.6);
  box-shadow:
    0 20px 50px rgba(20, 184, 166, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.testimony-card:hover .testimony-icon svg {
  transform: scale(1.15) rotate(8deg);
  filter: drop-shadow(0 8px 20px rgba(20, 184, 166, 0.5));
}

.testimony-card:hover .testimony-text {
  background: linear-gradient(135deg, #14b8a6 0%, #06b6d4 100%);
  -webkit-background-clip: text;
  -moz-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: brightness(1.1);
}

@media (max-width: 1024px) {
  .visual-testimonies-section {
    padding: 60px 20px;
  }

  .visual-testimonies-title h2 {
    font-size: clamp(1.8rem, 4.5vw, 2.8rem);
  }

  .visual-testimonies-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
  }

  .testimony-icon {
    width: 72px;
    height: 72px;
  }

  .testimony-icon svg {
    width: 40px;
    height: 40px;
  }

  .testimony-text {
    font-size: clamp(1.2rem, 3.5vw, 1.9rem);
  }
}

@media (max-width: 768px) {
  .visual-testimonies-section {
    padding: 50px 16px;
  }

  .visual-testimonies-title {
    margin-bottom: 40px;
  }

  .visual-testimonies-title h2 {
    font-size: clamp(1.6rem, 4vw, 2.4rem);
  }

  .visual-testimonies-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
  }

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

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

  .testimony-text {
    font-size: clamp(1rem, 3vw, 1.6rem);
  }
}

@media (max-width: 480px) {
  .visual-testimonies-section {
    padding: 40px 14px;
  }

  .visual-testimonies-title {
    margin-bottom: 30px;
  }

  .visual-testimonies-title h2 {
    font-size: clamp(1.4rem, 3.5vw, 2rem);
  }

  .visual-testimonies-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .testimony-icon {
    width: 56px;
    height: 56px;
  }

  .testimony-icon svg {
    width: 32px;
    height: 32px;
  }

  .testimony-text {
    font-size: clamp(0.95rem, 2.5vw, 1.4rem);
  }
}

/* ============================================
   FEATURES SECTION - MODERN LAYOUT
   ============================================ */

.features {
  padding: 100px 20px;
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  position: relative;
  overflow: hidden;
}

.features::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(
    circle,
    rgba(217, 119, 6, 0.08) 0%,
    transparent 70%
  );
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
}

.features::after {
  content: "";
  position: absolute;
  bottom: -30%;
  left: -15%;
  width: 500px;
  height: 500px;
  background: radial-gradient(
    circle,
    rgba(16, 185, 129, 0.06) 0%,
    transparent 70%
  );
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
}

.features-container {
  max-width: 1300px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.features-content-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

/* Left Side - Image */
.features-image-side {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  animation: fadeInLeft 0.8s ease-out;
  width: 100%;
}

.features-image-box {
  width: 100%;
  max-width: 600px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  aspect-ratio: 3 / 4;
}

.features-image-box:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 80px rgba(217, 119, 6, 0.15);
}

.features-main-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

/* Certificados Section - PNG Images Premium Design */
.features-certificates {
  margin-top: 32px;
  padding: 24px 32px;
  background: white;
  border-radius: 16px;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.04);
  text-align: center;
}

.certificates-title {
  font-family: "Montserrat", sans-serif;
  font-size: 19px; /* +3px larger than base text */
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.certificates-grid {
  display: flex; /* Changed from grid to flex to center */
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.certificate-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  background: white;
  border-radius: 12px;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  /* Removed fixed dimensions to adapt to different logo shapes */
  height: 90px;
  min-width: 90px;
  width: auto;
  border: 1px solid rgba(0, 0, 0, 0.03);
}

.certificate-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 20px rgba(0, 0, 0, 0.06);
  border-color: rgba(20, 184, 166, 0.3); /* Teal accent on hover */
}

.certificate-item:hover .certificate-image {
  transform: scale(1.05);
  filter: grayscale(0%); /* Full color on hover */
}

.certificate-image {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: all 0.4s ease;
  filter: grayscale(100%) opacity(0.7); /* Professional muted look by default */
  mix-blend-mode: multiply; /* Better integration with white background */
}

/* Right Side - Content */
.features-text-side {
  animation: fadeInRight 0.8s ease-out;
}

.features-main-title {
  font-family: "Poppins", sans-serif;
  font-size: 2.8rem;
  font-weight: 800;
  color: #1f2937;
  margin-bottom: 20px;
  line-height: 1.2;
}

.features-main-title .highlight-text {
  background: linear-gradient(135deg, #d97706 0%, #ea580c 100%);
  -moz-background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.features-intro-text {
  font-family: "Poppins", sans-serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 16px;
  line-height: 1.5;
}

.features-description {
  font-family: "Poppins", sans-serif;
  font-size: 1rem;
  color: #6b7280;
  line-height: 1.7;
  margin-bottom: 40px;
}

.features-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.feature-item {
  display: flex;
  gap: 20px;
  padding: 20px 0;
  background: transparent;
  border-radius: 0;
  transition: all 0.3s ease;
  border: none;
  width: 100%;
  border-bottom: 1px solid rgba(217, 119, 6, 0.08);
}

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

.feature-item:hover {
  background: transparent;
  box-shadow: none;
  transform: translateX(8px);
}

.feature-item-icon {
  width: 32px;
  height: 32px;
  min-width: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border-radius: 0;
  color: #1fbc95;
  transition: all 0.3s ease;
  margin-right: 16px;
  flex-shrink: 0;
}

.feature-item:hover .feature-item-icon {
  background: transparent;
  transform: scale(1.15);
  color: #10b981;
}

.feature-item-icon svg {
  width: 122px;
  height: 92px;
}

.feature-item h4 {
  font-family: "Poppins", sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #1f2937;
  margin: 0 0 6px 0;
}

.feature-item p {
  font-family: "Poppins", sans-serif;
  font-size: 0.95rem;
  color: #6b7280;
  line-height: 1.5;
  margin: 0;
}

/* Responsive */
@media (max-width: 1200px) {
  .features {
    padding: 80px 20px;
  }

  .features-content-wrapper {
    gap: 40px;
  }

  .features-main-title {
    font-size: 2.4rem;
  }

  .certificates-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
  }

  .certificate-item {
    aspect-ratio: 1 / 1;
  }
}

@media (max-width: 1024px) {
  .features-content-wrapper {
    gap: 40px;
  }

  .features-main-title {
    font-size: 2.2rem;
  }

  .features-intro-text {
    font-size: 1.1rem;
  }

  .features-list {
    gap: 20px;
  }

  .feature-item {
    padding: 14px 0;
  }

  .certificates-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }

  .certificate-item {
    aspect-ratio: 1 / 1;
  }
}

@media (max-width: 768px) {
  .features {
    padding: 60px 16px;
  }

  .features-content-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .features-image-side {
    order: 2;
    padding: 0 24px;
  }

  .features-text-side {
    order: 1;
    padding: 0 16px;
  }

  .features-image-box {
    max-width: 100%;
    aspect-ratio: 3 / 4;
  }

  .features-main-title {
    font-size: 1.8rem;
  }

  .features-intro-text {
    font-size: 1rem;
  }

  .features-description {
    font-size: 0.95rem;
  }

  .features-list {
    gap: 16px;
  }

  .feature-item {
    padding: 16px 0;
    gap: 14px;
  }

  .feature-item-icon {
    width: 28px;
    height: 28px;
    min-width: 28px;
    margin-right: 14px;
  }

  .feature-item-icon svg {
    width: 28px;
    height: 28px;
  }

  .feature-item h4 {
    font-size: 1rem;
  }

  .feature-item p {
    font-size: 0.9rem;
  }

  .features-certificates {
    margin-top: 28px;
    padding: 16px 0;
    background: transparent;
    backdrop-filter: none;
  }

  .certificates-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }

  .certificate-item {
    aspect-ratio: 1 / 1;
  }

  .certificate-image {
    max-width: 90px;
  }
}

@media (max-width: 480px) {
  .features {
    padding: 50px 12px;
  }

  .features-image-side {
    padding: 0 16px;
  }

  .features-text-side {
    padding: 0 12px;
  }

  .features-main-title {
    font-size: 1.5rem;
  }

  .features-intro-text {
    font-size: 0.95rem;
  }

  .features-description {
    font-size: 0.9rem;
    margin-bottom: 30px;
  }

  .features-list {
    gap: 12px;
  }

  .feature-item {
    padding: 14px 0;
  }

  .feature-item-icon {
    width: 24px;
    height: 24px;
    min-width: 24px;
    margin-right: 12px;
  }

  .feature-item-icon svg {
    width: 24px;
    height: 24px;
  }

  .feature-item p {
    font-size: 0.85rem;
  }

  .features-certificates {
    margin-top: 24px;
    padding: 16px 0;
    background: transparent;
    backdrop-filter: none;
  }

  .certificates-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }

  .certificate-item {
    aspect-ratio: 1 / 1;
  }

  .certificate-image {
    max-width: 70px;
  }
}

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

/* ============================================
   SERVICES SECTION - PREMIUM DESIGN WITH BG IMAGE
   ============================================ */

.services {
  padding: 80px 0;
  position: relative;
  overflow: hidden;
  min-height: 700px;
  display: flex;
  align-items: center;
}

/* Background Layer - Optimized */
.services-bg-image {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("img/perro-feliz.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}

/* No Overlay - Clear Image */
.services-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: transparent;
  z-index: 1;
}

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

.section-header {
  text-align: center;
  margin-bottom: 60px;
  animation: fadeInDown 0.6s ease-out;
}

.section-header h2 {
  font-family: "Montserrat", sans-serif;
  font-size: 3.5rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 20px;
  letter-spacing: -1.2px;
  line-height: 1.1;
  text-transform: uppercase;
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.services-title-gradient {
  color: #14b8a6;
  display: inline-block;
  font-weight: 900;
}

.testimonials-title-gradient {
  background: linear-gradient(135deg, #25d366, #1b8f6e);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-header p {
  font-size: 1.55rem;
  color: #ffffff;
  font-weight: 700;
  font-family: "Poppins", sans-serif;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
  text-shadow:
    -1px -1px 0 rgba(15, 118, 110, 0.4),
    1px -1px 0 rgba(15, 118, 110, 0.4),
    -1px 1px 0 rgba(15, 118, 110, 0.4),
    1px 1px 0 rgba(15, 118, 110, 0.4);
}

/* Services Grid - 3 Columns + Right Content */
.services-container {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 48px;
  align-items: start;
}

/* Left Side - Service Cards Grid */
.services-cards {
  grid-column: 1;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 260px);
  gap: 24px;
  animation: fadeInUp 0.8s ease-out;
  justify-content: center;
}

/* Stagger animation for cards */
.service-card-modern {
  animation: slideUpFade 0.6s ease-out backwards;
}

.service-card-modern:nth-child(1) {
  animation-delay: 0.1s;
}
.service-card-modern:nth-child(2) {
  animation-delay: 0.2s;
}
.service-card-modern:nth-child(3) {
  animation-delay: 0.3s;
}
.service-card-modern:nth-child(4) {
  animation-delay: 0.4s;
}
.service-card-modern:nth-child(5) {
  animation-delay: 0.5s;
}
.service-card-modern:nth-child(6) {
  animation-delay: 0.6s;
}
.service-card-modern:nth-child(7) {
  animation-delay: 0.7s;
}
.service-card-modern:nth-child(8) {
  animation-delay: 0.8s;
}
.service-card-modern:nth-child(9) {
  animation-delay: 0.9s;
}
.service-card-modern:nth-child(10) {
  animation-delay: 1s;
}
.service-card-modern:nth-child(11) {
  animation-delay: 1.1s;
}
.service-card-modern:nth-child(12) {
  animation-delay: 1.2s;
}

/* Modern Service Card */
.service-card-modern {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 18px 14px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.8);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  width: 260px;
  height: 280px;
  justify-content: space-between;
}

.service-card-modern::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(31, 188, 149, 0.05) 0%,
    rgba(16, 185, 129, 0.02) 100%
  );
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
  z-index: 0;
  border-radius: 16px;
}

.service-card-modern::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #1fbc95 0%, #10b981 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  border-radius: 2px;
}

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

.service-card-modern:hover::after {
  transform: scaleX(1);
}

.service-card-modern:hover {
  background: rgba(255, 255, 255, 0.98);
  border-color: rgba(31, 188, 149, 0.3);
  transform: translateY(-16px);
  box-shadow:
    0 20px 48px rgba(31, 188, 149, 0.2),
    0 8px 16px rgba(0, 0, 0, 0.1);
}

.service-card-modern > * {
  position: relative;
  z-index: 1;
}

/* Card Icon */
.card-icon {
  width: 70px;
  height: 70px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  background: linear-gradient(
    135deg,
    rgba(31, 188, 149, 0.1) 0%,
    rgba(16, 185, 129, 0.05) 100%
  );
  border-radius: 12px;
}

.card-icon::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: 12px;
  box-shadow: inset 0 0 20px rgba(31, 188, 149, 0.08);
}

.card-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  max-width: 65px;
  max-height: 65px;
}

.service-card-modern:hover .card-icon {
  transform: scale(1.12) translateY(-6px);
  background: linear-gradient(
    135deg,
    rgba(31, 188, 149, 0.15) 0%,
    rgba(16, 185, 129, 0.1) 100%
  );
}

/* Card Title */
.service-card-modern h3 {
  font-family: "Montserrat", sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #111827;
  margin: 0 0 12px 0;
  letter-spacing: -0.4px;
  transition: all 0.4s ease;
  line-height: 1.3;
}

.service-card-modern:hover h3 {
  color: #14b8a6;
}

/* Card Description */
.service-card-modern p {
  font-family: "Lato", sans-serif;
  font-size: 0.95rem;
  color: #4b5563;
  line-height: 1.6;
  margin: 0;
  transition: all 0.4s ease;
  font-weight: 400;
  letter-spacing: 0.2px;
}

.service-card-modern:hover p {
  color: #5a6370;
}

/* Right Column: Content and Benefits */
.services-content {
  grid-column: 2;
  grid-row: 1;
  padding: 48px;
  background: linear-gradient(135deg, #ffffff 0%, #fafbfc 100%);
  border: 2px solid #e5e7eb;
  border-radius: 16px;
  position: sticky;
  top: 100px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  transition: all 0.4s ease;
}

.services-content:hover {
  border-color: #10b981;
  box-shadow: 0 12px 32px rgba(16, 185, 129, 0.12);
}

.services-content h2 {
  font-family: "Montserrat", sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  color: #111827;
  margin: 0 0 24px 0;
  letter-spacing: -0.8px;
  line-height: 1.1;
}

.services-content h2 .text-highlight {
  color: #14b8a6;
  font-weight: 900;
  display: inline;
}

.services-content > p {
  font-family: "Lato", sans-serif;
  font-size: 1.05rem;
  color: #4b5563;
  line-height: 1.7;
  margin: 0 0 32px 0;
  font-weight: 400;
}

/* Benefits List */
.benefits-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.benefits-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 0.95rem;
  transition:
    transform 0.3s ease,
    padding 0.3s ease;
}

.benefits-list li:hover {
  transform: translateX(4px);
}

.benefit-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  min-width: 28px;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff;
  border-radius: 50%;
  font-weight: 950;
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 0px;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.28);
  transition: all 0.3s ease;
}

.benefits-list li:hover .benefit-icon {
  transform: scale(1.15);
  box-shadow: 0 6px 16px rgba(16, 185, 129, 0.35);
}

.benefits-list li span:last-child {
  color: #4b5563;
  line-height: 1.6;
  font-weight: 500;
}

/* Responsive Design */
@media (max-width: 1200px) {
  .services-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .services-grid {
    grid-template-columns: repeat(3, 260px);
    gap: 22px;
    justify-content: center;
  }

  .services-cards {
    grid-column: 1;
    display: grid;
  }

  .services-content {
    grid-column: 1;
    grid-row: auto;
    position: static;
  }
}

@media (max-width: 1024px) {
  .services-container {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .services-grid {
    grid-template-columns: repeat(2, 260px);
    gap: 20px;
    justify-content: center;
  }

  .services-cards {
    display: grid;
  }

  .service-card-modern {
    width: 260px;
    height: 280px;
  }
}

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

  .services-container {
    gap: 32px;
  }

  .services-cards {
    display: grid;
    justify-items: center;
    width: 100%;
  }

  .services-grid {
    grid-template-columns: 260px;
    gap: 16px;
    justify-content: center;
    width: 100%;
    place-items: center;
  }

  .service-card-modern {
    padding: 18px 14px;
    width: 260px;
    height: 280px;
  }

  .card-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 12px;
  }

  .service-card-modern h3 {
    font-size: 1rem;
  }

  .service-card-modern p {
    font-size: 0.85rem;
  }

  .services-content {
    padding: 32px;
  }

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

  .section-header h2 {
    font-size: 2.2rem;
  }
}
.service-card-inner {
  padding: 20px;
  min-height: 200px;
}

.card-content h3 {
  font-size: 1.1rem;
}

.card-content p {
  font-size: 0.85rem;
}

/* Old service styles - DEPRECATED (kept for reference, can be removed) */
/* All deprecated service styles have been removed and replaced with premium design */

/* ============================================
   RESPONSIVE MEDIA QUERIES - GLOBAL
   ============================================ */

@media (max-width: 768px) {
  .card-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 20px;
  }

  .card-icon svg {
    width: 44px;
    height: 44px;
  }

  .service-card-modern h3 {
    font-size: 1.1rem;
  }

  .service-card-modern p {
    font-size: 0.85rem;
  }

  .services-content {
    padding: 32px;
  }

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

  .services-content > p {
    font-size: 0.9rem;
  }

  .benefits-list {
    gap: 16px;
  }

  .benefit-icon {
    width: 26px;
    height: 26px;
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .services {
    padding: 40px 0;
  }

  .services-container {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .services-grid {
    grid-template-columns: 260px;
    gap: 12px;
    justify-content: center;
    width: 100%;
    place-items: center;
  }

  .services-cards {
    display: grid;
    justify-items: center;
    width: 100%;
  }

  .service-card-modern {
    padding: 18px 14px;
    width: 260px;
    height: 280px;
  }

  .service-card-modern h3 {
    font-size: 0.95rem;
    margin-bottom: 6px;
  }

  .service-card-modern p {
    font-size: 0.75rem;
    line-height: 1.3;
  }

  .card-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 10px;
  }

  .card-icon svg {
    width: 40px;
    height: 40px;
  }

  .services-content {
    padding: 24px;
  }

  .services-content h2 {
    font-size: 1.4rem;
    margin-bottom: 16px;
  }

  .services-content > p {
    font-size: 0.85rem;
    margin-bottom: 24px;
  }

  .benefits-list {
    gap: 14px;
  }

  .benefits-list li {
    gap: 12px;
    font-size: 0.85rem;
  }

  .benefit-icon {
    width: 24px;
    height: 24px;
    font-size: 0.8rem;
  }

  .benefits-list li span:last-child {
    font-size: 0.85rem;
  }
}

.service-content h3 {
  font-family: "Poppins", sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: #0f1b2e;
  margin: 0;
}

.service-description {
  color: #6b7280;
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

.service-features-modern {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  color: #374151;
}

.feature-check {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, #d97706 0%, #ea580c 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 900;
  flex-shrink: 0;
}

.service-card.featured .feature-check {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.service-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding-top: 20px;
  border-top: 1px solid #e5e7eb;
}

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

.stat-value {
  font-family: "Poppins", sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #d97706;
}

.service-card.featured .stat-value {
  color: #10b981;
}

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

.service-btn {
  padding: 14px 24px;
  background: linear-gradient(90deg, #d97706 0%, #ea580c 100%);
  background-size: 200% 200%;
  color: #ffffff;
  border: none;
  border-radius: 12px;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: auto;
  position: relative;
  overflow: hidden;
  will-change: transform, box-shadow;
  box-shadow: 0 8px 20px rgba(217, 119, 6, 0.3);
}

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

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

.service-btn:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 16px 40px rgba(217, 119, 6, 0.45);
  background-position: 100% 0;
  background: linear-gradient(90deg, #cc6600 0%, #d97706 100%);
}

.service-btn:active {
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 10px 25px rgba(217, 119, 6, 0.35);
}

.service-btn.primary {
  background: linear-gradient(90deg, #10b981 0%, #059669 100%);
  box-shadow: 0 8px 20px rgba(16, 185, 129, 0.3);
}

.service-btn.primary:hover {
  background: linear-gradient(90deg, #059669 0%, #047857 100%);
  box-shadow: 0 16px 40px rgba(16, 185, 129, 0.4);
}

/* Animación de entrada con Intersection Observer */
.animate-in {
  opacity: 1 !important;
  transform: none !important;
  animation: fadeInUp 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) both !important;
}

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

.testimonials {
  /* Estilos básicos - todo lo demás viene de testimonials-swiper.css */
  position: relative;
  width: 100%;
}

.testimonials .container {
  max-width: 100% !important;
  margin: 0 auto !important;
  padding: 0 !important;
  width: 100% !important;
}

.testimonials .section-header {
  text-align: center;
  margin-bottom: 50px;
  position: relative;
  z-index: 2;
  padding: 0 20px;
}

.testimonials .section-header h2 {
  font-size: 2.5rem;
  color: #1a1a1a;
  margin-bottom: 15px;
  font-weight: 700;
}

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

/* Estas clases antiguas deben estar ocultas */
.testimonials-grid {
  display: none !important;
}

.testimonials-carousel-wrapper {
  display: none !important;
}

.testimonials-carousel {
  display: none !important;
}

.carousel-control {
  display: none !important;
}

.carousel-indicators {
  display: none !important;
}

.carousel-control {
  width: 44px;
  height: 44px;
  font-size: 24px;
}

.carousel-control.carousel-prev,
.carousel-control.carousel-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

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

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

.carousel-indicators {
  gap: 10px;
  margin-top: 32px;
}

.indicator {
  width: 10px;
  height: 10px;
}

.indicator.active {
  width: 30px;
}

.author-avatar {
  width: 52px;
  height: 52px;
}

.author-name {
  font-size: 0.95rem;
}

.author-pet {
  font-size: 0.85rem;
}

/* ============================================
   VIDEO TESTIMONIALS SECTION - REMOVED (HTML section deleted)
   ============================================ */
/* This section CSS has been removed as the HTML element was deleted */

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

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

  .footer-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-social {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .footer-section h4 {
    font-size: 0.95rem;
  }

  .footer-bottom-content {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .footer-credits {
    justify-content: center;
    gap: 8px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .footer-social-section {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    text-align: left;
  }

  .footer-bottom-right {
    width: 100%;
    justify-content: flex-start;
  }

  .footer {
    padding: 48px 0 24px;
  }

  .header-wrapper {
    padding: 12px 20px;
    gap: 12px;
  }

  .logo {
    font-size: 1.1rem;
    gap: 8px;
  }

  .logo svg {
    width: 32px;
    height: 32px;
  }

  .nav {
    display: none;
  }

  .header-actions .btn-primary {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .hero {
    padding: 40px 0;
    margin-top: 80px;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

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

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

  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

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

  .section-header h2 {
    font-size: 2.2rem;
    margin-bottom: 12px;
  }

  .section-header p {
    font-size: 1.3rem;
    max-width: 100%;
  }

  .features-grid,
  .services-grid,
  .gallery-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .features {
    padding: 50px 0;
  }

  .services {
    padding: 50px 0;
  }

  .gallery {
    padding: 50px 0;
  }

  .testimonials {
    padding: 50px 0;
  }

  .cta {
    padding: 50px 0;
  }

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

  .contact {
    padding: 50px 0;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
}

@media (max-width: 480px) {
  .hero-text h1 {
    font-size: 1.8rem;
  }

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

  .hero-buttons {
    gap: 12px;
  }

  .btn {
    padding: 7px 14px;
    font-size: 0.7rem;
  }

  .btn-lg {
    padding: 7px 14px;
    font-size: 0.7rem;
  }

  .hero-stats {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .section-header h2 {
    font-size: 1.8rem;
    margin-bottom: 10px;
  }

  .section-header p {
    font-size: 1.15rem;
  }

  .feature-card h3 {
    font-size: 1.1rem;
  }

  .service-card h3 {
    font-size: 1rem;
  }

  .service-header {
    gap: 10px;
  }

  .service-icon {
    font-size: 2rem;
  }

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

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

  .footer-content {
    gap: 25px;
  }

  .footer-logo {
    font-size: 1.1rem;
  }
}

/* ============================================
   SMOOTH ANIMATIONS & TRANSITIONS
   ============================================ */

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ============================================
   ANIMATION CLASSES
   ============================================ */

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

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

.in-view {
  animation: fadeInUp 0.6s ease-out;
}

/* Footer Responsive Design */
@media (max-width: 1024px) {
  .footer-top {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-columns {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .footer {
    padding: 50px 0 30px;
    margin-top: -20px;
    padding-top: 70px;
  }

  .footer-columns {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-column-title::after {
    width: 25px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-bottom-links {
    gap: 20px;
    flex-wrap: wrap;
  }
}

@media (max-width: 480px) {
  .footer {
    padding: 50px 0 25px;
    margin-top: -15px;
    padding-top: 60px;
  }

  .footer-top {
    gap: 30px;
  }

  .footer-columns {
    gap: 25px;
  }

  .footer-column-title {
    font-size: 0.9rem;
    margin-bottom: 15px;
  }

  .footer-links {
    gap: 10px;
  }

  .footer-links a {
    font-size: 0.9rem;
  }

  .footer-bottom p {
    font-size: 0.8rem;
  }
}

/* ============================================
   CTA SECTION - PREMIUM DESIGN (Text-based) TESTIMONIOS visuales
   ============================================ */

/* ============================================
   CTA SECTION PREMIUM - VISUAL STORIES COLLAGE
   UX/UI PROFESSIONAL DESIGN
   ============================================ */

.cta-section-premium {
  position: relative;
  padding: 100px 20px;
  background: transparent;
  overflow: hidden;
}

.cta-section-premium::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(
    circle,
    rgba(20, 184, 166, 0.08) 0%,
    transparent 70%
  );
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.cta-section-premium::after {
  content: "";
  position: absolute;
  bottom: -30%;
  left: -5%;
  width: 500px;
  height: 500px;
  background: radial-gradient(
    circle,
    rgba(15, 118, 110, 0.06) 0%,
    transparent 70%
  );
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.cta-section-premium .cta-premium-container {
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
}

.cta-section-premium .cta-title-main {
  text-align: center;
  margin-bottom: 60px;
  position: relative;
  z-index: 1;
  padding: 0 20px;
}

.cta-section-premium .cta-title-main h2 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 900;
  color: #0f2e2e;
  line-height: 1.15;
  font-family: "Poppins", sans-serif;
  letter-spacing: -1px;
  margin: 0 0 16px 0;
}

.cta-section-premium .cta-title-highlight {
  background: linear-gradient(135deg, #0f766e 0%, #14b8a6 100%);
  -webkit-background-clip: text;
  -moz-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 900;
}

.cta-section-premium .cta-subtitle {
  font-family: "Poppins", sans-serif;
  font-size: clamp(1rem, 2.5vw, 1.4rem);
  font-weight: 600;
  color: #115e59;
  letter-spacing: 0.3px;
  margin: 0;
  line-height: 1.4;
}

/* CTA Stories Grid - Historias Visuales */
.cta-section-premium .cta-stories-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 2px;
  position: relative;
  z-index: 1;
  margin-bottom: 60px;
  align-items: stretch;
  max-width: 100%;
  background: #e5e7eb;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}

.cta-section-premium .story-card {
  position: relative;
  border-radius: 0;
  overflow: hidden;
  box-shadow: none;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 280px;
  background: white;
  perspective: 1000px;
}

.cta-section-premium .story-card:hover {
  box-shadow: inset 0 0 30px rgba(20, 184, 166, 0.15);
}

/* Story Hero - Imagen Principal (Dra. Fran) */
.cta-section-premium .story-hero {
  grid-column: 1 / 2;
  grid-row: 1 / 3;
  min-height: auto;
  aspect-ratio: 1 / 1;
  background: white;
  padding: 0;
  margin: 0;
}

.cta-section-premium .story-hero .story-image {
  width: 100%;
  height: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  background: #f9fafb;
  flex: 1;
}

.cta-section-premium .story-hero .story-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: 0% 50%;
  padding: 0;
  background: white;
  filter: brightness(1.02) contrast(1.08) saturate(1.1);
  transition: all 0.4s ease;
  display: block;
}

.cta-section-premium .story-card:hover .story-hero .story-image img {
  filter: brightness(1.08) contrast(1.12) saturate(1.15);
}

/* Story Text - Información Principal (Verde) */
.cta-section-premium .story-text {
  grid-column: 2 / 3;
  grid-row: 1 / 3;
  background: linear-gradient(135deg, #115e59 0%, #0f766e 100%);
  color: white;
  padding: 40px 35px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: auto;
  aspect-ratio: 1 / 1;
  position: relative;
  overflow: hidden;
  max-width: 100%;
  box-sizing: border-box;
  box-shadow:
    inset 0 0 40px rgba(20, 184, 166, 0.08),
    0 8px 20px rgba(15, 118, 110, 0.2);
}

.cta-section-premium .story-text::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -30%;
  width: 300px;
  height: 300px;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.08) 0%,
    transparent 70%
  );
  border-radius: 50%;
  pointer-events: none;
  animation: subtle-glow 6s ease-in-out infinite;
}

@keyframes subtle-glow {
  0%,
  100% {
    opacity: 0.8;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.05);
  }
}

.cta-section-premium .story-badge {
  display: inline-block;
  background: rgba(20, 184, 166, 0.25);
  color: white;
  padding: 8px 14px;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  width: fit-content;
  margin-bottom: 16px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  font-family: "Poppins", sans-serif;
}

.cta-section-premium .story-text h3 {
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  font-weight: 800;
  margin: 0 0 18px 0;
  color: white;
  font-family: "Poppins", sans-serif;
  line-height: 1.2;
  letter-spacing: -0.4px;
}

.cta-section-premium .story-text p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.95);
  margin: 0 0 14px 0;
  text-align: left;
  font-weight: 500;
  letter-spacing: 0.2px;
  font-family: "Inter", sans-serif;
  word-break: break-word;
  overflow-wrap: break-word;
}

.cta-section-premium .story-text p:last-of-type {
  margin-bottom: 0;
  font-style: italic;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 14px;
  margin-top: 8px;
}

.cta-section-premium .story-text strong {
  font-weight: 800;
  color: #14b8a6;
  font-size: 0.95rem;
  letter-spacing: 0.3px;
}

/* Story Image Card - Mascotas Blancas */
.cta-section-premium .story-image-card {
  grid-column: 3 / 4;
  grid-row: 1 / 2;
  background: white;
  display: flex;
  flex-direction: column;
  min-height: auto;
  aspect-ratio: 1 / 1;
  border-radius: 0;
  padding: 0;
  margin: 0;
}

.cta-section-premium .story-image-card .story-image {
  width: 100%;
  height: 100%;
  overflow: hidden;
  flex: 1;
}

.cta-section-premium .story-image-card .story-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  padding: 0;
  background: white;
  transition: all 0.4s ease;
}

.cta-section-premium .story-image-card:hover .story-image img {
  filter: brightness(1.05) saturate(1.08);
}

/* Story Highlight - Mascotas con colores */
.cta-section-premium .story-highlight {
  display: flex;
  flex-direction: column;
  min-height: auto;
  aspect-ratio: 1 / 1;
  background: white;
  padding: 0;
  margin: 0;
}

.cta-section-premium .story-highlight.story-yellow {
  grid-column: 4 / 5;
  grid-row: 2 / 3;
}

.cta-section-premium .story-highlight.story-orange {
  grid-column: 3 / 4;
  grid-row: 2 / 3;
}

.cta-section-premium .story-highlight.story-gray {
  grid-column: 4 / 5;
  grid-row: 1 / 3;
  aspect-ratio: 3 / 6;
}

.cta-section-premium .story-highlight .story-image {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #f3f4f6;
  flex: 1;
}

.cta-section-premium .story-highlight .story-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  padding: 0;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.cta-section-premium .story-highlight:hover .story-image img {
  filter: brightness(1.08) saturate(1.12)
    drop-shadow(0 8px 16px rgba(0, 0, 0, 0.15));
}

/* Colores específicos para cada mascota */
.cta-section-premium .story-yellow .story-image {
  background: #fbbf24;
}

.cta-section-premium .story-orange .story-image {
  background: #ff7a5c;
}

.cta-section-premium .story-gray .story-image {
  background: #9ca3af;
}

/* Doctor Review Section */
.cta-section-premium .doctor-review {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.97) 0%,
    rgba(245, 250, 248, 0.97) 100%
  );
  padding: 40px 40px;
  border-radius: 16px;
  max-width: 700px;
  margin: 0 auto;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(20, 184, 166, 0.15);
  backdrop-filter: blur(10px);
  position: relative;
  z-index: 1;
}

.cta-section-premium .review-header {
  margin-bottom: 20px;
}

.cta-section-premium .review-header h4 {
  font-size: clamp(1.2rem, 3vw, 1.5rem);
  font-weight: 800;
  color: #0f766e;
  margin: 0 0 4px 0;
  font-family: "Poppins", sans-serif;
  letter-spacing: -0.3px;
}

.cta-section-premium .review-title {
  font-size: 0.85rem;
  color: #14b8a6;
  font-weight: 700;
  margin: 0;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-family: "Poppins", sans-serif;
}

.cta-section-premium .review-text {
  font-size: 0.95rem;
  line-height: 1.8;
  color: #374151;
  margin: 0;
  font-style: italic;
  letter-spacing: 0.2px;
  font-family: "Inter", sans-serif;
}

.cta-section-premium .cta-actions-bottom {
  text-align: center;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: center;
  padding: 0;
  background: transparent;
}

.cta-section-premium .cta-premium-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 40px;
  background: linear-gradient(135deg, #0f766e 0%, #14b8a6 100%);
  background-size: 200% 200%;
  color: white;
  border: none;
  border-radius: 50px;
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  font-weight: 700;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow:
    0 12px 35px rgba(15, 118, 110, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.25),
    0 0 0 0 rgba(165, 243, 252, 0.3);
  font-family: "Poppins", sans-serif;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  letter-spacing: 0.5px;
  animation: buttonPulse 3s ease-in-out infinite;
  z-index: 1;
}

.cta-section-premium .cta-premium-btn::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent 0%,
    rgba(255, 255, 255, 0.3) 50%,
    transparent 100%
  );
  transform: rotate(45deg);
  animation: shine 4s infinite;
  pointer-events: none;
}

.cta-section-premium .cta-premium-btn:hover {
  background: linear-gradient(135deg, #115e59 0%, #0f766e 100%);
  background-position: 100% 0;
  transform: translateY(-6px) scale(1.03);
  box-shadow:
    0 18px 50px rgba(15, 118, 110, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.35),
    0 0 20px rgba(165, 243, 252, 0.6);
  filter: brightness(1.12);
  letter-spacing: 0.7px;
}

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

.cta-section-premium .cta-premium-btn:active {
  transform: translateY(-3px) scale(1.01);
  box-shadow:
    0 10px 25px rgba(15, 118, 110, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.cta-section-premium .cta-premium-btn i {
  font-size: 1.3rem;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.cta-section-premium .cta-premium-btn:hover i {
  transform: scale(1.15);
}

.cta-section-premium .cta-premium-btn .btn-arrow {
  font-size: 1.2rem;
  font-weight: 700;
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: inline-block;
  margin-left: 4px;
}

.cta-section-premium .cta-premium-btn:hover .btn-arrow {
  transform: translateX(10px) scale(1.3);
  color: #a5f3fc;
  text-shadow: 0 0 10px rgba(165, 243, 252, 0.8);
}

/* ============================================
   RESPONSIVE DESIGN - CTA PREMIUM SECTION
   ============================================ */

@media (max-width: 1200px) {
  .cta-section-premium {
    padding: 80px 20px;
  }

  .cta-section-premium .cta-title-main {
    margin-bottom: 50px;
  }

  .cta-section-premium .cta-stories-grid {
    margin-bottom: 50px;
  }

  .cta-section-premium .story-text {
    padding: 35px 28px;
  }

  .cta-section-premium .story-text h3 {
    font-size: 1.5rem;
    margin-bottom: 14px;
  }

  .cta-section-premium .story-text p {
    font-size: 0.85rem;
    line-height: 1.6;
  }
}

@media (max-width: 1024px) {
  .cta-section-premium .cta-stories-grid {
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: auto auto auto;
    gap: 1px;
  }

  .cta-section-premium .story-hero {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
    aspect-ratio: 1 / 1;
    min-height: 320px;
  }

  .cta-section-premium .story-hero .story-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: 0% 50%;
    display: block;
  }

  .cta-section-premium .story-text {
    grid-column: 2 / 4;
    grid-row: 1 / 2;
    aspect-ratio: auto;
    padding: 32px 28px;
  }

  .cta-section-premium .story-image-card {
    grid-column: 1 / 2;
    grid-row: 2 / 3;
    aspect-ratio: 1 / 1;
  }

  .cta-section-premium .story-highlight.story-yellow {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
    aspect-ratio: 1 / 1;
  }

  .cta-section-premium .story-highlight.story-orange {
    grid-column: 3 / 4;
    grid-row: 2 / 3;
    aspect-ratio: 1 / 1;
  }

  .cta-section-premium .story-highlight.story-gray {
    grid-column: 1 / 3;
    grid-row: 3 / 4;
    aspect-ratio: 2 / 1;
  }

  .cta-section-premium .story-card {
    min-height: 200px;
  }
}

@media (max-width: 768px) {
  .cta-section-premium {
    padding: 60px 16px;
  }

  .cta-section-premium .cta-title-main {
    margin-bottom: 40px;
  }

  /* Grid de 2 columnas para Móvil/Tablet Portrait - Ajuste de proporciones */
  .cta-section-premium .cta-stories-grid {
    grid-template-columns: 55% 45%;
    grid-template-rows: auto auto auto auto;
    margin-bottom: 40px;
    gap: 0;
  }

  /* FILA 1: Doctora (Mantener lado a lado) */
  .cta-section-premium .story-hero {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
    aspect-ratio: 9 / 19; /* Formato vertical para móviles */
    min-height: auto;
    height: auto;
    background-color: #f0f0f0;
    overflow: hidden;
  }

  .cta-section-premium .story-hero .story-image {
    width: 100%;
    height: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .cta-section-premium .story-hero .story-image img {
    /* Forcing styles with !important to override any potential conflicts */
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    object-fit: cover !important;
    /* Move focus to the right side of the image (100% x) to show the person */
    object-position: 90% 20% !important;
    transform: none !important;
    display: block !important;
    padding: 0 !important;
    margin: 0 !important;
  } /* FILA 2: Texto (Mantener lado a lado) */
  .cta-section-premium .story-text {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
    padding: 24px 16px;
    aspect-ratio: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .cta-section-premium .story-text h3 {
    font-size: 1.1rem;
    margin-bottom: 12px;
    line-height: 1.3;
  }

  .cta-section-premium .story-text p {
    font-size: 0.75rem;
    line-height: 1.4;
    margin-bottom: 12px;
  }

  /* FILA 3: Animales pequeños lado a lado */
  .cta-section-premium .story-image-card {
    grid-column: 1 / 2;
    grid-row: 3 / 4;
    aspect-ratio: 1 / 1;
  }

  .cta-section-premium .story-image-card .story-image {
    width: 100%;
    height: 100%;
    overflow: hidden;
  }

  .cta-section-premium .story-image-card .story-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
  }

  .cta-section-premium .story-highlight {
    aspect-ratio: 1 / 1;
  }

  .cta-section-premium .story-highlight .story-image {
    width: 100%;
    height: 100%;
    overflow: hidden;
  }

  .cta-section-premium .story-highlight .story-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
  }

  .cta-section-premium .story-highlight.story-yellow {
    grid-column: 2 / 3;
    grid-row: 3 / 4;
    aspect-ratio: 1 / 1;
  }

  /* FILA 4: Animales pequeños */
  .cta-section-premium .story-highlight.story-orange {
    grid-column: 1 / 2;
    grid-row: 4 / 5;
    aspect-ratio: 1 / 1;
  }

  .cta-section-premium .story-highlight.story-gray {
    grid-column: 2 / 3;
    grid-row: 4 / 5;
    aspect-ratio: 1 / 1;
  }

  .cta-section-premium .doctor-review {
    padding: 30px 24px;
    border-radius: 12px;
  }

  .cta-section-premium .review-header h4 {
    font-size: 1.2rem;
  }

  .cta-section-premium .cta-premium-btn {
    padding: 12px 32px;
    font-size: 0.95rem;
  }
}

/* ...merged into previous media query... */

/* ============================================
   SCROLLYTELLING CINEMATOGRÁFICO 3D
   ============================================ */

.scrollytelling-cinema {
  position: relative;
  min-height: 400vh;
  background: linear-gradient(135deg, #f5f7fa 0%, #e9ecef 50%, #dfe5e9 100%);
  overflow: hidden;
}

.scrollytelling-container {
  position: sticky;
  top: 0;
  height: 100vh;
  perspective: 1000px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cinema-scene {
  position: absolute;
  width: 100%;
  height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
  padding: 60px 40px;
  opacity: 0;
  transform: translateY(100px);
  pointer-events: none;
  transition: all 0.3s ease;
}

.cinema-scene.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  z-index: 10;
}

.cinema-scene.fade-out {
  opacity: 0;
  transform: translateY(-100px);
}

/* ESCENA 1: PRESENTACIÓN */
.cinema-scene-1 .scene-text h2 {
  font-size: 3.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, #d97706 0%, #ea580c 100%);
  -webkit-background-clip: text;
  -moz-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 20px;
  line-height: 1.2;
}

.cinema-scene-1 .scene-text p {
  font-size: 1.5rem;
  color: #666;
  font-weight: 300;
}

.scene-text {
  z-index: 1;
  position: relative;
}

.scene-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 1000px;
}

/* TARJETA FLOTANTE 3D */
.floating-card {
  width: 280px;
  height: 350px;
  background: white;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  transform: rotateX(-5deg) rotateY(-15deg) rotateZ(5deg);
  transition: all 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.floating-card:hover {
  transform: rotateX(5deg) rotateY(15deg) rotateZ(-5deg);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.25);
}

.card-image-3d {
  width: 100%;
  height: 85%;
  overflow: hidden;
  position: relative;
}

.card-image-3d img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.floating-card:hover .card-image-3d img {
  transform: scale(1.1);
}

.card-label {
  height: 15%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(90deg, #d97706, #ea580c);
  color: white;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 1px;
}

/* CUBO ROTATIVO 3D */
.rotating-cube {
  position: relative;
  width: 280px;
  height: 280px;
  transform-style: preserve-3d;
  animation: rotateCube 8s infinite linear;
}

@keyframes rotateCube {
  0% {
    transform: rotateX(0deg) rotateY(0deg);
  }
  100% {
    transform: rotateX(360deg) rotateY(360deg);
  }
}

.cube-face {
  position: absolute;
  width: 280px;
  height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
  border: 2px solid rgba(217, 119, 6, 0.3);
  border-radius: 12px;
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.05);
  font-weight: 600;
  font-size: 1.2rem;
  color: #d97706;
  transform-style: preserve-3d;
  overflow: hidden;
}

.cube-face img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
}

.cube-front {
  transform: translateZ(140px);
}

.cube-back {
  transform: rotateY(180deg) translateZ(140px);
}

.cube-top {
  transform: rotateX(90deg) translateZ(140px);
  background: linear-gradient(135deg, #d97706, #ea580c);
  color: white;
}

.cube-bottom {
  transform: rotateX(-90deg) translateZ(140px);
  background: linear-gradient(135deg, #1e40af, #3b82f6);
  color: white;
}

.cube-text {
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* CAPAS PARALLAX */
.parallax-layers {
  position: relative;
  width: 320px;
  height: 380px;
  perspective: 1000px;
}

.parallax-layer {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.layer-1 {
  width: 100%;
  height: 100%;
  z-index: 3;
  transform: translateY(0) rotateY(-8deg);
  filter: brightness(1.1);
}

.layer-1 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
}

.layer-2 {
  width: 90%;
  height: 85%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) translateZ(30px) scale(0.95);
  z-index: 2;
  background: rgba(217, 119, 6, 0.1);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(217, 119, 6, 0.3);
}

.layer-2:hover {
  transform: translate(-50%, -50%) translateZ(50px) scale(1);
}

.layer-badge {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  font-weight: 700;
  background: linear-gradient(
    135deg,
    rgba(217, 119, 6, 0.8),
    rgba(234, 88, 12, 0.8)
  );
  color: white;
  letter-spacing: 2px;
  border-radius: 12px;
}

.layer-3 {
  width: 110%;
  height: 110%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) translateZ(-30px) scale(1.1);
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.6;
}

.deco-svg {
  width: 200px;
  height: 200px;
  color: #d97706;
  filter: drop-shadow(0 0 10px rgba(217, 119, 6, 0.3));
  animation: decorSpin 6s linear infinite;
}

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

/* TARJETAS CARRUSEL BIENESTAR */
.wellness-cards-carousel {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  perspective: 1200px;
}

.wellness-card {
  text-align: center;
  transition: all 0.4s ease;
}

.wellness-card:hover {
  transform: translateY(-20px);
}

.card-3d-perspective {
  position: relative;
  width: 100%;
  padding-bottom: 100%;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  perspective: 1000px;
}

.card-3d-perspective img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.6s ease;
  transform: scale(1) rotateX(0deg);
}

.wellness-card:hover .card-3d-perspective img {
  transform: scale(1.15) rotateX(-10deg);
  filter: brightness(1.1) saturate(1.2);
}

.wellness-card h4 {
  margin-top: 16px;
  font-size: 1.2rem;
  font-weight: 600;
  color: #1f2937;
  letter-spacing: 0.5px;
}

/* ESCENA FINALE */
.scene-finale {
  grid-template-columns: 1fr !important;
  justify-items: center;
}

.finale-content {
  text-align: center;
  z-index: 20;
}

.finale-content h2 {
  font-size: 3.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, #d97706 0%, #ea580c 100%);
  -webkit-background-clip: text;
  -moz-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 20px;
  line-height: 1.2;
}

.finale-content p {
  font-size: 1.5rem;
  color: #666;
  margin-bottom: 40px;
  font-weight: 300;
}

.cinema-cta {
  position: relative;
  overflow: hidden;
}

.cinema-cta::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transition: left 0.5s;
}

.cinema-cta:hover::before {
  left: 100%;
}

/* BARRA DE PROGRESO */
.scroll-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, #d97706, #ea580c, #3b82f6, #d97706);
  background-size: 200% 100%;
  width: 0%;
  z-index: 100;
  animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
  0%,
  100% {
    background-position: 0% center;
  }
  50% {
    background-position: 100% center;
  }
}

/* ANIMACIÓN SCROLL */
@media (prefers-reduced-motion: no-preference) {
  .scrollytelling-cinema {
    scroll-behavior: smooth;
  }
}

/* RESPONSIVA */
@media (max-width: 1024px) {
  .cinema-scene {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 40px 30px;
  }

  .cinema-scene-1 .scene-text h2,
  .finale-content h2 {
    font-size: 2.5rem;
  }

  .cinema-scene-1 .scene-text p,
  .finale-content p {
    font-size: 1.2rem;
  }

  .floating-card {
    width: 220px;
    height: 280px;
  }

  .rotating-cube {
    width: 220px;
    height: 220px;
  }

  .cube-face {
    width: 220px;
    height: 220px;
  }

  .cube-front,
  .cube-back {
    transform: translateZ(110px);
  }

  .cube-top,
  .cube-bottom {
    transform: translateZ(110px);
  }

  .parallax-layers {
    width: 280px;
    height: 340px;
  }

  .wellness-cards-carousel {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .scrollytelling-cinema {
    min-height: 500vh;
  }

  .cinema-scene {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 30px 20px;
    height: auto;
    min-height: 100vh;
  }

  .cinema-scene-1 .scene-text h2,
  .finale-content h2 {
    font-size: 2rem;
  }

  .cinema-scene-1 .scene-text p,
  .finale-content p {
    font-size: 1rem;
  }

  .floating-card {
    width: 180px;
    height: 230px;
  }

  .rotating-cube {
    width: 180px;
    height: 180px;
  }

  .cube-face {
    width: 180px;
    height: 180px;
  }

  .cube-front,
  .cube-back {
    transform: translateZ(90px);
  }

  .cube-top,
  .cube-bottom {
    transform: translateZ(90px);
  }

  .parallax-layers {
    width: 240px;
    height: 300px;
  }

  .deco-svg {
    width: 150px;
    height: 150px;
  }
}

@media print {
  .header,
  .mobile-menu,
  .btn,
  .hamburger {
    display: none;
  }
}

/* ============================================
   SWING ANIMATION EFFECT - PREMIUM HOVER STATE
   ============================================ */

@keyframes swing {
  20% {
    transform: rotate3d(0, 0, 1, 15deg) translateY(-6px);
  }
  40% {
    transform: rotate3d(0, 0, 1, -10deg) translateY(-6px);
  }
  60% {
    transform: rotate3d(0, 0, 1, 5deg) translateY(-6px);
  }
  80% {
    transform: rotate3d(0, 0, 1, -5deg) translateY(-6px);
  }
  to {
    transform: rotate3d(0, 0, 1, 0deg) translateY(-6px);
  }
}

.swing:hover {
  animation-name: swing;
  -webkit-animation-name: swing;
  -moz-animation-name: swing;
  animation-duration: 1s;
  -webkit-animation-duration: 1s;
  -moz-animation-duration: 1s;
  animation-timing-function: ease-in-out;
  transform-origin: top center;
}

/* ============================================
   ANIMACIONES EN SCROLL - INTERSECTION OBSERVER
   ============================================ */
.before-fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.6s ease-out,
    transform 0.6s ease-out;
}

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

/* ============================================
   BOTÓN "EXPLORAR MÁS SERVICIOS"
   ============================================ */
.explore-services-cta {
  margin-top: 40px;
  text-align: center;
}

.btn-explore-services {
  display: inline-block;
  background: linear-gradient(90deg, var(--color-primary-orange), #f59e0b);
  color: var(--color-white);
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 1rem;
  padding: 14px 28px;
  border-radius: var(--border-radius);
  text-decoration: none;
  transition: all var(--transition-normal);
  box-shadow: 0 4px 15px rgba(243, 127, 52, 0.3);
  position: relative;
  overflow: hidden;
}

.btn-explore-services .btn-arrow {
  margin-left: 8px;
  transition: transform 0.3s ease;
}

.btn-explore-services:hover {
  transform: translateY(-3px);
  box-shadow: 0 7px 20px rgba(243, 127, 52, 0.4);
}

.btn-explore-services:hover .btn-arrow {
  transform: translateX(5px);
}

/* ============================================
   PÁGINA DE SERVICIOS DETALLADOS (servicios.html)
   ============================================ */

.services-detailed-page {
  padding: 140px 20px 80px;
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 10;
  background-color: #f9f9f9;
}

.services-detailed-page h1 {
  font-family: var(--font-primary);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  color: var(--color-dark-blue);
  margin-bottom: 16px;
}

.services-detailed-page > p {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: var(--color-slate);
  margin-bottom: 60px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.services-detailed-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

.service-expanded {
  background-color: var(--color-white);
  border-radius: var(--border-radius-large);
  padding: 30px;
  text-align: left;
  box-shadow: var(--shadow-md);
  border: 1px solid #e2e8f0;
  transition:
    transform var(--transition-normal),
    box-shadow var(--transition-normal);
  position: relative;
  z-index: 11;
}

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

.service-expanded-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
}

.service-expanded-header img {
  width: 50px;
  height: 50px;
}

.service-expanded-header h3 {
  font-family: var(--font-primary);
  font-size: 1.8rem;
  color: var(--color-primary-teal);
}

.service-expanded-description {
  color: var(--color-slate);
  line-height: 1.7;
  margin-bottom: 25px;
}

.service-features-list {
  list-style: none;
  padding-left: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 15px;
}

.service-features-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--color-dark-blue);
}

.service-features-list li::before {
  content: "✓";
  color: var(--color-primary-orange);
  font-weight: 600;
  margin-top: 2px;
}

/* ============================================
   PROTECCIÓN PARA SERVICIOS.HTML
   ============================================ */
/* Scroll manual del navegador - sin smooth */
html {
  scroll-behavior: smooth;
} /* Asegurar que main siempre sea visible */
main {
  position: relative;
  z-index: 5;
  background-color: transparent;
  min-height: 100vh;
}

/* Asegurar visibilidad completa del contenido */
#main-content {
  position: relative;
  z-index: 5;
  opacity: 1 !important;
  visibility: visible !important;
  display: block !important;
}

/* Protección contra overlays */
.services-detailed-page * {
  opacity: 1;
  visibility: visible;
}

/* Desactivar animaciones de scroll en página de servicios */
.services-detailed-page,
.services-detailed-page section,
.services-detailed-page .service-expanded {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}

/* Prevenir que se aplique before-fade-in en servicios.html */
.services-detailed-page .before-fade-in,
.services-detailed-page section.before-fade-in {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* Asegurar que las tarjetas sean clickeables y tengan efectos */
.service-expanded {
  pointer-events: auto;
  cursor: default;
  transition:
    transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275),
    box-shadow 0.4s ease;
  position: relative;
  overflow: hidden;
}

.service-expanded:hover {
  transform: translateY(-12px) scale(1.01);
  box-shadow:
    0 20px 50px rgba(31, 178, 149, 0.2),
    0 8px 20px rgba(0, 0, 0, 0.08);
  border-color: rgba(31, 178, 149, 0.4);
}

.service-expanded::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--color-primary-teal),
    var(--color-primary-orange)
  );
  opacity: 0;
  transition: opacity 0.3s ease;
}

.service-expanded:hover::after {
  opacity: 1;
}

/* Animaciones CSS Puras (Seguras para evitar crashes) */
@keyframes fadeUpSafe {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.services-detailed-grid .service-expanded {
  animation: fadeUpSafe 0.8s ease-out forwards;
  opacity: 0; /* Inicia invisible */
}

/* Staggered Delay (Retraso en cascada para efecto elegante) */
.services-detailed-grid .service-expanded:nth-child(1) {
  animation-delay: 0.1s;
}
.services-detailed-grid .service-expanded:nth-child(2) {
  animation-delay: 0.2s;
}
.services-detailed-grid .service-expanded:nth-child(3) {
  animation-delay: 0.3s;
}
.services-detailed-grid .service-expanded:nth-child(4) {
  animation-delay: 0.4s;
}
.services-detailed-grid .service-expanded:nth-child(n + 5) {
  animation-delay: 0.5s;
}

/* Botón CTA dentro de las tarjetas (Micro-conversión) */
.service-card-cta {
  display: inline-flex;
  align-items: center;
  margin-top: 20px;
  color: var(--color-primary-teal);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: gap 0.3s ease;
}

.service-card-cta:hover {
  gap: 8px;
  color: var(--color-primary-orange);
  transform: translateX(4px);
}

.service-card-cta::after {
  content: "→";
  margin-left: 5px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-block;
}

.service-card-cta:hover::after {
  margin-left: 10px;
  transform: translateX(3px);
}

/* ============================================
   SERVICES HERO SECTION
   ============================================ */
.services-hero {
  padding: 140px 20px 80px;
  text-align: center;
  background: linear-gradient(
    135deg,
    rgba(31, 178, 149, 0.08) 0%,
    rgba(243, 127, 52, 0.06) 50%,
    rgba(31, 178, 149, 0.04) 100%
  );
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(31, 178, 149, 0.08);
}

.services-hero::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(
    circle,
    rgba(31, 178, 149, 0.1) 0%,
    transparent 70%
  );
  border-radius: 50%;
  pointer-events: none;
}

.services-hero::after {
  content: "";
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(
    circle,
    rgba(243, 127, 52, 0.08) 0%,
    transparent 70%
  );
  border-radius: 50%;
  pointer-events: none;
}

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

.services-hero-badge {
  display: inline-block;
  background: linear-gradient(90deg, var(--color-primary-teal), #14a37f);
  color: white;
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 24px;
  box-shadow: 0 4px 12px rgba(31, 178, 149, 0.3);
}

.services-hero-title {
  font-family: var(--font-primary);
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700;
  color: var(--color-dark-blue);
  margin-bottom: 20px;
  line-height: 1.2;
}

.text-gradient {
  background: linear-gradient(
    90deg,
    var(--color-primary-teal),
    var(--color-primary-orange)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.services-hero-subtitle {
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 40px;
  line-height: 1.5;
  font-weight: 400;
}

/* Search Box */
.services-search-wrapper {
  position: relative;
  max-width: 500px;
  margin: 0 auto;
}

.services-search-box {
  position: relative;
  background: white;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  display: flex;
  align-items: center;
  padding: 16px 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.services-search-box:hover {
  border-color: var(--color-primary-teal);
  box-shadow: 0 4px 16px rgba(31, 178, 149, 0.15);
}

.services-search-box:focus-within {
  border-color: var(--color-primary-teal);
  box-shadow: 0 4px 16px rgba(31, 178, 149, 0.2);
}

.search-icon {
  color: #9ca3af;
  font-size: 1.1rem;
  margin-right: 12px;
}

.services-search-input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 1rem;
  color: #333;
  background: transparent;
  font-family: var(--font-secondary);
}

.services-search-input::placeholder {
  color: #9ca3af;
}

.search-dropdown-icon {
  color: #9ca3af;
  font-size: 0.9rem;
  margin-left: 12px;
  transition: transform 0.3s ease;
}

.search-suggestions {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  max-height: 320px;
  overflow-y: auto;
  z-index: 1000;
}

.suggestion-item {
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  border-bottom: 1px solid #f3f4f6;
}

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

.suggestion-item:hover {
  background: #f9fafb;
  color: var(--color-primary-teal);
}

.suggestion-icon {
  color: #9ca3af;
  font-size: 0.9rem;
}

.suggestion-item:hover .suggestion-icon {
  color: var(--color-primary-teal);
}

.no-results {
  padding: 20px;
  text-align: center;
  color: #6b7280;
  font-size: 0.95rem;
}

.services-hero-stats {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 20px;
  max-width: 700px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.stat-box {
  background: linear-gradient(135deg, #ffffff 0%, #fafafa 100%);
  padding: 20px 28px;
  border-radius: 14px;
  box-shadow:
    0 4px 16px rgba(0, 0, 0, 0.06),
    0 1px 4px rgba(31, 178, 149, 0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(31, 178, 149, 0.08);
  flex: 0 1 auto;
  min-width: 160px;
  text-align: center;
}

.stat-box:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow:
    0 12px 32px rgba(0, 0, 0, 0.1),
    0 4px 12px rgba(31, 178, 149, 0.15);
  border-color: rgba(31, 178, 149, 0.2);
  background: linear-gradient(135deg, #ffffff 0%, #f0fdfa 100%);
}

.stat-number {
  display: block;
  font-family: var(--font-primary);
  font-size: 2rem;
  font-weight: 700;
  background: linear-gradient(
    135deg,
    var(--color-primary-teal),
    var(--color-primary-orange)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 6px;
  line-height: 1;
}

.stat-label {
  display: block;
  font-size: 0.9rem;
  color: var(--color-slate);
  font-weight: 500;
}

/* ============================================
   SERVICES INTRO
   ============================================ */
.services-intro {
  text-align: center;
  margin-bottom: 60px;
}

.services-intro h2 {
  font-family: var(--font-primary);
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--color-dark-blue);
  margin-bottom: 16px;
}

.services-intro p {
  font-size: 1.1rem;
  color: var(--color-slate);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ============================================
   SERVICE BADGES
   ============================================ */
.service-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.badge-preventivo {
  background: linear-gradient(135deg, #10b981, #059669);
  color: white;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.35);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.badge-preventivo:hover {
  box-shadow: 0 6px 16px rgba(16, 185, 129, 0.45);
  transform: translateY(-2px);
}

.badge-diagnostico {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  color: white;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.35);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.badge-diagnostico:hover {
  box-shadow: 0 6px 16px rgba(59, 130, 246, 0.45);
  transform: translateY(-2px);
}

.badge-tramites {
  background: linear-gradient(135deg, #8b5cf6, #7c3aed);
  color: white;
  box-shadow: 0 4px 12px rgba(139, 92, 246, 0.35);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.badge-tramites:hover {
  box-shadow: 0 6px 16px rgba(139, 92, 246, 0.45);
  transform: translateY(-2px);
}

.badge-identificacion {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: white;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.35);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.badge-identificacion:hover {
  box-shadow: 0 6px 16px rgba(245, 158, 11, 0.45);
  transform: translateY(-2px);
}

/* ============================================
   ENHANCED CTA SECTION
   ============================================ */
.services-cta-enhanced {
  margin-top: 80px;
  background: linear-gradient(135deg, #f0fdfa 0%, #fff7ed 100%);
  border-radius: 20px;
  padding: 60px 40px;
  text-align: center;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  position: relative;
  overflow: hidden;
}

.services-cta-enhanced::before {
  content: "";
  position: absolute;
  top: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
  background: radial-gradient(
    circle,
    rgba(31, 178, 149, 0.1) 0%,
    transparent 70%
  );
  border-radius: 50%;
}

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

.cta-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 24px;
  background: linear-gradient(135deg, var(--color-primary-teal), #14a37f);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 0 8px 24px rgba(31, 178, 149, 0.3);
}

.services-cta-enhanced h3 {
  font-family: var(--font-primary);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  color: var(--color-dark-blue);
  margin-bottom: 16px;
}

.services-cta-enhanced p {
  font-size: 1.1rem;
  color: var(--color-slate);
  margin-bottom: 32px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

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

.btn-cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(90deg, #25d366, #128c7e);
  color: white;
  padding: 16px 32px;
  border-radius: var(--border-radius);
  font-weight: 600;
  font-size: 1.05rem;
  text-decoration: none;
  transition: all var(--transition-normal);
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.3);
}

.btn-cta-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
}

.btn-cta-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: white;
  color: var(--color-dark-blue);
  padding: 16px 32px;
  border-radius: var(--border-radius);
  font-weight: 600;
  font-size: 1.05rem;
  text-decoration: none;
  border: 2px solid #e5e7eb;
  transition: all var(--transition-normal);
}

.btn-cta-secondary:hover {
  border-color: var(--color-primary-teal);
  color: var(--color-primary-teal);
  transform: translateY(-2px);
}

/* ============================================
   STICKY SUB-NAVIGATION (Added by Master Audit)
   ============================================ */
.services-sticky-nav {
  position: -webkit-sticky; /* Safari */
  position: sticky;
  top: 80px; /* Adjust based on main header height */
  z-index: 900;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(31, 178, 149, 0.1);
  padding: 18px 0;
  margin-bottom: 50px;
  box-shadow:
    0 4px 24px rgba(0, 0, 0, 0.06),
    0 1px 4px rgba(31, 178, 149, 0.08);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.sticky-nav-container {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 0 20px;
  flex-wrap: wrap;
}

.sticky-nav-item {
  color: var(--color-slate);
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  letter-spacing: 0.3px;
}

.sticky-nav-item:hover {
  color: var(--color-primary-teal);
  background: linear-gradient(
    135deg,
    rgba(31, 178, 149, 0.12),
    rgba(31, 178, 149, 0.06)
  );
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(31, 178, 149, 0.15);
}

.sticky-nav-item.active {
  background: linear-gradient(135deg, var(--color-primary-teal), #14a37f);
  color: white;
  box-shadow:
    0 6px 16px rgba(31, 178, 149, 0.35),
    0 2px 6px rgba(0, 0, 0, 0.1);
  transform: translateY(-1px);
}

.sticky-nav-item.active:hover {
  box-shadow:
    0 8px 20px rgba(31, 178, 149, 0.45),
    0 4px 8px rgba(0, 0, 0, 0.12);
  transform: translateY(-3px);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .hero-trust-row {
    flex-direction: column;
    gap: 12px;
  }

  .trust-divider {
    display: none;
  }

  .services-sticky-nav {
    top: 70px;
    padding: 12px 0;
    backdrop-filter: blur(16px) saturate(160%);
    -webkit-backdrop-filter: blur(16px) saturate(160%);
  }

  .sticky-nav-container {
    gap: 8px;
    padding: 0 16px;
  }

  .sticky-nav-item {
    font-size: 0.85rem;
    padding: 8px 14px;
  }

  .service-expanded {
    margin-bottom: 20px;
  }

  .service-expanded:hover {
    transform: translateY(-6px) scale(1.005);
  }

  .services-hero {
    padding: 100px 16px 60px;
  }

  .services-hero-stats {
    gap: 12px;
    max-width: 100%;
  }

  .stat-box {
    padding: 16px 20px;
    min-width: 140px;
    flex: 1 1 calc(33.333% - 12px);
  }

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

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

@media (max-width: 480px) {
  .services-hero {
    padding: 80px 12px 40px;
  }

  .services-hero-stats {
    flex-direction: column;
    gap: 10px;
    align-items: center;
  }

  .stat-box {
    width: 100%;
    max-width: 280px;
    padding: 14px 18px;
    min-width: unset;
  }

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

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

  .services-hero-title {
    font-size: clamp(2rem, 8vw, 2.5rem);
  }

  .services-hero-subtitle {
    font-size: 1rem;
  }

  .sticky-nav-item {
    font-size: 0.8rem;
    padding: 6px 12px;
  }

  .service-badge {
    font-size: 0.7rem;
    padding: 4px 12px;
    top: 12px;
    right: 12px;
  }

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

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

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

.trust-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  color: var(--color-dark-blue);
  font-weight: 500;
}

.badge-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: var(--color-primary-teal);
  color: white;
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 700;
}

/* ============================================
   RESPONSIVE - SERVICES PAGE
   ============================================ */
@media (max-width: 768px) {
  .services-hero {
    padding: 120px 16px 60px;
  }

  .services-hero-stats {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .stat-box {
    padding: 20px;
  }

  .services-cta-enhanced {
    padding: 40px 24px;
    border-radius: 16px;
  }

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

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

  .cta-trust-badges {
    flex-direction: column;
    gap: 12px;
  }

  .service-badge {
    top: 16px;
    right: 16px;
    font-size: 0.7rem;
    padding: 5px 12px;
  }
}
