/* ===== RESPONSIVE FOUNDATION ===== */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  width: 100%;
}

body {
  overflow-x: hidden;
  width: 100%;
  margin: 0;
  padding: 0;
}

/* ===== MODERN COLOR SYSTEM ===== */
html {
  scroll-behavior: smooth;
}

:root {
  /* Primary */
  --color-primary: #10b981;
  --color-primary-light: #6ee7b7;
  --color-primary-dark: #059669;
  --color-primary-pale: #d1fae5;

  /* Secondary */
  --color-secondary: #0369a1;
  --color-secondary-light: #06b6d4;
  --color-secondary-pale: #cffafe;

  /* Accent */
  --color-accent: #92400e;
  --color-accent-light: #b45309;
  --color-accent-pale: #fef3c7;

  /* Neutrals */
  --color-white: #ffffff;
  --color-gray-50: #fafafa;
  --color-gray-100: #f3f4f6;
  --color-gray-200: #e5e7eb;
  --color-gray-400: #9ca3af;
  --color-gray-600: #4b5563;
  --color-gray-900: #0f172a;
  --color-black: #000000;

  /* Typography */
  --color-text-primary: #0f172a;
  --color-text-secondary: #6b7280;
  --color-text-light: #d1d5db;

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);

  /* Transitions */
  --transition-fast: 0.15s ease-out;
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s ease-out;
  --transition-bouncy: 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ===== HERO MODERN ===== */
.hero-modern {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #000;
}

.hero-overlay-modern {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.4) 100%);
  backdrop-filter: blur(2px);
  z-index: 1;
}

.hero-content-modern {
  position: relative;
  z-index: 10;
  text-align: center;
  color: white;
  padding: 24px;
  max-width: 600px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  animation: fadeInDown 0.8s ease-out forwards;
}

.hero-title-modern {
  font-size: clamp(1.875rem, 8vw, 3.5rem);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.text-highlight {
  background: linear-gradient(135deg, #facc15 0%, #f59e0b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle-modern {
  font-size: clamp(0.875rem, 2.5vw, 1.125rem);
  margin-bottom: 40px;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 400;
  line-height: 1.6;
  max-width: 500px;
  letter-spacing: 0.3px;
}

.hero-buttons-modern {
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: center;
  align-items: center;
  margin-bottom: 48px;
}

@media (min-width: 640px) {
  .hero-buttons-modern {
    flex-direction: row;
  }
}

/* Glassmorphism Play Button */
.hero-play-btn-modern {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 5;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: white;
  cursor: pointer;
  transition: all var(--transition-normal);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.hero-play-btn-modern:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translate(-50%, -50%) scale(1.1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.hero-play-btn-modern:active {
  transform: translate(-50%, -50%) scale(0.95);
}

/* Video Controls - Minimalist */
.video-controls-modern {
  position: absolute;
  bottom: 24px;
  left: 24px;
  display: flex;
  gap: 12px;
  background: rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 12px 16px;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  z-index: 100;
  animation: fadeIn 0.6s ease-out 0.3s forwards;
  opacity: 0;
}

.video-playpause-modern,
.video-mute-modern {
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  border-radius: 6px;
}

.video-playpause-modern:hover,
.video-mute-modern:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: scale(1.1);
}

@media (max-width: 768px) {
  .hero-play-btn-modern {
    width: 72px;
    height: 72px;
  }

  .video-controls-modern {
    bottom: 16px;
    left: 16px;
    padding: 10px 12px;
  }
}

/* ===== BUTTONS - MODERN ===== */
.btn-primary,
.btn-primary-modern {
  background-color: var(--color-primary);
  color: white;
  border: none;
  padding: 16px 40px;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-md);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-primary::before,
.btn-primary-modern::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.1);
  transition: left var(--transition-normal);
  z-index: -1;
}

.btn-primary:hover,
.btn-primary-modern:hover {
  background-color: var(--color-primary-dark);
  transform: translateY(-3px);
  box-shadow: var(--shadow-xl);
}

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

.btn-primary:active,
.btn-primary-modern:active {
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

/* Secondary Button */
.btn-secondary-modern {
  background-color: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
  padding: 14px 38px;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-normal);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-secondary-modern:hover {
  background-color: var(--color-primary);
  color: white;
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

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

/* CTA Link Button */
.btn-cta-link {
  background: none;
  border: none;
  color: var(--color-primary);
  cursor: pointer;
  font-weight: 600;
  font-size: 0.875rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all var(--transition-fast);
  position: relative;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-cta-link::after {
  content: '→';
  transition: transform var(--transition-fast);
}

.btn-cta-link:hover {
  color: var(--color-primary-dark);
}

.btn-cta-link:hover::after {
  transform: translateX(4px);
}

/* ===== BENTO GRID CARDS ===== */
.services-modern {
  padding: 80px 0;
  background: var(--color-gray-50);
}

.section-header-modern {
  text-align: center;
  margin-bottom: 64px;
}

.section-header-modern h2 {
  font-size: clamp(1.875rem, 6vw, 3rem);
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.section-header-modern .section-subtitle {
  font-size: 1.125rem;
  color: var(--color-text-secondary);
  font-weight: 400;
}

.cards-bento {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  animation: staggerFadeUp 0.8s ease-out;
}

@media (max-width: 768px) {
  .cards-bento {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

@media (min-width: 1024px) {
  .cards-bento {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card-modern {
  background: white;
  border: 1px solid var(--color-gray-200);
  border-radius: 12px;
  padding: 32px 24px;
  text-decoration: none;
  color: inherit;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 240px;
}

.card-modern::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, var(--color-primary-pale) 0%, transparent 100%);
  opacity: 0;
  transition: opacity var(--transition-normal);
  pointer-events: none;
  z-index: 0;
}

.card-modern:hover {
  border-color: var(--color-primary);
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.card-modern:hover::after {
  opacity: 1;
}

.card-featured-modern {
  grid-column: 1 / 3;
}

@media (max-width: 768px) {
  .card-featured-modern {
    grid-column: 1;
  }
}

.card-accent {
  position: absolute;
  top: 0;
  right: 0;
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
  border-radius: 0 0 0 100%;
  opacity: 0.05;
  z-index: 0;
  transition: all var(--transition-normal);
}

.card-modern:hover .card-accent {
  opacity: 0.1;
  width: 120px;
  height: 120px;
}

.card-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
  transition: transform var(--transition-normal);
}

.card-modern:hover .card-icon {
  transform: scale(1.1) rotate(5deg);
}

.card-modern h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-text-primary);
  margin-bottom: 8px;
  position: relative;
  z-index: 1;
  line-height: 1.4;
}

.card-modern p {
  font-size: 0.875rem;
  color: var(--color-text-secondary);
  margin-bottom: 16px;
  line-height: 1.6;
  position: relative;
  z-index: 1;
}

.card-cta {
  display: inline-block;
  color: var(--color-primary);
  font-weight: 600;
  font-size: 0.875rem;
  position: relative;
  z-index: 1;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  transition: transform var(--transition-fast);
}

.card-modern:hover .card-cta {
  transform: translateX(4px);
}

/* ===== TESTIMONIALS CAROUSEL ===== */
.testimonials-modern {
  padding: 80px 0;
  background: white;
}

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

.testimonials-rating {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 8px;
}

.rating-stars {
  font-size: 1.5rem;
  color: #facc15;
}

.rating-number {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-text-primary);
}

.rating-text {
  font-size: 1.125rem;
  color: var(--color-text-secondary);
}

.rating-count {
  font-size: 0.875rem;
  color: var(--color-text-secondary);
}

.testimonials-carousel {
  max-width: 600px;
  margin: 0 auto;
}

.carousel-container {
  position: relative;
  height: 280px;
}

.testimonial-card-modern {
  background: var(--color-gray-50);
  border: 1px solid var(--color-gray-200);
  border-radius: 12px;
  padding: 32px;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: absolute;
  width: 100%;
  opacity: 0;
  transform: translateX(100%);
  transition: all var(--transition-normal);
  pointer-events: none;
}

.testimonial-card-modern.active {
  opacity: 1;
  transform: translateX(0);
  position: relative;
  pointer-events: auto;
}

.testimonial-quote {
  font-size: 1rem;
  color: var(--color-text-primary);
  line-height: 1.8;
  margin-bottom: 24px;
  font-style: italic;
  font-weight: 500;
}

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

.author-flag {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.author-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.author-name {
  font-weight: 600;
  color: var(--color-text-primary);
  font-size: 0.875rem;
}

.author-city {
  font-size: 0.75rem;
  color: var(--color-text-secondary);
}

.verified-badge {
  background: var(--color-primary-pale);
  color: var(--color-primary-dark);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 700;
  white-space: nowrap;
}

.carousel-nav {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 32px;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-gray-300);
  border: none;
  cursor: pointer;
  transition: all var(--transition-normal);
}

.carousel-dot.active {
  background: var(--color-primary);
  width: 24px;
  border-radius: 4px;
}

@media (max-width: 768px) {
  .testimonial-card-modern {
    padding: 24px;
    min-height: 240px;
  }

  .testimonial-quote {
    font-size: 0.875rem;
  }
}

/* ===== FOOTER MODERN ===== */
.footer-modern {
  background: #16a34a;
  color: #ffffff;
  padding: 80px 0 24px;
  margin-top: 120px;
}

.footer-content-modern {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 64px;
  margin-bottom: 48px;
}

@media (max-width: 768px) {
  .footer-content-modern {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

.footer-about {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-logo {
  max-width: 120px;
  height: auto;
  opacity: 0.9;
  transition: opacity var(--transition-normal);
}

.footer-logo:hover {
  opacity: 1;
}

.footer-about p {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
}

.footer-newsletter {
  margin-top: 16px;
}

.footer-newsletter h3 {
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
  color: var(--color-gray-300);
}

.newsletter-form {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.newsletter-form input {
  flex: 1;
  min-width: 200px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  padding: 12px 16px;
  color: white;
  font-size: 0.875rem;
  transition: all var(--transition-normal);
}

.newsletter-form input:focus {
  outline: none;
  border-color: var(--color-primary);
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.newsletter-form input::placeholder {
  color: var(--color-gray-500);
}

.newsletter-form button {
  background: white;
  color: #16a34a;
  border: none;
  border-radius: 8px;
  padding: 12px 24px;
  font-weight: 600;
  cursor: pointer;
  font-size: 0.875rem;
  transition: all var(--transition-normal);
  white-space: nowrap;
}

.newsletter-form button:hover {
  background: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.footer-links h4 {
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
  color: #ffffff;
}

.footer-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.875rem;
  transition: all var(--transition-fast);
  position: relative;
  padding-bottom: 2px;
}

.footer-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-primary);
  transition: width var(--transition-normal);
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-links a:hover::after {
  width: 100%;
}

.contact-method-link {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.7) !important;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.contact-method-link i {
  width: 18px;
  height: 18px;
  color: #06b6d4;
  flex-shrink: 0;
}

.contact-method-link:hover {
  color: #ffffff !important;
}

.contact-method-link:hover i {
  color: #ffffff;
  transform: scale(1.2);
}

.footer-socials {
  display: flex;
  gap: 16px;
  margin-bottom: 32px;
  justify-content: center;
}

.social-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: white;
  text-decoration: none;
  transition: all var(--transition-normal);
  font-weight: 600;
  font-size: 1rem;
}

.social-icon:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.footer-bottom-modern {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.75rem;
}

.footer-links-legal {
  display: flex;
  gap: 24px;
}

.footer-links-legal a {
  color: var(--color-gray-400);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-links-legal a:hover {
  color: var(--color-primary);
}

@media (max-width: 768px) {
  .footer-bottom-modern {
    flex-direction: column;
    text-align: center;
  }

  .footer-links-legal {
    justify-content: center;
    width: 100%;
  }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

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

.card-modern:nth-child(1) {
  animation: staggerFadeUp 0.6s ease-out 0.1s both;
}

.card-modern:nth-child(2) {
  animation: staggerFadeUp 0.6s ease-out 0.2s both;
}

.card-modern:nth-child(3) {
  animation: staggerFadeUp 0.6s ease-out 0.3s both;
}

/* ===== MICRO-INTERACTIONS ===== */
a {
  transition: color var(--transition-fast);
}

button {
  transition: all var(--transition-normal);
}

/* Disable hover effects on touch devices */
@media (hover: none) and (pointer: coarse) {
  *:hover {
    transform: none !important;
  }
}

/* Custom Video Player Styles */
.custom-video-wrapper {
  position: relative;
  width: 100%;
  max-width: 100%;
  background: #ffffff;
  overflow: hidden;
  border-radius: var(--border-radius-large);
  aspect-ratio: 16 / 9;
  box-shadow: var(--shadow-lg);
  contain: layout style paint;
  will-change: contents;
}

.custom-video-player {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  backface-visibility: hidden;
  will-change: transform;
  contain: layout style paint;
}

.custom-video-controls {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.7), transparent);
  padding: 20px 16px 16px;
  opacity: 1;
  transition: opacity 0.3s ease-out;
  z-index: 10;
}

.custom-video-controls.hidden {
  opacity: 0;
  pointer-events: none;
}

/* Video Progress Bar */
.video-progress-bar {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 2px;
  cursor: pointer;
  margin-bottom: 12px;
  position: relative;
  overflow: hidden;
}

.video-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #ff6b6b, #ff8c42);
  width: 0%;
  border-radius: 2px;
  transition: width 0.1s linear;
}

.video-progress-bar:hover .video-progress-fill {
  background: linear-gradient(90deg, #ff7f7f, #ffa352);
}

/* Video Controls Container */
.video-controls-bottom {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: space-between;
}

.video-controls-left {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}

.video-controls-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}

.video-time-display {
  color: #fff;
  font-size: 0.875rem;
  min-width: 60px;
  font-variant-numeric: tabular-nums;
  user-select: none;
}

/* Video Control Buttons */
.video-btn {
  background: transparent;
  border: none;
  color: #fff;
  cursor: pointer;
  padding: 4px 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease-out;
  border-radius: 4px;
}

.video-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: scale(1.1);
}

.video-btn:active {
  transform: scale(0.95);
}

.video-btn.video-fullscreen {
  margin-left: auto;
}

.video-btn svg {
  width: 20px;
  height: 20px;
  stroke-width: 2.5;
}

/* Fullscreen Styles */
.custom-video-wrapper:fullscreen {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  aspect-ratio: auto !important;
}

.custom-video-wrapper:-webkit-full-screen {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  aspect-ratio: auto !important;
}

.custom-video-wrapper:-moz-full-screen {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  aspect-ratio: auto !important;
}

.custom-video-player:fullscreen {
  width: 100% !important;
  height: 100% !important;
}

.custom-video-player:-webkit-full-screen {
  width: 100% !important;
  height: 100% !important;
}

.custom-video-player:-moz-full-screen {
  width: 100% !important;
  height: 100% !important;
}

/* Volume Control */
.video-volume-control {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}

.video-volume-slider {
  width: 80px;
  height: 4px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 2px;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  outline: none;
}

.video-volume-slider::-webkit-slider-thumb {
  appearance: none;
  -webkit-appearance: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ff6b6b;
  cursor: pointer;
  transition: all 0.2s ease-out;
}

.video-volume-slider::-webkit-slider-thumb:hover {
  background: #ff8c42;
  transform: scale(1.2);
}

.video-volume-slider::-moz-range-thumb {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ff6b6b;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease-out;
}

.video-volume-slider::-moz-range-thumb:hover {
  background: #ff8c42;
  transform: scale(1.2);
}

.video-volume-slider::-webkit-slider-runnable-track {
  height: 4px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 2px;
}

.video-volume-slider::-moz-range-track {
  background: transparent;
  border: none;
}

.video-volume-slider::-moz-range-progress {
  background: linear-gradient(90deg, #ff6b6b, #ff8c42);
  height: 4px;
  border-radius: 2px;
}

/* Fullscreen Button */
.video-btn-fullscreen {
  margin-left: auto;
}

/* Responsive Design for Video Players */
@media (max-width: 768px) {
  .custom-video-wrapper {
    aspect-ratio: 9 / 16;
  }

  .video-controls-bottom {
    gap: 8px;
  }

  .video-btn svg {
    width: 18px;
    height: 18px;
  }

  .video-time-display {
    font-size: 0.75rem;
    min-width: 50px;
  }

  .video-volume-slider {
    width: 60px;
  }

  .custom-video-controls {
    padding: 16px 12px 12px;
  }
}

@media (max-width: 480px) {
  .video-progress-bar {
    height: 3px;
    margin-bottom: 10px;
  }

  .video-controls-bottom {
    gap: 6px;
  }

  .video-btn svg {
    width: 16px;
    height: 16px;
  }

  .video-time-display {
    font-size: 0.65rem;
    min-width: 45px;
  }

  .video-volume-slider {
    width: 50px;
  }

  .video-volume-control {
    gap: 4px;
  }

  .custom-video-controls {
    padding: 12px 10px 10px;
  }
}

/* ===== CONTACT SECTION ===== */
.contact {
    padding: 80px 0;
    background-color: #f9fafb;
}

.contact-content {
    display: grid;
    gap: 48px;
}

@media (min-width: 1024px) {
    .contact-content {
        grid-template-columns: 1fr 1fr;
    }
}

.contact-info {
    background-color: #16a34a;
    color: white;
    border-radius: 8px;
    padding: 32px;
    overflow: hidden;
}

.contact-info h3 {
    font-size: 1.5rem;
    margin-bottom: 24px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.contact-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #16a34a, #15803d);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(22, 163, 74, 0.3);
}

.contact-icon svg {
    width: 28px;
    height: 28px;
    color: #ffffff;
    stroke-width: 2;
}

.contact-label {
    font-weight: 600;
    margin-bottom: 4px;
}

.contact-image {
    margin-top: 32px;
}

.contact-image img {
    width: 100%;
    border-radius: 8px;
}

.contact-form {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 24px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: #374151;
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 0.875rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #16a34a;
    box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.1);
}

.form-group textarea {
    resize: vertical;
}

.submit-button {
    width: 100%;
    background-color: #16a34a;
    color: white;
    border: none;
    padding: 12px;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-button:hover {
    background-color: #15803d;
}

/* ===== MASCOT SECTION ===== */
.mascot {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 500;
    width: 136px;
    height: 136px;
}

.mascot a {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 0;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    cursor: pointer;
}

.mascot a:hover {
    transform: scale(1.12);
}

.mascot img {
    width: 100%;
    height: 100%;
    display: block;
    filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.15));
    animation: gentle-float 5s ease-in-out infinite;
    object-fit: contain;
    will-change: transform;
}

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

@media (max-width: 768px) {
    .mascot {
        position: fixed;
        bottom: 15px;
        right: 15px;
        width: 70px;
        height: 70px;
        z-index: 500;
    }
    .mascot img {
        width: 100%;
        height: 100%;
    }
    .mascot a {
        width: 70px;
        height: 70px;
    }
}

/* Accessibility: Respect prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
    .mascot img,
    .mascot a {
        animation: none !important;
        transition: none !important;
    }
    
    .mascot a {
        transform: none !important;
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) translateX(0);
    }
    25% {
        transform: translateY(-12px) translateX(-2px);
    }
    50% {
        transform: translateY(-16px) translateX(0);
    }
    75% {
        transform: translateY(-12px) translateX(2px);
    }
}

/* ===== UNIFORM NAVBAR & FOOTER FOR ALL PAGES ===== */

/* Navigation - Consistent across all pages */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    z-index: 50;
    border-bottom: 1px solid #e5e7eb;
    height: 72px;
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 16px;
    height: 100%;
}

@media (min-width: 640px) {
    .nav-container {
        padding: 0 24px;
    }
}

@media (min-width: 1024px) {
    .nav-container {
        padding: 0 32px;
    }
}

.nav-content {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    height: 72px;
}

.nav-logo {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
}

.nav-logo img {
    max-height: 56px;
    height: auto;
    width: auto;
    display: block;
}

.logo {
    max-height: 56px;
    width: auto;
    padding: 0;
}

.nav-links {
    display: none;
    gap: 32px;
    align-items: center;
}

@media (min-width: 768px) {
    .nav-links {
        display: flex;
    }
}

.nav-links a {
    color: #374151;
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #16a34a;
}

.nav-content .lang {
    color: #0f172a;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #ffffff;
    border: 2px solid #16a34a;
    padding: 6px 12px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.875rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
}

.nav-content .lang:hover {
    background: #16a34a;
    color: #ffffff;
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(22, 163, 74, 0.3);
}

/* Footer - Consistent across all pages */
.footer {
    background: linear-gradient(135deg, #facc15 0%, #f59e0b 100%);
    color: #111827;
    padding: 64px 0;
    box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.1);
}

.footer-content {
    display: grid;
    gap: 32px;
    margin-bottom: 32px;
}

@media (min-width: 768px) {
    .footer-content {
        grid-template-columns: repeat(4, 1fr);
    }
}

.footer-about {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-logo {
    max-width: 150px;
    width: 100%;
    height: auto;
    opacity: 0.95;
    transition: all 0.3s ease;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.footer-logo:hover {
    opacity: 1;
    transform: translateY(-2px);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.15));
}

.footer-about p {
    color: #ffffff;
    font-size: 0.95rem;
    line-height: 1.7;
    font-weight: 500;
}

.footer-nav h4,
.footer-experiences h4,
.footer-contact h4 {
    font-weight: 700;
    font-size: 1.125rem;
    margin-bottom: 18px;
    color: #111827;
}

.footer-nav ul,
.footer-experiences ul,
.footer-contact ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-nav a,
.footer-experiences a {
    color: #1f2937;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    font-weight: 500;
}

.footer-nav a:hover,
.footer-experiences a:hover {
    color: #dc2626;
    padding-left: 4px;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: #1f2937;
    font-weight: 500;
}

.footer-contact svg {
    width: 18px;
    height: 18px;
    color: #111827;
}

.footer-contact span {
    color: #1f2937;
}

.footer-bottom {
    border-top: 2px solid rgba(31, 41, 55, 0.2);
    padding-top: 32px;
    text-align: center;
}

.footer-bottom p {
    color: #1f2937;
    font-size: 0.9rem;
    line-height: 1.7;
    font-weight: 500;
}

/* ===== ADDITIONAL PAGES STYLES (Aventuras, Mercado, Detalles) ===== */

/* CTA Button */
.cta-button {
    background-color: #16a34a;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    transition: background-color 0.3s ease;
    margin-left: 32px;
}

.cta-button:hover {
    background-color: #15803d;
}

/* Hamburger Menu and Mobile Navigation */
.hamburger-menu {
    display: block;
    background: #ffffff;
    border: 2px solid #0f172a;
    cursor: pointer;
    padding: 6px 10px;
    margin-left: 16px;
    color: #0f172a;
    font-weight: 700;
    border-radius: 6px;
    transition: all var(--transition-normal);
}

.hamburger-menu:hover {
    background: #f3f4f6;
    border-color: #16a34a;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.hamburger-menu i {
    width: 28px;
    height: 28px;
    color: #0f172a;
}

@media (min-width: 768px) {
    .hamburger-menu {
        display: none;
    }
}

.mobile-nav-links {
    display: none;
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(8px);
    flex-direction: column;
    align-items: center;
    padding: 20px 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    z-index: 40;
    transition: transform 0.3s ease-out;
    transform: translateY(-100%);
}

.mobile-nav-links.active {
    display: flex;
    transform: translateY(0);
}

.mobile-nav-links a,
.mobile-nav-links .lang {
    color: #0f172a;
    text-decoration: none;
    padding: 12px 0;
    width: 100%;
    text-align: center;
    transition: background-color 0.3s ease;
}

.mobile-nav-links a:hover,
.mobile-nav-links .lang:hover {
    background-color: #e8f5e9;
}

.mobile-nav-links .lang {
    cursor: pointer;
    font-weight: 600;
    border-top: 2px solid #e5e7eb;
    border-bottom: 2px solid #e5e7eb;
    background: #f0f9ff;
}

@media (min-width: 768px) {
    .mobile-nav-links {
        display: none;
    }
}

/* Text Styling */
.text-yellow {
    color: #facc15;
}

/* Parallax Layer */
.parallax-layer {
    will-change: transform;
    transition: transform 0.2s linear;
}

/* Aventuras Hero */
.aventuras-hero {
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #1a1a1a;
    padding-top: 80px;
    position: relative;
}

/* Section Subtitles */
.section-subtitle {
    font-size: 1.25rem;
    color: #6b7280;
}

/* About Section */
.about {
    padding: 80px 0;
    background-color: #f9fafb;
}

.about-content {
    display: grid;
    gap: 48px;
    align-items: center;
}

@media (min-width: 1024px) {
    .about-content {
        grid-template-columns: 1fr 1fr;
    }
}

.about-image {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100%;
    height: auto;
}

.about-image img {
    width: 100% !important;
    height: auto !important;
    object-fit: cover !important;
    aspect-ratio: 4 / 5 !important;
    border-radius: 8px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    max-width: 400px;
    display: block !important;
}

.about-text {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.about-text p {
    font-size: 1.125rem;
    color: #374151;
    line-height: 1.6;
}

.mission-card {
    border-left: 4px solid #16a34a;
    background-color: #f0fdf4;
    padding: 24px;
    border-radius: 8px;
}

.mission-card h3 {
    color: #166534;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.mission-card p {
    color: #15803d;
    margin: 0;
}

/* Services Section */
.services {
    padding: 80px 0;
    background-color: white;
}

.services-grid {
    display: grid;
    gap: 32px;
}

@media (min-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.service-card {
    background: white;
    border: 1px solid rgba(229, 231, 235, 0.8);
    border-radius: 16px;
    padding: 24px;
    transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.service-card-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 16px;
    z-index: 0;
}

.service-card-bg.color-1 { background: linear-gradient(135deg,#FFEDD5 0%, #FED7AA 100%); }
.service-card-bg.color-2 { background: linear-gradient(135deg,#ECFEFF 0%, #BFDBFE 100%); }
.service-card-bg.color-3 { background: linear-gradient(135deg,#F5F3FF 0%, #E9D5FF 100%); }
.service-card-bg.color-4 { background: linear-gradient(135deg,#FFFBEB 0%, #FEF3C7 100%); }
.service-card-bg.color-5 { background: linear-gradient(135deg,#FFF1F2 0%, #FECACA 100%); }
.service-card-bg.color-6 { background: linear-gradient(135deg,#EEF2FF 0%, #E0E7FF 100%); }

.service-card { overflow: hidden; }

.service-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 16px 40px rgba(255, 111, 0, 0.18);
    border-color: rgba(255, 111, 0, 0.3);
}

.service-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    transition: all 0.3s ease;
}

.service-icon.blue {
    background-color: #dbeafe;
}

.service-card:hover .service-icon.blue {
    background-color: #bfdbfe;
}

.service-icon.green {
    background-color: #dcfce7;
}

.service-card:hover .service-icon.green {
    background-color: #bbf7d0;
}

.service-icon.purple {
    background-color: #f3e8ff;
}

.service-card:hover .service-icon.purple {
    background-color: #e9d5ff;
}

.service-icon.yellow {
    background-color: #fef3c7;
}

.service-card:hover .service-icon.yellow {
    background-color: #fde68a;
}

.service-icon.red {
    background-color: #fee2e2;
}

.service-card:hover .service-icon.red {
    background-color: #fecaca;
}

.service-icon.indigo {
    background-color: #e0e7ff;
}

.service-card:hover .service-icon.indigo {
    background-color: #c7d2fe;
}

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

.service-icon.blue svg {
    color: #2563eb;
}

.service-icon.green svg {
    color: #16a34a;
}

.service-icon.purple svg {
    color: #9333ea;
}

.service-icon.yellow svg {
    color: #ca8a04;
}

.service-icon.red svg {
    color: #dc2626;
}

.service-icon.indigo svg {
    color: #4f46e5;
}

.service-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 12px;
}

.service-card p {
    color: #6b7280;
    line-height: 1.6;
}

/* Vocabulary Section */
.vocabulary {
    padding: 80px 0;
    background-color: #fffbeb;
}

.vocabulary-grid {
    display: grid;
    gap: 24px;
    margin-bottom: 48px;
}

.flip-cards-grid.collapsed .flip-card-wrapper:nth-child(n+5) {
    display: none;
}

@media (min-width: 768px) {
    .vocabulary-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .vocabulary-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.vocab-card {
    border: 2px solid;
    border-radius: 8px;
    padding: 16px;
    transition: box-shadow 0.3s ease;
}

.vocab-card:hover {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.vocab-card.yellow {
    background-color: #FFD700;
    border-color: #FFC400;
}

.vocab-card.blue {
    background-color: #0000CD;
    border-color: #0000A0;
}

.vocab-card.red {
    background-color: #FF0000;
    border-color: #CC0000;
}

.vocab-card.yellow h3,
.vocab-card.yellow p {
    color: #FF0000;
}

.vocab-card.blue h3,
.vocab-card.blue p {
    color: #FFFF00;
}

.vocab-card.red h3,
.vocab-card.red p {
    color: #0000FF;
}

.vocab-card h3 {
    color: #ea580c;
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.vocab-card p {
    color: #374151;
    font-size: 0.875rem;
}

.vocabulary-note {
    background: white;
    border: 2px solid #fcd34d;
    border-radius: 8px;
    max-width: 672px;
    margin: 0 auto;
    padding: 24px;
    text-align: center;
}

.vocabulary-note h3 {
    font-size: 1.5rem;
    color: #111827;
    margin-bottom: 16px;
}

.vocabulary-note p {
    color: #374151;
    line-height: 1.6;
}

/* Testimonials Section */
.testimonials {
    padding: 80px 0;
    background-color: white;
}

.testimonials-grid {
    display: grid;
    gap: 32px;
}

@media (min-width: 768px) {
    .testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.testimonial-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 24px;
    transition: box-shadow 0.3s ease;
}

.testimonial-card:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.stars {
    display: flex;
    gap: 4px;
    margin-bottom: 16px;
}

.star-filled {
    width: 20px;
    height: 20px;
    fill: #facc15;
    color: #facc15;
}

.testimonial-card blockquote {
    color: #374151;
    font-style: italic;
    margin-bottom: 24px;
    line-height: 1.6;
}

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

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
}

.author-avatar.green {
    background-color: #10b981;
}

.author-avatar.purple {
    background-color: #8b5cf6;
}

.author-avatar.orange {
    background-color: #f97316;
}

.author-name {
    font-weight: 600;
    color: #111827;
    margin-bottom: 4px;
}

.author-title {
    font-size: 0.875rem;
    color: #6b7280;
}

/* ===== ANIMATION & UTILITY STYLES ===== */

/* Volume Button */
.volume-button {
    background-color: rgba(255, 255, 255, 0.8);
    color: #111827;
    border: none;
    padding: 12px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
}

.volume-button:hover {
    background-color: white;
}

/* Animation Styles */
.animated-section {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animated-section.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Blog Card Images */
.blog-card-image {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    display: block !important;
    z-index: 1 !important;
    opacity: 1 !important;
    visibility: visible !important;
    transition: transform 0.6s cubic-bezier(0.33, 0.66, 0.66, 1) !important;
}

.blog-card-overlay {
    z-index: 2 !important;
}

.blog-card-content {
    z-index: 3 !important;
}

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

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

::-webkit-scrollbar-thumb {
    background: #16a34a;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #15803d;
}

/* ===== EXPERIENCE CARDS STYLING (Aventuras) ===== */

.experiencias-section {
    padding: 4rem 0;
    background-color: white;
}

.experiencias-header {
    text-align: center;
    margin-bottom: 3rem;
}

.experiencias-titulo {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1rem;
}

.experiencias-subtitulo {
    font-size: 1.125rem;
    color: #666666;
    max-width: 600px;
    margin: 0 auto;
}

.experiencias-grid {
    display: grid;
    gap: 2.5rem;
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {
    .experiencias-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (min-width: 1024px) {
    .experiencias-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2.5rem;
    }
}

.experiencia-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.33, 0.66, 0.66, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
}

.experiencia-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(0, 0, 0, 0.05);
}

.card-image-container {
    position: relative;
    width: 100%;
    height: 280px;
    overflow: hidden;
    background: linear-gradient(135deg, #f0f0f0 0%, #e5e5e5 100%);
    perspective: 1000px;
}

.card-image-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.3) 80%, rgba(0, 0, 0, 0.5) 100%);
    z-index: 1;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.4s cubic-bezier(0.33, 0.66, 0.66, 1);
    display: block;
}

.experiencia-card:hover .card-image {
    transform: scale(1.08) translateZ(0);
}

.card-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 8px 14px;
    border-radius: 24px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
    backdrop-filter: blur(8px);
}

.card-badge-secondary {
    position: absolute;
    top: 16px;
    right: 16px;
    background-color: rgba(16, 185, 129, 0.9);
    color: white;
    padding: 8px 14px;
    border-radius: 24px;
    font-size: 0.75rem;
    font-weight: 700;
    z-index: 2;
    backdrop-filter: blur(8px);
    letter-spacing: 0.5px;
}

.badge-ecoturismo {
    background-color: rgba(34, 197, 94, 0.9) !important;
}

.badge-cultura {
    background-color: rgba(59, 130, 246, 0.9) !important;
}

.badge-aventura {
    background-color: rgba(239, 68, 68, 0.85);
}

.badge-social {
    background-color: rgba(168, 85, 247, 0.85);
}

.badge-altamontana {
    background-color: rgba(99, 102, 241, 0.85);
}

.badge-gastronomia {
    background-color: rgba(245, 158, 11, 0.85);
}

.badge-historia {
    background-color: rgba(107, 114, 128, 0.85);
}

.badge-naturaleza {
    background-color: rgba(34, 197, 94, 0.85);
}

.badge-secondary {
    background-color: rgba(22, 163, 74, 0.85);
}

.card-body {
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    flex: 1;
    background: linear-gradient(180deg, #ffffff 0%, #fafafa 100%);
}

.card-title {
    font-size: 1.35rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
    line-height: 1.4;
    letter-spacing: -0.3px;
}

.card-meta {
    display: flex;
    gap: 1.75rem;
    flex-wrap: wrap;
    margin-top: 0.5rem;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #666666;
}

.meta-icon {
    width: 18px;
    height: 18px;
    color: #16a34a;
}

.meta-text {
    font-weight: 500;
}

.card-description {
    color: #666666;
    line-height: 1.6;
    font-size: 0.95rem;
    margin: 0;
}

.btn-itinerario {
    background-color: #16a34a;
    color: white;
    border: none;
    padding: 10px 16px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* ===== MOBILE RESPONSIVE FIX - GARANTIZA RESPONSIVIDAD TOTAL ===== */
@media (max-width: 768px) {
    * {
        max-width: 100vw;
    }
    
    section {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
        width: 100vw;
        box-sizing: border-box;
        position: relative;
        left: 50%;
        right: 50%;
        margin-left: -50vw;
        margin-right: -50vw;
    }
    
    .container {
        padding: 0 1rem !important;
        width: 100%;
        max-width: 100% !important;
    }
    
    .hero-content {
        padding: 1rem !important;
    }
    
    .navbar {
        width: 100%;
        left: 0;
        right: 0;
    }
    
    .nav-container {
        padding: 0 1rem !important;
        width: 100%;
    }
}
    font-size: 0.95rem;
    align-self: flex-start;
}

.btn-itinerario:hover {
    background-color: #15803d;
    transform: translateX(4px);
}

/* Map Section */
.aventuras-map-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #e8ecf1 100%);
}



