/* =========================================================
   ISKCON Vrindavan Guest House — Weblith-Inspired Premium Dark Palette
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Cinzel+Decorative:wght@700&family=Cinzel:wght@500;600;700;800&family=Cormorant+Garamond:ital,wght@0,500;0,600;1,400;1,600&family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
  --bg-dark: #080412;
  --bg-card: #120a26;
  --bg-card-alt: #0f0822;
  --ink: #FFFFFF;
  --ink-2: #E4E4E7;
  --ink-light: #A1A1AA;
  
  --purple-main: #8b5cf6;
  --purple-dark: #5A3E8C;
  --purple-glow: rgba(139, 92, 246, 0.35);
  --purple-light: #c4b5fd;
  
  --gold: #D4AF37;
  --gold-soft: #F3E5AB;
  --gold-dark: #B8860B;
  --gold-glow: rgba(212, 175, 55, 0.35);
  
  --emerald: #34d399;
  --emerald-glow: rgba(52, 211, 153, 0.4);

  --text-muted: #A1A1AA;
  --line: rgba(255, 255, 255, 0.1);
  --line-purple: rgba(139, 92, 246, 0.25);
  --line-gold: rgba(212, 175, 55, 0.3);

  --display: 'Cinzel', serif;
  --display-decorative: 'Cinzel Decorative', serif;
  --accent-font: 'Cormorant Garamond', serif;
  --body: 'Outfit', sans-serif;

  --container: 1220px;
  --radius-sm: 8px;
  --radius: 16px;
  --radius-lg: 24px;
  
  --shadow-sm: 0 4px 15px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 10px 35px rgba(0, 0, 0, 0.6), 0 0 20px rgba(139, 92, 246, 0.15);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 35px rgba(139, 92, 246, 0.3);
  --shadow-purple: 0 0 25px rgba(139, 92, 246, 0.5);
  --shadow-gold: 0 0 25px rgba(212, 175, 55, 0.35);
  --ease: cubic-bezier(.16, .8, .24, 1);
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden !important; width: 100% !important; }

body {
  margin: 0;
  width: 100% !important;
  max-width: 100% !important;
  background: var(--bg-dark);
  color: var(--ink-2);
  font-family: var(--body);
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden !important;
  position: relative;
}

/* Weblith Ambient Background Glow Orbs */
body::before {
  content: "";
  position: fixed;
  top: -100px;
  left: -100px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(90, 62, 140, 0.35) 0%, rgba(139, 92, 246, 0.15) 40%, transparent 70%);
  filter: blur(90px);
  pointer-events: none;
  z-index: 0;
}

body::after {
  content: "";
  position: fixed;
  top: 40%;
  right: -100px;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.25) 0%, rgba(212, 175, 55, 0.12) 45%, transparent 70%);
  filter: blur(100px);
  pointer-events: none;
  z-index: 0;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color 0.25s var(--ease); }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; font-family: var(--display); font-weight: 700; letter-spacing: -0.01em; color: var(--ink); line-height: 1.25; }
p { margin: 0; color: var(--text-muted); }

.container { max-width: var(--container); margin: 0 auto; padding: 0 32px; position: relative; z-index: 1; }

::selection { background: rgba(139, 92, 246, 0.4); color: #FFFFFF; }

:focus-visible {
  outline: 2px solid var(--purple-main);
  outline-offset: 3px;
}

/* Animated Gradient Text */
.gradient-text-animated {
  background: linear-gradient(90deg, #FFFFFF 0%, #c4b5fd 35%, #D4AF37 70%, #FFFFFF 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shine 5s linear infinite;
}

@keyframes shine {
  to { background-position: 200% center; }
}

/* ---------- Typography & Utility Elements ---------- */
.eyebrow {
  font-family: var(--accent-font);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--purple-light);
  letter-spacing: 0.05em;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  font-weight: 600;
}
.eyebrow::before {
  content: "";
  width: 30px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--purple-main));
  display: inline-block;
}

