﻿/* ============================================================
   SUNAINA VATIKA HOTEL – Premium Cinematic Hero Section
   ============================================================ */

/* ---------- CSS Custom Properties ---------- */
:root {
  --sv-charcoal: #171717;
  --sv-gold: #D4AF37;
  --sv-gold-light: #E8C95A;
  --sv-white: #FFFFFF;
  --sv-beige: #E9DDC8;
  --sv-black: #000000;
  --sv-overlay: rgba(0, 0, 0, 0.45);
  --sv-card-bg: rgba(255, 255, 255, 0.08);
  --sv-card-border: rgba(255, 255, 255, 0.15);
  --sv-transition-fast: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --sv-transition-medium: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  --sv-transition-slow: 1s cubic-bezier(0.4, 0, 0.2, 1);
  --sv-ken-burns: 8s ease-in-out;
  --sv-nav-height: 90px;
  --sv-font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --sv-font-body: 'Inter', 'Segoe UI', Helvetica, Arial, sans-serif;
  --sv-font-condensed: 'Oswald', 'Bebas Neue', Impact, sans-serif;
}

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--sv-font-body);
  color: var(--sv-white);
  background-color: var(--sv-charcoal);
  overflow-x: hidden;
}

/* ---------- Navigation ---------- */
.sv-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 0 clamp(20px, 4vw, 60px);
  height: var(--sv-nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background var(--sv-transition-fast),
              box-shadow var(--sv-transition-fast),
              backdrop-filter var(--sv-transition-fast);
  background: transparent;
}

.sv-nav.scrolled {
  background: rgba(23, 23, 23, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 2px 40px rgba(0, 0, 0, 0.3);
}

.sv-nav__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

.sv-nav__logo img {
  height: 55px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.3));
  transition: transform var(--sv-transition-fast);
}

.sv-nav__logo:hover img {
  transform: scale(1.05);
}

.sv-nav__logo-text {
  font-family: var(--sv-font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--sv-gold);
  letter-spacing: 2px;
  text-transform: uppercase;
  line-height: 1.2;
  display: none;
}

.sv-nav__menu {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.5vw, 36px);
  list-style: none;
}

.sv-nav__menu a {
  color: var(--sv-white);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  position: relative;
  padding: 6px 0;
  transition: color var(--sv-transition-fast);
}

.sv-nav__menu a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--sv-gold);
  transition: width var(--sv-transition-fast);
}

.sv-nav__menu a:hover {
  color: var(--sv-gold);
}

.sv-nav__menu a:hover::after {
  width: 100%;
}

.sv-nav__actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.sv-nav__icon-btn {
  background: none;
  border: none;
  color: var(--sv-white);
  cursor: pointer;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color var(--sv-transition-fast), transform var(--sv-transition-fast);
  font-size: 1.1rem;
}

.sv-nav__icon-btn:hover {
  color: var(--sv-gold);
  transform: scale(1.1);
}

.sv-nav__book-btn {
  background: linear-gradient(135deg, var(--sv-gold), var(--sv-gold-light));
  color: var(--sv-charcoal);
  border: none;
  padding: 12px 28px;
  font-family: var(--sv-font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform var(--sv-transition-fast), box-shadow var(--sv-transition-fast);
}

.sv-nav__book-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: left 0.5s ease;
}

.sv-nav__book-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
}

.sv-nav__book-btn:hover::before {
  left: 100%;
}

/* Hamburger */
.sv-nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1100;
}

.sv-nav__hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--sv-white);
  transition: transform var(--sv-transition-fast), opacity var(--sv-transition-fast);
}

.sv-nav__hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.sv-nav__hamburger.active span:nth-child(2) {
  opacity: 0;
}

.sv-nav__hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- Hero Section ---------- */
.sv-hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 700px;
  overflow: hidden;
  display: flex;
  align-items: center;
}

/* Background Layers */
.sv-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.sv-hero__bg-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
  will-change: opacity, transform;
}

