.tosya-hero {
  position: relative;
  width: 100%;
  max-width: 100%;
  margin: 0 0 2.5rem;
  height: min(68vh, 560px);
  min-height: 400px;
  overflow: hidden;
  background: #111;
  border-radius: 16px;
  isolation: isolate;
}

.tosya-hero__track {
  position: relative;
  width: 100%;
  height: 100%;
}

.tosya-hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .65s ease, visibility .65s ease;
  background-size: cover;
  background-position: center;
  will-change: opacity;
}

.tosya-hero__slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 1;
}

.tosya-hero__img {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.tosya-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, .28) 0%, rgba(0, 0, 0, .45) 45%, rgba(0, 0, 0, .72) 100%),
    radial-gradient(ellipse at 18% 18%, rgba(245, 196, 0, .16), transparent 46%);
  padding: clamp(1.5rem, 4vw, 3.2rem);
  padding-top: clamp(1.25rem, 3vw, 2.5rem);
  padding-bottom: 4.5rem;
}

.tosya-hero__content {
  max-width: 720px;
  color: #fff;
}

.tosya-hero__slide.is-active .tosya-hero__content {
  animation: tosyaHeroIn .7s ease both;
}

@keyframes tosyaHeroIn {
  from { opacity: 0; transform: translate3d(0, 14px, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}

.tosya-hero__eyebrow {
  margin: 0 0 .55rem;
  font-size: .82rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #ffd84a;
  font-weight: 700;
}

.tosya-hero__title {
  margin: 0 0 .55rem;
  font-size: clamp(1.7rem, 3.8vw, 2.8rem);
  line-height: 1.15;
  color: #fff !important;
  text-shadow: 0 2px 16px rgba(0, 0, 0, .35);
}

.tosya-hero__text {
  margin: 0 0 1.15rem;
  font-size: clamp(.98rem, 1.5vw, 1.12rem);
  line-height: 1.55;
  color: rgba(255, 255, 255, .92);
  max-width: 34rem;
}

.tosya-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
}

.tosya-hero__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  min-height: 46px;
  padding: .75rem 1.3rem;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none !important;
  border: 0;
  box-shadow: none;
  transition: filter .2s ease, background-color .2s ease;
}

.tosya-hero__btn i {
  font-size: 1rem;
  line-height: 1;
}

.tosya-hero__btn:hover {
  filter: brightness(1.06);
  transform: none;
}

.tosya-hero__btn--call {
  background: #f5c400;
  color: #111 !important;
}

.tosya-hero__btn--wa {
  background: rgba(255, 255, 255, .14);
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, .45);
  backdrop-filter: blur(6px);
}

/* Nav circles: perfect optical center with SVG arrows */
.tosya-hero__nav {
  position: absolute;
  top: 50%;
  z-index: 4;
  width: 48px;
  height: 48px;
  margin: 0;
  border: 0;
  border-radius: 50% !important;
  background: rgba(0, 0, 0, .55);
  color: #fff;
  font-size: 0;
  line-height: 0;
  cursor: pointer;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  padding: 0 !important;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .25);
  transition: background-color .2s ease, color .2s ease;
  transform: translateY(-50%) !important;
  -webkit-appearance: none;
  appearance: none;
}

.tosya-hero__nav i {
  display: block;
  font-size: 18px;
  line-height: 1;
  width: 18px;
  text-align: center;
}

.tosya-hero__nav:hover,
.tosya-hero__nav:focus {
  background: #f5c400;
  color: #111;
  transform: translateY(-50%) !important;
  outline: none;
}

.tosya-hero__nav--prev { left: 16px; }
.tosya-hero__nav--next { right: 16px; }

/* Dots: no scale transform (prevents jump) */
.tosya-hero__dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 14px;
  z-index: 4;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  pointer-events: none;
}

.tosya-hero__dot {
  width: 10px;
  height: 10px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .42);
  cursor: pointer;
  padding: 0;
  margin: 0;
  pointer-events: auto;
  box-shadow: none;
  transition: background-color .2s ease, box-shadow .2s ease;
  transform: none !important;
}

.tosya-hero__dot.is-active {
  background: #f5c400;
  box-shadow: 0 0 0 3px rgba(245, 196, 0, .35);
  transform: none !important;
}

@media (max-width: 544px) {
  .tosya-hero {
    height: 62vh;
    min-height: 360px;
    border-radius: 12px;
  }

  .tosya-hero__nav {
    width: 42px;
    height: 42px;
  }

  .tosya-hero__nav i {
    font-size: 16px;
    width: 16px;
  }

  .tosya-hero__nav--prev { left: 10px; }
  .tosya-hero__nav--next { right: 10px; }
}

/* Prevent theme button styles from breaking slider controls */
.tosya-hero button.tosya-hero__nav {
  padding: 0 !important;
  min-width: 48px !important;
  min-height: 48px !important;
  border-radius: 50% !important;
  line-height: 0 !important;
  text-transform: none !important;
  font-weight: 400 !important;
  transform: translateY(-50%) !important;
}

.tosya-hero button.tosya-hero__dot {
  padding: 0 !important;
  min-width: 0 !important;
  min-height: 0 !important;
  border-radius: 50% !important;
  transform: none !important;
  text-transform: none !important;
}