.section-head {
  max-width: 680px;
  margin-bottom: 48px;
}
.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.section-head.center .eyebrow::before {
  display: none;
}
.section-head h2 {
  font-size: 2.4rem;
  color: #FFFFFF;
  margin-bottom: 14px;
}
.section-head p {
  font-size: 1.08rem;
  color: var(--text-muted);
}

/* ---------- Premium Shimmering Buttons ---------- */
@keyframes button-shimmer-sweep {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.btn,
.floating-action,
.modal-card button[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  font-family: var(--body);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  border-radius: var(--radius-sm);
  transition: all 0.35s var(--ease);
  cursor: pointer;
  border: 1px solid transparent;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  position: relative;
  overflow: hidden !important;
  box-sizing: border-box;
  max-width: 100%;
  text-decoration: none;
}

.specular-button__fx {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.specular-button__label {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  color: #FFFFFF !important;
}

.btn-primary {
  background: linear-gradient(110deg, #4A2E7C 0%, #7c3aed 35%, #D4AF37 50%, #7c3aed 65%, #4A2E7C 100%);
  background-size: 200% 100%;
  animation: button-shimmer-sweep 5s infinite linear;
  color: #FFFFFF !important;
  box-shadow: 0 4px 22px rgba(139, 92, 246, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.35) !important;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(139, 92, 246, 0.8), 0 0 25px rgba(212, 175, 55, 0.6);
  animation-duration: 2.5s;
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: #FFFFFF !important;
  border: 1px solid rgba(139, 92, 246, 0.45) !important;
  box-shadow: 0 0 15px rgba(139, 92, 246, 0.2);
}
.btn-ghost:hover {
  background: rgba(139, 92, 246, 0.25);
  color: #FFFFFF !important;
  border-color: rgba(168, 85, 247, 0.7) !important;
  box-shadow: 0 0 25px rgba(139, 92, 246, 0.4);
}

.btn-outline {
  background: rgba(18, 10, 38, 0.85);
  color: #FFFFFF !important;
  border: 1.5px solid rgba(139, 92, 246, 0.45) !important;
}
.btn-outline:hover {
  background: rgba(139, 92, 246, 0.25);
  color: #FFFFFF !important;
  border-color: var(--purple-main) !important;
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.4);
}
.btn-outline:hover {
  background: rgba(139, 92, 246, 0.25);
  color: #FFFFFF;
  border-color: var(--purple-main);
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.4);
}

.mt-lg { margin-top: 36px; }
.text-center { text-align: center; }

/* ================= HEADER ================= */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: all 0.4s var(--ease);
}
.site-header.is-scrolled {
  padding: 14px 0;
  background: rgba(18, 10, 38, 0.88);
  backdrop-filter: blur(18px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
  border-bottom: 1px solid rgba(139, 92, 246, 0.25);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.brand-logo-img {
  height: 42px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(139, 92, 246, 0.6));
  transition: transform 0.3s var(--ease), filter 0.3s var(--ease);
}
.brand:hover .brand-logo-img {
  transform: scale(1.08);
  filter: drop-shadow(0 0 16px rgba(212, 175, 55, 0.8));
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.brand-text strong {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.12rem;
  letter-spacing: 0.08em;
  color: #FFFFFF;
  text-shadow: 0 0 12px rgba(139, 92, 246, 0.5);
}
.brand-text span {
  font-family: var(--body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-soft);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.75);
  position: relative;
  padding: 6px 0;
}
.nav-links a::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0; width: 0; height: 2px;
  background: linear-gradient(90deg, var(--purple-main), var(--gold));
  transition: width 0.3s var(--ease);
  box-shadow: 0 0 8px var(--purple-main);
}
.nav-links a:hover,
.nav-links a.active {
  color: #FFFFFF;
  text-shadow: 0 0 10px rgba(139, 92, 246, 0.6);
}
.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(8, 4, 18, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 990;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s var(--ease);
}
.nav-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

