/* =========================
   HERO
========================= */
.hero {
    padding: 0;
  }
  
  .hero .carousel {
    width: 100%;
    min-height: 70vh; /* altura mínima, no obliga a 100% */
    max-height: 100vh; /* opcional */
    position: relative;
  }
  
  /* Slides */
  .hero .carousel-item {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
  }
  
  .hero .carousel-item img {
    width: 100%;
    height: 100%;       /* ocupa todo el contenedor */
    object-fit: cover;  /* mantiene proporción y cubre */
  }
  
  /* Overlay */
  .hero .carousel-item::before {
    content: "";
    position: absolute;
    inset: 0;
    background: color-mix(in srgb, var(--background-color), transparent 30%);
    z-index: 1;
  }
  
  /* Content */
  .hero .carousel-container {
    position: absolute;
    inset: 100px 64px 64px 64px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  /* Titles */
  .hero h1,
  .hero h2 {
    font-size: 48px;
    font-weight: 500;
    margin-bottom: 26px;
    text-shadow: 0 4px 20px rgba(0,0,0,0.45);
    animation: fadeInDown 1s both;
  }
  
  .hero h2 a {
    color: inherit;
    text-decoration: none;
  }
  
  .hero h2 a:hover {
    color: color-mix(in srgb, var(--accent-color), transparent 30%);
  }
  
  /* Copy */
  .hero p {
    font-size: 26px;
    line-height: 1.45;
    max-width: 820px;
    margin-bottom: 10px;
    text-shadow: 0 4px 20px rgba(0,0,0,0.4);
    animation: fadeInDown 1s both 0.2s;
  }
  
  /* Buttons */
  .hero-buttons {
    margin-top: 40px;
    display: flex;
    gap: 22px;
    flex-wrap: wrap;
    justify-content: center;
    animation: fadeInUp 1s both 0.4s;
  }
  
  .hero .btn-get-started,
  .hero .btn-get-started-2 {
    font-family: var(--heading-font);
    font-size: 18px;
    font-weight: 600;
    padding: 16px 38px;
    border-radius: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
  }
  
  /* Primary CTA */
  .hero .btn-get-started {
    background-color: var(--cta-button-color, #e53935);
    color: var(--contrast-color, #fff);
  }
  
  .hero .btn-get-started:hover {
    background: color-mix(in srgb, var(--cta-button-color), transparent 20%);
  }
  
  /* Secondary CTA */
  .hero .btn-get-started-2 {
    background-color: var(--accent-color);
    color: var(--contrast-color, #fff);
  }
  
  .hero .btn-get-started-2:hover {
    background: color-mix(in srgb, var(--accent-color), transparent 20%);
  }
  
  /* Controls */
  .hero .carousel-control-prev,
  .hero .carousel-control-next {
    width: 10%;
    opacity: 0.5;
  }
  
  .hero .carousel-control-prev:hover,
  .hero .carousel-control-next:hover {
    opacity: 1;
  }
  
  .hero .carousel-control-prev-icon,
  .hero .carousel-control-next-icon {
    font-size: 40px;
    color: var(--accent-color);
  }
  
  /* Responsive */
  @media (max-width: 768px) {
    .hero h1,
    .hero h2 {
      font-size: 30px;
    }
  
    .hero p {
      font-size: 20px;
    }
  
    .hero .btn-get-started,
    .hero .btn-get-started-2 {
      font-size: 16px;
      padding: 14px 28px;
    }
  
    .hero .carousel-container {
      inset: 80px 20px 40px 20px;
    }
  }
  
  /* Accessibility */
  @media (prefers-reduced-motion: reduce) {
    .hero * {
      animation: none !important;
      transition: none !important;
    }
  }
  
  /* Animations */
  @keyframes fadeInDown {
    from {
      opacity: 0;
      transform: translateY(-40px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  @keyframes fadeInUp {
    from {
      opacity: 0;
      transform: translateY(40px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }