/* Modern CSS for Letter Express Website - Compatible Version */

/* CSS Variables for consistent theming */
:root {
  --primary-color: #2563eb;
  --primary-dark: #1d4ed8;
  --secondary-color: #f59e0b;
  --accent-color: #10b981;
  --text-primary: #1f2937;
  --text-secondary: #6b7280;
  --text-light: #9ca3af;
  --bg-primary: #ffffff;
  --bg-secondary: #f8fafc;
  --bg-dark: #1f2937;
  --border-color: #e5e7eb;
  --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 -2px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --transition: all 0.3s ease;
}

/* Modern Reset and Base Styles */
* {
  box-sizing: border-box;
}

/* Override existing body styles more carefully */
body {
  font-family: 'Inter', 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
  font-size: 16px !important;
  font-weight: 400 !important;
  line-height: 1.6 !important;
  color: var(--text-primary) !important;
  background-color: var(--bg-primary) !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Modern Typography - More specific selectors */
.hero-title, .services-modern h1, .testimonials-modern h1 {
  font-weight: 700 !important;
  line-height: 1.2 !important;
  color: #1f2937 !important;
  margin-bottom: 1rem !important;
  font-size: 3rem !important;
}

.hero-subtitle, .services-modern h2, .testimonials-modern h2 {
  font-weight: 300 !important;
  line-height: 1.3 !important;
  color: #6b7280 !important;
  margin-bottom: 1.5rem !important;
  font-size: 1.5rem !important;
}

/* Specific styles for services section text */
.services-modern .hero-text h1 {
  color: #1f2937 !important;
}

.services-modern .hero-text h2 {
  color: #6b7280 !important;
}

.service-title, .bodega-title {
  font-weight: 700 !important;
  line-height: 1.2 !important;
  color: var(--text-primary) !important;
  margin-bottom: 1rem !important;
  font-size: 1.5rem !important;
}

/* Modern Button Styles - Simplified */
.btn-modern {
  display: inline-block !important;
  padding: 12px 24px !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  border: none !important;
  border-radius: 8px !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
}

.btn-modern.btn-primary {
  background: #2563eb !important;
  color: white !important;
}

.btn-modern.btn-primary:hover {
  background: #1d4ed8 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2) !important;
}

.btn-modern.btn-secondary {
  background: #f8fafc !important;
  color: #1f2937 !important;
  border: 1px solid #e5e7eb !important;
}

.btn-modern.btn-secondary:hover {
  background: #2563eb !important;
  color: white !important;
  border-color: #2563eb !important;
}

/* Modern Card Styles */
.card-modern {
  background: var(--bg-primary);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 2rem;
  transition: var(--transition);
  border: 1px solid var(--border-color);
}

.card-modern:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

/* Modern Navigation - Simplified */
.navbar-modern {
  background: rgba(255, 255, 255, 0.95) !important;
  border-bottom: 1px solid #e5e7eb !important;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
  transition: all 0.3s ease !important;
  min-height: 80px !important;
}

.navbar-modern.scrolled {
  background: rgba(255, 255, 255, 0.98) !important;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1) !important;
}

.navbar-modern .container {
  display: flex !important;
  align-items: center !important;
  min-height: 80px !important;
}

.navbar-brand img {
  height: 50px !important;
  transition: all 0.3s ease !important;
}

.navbar-brand img:hover {
  transform: scale(1.05) !important;
}

.navbar-nav {
  display: flex !important;
  align-items: center !important;
  margin: 0 !important;
}

.navbar-nav > li {
  display: flex !important;
  align-items: center !important;
}

.nav-link-modern {
  color: #1f2937 !important;
  font-weight: 500 !important;
  text-decoration: none !important;
  padding: 12px 16px !important;
  border-radius: 8px !important;
  transition: all 0.3s ease !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 44px !important;
}

.nav-link-modern:hover {
  color: #2563eb !important;
  background: #f8fafc !important;
}

.nav-link-modern i {
  margin-right: 8px !important;
}