.nav-toggle {
  display: none;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(139, 92, 246, 0.35);
  border-radius: 8px;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  z-index: 2000 !important;
  width: 42px;
  height: 42px;
  position: relative;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
.nav-toggle span {
  width: 22px;
  height: 2px;
  background: #FFFFFF;
  border-radius: 2px;
  transition: all 0.35s var(--ease);
  transform-origin: center;
  pointer-events: none;
}
.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
  background: var(--gold-soft);
}
.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
  transform: translateX(-10px);
}
.nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
  background: var(--gold-soft);
}

/* ================= HERO ================= */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  background: url('assets/hero-bg.jpg') center/cover no-repeat;
  color: #FFFFFF;
  padding-top: 130px;
  padding-bottom: 80px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 4, 18, 0.75) 0%, rgba(15, 8, 34, 0.88) 60%, rgba(8, 4, 18, 0.98) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: rgba(139, 92, 246, 0.15);
  border: 1px solid rgba(139, 92, 246, 0.4);
  backdrop-filter: blur(12px);
  border-radius: 50px;
  color: var(--purple-light);
  font-size: 0.88rem;
  font-weight: 500;
  margin-bottom: 24px;
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.3);
}

.hero-title {
  font-family: var(--display);
  font-size: 3.6rem;
  font-weight: 700;
  line-height: 1.15;
  color: #FFFFFF;
  margin-bottom: 20px;
  text-shadow: 0 4px 25px rgba(0, 0, 0, 0.8);
}
.hero-title em {
  font-family: var(--accent-font);
  font-style: italic;
  color: var(--gold-soft);
  font-weight: 400;
  text-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
}

.hero-sub {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 650px;
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(139, 92, 246, 0.25);
  width: fit-content;
}
.hero-stats div {
  display: flex;
  flex-direction: column;
}
.hero-stats strong {
  font-family: var(--display);
  font-size: 2.2rem;
  color: var(--gold-soft);
  line-height: 1;
  text-shadow: 0 0 15px rgba(212, 175, 55, 0.3);
}
.hero-stats span {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 6px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ================= SECTIONS ================= */
.section {
  padding: 90px 0;
  position: relative;
  z-index: 1;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.split-media {
  position: relative;
}
.media-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line-purple);
}
.media-frame img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.media-frame:hover img {
  transform: scale(1.04);
}
.frame-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 20px 24px;
  background: linear-gradient(0deg, rgba(8, 4, 18, 0.95) 0%, transparent 100%);
  color: #FFFFFF;
  font-family: var(--accent-font);
  font-style: italic;
  font-size: 1.1rem;
}

.split-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 24px 0;
}
.split-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.02rem;
  color: var(--ink-2);
}
.split-list .dot {
  width: 8px;
  height: 8px;
  background: var(--purple-main);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--purple-main);
}

/* Feather Divider */
.feather-divider {
  text-align: center;
  padding: 30px 0;
  opacity: 0.7;
}
.feather-divider svg {
  width: 120px;
  height: 46px;
  stroke: var(--gold);
  fill: none;
  filter: drop-shadow(0 0 8px rgba(212, 175, 55, 0.4));
}

/* ================= ROOM CARDS (WEBLITH DARK CARDS) ================= */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.room-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line-purple);
  transition: all 0.4s var(--ease);
  display: flex;
  flex-direction: column;
}
.room-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(168, 85, 247, 0.5);
}

.room-media {
  position: relative;
  height: 250px;
  overflow: hidden;
}
.room-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}
.room-card:hover .room-media img {
  transform: scale(1.06);
}
.room-tag {
  position: absolute;
  top: 16px; right: 16px;
  background: rgba(18, 10, 38, 0.85);
  backdrop-filter: blur(10px);
  color: var(--gold-soft);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 50px;
  border: 1px solid var(--line-gold);
  box-shadow: 0 0 12px rgba(212, 175, 55, 0.2);
}

.room-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.room-body h3 {
  font-size: 1.4rem;
  color: #FFFFFF;
  margin-bottom: 6px;
}
.room-price {
  font-family: var(--accent-font);
  font-size: 1.15rem;
  color: var(--gold-soft);
  font-weight: 600;
  margin-bottom: 14px;
  display: block;
}
.room-body p {
  font-size: 0.96rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 20px;
  flex-grow: 1;
}

