/* ============================================================
   TRC Home Hero Banner — scrollable swiper, two-column layout
   ============================================================ */

.trc-home-hero {
  position: relative;
  margin-top: 100px;
  overflow: hidden;
  background: #fff;
}

.trc-home-hero-swiper {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.trc-home-hero-swiper::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: clamp(28px, 4.5vw, 52px);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 52' preserveAspectRatio='none'%3E%3Cpath d='M0 0V26C240 2 480 2 720 26C960 50 1200 50 1440 26V0H0Z' fill='%23ffffff'/%3E%3C/svg%3E") center bottom / 100% 100% no-repeat;
  z-index: 4;
  pointer-events: none;
}

.trc-home-hero-swiper .swiper-slide {
  height: auto;
}

/* Slide shell + gradient (matches reference deep-red palette) */
.trc-home-hero__slide {
  position: relative;
  overflow: hidden;
  padding: clamp(48px, 7vw, 88px) 0 clamp(56px, 8vw, 96px);
  background:
    radial-gradient(ellipse 80% 120% at 85% 50%, rgba(239, 36, 40, 0.35) 0%, transparent 55%),
    linear-gradient(105deg, #5c0f17 0%, var(--trc-maroon) 32%, #9a1a22 68%, #c02830 100%);
  min-height: clamp(420px, 52vw, 560px);
}

/* Decorative wavy borders */
.trc-home-hero__wave {
  display: block;
  width: 100%;
  line-height: 0;
  pointer-events: none;
  position: relative;
  z-index: 2;
}

.trc-home-hero__wave--top {
  margin-bottom: -2px;
  color: #fff;
}

.trc-home-hero__wave--bottom {
  margin-top: -2px;
  color: #ffe9eb;
  transform: scaleY(-1);
}

.trc-home-hero__wave svg {
  display: block;
  width: 100%;
  height: clamp(36px, 5.5vw, 64px);
}

.trc-home-hero__wave-layer {
  position: absolute;
  left: 0;
  right: 0;
  line-height: 0;
  pointer-events: none;
}

.trc-home-hero__wave-layer--inner-top {
  top: 0;
  z-index: 1;
  opacity: 0.45;
}

.trc-home-hero__wave-layer--inner-bottom {
  bottom: 0;
  z-index: 1;
  opacity: 0.35;
  transform: scaleY(-1);
}

.trc-home-hero__wave-layer svg {
  width: 100%;
  height: clamp(28px, 4vw, 48px);
}

/* Content column */
.trc-home-hero__content {
  position: relative;
  z-index: 2;
  color: #fff;
  text-align: left;
  max-width: 540px;
  padding-right: clamp(0px, 3vw, 24px);
}

.trc-home-hero__title {
  font-size: clamp(2rem, 4.8vw, 3.25rem);
  font-weight: 800;
  line-height: 1.12;
  color: #fff;
  margin: 0 0 1.25rem;
  letter-spacing: -0.02em;
  text-transform: none;
}

.trc-home-hero__text {
  font-size: clamp(1rem, 1.6vw, 1.125rem);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.92);
  margin: 0 0 1rem;
}

.trc-home-hero__tagline {
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  font-weight: 600;
  color: #fff;
  margin: 0 0 1.75rem;
}

.trc-home-hero__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 14px 32px;
  border-radius: 999px;
  background: var(--trc-red);
  color: #fff !important;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  border: none;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.trc-home-hero__btn:hover {
  background: var(--trc-red-btn);
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
}

/* Image column + decorative rings */
.trc-home-hero__media-wrap {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: clamp(16px, 3vw, 32px) 0;
}

.trc-home-hero__rings {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.trc-home-hero__ring {
  position: absolute;
  border: 2px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
}

.trc-home-hero__ring--1 {
  width: clamp(180px, 28vw, 320px);
  height: clamp(180px, 28vw, 320px);
  top: 50%;
  left: 55%;
  transform: translate(-50%, -50%);
}

.trc-home-hero__ring--2 {
  width: clamp(240px, 36vw, 420px);
  height: clamp(240px, 36vw, 420px);
  top: 42%;
  left: 62%;
  transform: translate(-50%, -50%);
  border-color: rgba(255, 255, 255, 0.14);
}

.trc-home-hero__ring--3 {
  width: clamp(120px, 18vw, 200px);
  height: clamp(120px, 18vw, 200px);
  top: 68%;
  left: 38%;
  transform: translate(-50%, -50%);
  border-color: rgba(255, 255, 255, 0.18);
}

.trc-home-hero__media {
  position: relative;
  z-index: 1;
  width: min(100%, 380px);
  aspect-ratio: 4 / 5;
  border-radius: clamp(28px, 4vw, 48px);
  overflow: hidden;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.28);
}

.trc-home-hero__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Swiper controls */
.trc-home-hero__pagination.swiper-pagination {
  bottom: clamp(18px, 3vw, 28px) !important;
  z-index: 5;
}

.trc-home-hero__pagination .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: rgba(255, 255, 255, 0.45);
  opacity: 1;
  transition: transform 0.2s ease, background 0.2s ease;
}

.trc-home-hero__pagination .swiper-pagination-bullet-active {
  background: #fff;
  transform: scale(1.25);
}

.trc-home-hero__nav {
  color: #fff !important;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(6px);
  transition: background 0.2s ease;
}

.trc-home-hero__nav::after {
  font-size: 18px;
  font-weight: 700;
}

.trc-home-hero__nav:hover {
  background: rgba(255, 255, 255, 0.22);
}

.trc-home-hero__nav--prev {
  left: clamp(8px, 2vw, 24px);
}

.trc-home-hero__nav--next {
  right: clamp(8px, 2vw, 24px);
}

/* Responsive — stack on tablet/mobile */
@media (max-width: 991px) {
  .trc-home-hero__slide {
    min-height: 0;
    padding: clamp(36px, 6vw, 56px) 0 clamp(48px, 7vw, 72px);
  }

  .trc-home-hero__content {
    max-width: none;
    text-align: center;
    margin: 0 auto;
    padding-right: 0;
  }

  .trc-home-hero__btn {
    margin-bottom: 0.5rem;
  }

  .trc-home-hero__media-wrap {
    margin-top: clamp(8px, 2vw, 20px);
  }

  .trc-home-hero__media {
    width: min(100%, 320px);
    margin: 0 auto;
  }

  .trc-home-hero__rings {
    display: none;
  }

  .trc-home-hero__nav {
    display: none;
  }
}

@media (max-width: 575px) {
  .trc-home-hero {
    margin-top: 72px;
  }

  .trc-home-hero__title {
    font-size: clamp(1.75rem, 8vw, 2.25rem);
  }
}