.sv-hero__bg-slide.active {
  opacity: 1;
}

/* Ken Burns */
@keyframes kenBurns1 {
  0%   { transform: scale(1) translate(0, 0); }
  100% { transform: scale(1.08) translate(-1%, -0.5%); }
}

@keyframes kenBurns2 {
  0%   { transform: scale(1.05) translate(1%, 0.5%); }
  100% { transform: scale(1) translate(0, 0); }
}

@keyframes kenBurns3 {
  0%   { transform: scale(1) translate(0.5%, -0.5%); }
  100% { transform: scale(1.06) translate(-0.5%, 0.5%); }
}

.sv-hero__bg-slide.active:nth-child(1) {
  animation: kenBurns1 var(--sv-ken-burns) alternate infinite;
}

.sv-hero__bg-slide.active:nth-child(2) {
  animation: kenBurns2 var(--sv-ken-burns) alternate infinite;
}

.sv-hero__bg-slide.active:nth-child(3) {
  animation: kenBurns3 var(--sv-ken-burns) alternate infinite;
}

/* Gradient Overlay */
.sv-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.15) 30%, rgba(0,0,0,0.25) 70%, rgba(0,0,0,0.7) 100%),
    linear-gradient(90deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.1) 50%, rgba(0,0,0,0.3) 100%);
  pointer-events: none;
}

/* Hero Content Container */
.sv-hero__container {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 60px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  height: 100%;
  padding-top: var(--sv-nav-height);
}

/* ---------- Left Content ---------- */
.sv-hero__content {
  flex: 1;
  max-width: 580px;
  padding-bottom: 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}

.sv-hero__tag {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeSlideUp 0.8s 0.3s forwards;
}

.sv-hero__tag-line {
  width: 40px;
  height: 2px;
  background: var(--sv-gold);
}

.sv-hero__tag-text {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--sv-gold);
}

.sv-hero__heading-wrapper {
  position: relative;
  min-height: 300px;
  margin-bottom: 24px;
  overflow: hidden;
}

.sv-hero__heading {
  font-family: var(--sv-font-condensed);
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--sv-white);
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease, visibility 0s 0.8s;
  width: 100%;
}

.sv-hero__heading.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: opacity 0.8s ease, transform 0.8s ease, visibility 0s 0s;
}

.sv-hero__heading span.gold {
  color: var(--sv-gold);
}

.sv-hero__desc-wrapper {
  position: relative;
  min-height: 80px;
  margin-bottom: 36px;
  overflow: hidden;
}

.sv-hero__desc {
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 300;
  max-width: 450px;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease, visibility 0s 0.6s;
  width: 100%;
}

.sv-hero__desc.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: opacity 0.6s ease, transform 0.6s ease, visibility 0s 0s;
}

.sv-hero__cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeSlideUp 0.8s 0.8s forwards;
}

.sv-hero__cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--sv-gold), var(--sv-gold-light));
  color: var(--sv-charcoal);
  padding: 16px 36px;
  font-family: var(--sv-font-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform var(--sv-transition-fast), box-shadow var(--sv-transition-fast);
}

.sv-hero__cta-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: left 0.5s ease;
}

.sv-hero__cta-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(212, 175, 55, 0.4);
}

.sv-hero__cta-primary:hover::before {
  left: 100%;
}

.sv-hero__cta-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: var(--sv-white);
  padding: 16px 36px;
  font-family: var(--sv-font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all var(--sv-transition-fast);
}

.sv-hero__cta-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--sv-white);
  transform: translateY(-3px);
}

/* ---------- Right Cards ---------- */
.sv-hero__cards {
  display: flex;
  gap: 18px;
  align-items: center;
  flex-shrink: 0;
  padding-bottom: 80px;
  padding-top: 40px;
}