.room-amenities {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.amenity-chip {
  font-size: 0.78rem;
  background: rgba(255, 255, 255, 0.05);
  color: var(--purple-light);
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(139, 92, 246, 0.2);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.room-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

/* ================= REVIEWS & STATS STRIP ================= */
.bg-ink {
  background: var(--bg-card-alt);
  color: #FFFFFF;
  padding: 70px 0;
  position: relative;
  border-top: 1px solid var(--line-purple);
  border-bottom: 1px solid var(--line-purple);
  box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.5);
}
.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}
.stats-strip div {
  display: flex;
  flex-direction: column;
}
.stats-strip strong {
  font-family: var(--display);
  font-size: 2.8rem;
  color: var(--gold-soft);
  text-shadow: 0 0 20px rgba(212, 175, 55, 0.35);
}
.stats-strip span {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.75);
  margin-top: 6px;
}

/* Testimonials Carousel */
.testi-carousel {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}
.testi-slide {
  display: none;
  opacity: 0;
  transition: opacity 0.5s var(--ease);
}
.testi-slide.is-active {
  display: block;
  opacity: 1;
}
.testi-quote {
  font-family: var(--accent-font);
  font-size: 1.4rem;
  font-style: italic;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 24px;
}
.testi-author {
  font-weight: 600;
  color: var(--gold-soft);
}
.testi-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 30px;
}
.testi-dots button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 1px solid var(--purple-main);
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: all 0.3s var(--ease);
}
.testi-dots button.is-active {
  background: var(--purple-main);
  box-shadow: 0 0 10px var(--purple-main);
  width: 28px;
  border-radius: 12px;
}

/* ================= GALLERY ================= */
.gallery-filters {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.gallery-filters button {
  background: var(--bg-card);
  border: 1px solid var(--line-purple);
  color: var(--ink-2);
  padding: 10px 24px;
  border-radius: 50px;
  font-family: var(--body);
  font-size: 0.92rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s var(--ease);
}
.gallery-filters button.is-active,
.gallery-filters button:hover {
  background: var(--purple-dark);
  color: #FFFFFF;
  border-color: var(--purple-main);
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.4);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  height: 280px;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line-purple);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}
.gallery-item:hover img {
  transform: scale(1.08);
}
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(8, 4, 18, 0.85);
  backdrop-filter: blur(4px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s var(--ease);
  color: #FFFFFF;
  padding: 20px;
  text-align: center;
}
.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

/* Lightbox Modal */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(8, 4, 18, 0.95);
  backdrop-filter: blur(16px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease);
}
.lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}
.lightbox img {
  max-width: 90vw;
  max-height: 80vh;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg), var(--shadow-purple);
  border: 1px solid var(--line-purple);
}
.lightbox-cap {
  color: var(--gold-soft);
  font-family: var(--accent-font);
  font-size: 1.2rem;
  margin-top: 16px;
}
.lightbox-close {
  position: absolute;
  top: 24px; right: 32px;
  background: transparent;
  border: none;
  color: #FFFFFF;
  font-size: 2rem;
  cursor: pointer;
}

/* ================= BOOKING MODAL (WEBLITH DARK LUXURY MODAL) ================= */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 2500;
  background: rgba(8, 4, 18, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s var(--ease);
}
.modal-overlay.is-active {
  opacity: 1;
  pointer-events: auto;
}
.modal-card {
  background: #120a26;
  width: 100%;
  max-width: 580px;
  max-height: 90vh;
  overflow-y: auto;
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.95), 0 0 50px rgba(139, 92, 246, 0.3);
  border: 1px solid rgba(139, 92, 246, 0.4);
  position: relative;
  box-sizing: border-box;
  transform: translateY(20px);
  transition: transform 0.35s var(--ease);
}
.modal-overlay.is-active .modal-card {
  transform: translateY(0);
}
.modal-close {
  position: absolute;
  top: 18px; right: 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(139, 92, 246, 0.3);
  color: #FFFFFF;
  width: 36px; height: 36px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s var(--ease);
}
.modal-close:hover {
  background: var(--purple-main);
  border-color: var(--purple-main);
  transform: rotate(90deg);
}