.navbar-collapse {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  height: auto !important;
  overflow: visible !important;
}

.navbar-collapse.collapse {
  display: flex !important;
  height: auto !important;
}

.navbar-collapse.collapse.in,
.navbar-collapse.collapse.show {
  display: flex !important;
  height: auto !important;
}

/* Responsive Navigation */
@media (min-width: 768px) {
  .navbar-right {
    float: none !important;
    margin-right: 0 !important;
  }

  .navbar-nav.navbar-right {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
  }
}

@media (max-width: 767px) {
  .navbar-modern .container {
    flex-direction: column !important;
    align-items: stretch !important;
  }

  .navbar-collapse {
    flex-direction: column !important;
    align-items: stretch !important;
    margin-top: 1rem !important;
    display: none !important;
  }

  .navbar-collapse.collapse.in,
  .navbar-collapse.collapse.show {
    display: flex !important;
    flex-direction: column !important;
  }

  .navbar-nav {
    flex-direction: column !important;
    width: 100% !important;
  }

  .navbar-nav > li {
    width: 100% !important;
    margin-bottom: 0.5rem !important;
  }

  .nav-link-modern {
    width: 100% !important;
    text-align: center !important;
    padding: 15px 20px !important;
  }

  .btn-modern.btn-primary {
    margin-top: 0.5rem !important;
  }
}

/* Modern Hero Section */
.hero-modern {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  overflow: hidden;
}

.hero-modern::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><polygon fill="rgba(255,255,255,0.1)" points="0,1000 1000,0 1000,1000"/></svg>');
  background-size: cover;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: white;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
}

.hero-title {
  font-size: 4rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, #ffffff, #e0e7ff);
  -webkit-background-clip: text;
  /* -webkit-text-fill-color: transparent; */
  background-clip: text;
  animation: fadeInUp 1s ease-out;
}
.why-to-choose-us-01 .block h1 {
  color: #ffffff !important;
}
.hero-text h1 {
  color: inherit !important;
}
.hero-subtitle {
  font-size: 1.5rem;
  font-weight: 300;
  margin-bottom: 2rem;
  opacity: 0.9;
  animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-description {
  font-size: 1.125rem;
  margin-bottom: 3rem;
  opacity: 0.8;
  animation: fadeInUp 1s ease-out 0.4s both;
}

/* Modern Services Section - Simplified */
.services-modern {
  padding: 60px 0 !important;
  background: #f8fafc !important;
}

/* Ensure text visibility in services section */
.services-modern .hero-text {
  color: #1f2937 !important;
}

.services-modern .hero-text h1 {
  color: #1f2937 !important;
  font-size: 2.5rem !important;
  font-weight: 700 !important;
  margin-bottom: 15px !important;
}

.services-modern .hero-text h2 {
  color: #6b7280 !important;
  font-size: 1.25rem !important;
  font-weight: 300 !important;
  margin-bottom: 20px !important;
  text-transform: uppercase !important;
  letter-spacing: 2px !important;
}

.services-modern .line {
  width: 60px !important;
  height: 3px !important;
  background: #2563eb !important;
  margin: 0 auto 30px !important;
}

.service-card {
  background: white !important;
  border-radius: 16px !important;
  padding: 30px 20px !important;
  text-align: center !important;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1) !important;
  transition: all 0.3s ease !important;
  border: 1px solid #e5e7eb !important;
  height: 100% !important;
  margin-bottom: 20px !important;
}

.service-card:hover {
  transform: translateY(-8px) !important;
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.2) !important;
}

.service-icon {
  width: 80px !important;
  height: 80px !important;
  margin: 0 auto 20px !important;
  background: #2563eb !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 2rem !important;
  color: white !important;
  transition: all 0.3s ease !important;
}

.service-card:hover .service-icon {
  transform: scale(1.1) !important;
  background: #10b981 !important;
}

.service-title {
  font-size: 1.5rem !important;
  font-weight: 700 !important;
  margin-bottom: 15px !important;
  color: #1f2937 !important;
}

