.rhino-hero-logo {
  margin-bottom: 1rem;
}

.rhino-hero-logo img {
  width: clamp(96px, 16vw, 140px);
  height: clamp(96px, 16vw, 140px);
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--rhino-orange);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.45),
    0 0 40px rgba(232, 93, 4, 0.2);
  animation: rhino-hero-logo-glow 3.5s ease-in-out infinite;
}

@keyframes rhino-hero-logo-glow {
  0%, 100% {
    box-shadow:
      0 8px 32px rgba(0, 0, 0, 0.45),
      0 0 32px rgba(232, 93, 4, 0.15);
  }
  50% {
    box-shadow:
      0 8px 32px rgba(0, 0, 0, 0.45),
      0 0 52px rgba(232, 93, 4, 0.35);
  }
}

.rhino-hero-actions {
  margin-top: 1.25rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

/* Slide fijo del hero (siempre primera diapositiva del carrusel) */
.rhino-banner-img--hero {
  background:
    linear-gradient(135deg, var(--rhino-surface) 0%, var(--rhino-bg-alt) 100%),
    repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 8px,
      rgba(61, 90, 58, 0.08) 8px,
      rgba(61, 90, 58, 0.08) 16px
    );
  transform: none;
  filter: none;
  animation: rhino-hero-bg-shift 14s ease-in-out infinite alternate;
}

@keyframes rhino-hero-bg-shift {
  0% {
    background-position: 0% 0%, 0 0;
  }
  100% {
    background-position: 100% 100%, 16px 16px;
  }
}

.rhino-banner-overlay--hero {
  background:
    radial-gradient(900px 420px at 10% 0%, rgba(255, 122, 44, 0.14), transparent 60%),
    radial-gradient(700px 420px at 100% 10%, rgba(61, 90, 58, 0.18), transparent 55%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.08) 0%, rgba(0, 0, 0, 0.35) 100%);
  animation: rhino-hero-overlay-pulse 8s ease-in-out infinite alternate;
}

@keyframes rhino-hero-overlay-pulse {
  0% {
    opacity: 0.92;
  }
  100% {
    opacity: 1;
  }
}

.rhino-banner-content--hero {
  justify-content: center;
  align-items: center;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  padding-bottom: clamp(18px, 3.2vw, 34px);
}

.rhino-banner-hero-title {
  margin: 0 0 0.35rem;
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.05;
  text-shadow: 0 12px 28px rgba(0, 0, 0, 0.45);
}

.rhino-banner-hero-slogan {
  margin: 0;
  color: var(--rhino-tan);
  font-size: clamp(0.95rem, 2vw, 1.2rem);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.rhino-banner-hero-desc {
  margin: 0.85rem 0 0;
  max-width: 600px;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 8px 18px rgba(0, 0, 0, 0.4);
}

.rhino-section-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.rhino-section-header h2 {
  margin: 0 0 0.35rem;
}

/* Banner carousel (landing) */
.rhino-banner-section {
  position: relative;
  margin-bottom: 1.25rem;
}

.rhino-banner-shell {
  --banner-radius: 18px;
  --banner-h: clamp(300px, 42vw, 480px);
  --banner-interval: 6500ms;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--banner-radius);
  background:
    radial-gradient(900px 420px at 10% 0%, rgba(255, 122, 44, 0.18), transparent 60%),
    radial-gradient(700px 420px at 100% 10%, rgba(61, 90, 58, 0.22), transparent 55%),
    rgba(0, 0, 0, 0.12);
  overflow: hidden;
  box-shadow:
    0 18px 70px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(232, 93, 4, 0.06);
  animation: rhino-banner-shell-glow 6s ease-in-out infinite alternate;
}

@keyframes rhino-banner-shell-glow {
  0% {
    box-shadow:
      0 18px 70px rgba(0, 0, 0, 0.55),
      0 0 0 1px rgba(232, 93, 4, 0.04);
  }
  100% {
    box-shadow:
      0 22px 80px rgba(0, 0, 0, 0.6),
      0 0 48px rgba(232, 93, 4, 0.08);
  }
}

.rhino-banner-carousel {
  min-width: 0;
  flex-shrink: 0;
}

.rhino-banner-viewport {
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  min-width: 0;
  height: var(--banner-h);
  min-height: var(--banner-h);
  max-height: var(--banner-h);
}
.rhino-banner-viewport::-webkit-scrollbar {
  display: none;
}

.rhino-banner-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 100%;
  height: 100%;
  align-items: stretch;
}

.rhino-banner-slide {
  position: relative;
  height: 100%;
  min-height: 100%;
  max-height: 100%;
  scroll-snap-align: start;
  overflow: hidden;
}

.rhino-banner-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  filter: contrast(1.05) saturate(1.05);
  will-change: transform;
}

.rhino-banner-slide.is-active .rhino-banner-img:not(.rhino-banner-img--hero) {
  animation: rhino-banner-ken-burns 12s ease-out forwards;
}

@keyframes rhino-banner-ken-burns {
  from {
    transform: scale(1.02);
  }
  to {
    transform: scale(1.1);
  }
}

.rhino-banner-slide.is-active .rhino-banner-content {
  animation: rhino-banner-content-in 0.65s cubic-bezier(0.22, 1, 0.36, 1) backwards;
}

@keyframes rhino-banner-content-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
}