.modal-header {
  margin-bottom: 24px;
  padding-right: 30px;
}
.modal-header h3 {
  font-size: 1.65rem;
  color: #FFFFFF;
  margin-top: 4px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  width: 100%;
  box-sizing: border-box;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  box-sizing: border-box;
}
.form-group.full {
  grid-column: 1 / -1;
}
.form-group label {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--purple-light);
  letter-spacing: 0.02em;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  padding: 12px 14px;
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: 10px;
  font-family: var(--body);
  font-size: 0.92rem;
  background: rgba(8, 4, 18, 0.85);
  color: #FFFFFF;
  transition: all 0.25s var(--ease);
}
.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23c4b5fd' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}
.form-group select option {
  background: #120a26;
  color: #FFFFFF;
  padding: 10px;
}

.form-group input[type="date"]::-webkit-calendar-picker-indicator {
  filter: invert(0.8) sepia(1) saturate(5) hue-rotate(220deg);
  cursor: pointer;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--purple-main);
  box-shadow: 0 0 15px rgba(139, 92, 246, 0.4);
  background: rgba(18, 10, 38, 0.95);
}

.contact-info-card {
  background: var(--bg-card-alt);
  padding: 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-purple);
  box-shadow: var(--shadow-md);
  box-sizing: border-box;
  width: 100%;
}

@media (max-width: 580px) {
  .form-grid {
    grid-template-columns: 1fr !important;
  }
  .contact-info-card {
    padding: 22px 18px;
    margin-top: 20px;
  }
  .modal-card {
    padding: 24px 18px;
    border-radius: 16px;
  }
  .modal-header h3 {
    font-size: 1.35rem;
  }
}

/* ================= FOOTER ================= */
.site-footer {
  background: var(--bg-card-alt);
  color: rgba(255, 255, 255, 0.8);
  padding: 80px 0 30px;
  border-top: 1px solid var(--line-purple);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  margin-bottom: 60px;
}
.footer-brand p {
  color: var(--text-muted);
  margin-top: 16px;
  max-width: 320px;
}
.footer-title {
  font-family: var(--display);
  font-size: 1.1rem;
  color: var(--gold-soft);
  margin-bottom: 20px;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links a:hover {
  color: var(--purple-light);
}
.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* Toast Notification */
.toast {
  position: fixed;
  bottom: 30px; left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--bg-card);
  color: #FFFFFF;
  border: 1px solid var(--purple-main);
  padding: 14px 28px;
  border-radius: 50px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.7), 0 0 25px rgba(139, 92, 246, 0.4);
  z-index: 3000;
  opacity: 0;
  transition: all 0.4s var(--ease);
  font-weight: 500;
}
.toast.is-show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* ================= FLOATING ACTION BUTTONS STACK (CALL & WHATSAPP WITH SHIMMER EFFECT) ================= */
@keyframes floating-shimmer-sweep {
  0% {
    transform: translateX(-150%) skewX(-25deg);
  }
  45%, 100% {
    transform: translateX(250%) skewX(-25deg);
  }
}

.floating-ctas-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 990;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  pointer-events: none;
}

.floating-btn {
  pointer-events: auto;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  padding: 0;
  color: #FFFFFF !important;
  text-decoration: none;
  overflow: hidden !important;
  transition: all 0.35s var(--ease);
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6);
}

.floating-btn::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 60%;
  height: 200%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.05) 20%,
    rgba(255, 255, 255, 0.9) 50%,
    rgba(255, 255, 255, 0.05) 80%,
    transparent 100%
  );
  animation: floating-shimmer-sweep 2.8s infinite cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
  z-index: 2;
}