.service-description {
  color: #6b7280 !important;
  line-height: 1.7 !important;
  margin-bottom: 20px !important;
}

/* Modern Testimonials */
.testimonials-modern {
  padding: 6rem 0;
  background: var(--bg-primary);
}

/* Owl Carousel Testimonials Styling */
.testimonial-carousel {
  position: relative;
}

.testimonial-carousel .owl-stage-outer {
  padding: 20px 0;
}

.testimonial-carousel .owl-item {
  padding: 0 15px;
}

/* Ensure all testimonials have the same modern style */
.testimonial-carousel > div,
.testimonial-carousel .owl-item > div {
  background: white !important;
  border-radius: 16px !important;
  padding: 30px !important;
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1) !important;
  border: 1px solid #e5e7eb !important;
  position: relative !important;
  transition: all 0.3s ease !important;
  margin: 0 10px !important;
  /* min-height: 200px !important; */
}

.testimonial-carousel > div::before,
.testimonial-carousel .owl-item > div::before {
  content: '"' !important;
  position: absolute !important;
  top: -10px !important;
  left: 20px !important;
  font-size: 4rem !important;
  color: #2563eb !important;
  opacity: 0.2 !important;
  font-family: serif !important;
  font-weight: bold !important;
  z-index: 1 !important;
}

.testimonial-carousel > div:hover,
.testimonial-carousel .owl-item > div:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 20px 25px rgba(0, 0, 0, 0.15) !important;
}

.testimonial-carousel .owl-nav {
  position: absolute;
  top: 50%;
  width: 100%;
  transform: translateY(-50%);
  z-index: 10;
}

.testimonial-carousel .owl-prev,
.testimonial-carousel .owl-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background: #2563eb !important;
  color: white !important;
  border-radius: 50% !important;
  border: none !important;
  font-size: 18px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: all 0.3s ease !important;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1) !important;
}

.testimonial-carousel .owl-prev:hover,
.testimonial-carousel .owl-next:hover {
  background: #1d4ed8 !important;
  transform: translateY(-50%) scale(1.1) !important;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2) !important;
}

.testimonial-carousel .owl-prev {
  left: -25px;
}

.testimonial-carousel .owl-next {
  right: -25px;
}

.testimonial-carousel .owl-dots {
  text-align: center;
}

/* Owl dots: style the inner span only to avoid double circles */
.testimonial-carousel .owl-dot {
  background: transparent !important;
  border: 0 !important;
  padding: 0 !important;
  margin: 0 6px !important;
  width: auto !important;
  height: auto !important;
}

.testimonial-carousel .owl-dot span {
  display: block !important;
  width: 10px !important;
  height: 10px !important;
  border-radius: 50% !important;
  background: #e5e7eb !important;
  transition: transform 0.2s ease, background 0.2s ease !important;
}

.testimonial-carousel .owl-dot.active span {
  background: #2563eb !important;
  transform: scale(1.2) !important;
}

.testimonial-carousel .owl-dot:hover span {
  background: #6b7280 !important;
}

/* Universal testimonial styling - applies to all testimonials */
.testimonial-card,
.testimonial-carousel > div,
.testimonial-carousel .owl-item > div {
  background: white !important;
  border-radius: 16px !important;
  padding: 30px !important;
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1) !important;
  border: 1px solid #e5e7eb !important;
  position: relative !important;
  transition: all 0.3s ease !important;
  margin: 0 10px !important;
  /* min-height: 200px !important; */
}

.testimonial-card::before,
.testimonial-carousel > div::before,
.testimonial-carousel .owl-item > div::before {
  content: '"' !important;
  position: absolute !important;
  top: -10px !important;
  left: 20px !important;
  font-size: 4rem !important;
  color: #2563eb !important;
  opacity: 0.2 !important;
  font-family: serif !important;
  font-weight: bold !important;
  z-index: 1 !important;
}

.testimonial-card:hover,
.testimonial-carousel > div:hover,
.testimonial-carousel .owl-item > div:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 20px 25px rgba(0, 0, 0, 0.15) !important;
}

/* Universal text styling for all testimonials */
.testimonial-text,
.testimonial-carousel .description,
.testimonial-carousel .owl-item .description {
  font-size: 1.125rem !important;
  line-height: 1.7 !important;
  color: #1f2937 !important;
  margin-bottom: 20px !important;
  font-style: italic !important;
  position: relative !important;
  z-index: 2 !important;
}

.testimonial-author,
.testimonial-carousel .author-info {
  display: flex !important;
  align-items: center !important;
  gap: 15px !important;
  margin-top: 20px !important;
}

.author-avatar,
.testimonial-carousel .author-avatar {
  width: 60px !important;
  height: 60px !important;
  border-radius: 50% !important;
  background: #2563eb !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: white !important;
  font-weight: 700 !important;
  font-size: 1.5rem !important;
  flex-shrink: 0 !important;
}

.author-info h4,
.testimonial-carousel .name,
.testimonial-carousel .owl-item .name {
  margin: 0 !important;
  font-size: 1.125rem !important;
  color: #1f2937 !important;
  font-weight: 600 !important;
}

.author-info p,
.testimonial-carousel .company,
.testimonial-carousel .owl-item .company {
  margin: 0 !important;
  color: #6b7280 !important;
  font-size: 0.875rem !important;
  font-weight: 400 !important;
}

/* Modern Footer */
.footer-modern {
  background: var(--bg-dark);
  color: white;
  padding: 4rem 0 2rem;
}

.footer-section h3 {
  color: white;
  margin-bottom: 1.5rem;
  font-size: 1.25rem;
}

.footer-section p,
.footer-section li {
  color: #d1d5db;
  line-height: 1.7;
}

.footer-section a {
  color: #d1d5db;
  text-decoration: none;
  transition: var(--transition);
}

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

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.social-link:hover {
  background: var(--primary-color);
  transform: translateY(-2px);
}

/* Modern Animations - Simplified */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fadeInUp {
  animation: fadeInUp 0.6s ease-out !important;
}

/* Utility classes */
.me-2 { margin-right: 8px !important; }
.mb-4 { margin-bottom: 20px !important; }

/* Additional text visibility fixes */
.home-04-our-services .hero-text h1 {
  color: #1f2937 !important;
  font-size: 2.5rem !important;
  font-weight: 700 !important;
}

.home-04-our-services .hero-text h2 {
  color: #6b7280 !important;
  font-size: 1.25rem !important;
  font-weight: 300 !important;
  text-transform: uppercase !important;
  letter-spacing: 2px !important;
}

.home-04-our-services .hero-text {
  color: #1f2937 !important;
}

/* Ensure all text in services section is visible */
.home-04-our-services {
  background: #f8fafc !important;
}

.home-04-our-services * {
  color: #1f2937 !important;
}

.home-04-our-services h1,
.home-04-our-services h2,
.home-04-our-services h3,
.home-04-our-services h4,
.home-04-our-services h5,
.home-04-our-services h6 {
  color: #1f2937 !important;
}

/* Testimonial item styling - scoped to testimonial items only */
.testimonials .testimonial-card,
.testimonials .testimonial-carousel .owl-item > div {
  background: white !important;
  border-radius: 16px !important;
  padding: 30px !important;
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1) !important;
  border: 1px solid #e5e7eb !important;
  position: relative !important;
  transition: all 0.3s ease !important;
  margin: 0 10px !important;
  /* min-height: 200px !important; */
}

.testimonials .testimonial-card::before,
.testimonials .testimonial-carousel .owl-item > div::before {
  content: '"' !important;
  position: absolute !important;
  top: -10px !important;
  left: 20px !important;
  font-size: 4rem !important;
  color: #2563eb !important;
  opacity: 0.2 !important;
  font-family: serif !important;
  font-weight: bold !important;
  z-index: 1 !important;
}

.testimonials .testimonial-card:hover,
.testimonials .testimonial-carousel .owl-item > div:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 20px 25px rgba(0, 0, 0, 0.15) !important;
}