.rhino-banner-img--placeholder {
  background:
    linear-gradient(135deg, rgba(255, 122, 44, 0.24), rgba(0, 0, 0, 0.35)),
    radial-gradient(600px 300px at 30% 20%, rgba(255, 255, 255, 0.14), transparent 60%),
    radial-gradient(600px 300px at 70% 70%, rgba(255, 122, 44, 0.12), transparent 55%);
}

.rhino-banner-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.18) 55%, rgba(0, 0, 0, 0.38) 100%),
    radial-gradient(700px 360px at 20% 40%, rgba(0, 0, 0, 0.62), transparent 60%);
}

.rhino-banner-content {
  position: relative;
  z-index: 1;
  height: 100%;
  padding: clamp(18px, 3.2vw, 34px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.65rem;
  max-width: 820px;
}

.rhino-banner-kicker {
  margin: 0;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
}

.rhino-banner-title {
  margin: 0;
  font-size: clamp(1.4rem, 3.2vw, 2.2rem);
  line-height: 1.08;
  text-shadow: 0 18px 35px rgba(0, 0, 0, 0.55);
}

.rhino-banner-subtitle {
  margin: 0;
  max-width: 62ch;
  color: rgba(255, 255, 255, 0.88);
  text-shadow: 0 10px 22px rgba(0, 0, 0, 0.55);
}

.rhino-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.4rem;
}

.rhino-banner-controls {
  flex-shrink: 0;
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 12px 0.75rem;
  background: rgba(0, 0, 0, 0.55);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  pointer-events: auto;
}

.rhino-banner-nav {
  pointer-events: auto;
  width: 44px;
  height: 38px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(0, 0, 0, 0.35);
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.5rem;
  line-height: 1;
  display: grid;
  place-items: center;
  cursor: pointer;
  backdrop-filter: blur(10px);
}
.rhino-banner-nav:hover,
.rhino-banner-nav:focus-visible {
  background: rgba(0, 0, 0, 0.5);
  border-color: rgba(255, 122, 44, 0.35);
  outline: none;
}

.rhino-banner-dots {
  pointer-events: auto;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.rhino-banner-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.12);
  cursor: pointer;
}
.rhino-banner-dot.is-active {
  width: 28px;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 122, 44, 0.9);
  position: relative;
  overflow: hidden;
}

.rhino-banner-dot.is-active::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: rgba(255, 122, 44, 0.85);
  transform-origin: left center;
  transform: scaleX(0);
  animation: rhino-banner-dot-fill var(--banner-interval, 6500ms) linear forwards;
}

@keyframes rhino-banner-dot-fill {
  to {
    transform: scaleX(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .rhino-hero-logo img,
  .rhino-banner-img--hero,
  .rhino-banner-overlay--hero,
  .rhino-banner-shell {
    animation: none;
  }

  .rhino-banner-slide.is-active .rhino-banner-img:not(.rhino-banner-img--hero),
  .rhino-banner-slide.is-active .rhino-banner-content {
    animation: none;
  }

  .rhino-banner-dot.is-active::after {
    animation: none;
    transform: scaleX(1);
  }
}

@media (max-width: 768px) {
  .rhino-banner-section {
    margin-bottom: 1.5rem;
  }

  .rhino-banner-shell {
    --banner-h: clamp(288px, 76vw, 336px);
  }

  .rhino-banner-viewport {
    scroll-behavior: auto;
  }

  .rhino-banner-content {
    padding: 0.75rem 0.9rem 0.85rem;
    overflow: hidden;
    box-sizing: border-box;
  }

  .rhino-banner-content--hero {
    justify-content: center;
    padding-top: 0.65rem;
    padding-bottom: 0.75rem;
  }

  .rhino-hero-logo {
    margin-bottom: 0.5rem;
  }

  .rhino-hero-logo img {
    width: 64px;
    height: 64px;
  }

  .rhino-banner-hero-title {
    font-size: clamp(1.2rem, 5.4vw, 1.65rem);
    line-height: 1.08;
  }

  .rhino-banner-hero-slogan {
    font-size: 0.78rem;
    letter-spacing: 0.1em;
  }

  .rhino-banner-hero-desc {
    display: none;
  }

  .rhino-banner-title {
    font-size: clamp(1.15rem, 4.8vw, 1.45rem);
    line-height: 1.12;
  }

  .rhino-banner-subtitle {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    font-size: 0.88rem;
    line-height: 1.35;
  }

  .rhino-hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 0.55rem;
    width: 100%;
    max-width: 100%;
    margin-top: 0.65rem;
    margin-left: auto;
    margin-right: auto;
  }

  .rhino-hero-actions .rhino-btn {
    max-width: none;
    padding-top: 0.7rem;
    padding-bottom: 0.7rem;
    font-size: 0.92rem;
  }

  .rhino-banner-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 0.55rem;
    margin-top: 0.55rem;
    padding-bottom: 0.15rem;
  }

  .rhino-banner-actions .rhino-btn {
    width: 100%;
    max-width: none;
    text-align: center;
    padding-top: 0.7rem;
    padding-bottom: 0.7rem;
    font-size: 0.92rem;
  }

  .rhino-banner-controls {
    grid-template-columns: 38px 1fr 38px;
    padding-top: 0.55rem;
    padding-bottom: 0.65rem;
    border-radius: 0 0 calc(var(--banner-radius) - 1px) calc(var(--banner-radius) - 1px);
  }

  .rhino-banner-nav {
    width: 38px;
    height: 34px;
    border-radius: 10px;
  }
}