.floating-btn-call {
  background: linear-gradient(135deg, #1d4ed8 0%, #3b82f6 50%, #D4AF37 100%);
  box-shadow: 0 8px 25px rgba(29, 78, 216, 0.5), 0 0 20px rgba(212, 175, 55, 0.3);
}

.floating-btn-call:hover {
  transform: translateY(-3px) scale(1.08);
  box-shadow: 0 12px 32px rgba(29, 78, 216, 0.7), 0 0 25px rgba(212, 175, 55, 0.5);
}

.floating-btn-whatsapp {
  background: linear-gradient(135deg, #047857 0%, #10b981 50%, #059669 100%);
  box-shadow: 0 8px 25px rgba(16, 185, 129, 0.5), 0 0 20px rgba(16, 185, 129, 0.3);
}

.floating-btn-whatsapp:hover {
  transform: translateY(-3px) scale(1.08);
  box-shadow: 0 12px 32px rgba(16, 185, 129, 0.7), 0 0 25px rgba(16, 185, 129, 0.5);
}

.floating-btn svg {
  position: relative;
  z-index: 3;
  flex-shrink: 0;
}

.floating-tooltip {
  pointer-events: none;
  position: absolute;
  right: 64px;
  top: 50%;
  transform: translateY(-50%) scale(0.9);
  background: rgba(14, 8, 30, 0.92);
  color: #FFFFFF;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 20px;
  border: 1px solid rgba(139, 92, 246, 0.35);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s var(--ease);
  z-index: 10;
}

.floating-btn:hover .floating-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) scale(1);
}

/* ================= RESPONSIVE ================= */
@media (max-width: 992px) {
  .hero-title { font-size: 2.8rem; }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-toggle { display: flex !important; }
  .nav-links {
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    width: 82% !important;
    max-width: 320px !important;
    height: 100vh !important;
    height: 100dvh !important;
    background: rgba(14, 8, 30, 0.98) !important;
    backdrop-filter: blur(25px) !important;
    -webkit-backdrop-filter: blur(25px) !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    padding: 95px 28px 40px !important;
    gap: 16px !important;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.9), -2px 0 25px rgba(139, 92, 246, 0.4) !important;
    border-left: 1px solid rgba(139, 92, 246, 0.35) !important;
    transform: translateX(105%) !important;
    transition: transform 0.38s cubic-bezier(0.16, 1, 0.3, 1) !important;
    z-index: 1050 !important;
    display: flex !important;
    visibility: hidden;
  }
  .nav-links.is-open {
    transform: translateX(0%) !important;
    visibility: visible !important;
  }
  .nav-links a {
    font-size: 1.1rem !important;
    font-weight: 600 !important;
    width: 100% !important;
    padding: 12px 0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    color: #FFFFFF !important;
  }
  .hero {
    padding-top: 140px !important;
    padding-bottom: 60px !important;
    min-height: auto !important;
  }
  .hero-title {
    font-size: 2.1rem !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
  }
  .hero-stats { grid-template-columns: 1fr; gap: 20px; }
  .grid-3 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .split {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box !important;
  }
  .split-body {
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box !important;
  }
  .container {
    padding-left: 20px !important;
    padding-right: 20px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}

@media (max-width: 580px) {
  .hero {
    padding-top: 130px !important;
    padding-bottom: 45px !important;
  }
  .hero-badge {
    font-size: 0.78rem;
    padding: 6px 14px;
    margin-bottom: 14px;
  }
  .hero-title {
    font-size: 1.65rem !important;
    line-height: 1.25 !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
  }
  .hero-sub {
    font-size: 0.95rem;
    margin-bottom: 24px;
  }
  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 12px;
    margin-bottom: 32px;
  }
  .hero-actions .btn {
    width: 100%;
    box-sizing: border-box;
  }
  .floating-ctas-container {
    bottom: 14px !important;
    right: 14px !important;
    gap: 8px !important;
  }
  .floating-btn {
    width: 46px !important;
    height: 46px !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.7) !important;
  }
}

@media (max-width: 420px) {
  .brand-logo-img {
    height: 34px;
  }
  .brand-text strong {
    font-size: 0.92rem;
  }
  .brand-text span {
    font-size: 0.65rem;
  }
  .hero-title {
    font-size: 1.5rem !important;
  }
}