/* Consistent text styling inside testimonial items */
.testimonials .testimonial-card .testimonial-text,
.testimonials .testimonial-carousel .owl-item > div .description {
  font-size: 1.125rem !important;
  line-height: 1.7 !important;
  color: #1f2937 !important;
  margin-bottom: 20px !important;
  font-style: italic !important;
  position: relative !important;
  z-index: 2 !important;
}

.testimonials .testimonial-card .author-info h4,
.testimonials .testimonial-carousel .owl-item > div .name {
  margin: 0 !important;
  font-size: 1.125rem !important;
  color: #1f2937 !important;
  font-weight: 600 !important;
}

.testimonials .testimonial-card .author-info p,
.testimonials .testimonial-carousel .owl-item > div .company {
  margin: 0 !important;
  color: #6b7280 !important;
  font-size: 0.875rem !important;
  font-weight: 400 !important;
}

/* Reset containers generated by Owl to avoid card styles on them */
.testimonial-carousel > .owl-stage-outer,
.testimonial-carousel > .owl-dots,
.testimonial-carousel > .owl-nav {
  background: transparent !important;
  box-shadow: none !important;
  border: 0 !important;
  padding: 0 !important;
  margin: 0 auto !important;
  min-height: 0 !important;
  border-radius: 0 !important;
}

.testimonial-carousel > .owl-dots {
  margin-top: 20px !important;
}

/* Fix legacy Owl v1 controls and hide arrows for testimonials */
.testimonial-carousel .owl-controls {
  background: transparent !important;
  box-shadow: none !important;
  border: 0 !important;
  padding: 0 !important;
  margin: 20px auto 0 !important;
  text-align: center !important;
  position: static !important;
}

.testimonial-carousel .owl-controls .owl-buttons,
.testimonial-carousel .owl-prev,
.testimonial-carousel .owl-next {
  display: none !important;
}

.testimonial-carousel .owl-dots {
  display: inline-block !important;
  text-align: center !important;
}

/* Modern Bodegas Section */
.bodegas-modern {
  padding: 6rem 0;
  background: var(--bg-secondary);
}

.bodega-card {
  background: var(--bg-primary);
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  transition: var(--transition);
  height: 100%;
}

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

.bodega-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.bodega-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  color: var(--text-secondary);
  font-size: 0.875rem;
}

.bodega-icon {
  width: 20px;
  height: 20px;
  color: var(--primary-color);
  flex-shrink: 0;
}

/* Modern Responsive Design */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.25rem;
  }
  
  .service-card {
    padding: 2rem 1.5rem;
  }
  
  .testimonial-card {
    padding: 2rem;
  }
  
  .card-modern {
    padding: 1.5rem;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1.125rem;
  }
  
  .btn-modern {
    padding: 0.625rem 1.25rem;
    font-size: 0.8rem;
  }
}

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

::-webkit-scrollbar-track {
  background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-dark);
}

/* Modern Focus States */
*:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

/* Modern Contact Info */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #d1d5db;
  font-size: 0.875rem;
}

.contact-item i {
  width: 20px;
  color: var(--primary-color);
  flex-shrink: 0;
}

.contact-item a {
  color: #d1d5db;
  text-decoration: none;
  transition: var(--transition);
}

.contact-item a:hover {
  color: var(--primary-color);
}

/* Modern Utility Classes */
.me-2 { margin-right: 0.5rem; }
.mb-4 { margin-bottom: 1.5rem; }

/* Modern Loading States */
.loading {
  position: relative;
  overflow: hidden;
}

.loading::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  animation: loading 1.5s infinite;
}

@keyframes loading {
  0% { left: -100%; }
  100% { left: 100%; }
}

/* Modern Bodegas Section Enhancements */
.bodegas-modern .bodega-card {
  background: var(--bg-primary);
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  transition: var(--transition);
  height: 100%;
}

.bodegas-modern .bodega-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.bodegas-modern .bodega-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.bodegas-modern .bodega-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  color: var(--text-secondary);
  font-size: 0.875rem;
}