.sv-hero__card {
  position: relative;
  width: 190px;
  height: 280px;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  transition: all var(--sv-transition-medium);
  flex-shrink: 0;
  border: 1px solid var(--sv-card-border);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.sv-hero__card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, 
    transparent 30%, 
    rgba(0,0,0,0.2) 60%, 
    rgba(0,0,0,0.7) 100%);
  z-index: 2;
  transition: background var(--sv-transition-fast);
}

.sv-hero__card:hover::before {
  background: linear-gradient(180deg, 
    transparent 20%, 
    rgba(0,0,0,0.15) 50%, 
    rgba(0,0,0,0.6) 100%);
}

.sv-hero__card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.sv-hero__card:hover img {
  transform: scale(1.08);
}

.sv-hero__card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px 16px;
  z-index: 3;
  transform: translateY(5px);
  transition: transform var(--sv-transition-fast);
}

.sv-hero__card:hover .sv-hero__card-content {
  transform: translateY(0);
}

.sv-hero__card-subtitle {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--sv-gold);
  margin-bottom: 6px;
  opacity: 0.9;
}

.sv-hero__card-title {
  font-family: var(--sv-font-condensed);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--sv-white);
  line-height: 1.2;
}

/* Active card */
.sv-hero__card.active {
  width: 220px;
  height: 310px;
  border-color: rgba(212, 175, 55, 0.4);
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(212, 175, 55, 0.2);
}

.sv-hero__card.active img {
  transform: scale(1.03);
}

/* Glass ring on active card */
.sv-hero__card.active::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 18px;
  border: 2px solid rgba(212, 175, 55, 0.3);
  z-index: 4;
  pointer-events: none;
}

/* Inactive card dimming */
.sv-hero__card:not(.active) {
  opacity: 0.75;
  filter: brightness(0.85);
}

.sv-hero__card:not(.active):hover {
  opacity: 0.95;
  filter: brightness(1);
}

/* ---------- Bottom Controls ---------- */
.sv-hero__controls {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px clamp(20px, 4vw, 60px) 32px;
}

.sv-hero__controls-left {
  display: flex;
  align-items: center;
  gap: 20px;
}

.sv-hero__arrows {
  display: flex;
  gap: 8px;
}

.sv-hero__arrow {
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  color: var(--sv-white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--sv-transition-fast);
  font-size: 1rem;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.sv-hero__arrow:hover {
  background: var(--sv-gold);
  border-color: var(--sv-gold);
  color: var(--sv-charcoal);
  transform: scale(1.08);
}

.sv-hero__progress {
  display: flex;
  align-items: center;
  gap: 12px;
}

.sv-hero__progress-bar {
  width: 120px;
  height: 2px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 2px;
  overflow: hidden;
  position: relative;
}

.sv-hero__progress-fill {
  height: 100%;
  background: var(--sv-gold);
  border-radius: 2px;
  width: 0%;
  transition: none;
}

.sv-hero__progress-fill.animating {
  transition: width linear;
}

.sv-hero__controls-right {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.sv-hero__slide-current {
  font-family: var(--sv-font-condensed);
  font-size: 4rem;
  font-weight: 700;
  color: var(--sv-white);
  line-height: 1;
  letter-spacing: 2px;
}

.sv-hero__slide-separator {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.4);
  margin: 0 4px;
  font-weight: 300;
}

.sv-hero__slide-total {
  font-family: var(--sv-font-condensed);
  font-size: 1.4rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 1px;
}

/* ---------- Scroll Indicator ---------- */
.sv-hero__scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0.6;
  transition: opacity var(--sv-transition-fast);
  display: none; /* hidden by default, enable if needed */
}

/* ---------- Animations ---------- */
@keyframes fadeSlideUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes shimmer {
  0%   { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* ---------- Mobile Navigation Overlay ---------- */
.sv-nav__mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(23, 23, 23, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 1050;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--sv-transition-fast), visibility var(--sv-transition-fast);
}

.sv-nav__mobile-overlay.open {
  opacity: 1;
  visibility: visible;
}

/* X Close Button */
.sv-nav__mobile-close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--sv-white);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--sv-transition-fast), border-color var(--sv-transition-fast), transform var(--sv-transition-fast);
}

