/* =========================
   UPAVANA HERO SLIDER (Swiper)
   ========================= */

:root{
  --upv-green: #2f5d50;
  --upv-green-900: #25443c;
  --upv-sand: #f6f5f2;
  --upv-text: #ffffff;
  --upv-shadow: 0 10px 30px rgba(0,0,0,.22);

  /* Hero sizing */
  --hero-min-h: 520px;
  --hero-min-h-md: 620px;
  --hero-min-h-lg: 680px;
}

/* Wrapper */
.upv-hero{
  position: relative;
  overflow: hidden;
  background: #0f1a17; /* fallback if image missing */
}

/* Swiper container */
.upv-hero__swiper{
  width: 100%;
  height: 100%;
}

/* Slide background */
.upv-hero__slide{
  position: relative;
  min-height: var(--hero-min-h);
  display: flex;
  align-items: stretch;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: translateZ(0);
}

/* Content grid inside slide */
.hero-grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: center;
  width: 100%;
  position: relative;
  z-index: 2;
}

/* Typography (works even if .h1 etc are not defined elsewhere) */
.upv-hero .h1{
  color: #A04F2C !important;
  letter-spacing: -0.02em;
  line-height: 1.08;
  font-weight: 700;
  font-size: clamp(30px, 3.6vw, 56px);
  max-width: 18ch;
}

.upv-hero__desc{
  color: #A04F2C !important;
  font-size: clamp(15px, 1.4vw, 18px);
  line-height: 1.65;
  max-width: 62ch;
  text-shadow: 0 10px 22px rgba(0,0,0,.25);
}
/* 
.upv-pill{
  display: inline-flex;
  gap: 10px;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(0,0,0,.32);
  border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: rgba(255,255,255,.92);
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  width: fit-content;
}

.upv-pill .dot{
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #b7e4c7;
  box-shadow: 0 0 0 4px rgba(183,228,199,.18);
}

.upv-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  line-height: 1;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, border-color .18s ease;
  user-select: none;
  text-decoration: none;
  white-space: nowrap;
}

.upv-btn:active{
  transform: translateY(1px);
}

.upv-btn--primary{
  background: rgba(47,93,80,.95);
  border: 1px solid rgba(255,255,255,.18);
  color: #fff;
  box-shadow: 0 12px 28px rgba(0,0,0,.25);
}

.upv-btn--primary:hover{
  background: rgba(47,93,80,1);
  box-shadow: 0 16px 34px rgba(0,0,0,.30);
  transform: translateY(-1px);
}

.upv-btn--secondary{
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.30);
  color: #fff;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.upv-btn--secondary:hover{
  background: rgba(255,255,255,.16);
  border-color: rgba(255,255,255,.38);
  transform: translateY(-1px);
} */

/* .trust-item{
  border-radius: 16px;
  padding: 12px 14px;
  background: rgba(0,0,0,.26);
  border: 1px solid rgba(255,255,255,.16);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.upv-hero .swiper-pagination{
  bottom: 18px !important;
}

.upv-hero .swiper-pagination-bullet{
  width: 8px;
  height: 8px;
  opacity: .55;
  background: rgba(255,255,255,.85);
}

.upv-hero .swiper-pagination-bullet-active{
  opacity: 1;
  transform: scale(1.15);
} */

/* Optional: Swiper arrows if you enable them */
.upv-arrow,
.home-arrow{
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: rgba(0,0,0,.35);
  border: 1px solid rgba(255,255,255,.20);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: transform .18s ease, background-color .18s ease, border-color .18s ease;
}

.upv-arrow:hover,
.home-arrow:hover{
  transform: translateY(-1px);
  background: rgba(0,0,0,.42);
  border-color: rgba(255,255,255,.28);
}

.upv-hero .swiper-button-prev:after,
.upv-hero .swiper-button-next:after{
  font-size: 14px;
  color: #fff;
}

/* =========================
   RESPONSIVE BREAKPOINTS
   ========================= */

/* Small screens: tighter spacing, buttons full width */
@media (max-width: 640px){
  .upv-hero__slide{
    min-height: auto; /* slightly taller for mobile */
  }

  .upv-hero .h1{
    max-width: 22ch;
    font-size: 32px; /* stable on small devices */
  }

  .upv-hero__desc{
    font-size: 15px;
  }

  .upv-btn{
    /*width: 100%;*/
    justify-content: center;
  }

  /* If you use your helper class to hide trust row on mobile */
  .mobile-hidden{
    display: none !important;
  }
}

/* Medium screens */
@media (min-width: 768px){
  .upv-hero__slide{
    min-height: auto;
  }

  .hero-grid{
    grid-template-columns: 1fr;
  }
}

/* Large screens */
@media (min-width: 1024px){
  .upv-hero__slide{
    min-height: auto;
  }

  /* If later you re-enable right hero card, switch to 2 columns */
  .hero-grid{
    grid-template-columns: 1.05fr .95fr;
    gap: 42px;
  }

  /* Trust row stays visible on desktop */
  .desk{
    display: grid;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce){
  .upv-btn,
  .upv-arrow,
  .home-arrow{
    transition: none;
  }
}