.bodegas-modern .bodega-icon {
  width: 20px;
  height: 20px;
  color: var(--primary-color);
  flex-shrink: 0;
}

/* Modern Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

/* Modern Focus Visible */
*:focus-visible {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

/* Modern Selection */
::selection {
  background: var(--primary-color);
  color: white;
}

/* Modern Backdrop Blur Support */
@supports (backdrop-filter: blur(10px)) {
  .navbar-modern {
    backdrop-filter: blur(10px);
  }
}

/* Modern Notifications */
.notification {
  position: fixed;
  top: 20px;
  right: 20px;
  background: var(--bg-primary);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  z-index: 9999;
  transform: translateX(100%);
  transition: var(--transition);
  border-left: 4px solid var(--primary-color);
  max-width: 400px;
}

.notification.show {
  transform: translateX(0);
}

.notification-success {
  border-left-color: var(--accent-color);
}

.notification-error {
  border-left-color: #ef4444;
}

.notification-close {
  background: none;
  border: none;
  font-size: 1.25rem;
  cursor: pointer;
  color: var(--text-secondary);
  margin-left: auto;
}

/* Modern Scroll to Top Button */
.scroll-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 50px;
  height: 50px;
  background: var(--primary-color);
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  transform: translateY(100px);
  transition: var(--transition);
  z-index: 1000;
}

.scroll-to-top.show {
  transform: translateY(0);
}

.scroll-to-top:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

/* Modern Tooltips */
.tooltip {
  position: absolute;
  background: var(--bg-dark);
  color: white;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  z-index: 1000;
  pointer-events: none;
}

.tooltip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-top-color: var(--bg-dark);
}

/* Modern Focus States */
.focus-visible {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

/* Modern Mobile Menu */
@media (max-width: 768px) {
  .navbar-collapse.show {
    display: block !important;
    background: var(--bg-primary);
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius-lg);
    margin-top: 1rem;
    padding: 1rem;
  }
  
  .navbar-toggle.active .icon-bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  
  .navbar-toggle.active .icon-bar:nth-child(2) {
    opacity: 0;
  }
  
  .navbar-toggle.active .icon-bar:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
  }

  /* Mobile Testimonial Carousel */
  .testimonial-carousel .owl-prev,
  .testimonial-carousel .owl-next {
    width: 40px !important;
    height: 40px !important;
    font-size: 14px !important;
  }

  .testimonial-carousel .owl-prev {
    left: -20px !important;
  }

  .testimonial-carousel .owl-next {
    right: -20px !important;
  }

  .testimonial-card {
    padding: 20px !important;
    margin: 0 5px !important;
  }

  .testimonial-text {
    font-size: 1rem !important;
  }

  .author-avatar {
    width: 50px !important;
    height: 50px !important;
    font-size: 1.25rem !important;
  }
}

/* Modern Loading Spinner */
.modern-spinner {
  width: 40px;
  height: 40px;
  border: 4px solid var(--border-color);
  border-top: 4px solid var(--primary-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

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

/* Modern Form Enhancements */
.form-group {
  position: relative;
  margin-bottom: 1.5rem;
}

.form-group.focused label {
  transform: translateY(-1.5rem) scale(0.85);
  color: var(--primary-color);
}

.form-group label {
  position: absolute;
  top: 1rem;
  left: 1rem;
  color: var(--text-secondary);
  transition: var(--transition);
  pointer-events: none;
  background: var(--bg-primary);
  padding: 0 0.5rem;
}

/* Modern Accessibility */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Modern High Contrast Mode */
@media (prefers-contrast: high) {
  :root {
    --primary-color: #0000ff;
    --text-primary: #000000;
    --bg-primary: #ffffff;
    --border-color: #000000;
  }
}

/* Modern Dark Mode Support */
@media (prefers-color-scheme: dark) {
  :root {
    --text-primary: #f9fafb;
    --text-secondary: #d1d5db;
    --bg-primary: #111827;
    --bg-secondary: #1f2937;
    --border-color: #374151;
  }
}