.sv-nav__mobile-close:hover {
  background: var(--sv-gold);
  border-color: var(--sv-gold);
  color: var(--sv-charcoal);
  transform: rotate(90deg);
}

.sv-nav__mobile-menu {
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.sv-nav__mobile-menu a {
  color: var(--sv-white);
  text-decoration: none;
  font-family: var(--sv-font-condensed);
  font-size: 1.8rem;
  font-weight: 500;
  letter-spacing: 4px;
  text-transform: uppercase;
  transition: color var(--sv-transition-fast);
}

.sv-nav__mobile-menu a:hover {
  color: var(--sv-gold);
}

.sv-nav__mobile-book {
  margin-top: 32px;
  background: linear-gradient(135deg, var(--sv-gold), var(--sv-gold-light));
  color: var(--sv-charcoal);
  padding: 16px 48px;
  font-family: var(--sv-font-body);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* Tablet */
@media (max-width: 1100px) {
  .sv-hero__container {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 24px;
    text-align: center;
  }

  .sv-hero__content {
    align-items: center;
    max-width: 100%;
    padding-bottom: 10px;
    justify-content: flex-end;
    height: auto;
    flex: none;
  }

  .sv-hero__tag {
    justify-content: center;
  }

  .sv-hero__heading-wrapper {
    min-height: 180px;
  }

  .sv-hero__heading {
    font-size: clamp(2.4rem, 5vw, 3.5rem);
    text-align: center;
  }

  .sv-hero__desc-wrapper {
    min-height: 60px;
  }

  .sv-hero__desc {
    max-width: 500px;
    margin: 0 auto;
    text-align: center;
  }

  .sv-hero__cta {
    justify-content: center;
  }

  .sv-hero__cards {
    padding-bottom: 100px;
    padding-top: 0;
    justify-content: center;
    flex-shrink: 0;
  }

  .sv-hero__card {
    width: 150px;
    height: 220px;
  }

  .sv-hero__card.active {
    width: 170px;
    height: 250px;
  }
}

/* Mobile */
/* ============================================================
   MOBILE <= 768px
   Layout: Nav | Background | Content (flex:1 centred) | Cards row | Controls
   ============================================================ */
@media (max-width: 768px) {

  :root { --sv-nav-height: 70px; }

  .sv-nav__menu      { display: none; }
  .sv-nav__hamburger { display: flex; }
  .sv-nav__icon-btn  { display: none; }
  .sv-nav__book-btn  { display: none; }
  .sv-nav__logo img  { height: 44px; }

  .sv-hero {
    min-height: 100vh;
    overflow: hidden;
  }

  /* Container: column, space-between pushes cards to bottom */
  .sv-hero__container {
    flex-direction : column       !important;
    justify-content: space-between !important;
    align-items    : center       !important;
    height         : 100vh        !important;
    padding-top    : calc(var(--sv-nav-height) + 18px) !important;
    padding-bottom : 64px         !important;
    padding-left   : 16px         !important;
    padding-right  : 16px         !important;
    gap            : 0            !important;
    text-align     : center       !important;
    overflow       : hidden;
  }

  /* Content block: grows to fill space between nav and cards */
  .sv-hero__content {
    order          : 1 !important;
    flex           : 1 !important;
    display        : flex;
    flex-direction : column;
    justify-content: center;
    align-items    : center;
    height         : auto !important;
    width          : 100%;
    max-width      : 100%;
    padding-bottom : 0;
  }

  .sv-hero__tag { justify-content: center; margin-bottom: 8px; margin-top: 0; }
  .sv-hero__tag-line  { width: 24px; }
  .sv-hero__tag-text  { font-size: 0.62rem; letter-spacing: 2.5px; }

  .sv-hero__heading-wrapper { min-height: 100px; margin-bottom: 8px; }
  .sv-hero__heading {
    font-size    : clamp(1.75rem, 7.5vw, 2.4rem);
    line-height  : 1.0;
    letter-spacing: 1.5px;
    text-align   : center;
  }

  .sv-hero__desc-wrapper { min-height: 42px; margin-bottom: 14px; }
  .sv-hero__desc {
    font-size : 0.78rem;
    max-width : 300px;
    margin    : 0 auto;
    text-align: center;
    line-height: 1.5;
  }

  .sv-hero__cta { flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 8px; }
  .sv-hero__cta-primary,
  .sv-hero__cta-secondary { padding: 10px 16px; font-size: 0.65rem; letter-spacing: 1.5px; }

  /* Cards: horizontal row at the bottom, all 3 visible */
  .sv-hero__cards {
    order          : 2 !important;
    flex-shrink    : 0 !important;
    display        : flex !important;
    flex-direction : row !important;
    width          : 100% !important;
    gap            : 8px;
    overflow-x     : auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    padding        : 0;
    margin         : 8px 0 0 0;
    align-items    : flex-end;
  }
  .sv-hero__cards::-webkit-scrollbar { display: none; }

  /* flex:1 makes all 3 cards equal width filling 100% */
  .sv-hero__card {
    flex           : 1 !important;
    min-width      : 0;
    width          : auto !important;
    height         : 128px !important;
    border-radius  : 10px;
    scroll-snap-align: center;
  }
  .sv-hero__card.active {
    flex           : 1.18 !important;
    width          : auto !important;
    height         : 145px !important;
  }

  .sv-hero__card-content { padding: 10px 8px; }
  .sv-hero__card-title   { font-size: 0.63rem; letter-spacing: 0.8px; }
  .sv-hero__card-subtitle{ font-size: 0.5rem;  margin-bottom: 2px; }

  .sv-hero__controls     { padding: 10px 16px 12px; }
  .sv-hero__slide-current{ font-size: 1.9rem; }
  .sv-hero__slide-total  { font-size: 0.85rem; }
  .sv-hero__arrow        { width: 32px; height: 32px; font-size: 0.75rem; }
  .sv-hero__progress-bar { width: 48px; }
}

/* ============================================================
   SMALL MOBILE <= 480px  (iPhone SE, 375px)
   ============================================================ */
@media (max-width: 480px) {
  .sv-hero__container {
    padding-top   : calc(var(--sv-nav-height) + 10px) !important;
    padding-bottom: 58px !important;
    padding-left  : 12px !important;
    padding-right : 12px !important;
  }

  .sv-hero__heading      { font-size: clamp(1.5rem, 8.5vw, 2rem); }
  .sv-hero__heading-wrapper { min-height: 88px; }

  .sv-hero__desc         { font-size: 0.72rem; max-width: 260px; }
  .sv-hero__desc-wrapper { min-height: 36px; }

  .sv-hero__tag-text     { font-size: 0.58rem; letter-spacing: 2px; }

  .sv-hero__cta-primary,
  .sv-hero__cta-secondary { padding: 9px 13px; font-size: 0.6rem; letter-spacing: 1px; }

  .sv-hero__cards        { gap: 6px; margin-top: 6px; }
  .sv-hero__card         { height: 112px !important; }
  .sv-hero__card.active  { height: 128px !important; }
  .sv-hero__card-content { padding: 8px 6px; }
  .sv-hero__card-title   { font-size: 0.58rem; }
  .sv-hero__card-subtitle{ font-size: 0.45rem; }

  .sv-hero__controls     { padding: 8px 14px 10px; }
  .sv-hero__slide-current{ font-size: 1.7rem; }
  .sv-hero__arrow        { width: 30px; height: 30px; }
  .sv-hero__progress-bar { width: 42px; }
}