/* ============================================
   ASTROPILOT - Global Design System
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;500;600;700;900&family=Raleway:wght@300;400;500;600;700&family=IM+Fell+English:ital@0;1&display=swap');

/* ---- CSS Variables ---- */
:root {
  --bg-deep: #080916;
  --bg-dark: #0C0D22;
  --bg-card: rgba(255, 255, 255, 0.04);
  --bg-card-hover: rgba(255, 255, 255, 0.08);
  --gold: #C9A84C;
  --gold-light: #F0C040;
  --gold-pale: rgba(201, 168, 76, 0.15);
  --crimson: #7B2240;
  --crimson-dark: #4A0F26;
  --cream: #F5EDD8;
  --white: #FFFFFF;
  --text-muted: rgba(245, 237, 216, 0.6);
  --border-gold: rgba(201, 168, 76, 0.3);
  --border-glass: rgba(255, 255, 255, 0.08);
  --shadow-gold: 0 0 30px rgba(201, 168, 76, 0.2);
  --shadow-deep: 0 20px 60px rgba(0, 0, 0, 0.5);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 40px;
  --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --font-heading: 'Cinzel', serif;
  --font-body: 'Raleway', sans-serif;
  --font-accent: 'IM Fell English', serif;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--bg-deep);
  color: var(--cream);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.7;
  overflow-x: hidden;
  min-height: 100vh;
}

/* ---- Star Field Canvas ---- */
#star-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* ---- Page wrapper ---- */
.page-wrapper {
  position: relative;
  z-index: 1;
}

/* ---- Typography ---- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  line-height: 1.2;
  color: var(--cream);
}

h1 { font-size: clamp(2rem, 5vw, 4rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.8rem); font-weight: 600; }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.8rem); font-weight: 500; }
h4 { font-size: 1.2rem; font-weight: 500; }

p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--cream);
  opacity: 0.85;
}

a {
  color: var(--gold);
  text-decoration: none;
  transition: var(--transition);
}

a:hover { color: var(--gold-light); }

ul { list-style: none; }

img { max-width: 100%; display: block; }

/* ---- Gold Gradient Text ---- */
.gold-text {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 50%, var(--gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---- Section Labels ---- */
.section-label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 0.75rem;
}

/* ---- Section Heading ---- */
.section-heading {
  margin-bottom: 1rem;
}

.section-heading::after {
  content: '';
  display: block;
  width: 60px;
  height: 2px;
  background: linear-gradient(to right, var(--gold), transparent);
  margin-top: 1rem;
}

.section-heading.center::after {
  margin: 1rem auto 0;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  color: #0A0B1E;
  box-shadow: 0 4px 20px rgba(201, 168, 76, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(201, 168, 76, 0.6);
  color: #0A0B1E;
}

.btn-outline {
  background: transparent;
  color: var(--gold);
  border: 1.5px solid var(--gold);
}

.btn-outline:hover {
  background: var(--gold-pale);
  transform: translateY(-2px);
  color: var(--gold-light);
}

.btn-ghost {
  background: rgba(255,255,255,0.05);
  color: var(--cream);
  border: 1px solid var(--border-glass);
  backdrop-filter: blur(10px);
}

.btn-ghost:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--gold);
  color: var(--gold);
}

/* ---- Cards ---- */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 2rem;
  transition: var(--transition);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-gold);
  transform: translateY(-4px);
  box-shadow: var(--shadow-gold);
}

/* ---- Divider ---- */
.divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--border-gold), transparent);
  margin: 4rem 0;
}

/* ---- Section Padding ---- */
.section {
  padding: 6rem 0;
}

.section-sm {
  padding: 3rem 0;
}

/* ---- Container ---- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.container-wide {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ---- Grid Helpers ---- */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

/* ---- Flex Helpers ---- */
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-col { display: flex; flex-direction: column; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }
.gap-4 { gap: 2rem; }

/* ---- Text Align ---- */
.text-center { text-align: center; }
.text-right { text-align: right; }

/* ---- Scroll Reveal ---- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* ---- Stagger Delays ---- */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.2rem 2rem;
  transition: var(--transition);
  backdrop-filter: blur(0px);
}

.navbar.scrolled {
  background: rgba(8, 9, 22, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-gold);
  padding: 0.8rem 2rem;
}

.nav-container {
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.nav-logo {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  text-decoration: none;
}

.nav-logo-name {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}

.nav-logo-tagline {
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
}

.nav-links a {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--cream);
  text-decoration: none;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 1.5px;
  background: var(--gold);
  transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 70%;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--gold);
}

.nav-cta {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: #0A0B1E !important;
  padding: 0.6rem 1.4rem !important;
  border-radius: 50px !important;
  font-weight: 700 !important;
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(201,168,76,0.4);
}

.nav-cta::after { display: none !important; }

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
  background: none;
  border: none;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--cream);
  border-radius: 2px;
  transition: var(--transition);
}

.nav-hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-hamburger.open span:nth-child(2) {
  opacity: 0;
}
.nav-hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile nav */
.nav-mobile {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(8, 9, 22, 0.98);
  backdrop-filter: blur(20px);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  transition: var(--transition);
  opacity: 0;
  pointer-events: none;
}

.nav-mobile.open {
  display: flex;
  opacity: 1;
  pointer-events: all;
}

.nav-mobile a {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  color: var(--cream);
  text-decoration: none;
  transition: var(--transition);
}

.nav-mobile a:hover { color: var(--gold); }

.nav-mobile-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-size: 2rem;
  background: none;
  border: none;
  color: var(--cream);
  cursor: pointer;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: linear-gradient(180deg, #0A0B1E 0%, #06070F 100%);
  border-top: 1px solid var(--border-gold);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand .nav-logo-name {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}

.footer-tagline {
  font-family: var(--font-accent);
  font-style: italic;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0.75rem 0 1.5rem;
  line-height: 1.6;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
}

.social-link {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cream);
  font-size: 0.9rem;
  transition: var(--transition);
  text-decoration: none;
}

.social-link:hover {
  background: var(--gold-pale);
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
  text-decoration: none;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--gold);
  padding-left: 5px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.footer-contact-item .icon {
  color: var(--gold);
  font-size: 1rem;
  margin-top: 0.15rem;
  flex-shrink: 0;
}

.footer-contact-item span {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.footer-bottom {
  border-top: 1px solid var(--border-glass);
  padding-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: var(--text-muted);
  opacity: 1;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}

/* Hero layout grid — stacks on mobile via responsive section */
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  width: 100%;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(123, 34, 64, 0.25) 0%, transparent 60%),
              radial-gradient(ellipse at 80% 20%, rgba(201, 168, 76, 0.08) 0%, transparent 50%),
              radial-gradient(ellipse at 60% 80%, rgba(74, 15, 38, 0.2) 0%, transparent 40%);
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--gold-pale);
  border: 1px solid var(--border-gold);
  border-radius: 50px;
  padding: 0.4rem 1rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
}

.hero-badge::before {
  content: '✦';
  font-size: 0.6rem;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 6vw, 5rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-family: var(--font-accent);
  font-style: italic;
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  max-width: 600px;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 3rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-glass);
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.stat-num {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}

.stat-label {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  text-transform: uppercase;
}

/* ============================================
   PAGE HERO (inner pages)
   ============================================ */
.page-hero {
  padding: 10rem 0 5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 80%, rgba(123, 34, 64, 0.3) 0%, transparent 60%),
              radial-gradient(ellipse at 80% 20%, rgba(201, 168, 76, 0.08) 0%, transparent 40%);
}

.page-hero-content {
  position: relative;
  z-index: 2;
}

/* ============================================
   DECORATIVE ELEMENTS
   ============================================ */
.mandala-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--border-gold);
  animation: spin-slow linear infinite;
  pointer-events: none;
}

@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes spin-counter {
  from { transform: rotate(0deg); }
  to { transform: rotate(-360deg); }
}

.float-symbol {
  position: absolute;
  font-size: 1.2rem;
  color: var(--gold);
  opacity: 0.15;
  pointer-events: none;
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

/* ============================================
   GLOWING ORBS
   ============================================ */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  opacity: 0.15;
}

.orb-gold {
  background: var(--gold);
}

.orb-crimson {
  background: var(--crimson);
}

/* ============================================
   SERVICE CARDS
   ============================================ */
.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 2.5rem;
  transition: var(--transition);
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
  opacity: 0;
  transition: var(--transition);
}

.service-card:hover::before {
  opacity: 1;
}

.service-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-gold);
  transform: translateY(-6px);
  box-shadow: var(--shadow-gold);
}

.service-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: var(--gold-pale);
  border: 1px solid var(--border-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
  transition: var(--transition);
}

.service-card:hover .service-icon {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  border-color: transparent;
}

/* ============================================
   FEATURE LIST
   ============================================ */
.feature-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.feature-item:last-child { border-bottom: none; }

.feature-check {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--gold-pale);
  border: 1px solid var(--border-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 0.1rem;
  font-size: 0.65rem;
  color: var(--gold);
}

.feature-item p {
  font-size: 0.92rem;
  opacity: 0.85;
  margin: 0;
}

/* ============================================
   REVIEW CARDS
   ============================================ */
.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  transition: var(--transition);
}

.review-card:hover {
  border-color: var(--border-gold);
  box-shadow: var(--shadow-gold);
}

.review-stars {
  color: var(--gold);
  font-size: 1rem;
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
}

.review-text {
  font-family: var(--font-accent);
  font-style: italic;
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1rem;
  opacity: 0.9;
}

.reviewer-name {
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--gold);
}

.reviewer-date {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ============================================
   DIRECTION COMPASS (Vastu)
   ============================================ */
.direction-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.direction-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  text-align: center;
  transition: var(--transition);
}

.direction-card:hover {
  border-color: var(--border-gold);
  background: var(--bg-card-hover);
  transform: translateY(-3px);
}

.direction-symbol {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.direction-name {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  color: var(--gold);
  margin-bottom: 0.25rem;
}

.direction-deity {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.direction-desc {
  font-size: 0.82rem;
  line-height: 1.5;
  opacity: 0.75;
}

/* ============================================
   TIMELINE (Muhurat)
   ============================================ */
.timeline {
  position: relative;
  padding-left: 2rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, var(--gold), transparent);
}

.timeline-item {
  position: relative;
  padding-bottom: 2.5rem;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -2.4rem;
  top: 0.4rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 10px rgba(201,168,76,0.5);
}

.timeline-step {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.25rem;
}

.timeline-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--cream);
  margin-bottom: 0.5rem;
}

.timeline-desc {
  font-size: 0.9rem;
  opacity: 0.75;
}

/* ============================================
   GEMSTONE CARDS
   ============================================ */
.gemstone-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.5rem;
}

.gemstone-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  text-align: center;
  transition: var(--transition);
  cursor: default;
}

.gemstone-card:hover {
  border-color: var(--border-gold);
  transform: translateY(-4px);
  box-shadow: var(--shadow-gold);
}

.gem-emoji {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
}

.gem-name {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--gold);
  margin-bottom: 0.25rem;
}

.gem-planet {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ============================================
   CONTACT FORM
   ============================================ */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.form-label {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--cream);
  opacity: 0.8;
}

.form-control {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1.1rem;
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--transition);
  width: 100%;
  outline: none;
}

.form-control:focus {
  border-color: var(--gold);
  background: rgba(255,255,255,0.08);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.1);
}

.form-control::placeholder {
  color: rgba(245,237,216,0.3);
}

select.form-control option {
  background: #12102B;
  color: var(--cream);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

/* ============================================
   BOOKING MODAL (Calendly-style)
   ============================================ */
.booking-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(6, 7, 15, 0.85);
  backdrop-filter: blur(8px);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  animation: fadeIn 0.3s ease;
}

.booking-overlay.open {
  display: flex;
}

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

.booking-modal {
  background: linear-gradient(135deg, #0E0F2A, #12102B);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 900px;
  max-height: 90vh;
  overflow-y: auto;
  display: grid;
  grid-template-columns: 280px 1fr;
  animation: slideUp 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 40px 80px rgba(0,0,0,0.6), var(--shadow-gold);
  position: relative;
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(30px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.booking-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  border: none;
  color: var(--cream);
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  z-index: 10;
}

.booking-close:hover {
  background: var(--crimson);
  color: white;
}

.booking-sidebar {
  background: linear-gradient(180deg, rgba(123,34,64,0.3) 0%, rgba(74,15,38,0.2) 100%);
  border-right: 1px solid var(--border-gold);
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.booking-avatar {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  object-fit: cover;
  margin-bottom: 0.5rem;
}

.booking-astrologer-name {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--gold);
}

.booking-service-name {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0.25rem 0;
}

.booking-duration {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--cream);
  opacity: 0.8;
}

.booking-price {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--gold);
}

.booking-info-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.booking-main {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

/* Step indicators */
.booking-steps {
  display: flex;
  align-items: center;
  gap: 0;
}

.booking-step {
  display: flex;
  align-items: center;
  flex: 1;
  position: relative;
}

.step-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
  background: var(--bg-card);
  transition: var(--transition);
  flex-shrink: 0;
  z-index: 1;
}

.booking-step.active .step-circle {
  border-color: var(--gold);
  background: var(--gold);
  color: #0A0B1E;
  box-shadow: 0 0 15px rgba(201,168,76,0.4);
}

.booking-step.done .step-circle {
  border-color: var(--gold);
  background: var(--gold-pale);
  color: var(--gold);
}

.step-line {
  flex: 1;
  height: 1px;
  background: var(--border-glass);
  margin: 0 0.25rem;
}

.booking-step.done .step-line,
.booking-step.active ~ .booking-step .step-line {
  background: var(--gold);
}

.step-label {
  position: absolute;
  top: 2.2rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.7rem;
  color: var(--text-muted);
  white-space: nowrap;
  font-weight: 600;
}

.booking-step.active .step-label { color: var(--gold); }

/* Step panels */
.step-panel {
  display: none;
}

.step-panel.active {
  display: block;
}

/* Service selector in booking */
.booking-service-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.booking-service-option {
  border: 1.5px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  cursor: pointer;
  transition: var(--transition);
  background: var(--bg-card);
  text-align: left;
}

.booking-service-option:hover {
  border-color: var(--border-gold);
  background: var(--bg-card-hover);
}

.booking-service-option.selected {
  border-color: var(--gold);
  background: var(--gold-pale);
}

.booking-service-option .svc-icon {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.booking-service-option .svc-name {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  color: var(--cream);
  margin-bottom: 0.2rem;
}

.booking-service-option .svc-duration {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* Calendar */
.calendar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.cal-nav {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--border-glass);
  background: none;
  color: var(--cream);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  font-size: 1rem;
}

.cal-nav:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.calendar-month-year {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--cream);
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.3rem;
}

.cal-day-name {
  text-align: center;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  text-transform: uppercase;
  padding: 0.4rem 0;
}

.cal-day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 0.85rem;
  cursor: pointer;
  transition: var(--transition);
  border: 1.5px solid transparent;
}

.cal-day:hover:not(.disabled):not(.empty) {
  background: var(--gold-pale);
  border-color: var(--border-gold);
  color: var(--gold);
}

.cal-day.selected {
  background: var(--gold);
  color: #0A0B1E;
  font-weight: 700;
}

.cal-day.today {
  border-color: var(--gold);
  color: var(--gold);
}

.cal-day.disabled {
  opacity: 0.25;
  cursor: not-allowed;
}

.cal-day.empty { cursor: default; }

/* Time slots */
.time-slots-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6rem;
}

.time-slot {
  border: 1.5px solid var(--border-glass);
  border-radius: var(--radius-sm);
  padding: 0.65rem;
  text-align: center;
  font-size: 0.85rem;
  cursor: pointer;
  transition: var(--transition);
  background: var(--bg-card);
  color: var(--cream);
}

.time-slot:hover:not(.unavailable) {
  border-color: var(--border-gold);
  color: var(--gold);
}

.time-slot.selected {
  background: var(--gold);
  border-color: var(--gold);
  color: #0A0B1E;
  font-weight: 700;
}

.time-slot.unavailable {
  opacity: 0.3;
  cursor: not-allowed;
  text-decoration: line-through;
}

/* Booking form */
.booking-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.booking-summary {
  background: var(--gold-pale);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-bottom: 1rem;
}

.booking-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(201,168,76,0.15);
  font-size: 0.9rem;
}

.booking-summary-row:last-child { border-bottom: none; }

.booking-summary-row .label { color: var(--text-muted); }
.booking-summary-row .value { color: var(--cream); font-weight: 600; }

.booking-success {
  text-align: center;
  padding: 2rem;
}

.booking-success-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

/* ============================================
   POOJA SECTION
   ============================================ */
.pooja-how-step {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.pooja-how-step:hover {
  border-color: var(--border-gold);
  background: var(--bg-card-hover);
}

.pooja-step-num {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: #0A0B1E;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
  background: linear-gradient(135deg, rgba(123,34,64,0.3) 0%, rgba(74,15,38,0.4) 50%, rgba(8,9,22,0) 100%);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-xl);
  padding: 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '☽ ✦ ☾';
  position: absolute;
  top: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 1.2rem;
  color: var(--gold);
  opacity: 0.4;
  letter-spacing: 0.5em;
}

/* ============================================
   CELEBRITY GALLERY
   ============================================ */
.celeb-gallery {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  padding-bottom: 2rem;
  scrollbar-width: thin;
  scrollbar-color: var(--gold) var(--bg-card);
}

.celeb-gallery::-webkit-scrollbar {
  height: 6px;
}
.celeb-gallery::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
}
.celeb-gallery::-webkit-scrollbar-thumb {
  background-color: var(--gold);
  border-radius: 4px;
}

.celeb-card {
  flex: 0 0 auto;
  width: 280px;
  height: 380px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-glass);
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  transition: var(--transition);
}

.celeb-card:hover {
  transform: translateY(-5px);
  border-color: var(--gold);
  box-shadow: 0 15px 40px rgba(201, 168, 76, 0.15);
}

.celeb-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.celeb-card:hover img {
  transform: scale(1.05);
}

/* ============================================
   RESPONSIVE — FULL MULTI-DEVICE SYSTEM
   Breakpoints:
   xl:  1280px+ (large desktop)
   lg:  1024px  (small desktop / laptop)
   md:  768px   (tablet / iPad)
   sm:  640px   (large phone / phablet)
   xs:  480px   (phone)
   xxs: 360px   (small phone)
   ============================================ */

/* ---- Large Desktop (1280px+) ---- */
@media (min-width: 1280px) {
  .container { max-width: 1240px; }
}

/* ---- Laptop / Small Desktop (max 1024px) ---- */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }

  /* Booking modal: stack sidebar above content */
  .booking-modal {
    grid-template-columns: 1fr;
    max-width: 560px;
  }
  .booking-sidebar {
    border-right: none;
    border-bottom: 1px solid var(--border-gold);
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: flex-start;
  }

  /* Hero: slightly smaller image */
  .profile-img { max-width: 340px; }
}

/* ---- Tablet (max 900px) ---- */
@media (max-width: 900px) {
  .hero { padding-top: 70px; }

  /* Hero stacks vertically on tablet */
  .hero-grid {
    grid-template-columns: 1fr !important;
    flex-direction: column-reverse;
    gap: 2.5rem !important;
  }

  /* Reverse order: image first on mobile for visual impact */
  .hero-grid > div:last-child { order: -1; }

  .profile-img {
    height: 340px !important;
    width: 280px !important;
    margin: 0 auto;
  }

  .profile-badge {
    left: 50%;
    transform: translateX(-50%);
    bottom: -0.5rem;
  }

  .hero-subtitle { max-width: 100%; }
  .hero-stats { gap: 2rem; }
}

/* ---- Tablet / iPad (max 768px) ---- */
@media (max-width: 768px) {
  /* Typography */
  h1 { font-size: clamp(1.8rem, 6vw, 2.8rem); }
  h2 { font-size: clamp(1.4rem, 5vw, 2.2rem); }
  h3 { font-size: clamp(1.1rem, 4vw, 1.6rem); }
  h4 { font-size: 1.05rem; }

  /* Layout */
  html { font-size: 15px; }
  .container { padding: 0 1.25rem; }
  .section { padding: 3.5rem 0; }
  .section-sm { padding: 2rem 0; }

  /* Grids */
  .grid-2, .grid-3 { grid-template-columns: 1fr; gap: 1.25rem; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .direction-grid { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
  .gemstone-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }

  /* Navbar */
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .navbar { padding: 1rem 1.25rem; }
  .navbar.scrolled { padding: 0.7rem 1.25rem; }
  .nav-logo-name { font-size: 1.2rem; }
  .nav-logo-tagline { display: none; }

  /* Hero */
  .hero { padding-top: 70px; min-height: auto; padding-bottom: 3rem; }
  .hero-title { font-size: clamp(1.8rem, 7vw, 2.8rem); line-height: 1.15; }
  .hero-subtitle { font-size: 1rem; margin-bottom: 1.75rem; }
  .hero-buttons { flex-direction: column; align-items: flex-start; gap: 0.75rem; }
  .hero-buttons .btn { width: 100%; justify-content: center; }
  .hero-stats {
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-top: 2rem;
    padding-top: 1.5rem;
  }
  .stat-num { font-size: 1.6rem; }

  /* Profile section */
  .profile-img {
    height: 300px !important;
    width: 240px !important;
    margin: 0 auto;
  }
  .profile-badge {
    position: static;
    transform: none;
    margin-top: 1rem;
    display: inline-block;
  }

  /* Page hero */
  .page-hero { padding: 7rem 0 3rem; }

  /* Footer */
  .footer { padding: 3rem 0 1.5rem; }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }

  /* Cards */
  .card { padding: 1.5rem; }
  .service-card { padding: 1.75rem; }

  /* CTA */
  .cta-section {
    padding: 2.5rem 1.5rem;
    border-radius: var(--radius-lg);
  }
  .cta-section::before { font-size: 0.9rem; }

  /* Booking */
  .booking-overlay { padding: 0; align-items: flex-end; }
  .booking-modal {
    grid-template-columns: 1fr;
    max-width: 100%;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    max-height: 92vh;
    overflow-y: auto;
  }
  .booking-sidebar {
    border-right: none;
    border-bottom: 1px solid var(--border-gold);
    padding: 1.5rem;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
  }
  .booking-avatar { width: 52px; height: 52px; }
  .booking-main { padding: 1.5rem; }
  .booking-service-grid { grid-template-columns: 1fr 1fr; gap: 0.75rem; }
  .booking-form-row { grid-template-columns: 1fr; gap: 0; }
  .time-slots-grid { grid-template-columns: repeat(3, 1fr); gap: 0.5rem; }
  .booking-steps { gap: 0; }
  .step-label { font-size: 0.6rem; }

  /* Calendar */
  .cal-day { font-size: 0.78rem; }
  .cal-day-name { font-size: 0.65rem; }

  /* Legacy strip */
  .legacy-strip { flex-wrap: wrap; }
  .legacy-item {
    flex: 1 1 33%;
    padding: 1rem;
  }

  /* Credential tags */
  .credential-tags { gap: 0.4rem; }
  .cred-tag { font-size: 0.72rem; padding: 0.3rem 0.7rem; }

  /* Timeline */
  .timeline { padding-left: 1.5rem; }

  /* Vastu directions */
  .direction-card { padding: 1rem; }
  .direction-symbol { font-size: 1.5rem; }

  /* Pooja steps */
  .pooja-how-step { flex-direction: column; gap: 1rem; }
  .pooja-step-num { width: 42px; height: 42px; font-size: 1rem; }

  /* Contact */
  .contact-card { padding: 1.25rem; }

  /* Quick contact strip */
  .quick-strip-divider { display: none; }
}

/* ---- Large Phone / Phablet (max 640px) ---- */
@media (max-width: 640px) {
  html { font-size: 14.5px; }
  .container { padding: 0 1rem; }

  /* Grids collapse to 1 col */
  .grid-4 { grid-template-columns: 1fr; }
  .gemstone-grid { grid-template-columns: repeat(2, 1fr); }
  .direction-grid { grid-template-columns: repeat(2, 1fr); }

  /* Hero */
  .hero-badge { font-size: 0.68rem; letter-spacing: 0.07em; }
  .hero-title { font-size: clamp(1.6rem, 8vw, 2.4rem); }

  /* Booking: single column service selector */
  .booking-service-grid { grid-template-columns: 1fr; }
  .booking-service-option { padding: 1rem; }
  .time-slots-grid { grid-template-columns: repeat(2, 1fr); }

  /* Calendar: adjust grid */
  .calendar-grid { gap: 0.2rem; }
  .cal-day { font-size: 0.75rem; }

  /* Stats wrap into 2 columns */
  .hero-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }

  /* Page hero */
  .page-hero { padding: 6rem 0 2.5rem; }

  /* Steps strip */
  .booking-steps { overflow-x: auto; padding-bottom: 2.5rem; }

  /* CTA buttons */
  .cta-section > div > button,
  .cta-section > div > a {
    width: 100%;
    justify-content: center;
  }

  /* Vastu 8 dirs: 3x3 grid */
  .direction-grid { grid-template-columns: repeat(3, 1fr); gap: 0.5rem; }
  .direction-card { padding: 0.75rem; }
  .direction-name { font-size: 0.7rem; }
  .direction-deity { font-size: 0.65rem; }
  .direction-desc { font-size: 0.72rem; }
}

/* ---- Phone (max 480px) ---- */
@media (max-width: 480px) {
  html { font-size: 14px; }
  .container { padding: 0 0.9rem; }
  .section { padding: 2.75rem 0; }
  .section-sm { padding: 1.5rem 0; }

  /* Hero */
  .hero { padding-top: 65px; padding-bottom: 2rem; }
  .hero-title { font-size: clamp(1.5rem, 9vw, 2rem); margin-bottom: 1rem; }
  .hero-subtitle { font-size: 0.92rem; margin-bottom: 1.5rem; }
  .hero-stats { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .stat-num { font-size: 1.4rem; }
  .stat-label { font-size: 0.68rem; }

  /* Profile */
  .profile-img {
    height: 260px !important;
    width: 210px !important;
  }

  /* Navbar */
  .nav-logo-name { font-size: 1.1rem; }

  /* Page hero */
  .page-hero { padding: 5.5rem 0 2rem; }

  /* Celebrity Cards */
  .celeb-card {
    width: 240px;
    height: 320px;
  }

  /* Newsletter Form */
  .newsletter-form {
    flex-direction: column;
  }

  /* Cards */
  .card { padding: 1.25rem; }
  .service-card { padding: 1.25rem; }
  .service-icon { width: 48px; height: 48px; font-size: 1.3rem; }

  /* Booking modal: full screen */
  .booking-overlay { padding: 0; align-items: flex-start; }
  .booking-modal {
    max-width: 100%;
    width: 100%;
    min-height: 100dvh;
    max-height: 100dvh;
    border-radius: 0;
    overflow-y: auto;
    grid-template-columns: 1fr;
  }
  .booking-sidebar {
    padding: 1.25rem 1rem;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
  }
  .booking-avatar { width: 44px; height: 44px; }
  .booking-astrologer-name { font-size: 0.95rem; }
  .booking-main { padding: 1.25rem 1rem; gap: 1.25rem; }
  .booking-service-grid { grid-template-columns: 1fr; gap: 0.6rem; }
  .booking-service-option { padding: 0.9rem; }
  .time-slots-grid { grid-template-columns: repeat(2, 1fr); gap: 0.45rem; }
  .time-slot { font-size: 0.78rem; padding: 0.55rem; }
  .step-circle { width: 28px; height: 28px; font-size: 0.72rem; }
  .step-label { font-size: 0.55rem; }
  .booking-summary-row { font-size: 0.82rem; }

  /* Calendar on small screens */
  .cal-day { font-size: 0.7rem; }
  .cal-day-name { font-size: 0.6rem; }
  .calendar-month-year { font-size: 0.9rem; }
  .cal-nav { width: 28px; height: 28px; font-size: 0.85rem; }

  /* Grid time calendar layout: stack vertically */
  #step-panel-2 > div[style*="grid-template-columns:1fr 1fr"] {
    display: flex !important;
    flex-direction: column !important;
    gap: 1.5rem !important;
  }

  /* Direction grid: 2 cols */
  .direction-grid { grid-template-columns: repeat(2, 1fr); gap: 0.6rem; }
  .direction-symbol { font-size: 1.3rem; margin-bottom: 0.4rem; }

  /* Gemstones */
  .gemstone-grid { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
  .gemstone-card { padding: 1rem; }
  .gem-emoji { font-size: 1.8rem; }

  /* Footer */
  .footer { padding: 2.5rem 0 1.25rem; }
  .footer-grid { gap: 1.5rem; }
  .footer-brand .nav-logo-name { font-size: 1.4rem; }

  /* Legacy strip: 3 columns even on small */
  .legacy-item { padding: 0.85rem 0.5rem; }
  .legacy-num { font-size: 1.4rem; }

  /* CTA */
  .cta-section { padding: 2rem 1.25rem; border-radius: var(--radius-md); }

  /* Buttons: full width on mobile */
  .hero-buttons .btn { font-size: 0.88rem; padding: 0.8rem 1.5rem; }

  /* Pooja steps */
  .pooja-how-step { padding: 1.25rem; gap: 0.75rem; }

  /* Contact form */
  .booking-form-row { grid-template-columns: 1fr; }
  .form-control { font-size: 0.9rem; padding: 0.75rem 1rem; }

  /* Review cards */
  .review-card { padding: 1.25rem; }
  .review-text { font-size: 0.88rem; }

  /* WhatsApp button */
  .whatsapp-btn { font-size: 0.88rem; padding: 0.75rem 1.5rem; }

  /* Zodiac strip */
  .zodiac-track { gap: 1.5rem; }
  .zodiac-track span { font-size: 1.3rem; }

  /* Timeline */
  .timeline { padding-left: 1.25rem; }
  .timeline-item::before { left: -1.65rem; width: 8px; height: 8px; }
  .timeline-title { font-size: 1rem; }
  .timeline-desc { font-size: 0.85rem; }

  /* Vastu principles card: full-width fix */
  .card[style*="grid-column:span 2"] { grid-column: span 1 !important; }
}

/* ---- Small Phone (max 380px) ---- */
@media (max-width: 380px) {
  html { font-size: 13.5px; }
  .container { padding: 0 0.75rem; }

  .hero-title { font-size: clamp(1.3rem, 10vw, 1.75rem); }
  .hero-stats { grid-template-columns: 1fr 1fr; gap: 0.75rem; }

  .nav-logo-name { font-size: 1rem; }

  /* Booking: condensed */
  .booking-sidebar { padding: 1rem 0.75rem; }
  .booking-main { padding: 1rem 0.75rem; }
  .time-slots-grid { grid-template-columns: repeat(2, 1fr); }

  /* Direction: 2 col */
  .direction-grid { grid-template-columns: repeat(2, 1fr); gap: 0.4rem; }
  .direction-card { padding: 0.6rem; }
  .direction-name { font-size: 0.65rem; }

  /* Gemstone 2-col */
  .gemstone-grid { grid-template-columns: repeat(2, 1fr); }

  /* Cards: minimal padding */
  .card, .service-card, .review-card { padding: 1rem; }

  /* CTA */
  .cta-section { padding: 1.75rem 1rem; }
  .cta-section h2 { font-size: 1.3rem; }

  /* Footer */
  .footer-col h4 { font-size: 0.8rem; margin-bottom: 0.75rem; }
  .footer-links a { font-size: 0.82rem; }

  /* Legacy */
  .legacy-num { font-size: 1.2rem; }
  .legacy-label { font-size: 0.65rem; }
  .legacy-item { padding: 0.75rem 0.35rem; }

  /* Profile badge: hide on very small */
  .profile-badge { display: none; }
}

/* ---- Touch Device Enhancements ---- */
@media (hover: none) and (pointer: coarse) {
  /* Larger touch targets */
  .btn { min-height: 48px; }
  .cal-day { min-height: 36px; }
  .time-slot { min-height: 44px; }
  .nav-hamburger { padding: 8px; }
  .booking-close { width: 40px; height: 40px; }
  .form-control { font-size: 16px; } /* Prevents iOS zoom on input focus */
  select.form-control { font-size: 16px; }
  textarea.form-control { font-size: 16px; }

  /* Remove hover transforms on touch */
  .card:hover { transform: none; }
  .service-card:hover { transform: none; }
  .btn-primary:hover { transform: none; }
  .btn-outline:hover { transform: none; }
  .social-link:hover { transform: none; }
  .gemstone-card:hover { transform: none; }
}

/* ---- Landscape Phone ---- */
@media (max-width: 768px) and (orientation: landscape) {
  .hero { min-height: auto; padding-top: 60px; padding-bottom: 2rem; }
  .page-hero { padding: 5rem 0 2rem; }
  .booking-modal {
    max-height: 100dvh;
    overflow-y: auto;
  }
  .booking-sidebar { display: none; } /* hide sidebar in landscape mobile to save space */
}

/* ---- iPad Pro / Large Tablet (768px – 1024px) ---- */
@media (min-width: 768px) and (max-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }

  .hero .container > div[style*="grid-template-columns:1fr 1fr"] {
    gap: 2.5rem !important;
  }
  .profile-img {
    height: 380px !important;
    width: 300px !important;
  }

  .booking-modal { max-width: 600px; }
  .booking-service-grid { grid-template-columns: repeat(2, 1fr); }
  .time-slots-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ---- Print ---- */
@media print {
  #star-canvas,
  .navbar,
  .nav-mobile,
  .booking-overlay,
  .zodiac-strip,
  .orb { display: none !important; }
  body { background: white; color: black; }
  .page-wrapper { padding-top: 0; }
}

/* ============================================
   SCROLLBAR
   ============================================ */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-deep); }
::-webkit-scrollbar-thumb {
  background: var(--border-gold);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover { background: var(--gold); }

/* Quick contact strip responsive */
.quick-contact-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}

@media (max-width: 640px) {
  .quick-contact-strip { gap: 1.25rem; flex-direction: column; }
  .quick-strip-divider { display: none !important; }
}

/* ============================================
   ZODIAC STRIP
   ============================================ */
.zodiac-strip {
  overflow: hidden;
  padding: 1.5rem 0;
  background: rgba(201,168,76,0.03);
  border-top: 1px solid var(--border-glass);
  border-bottom: 1px solid var(--border-glass);
}

.zodiac-track {
  display: flex;
  gap: 2.5rem;
  animation: scroll-x 30s linear infinite;
  white-space: nowrap;
}

.zodiac-track span {
  font-size: 1.6rem;
  opacity: 0.5;
  transition: var(--transition);
  cursor: default;
  user-select: none;
}

.zodiac-track span:hover { opacity: 1; }

@keyframes scroll-x {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============================================
   ABOUT SECTION PROFILE
   ============================================ */
.profile-wrap {
  position: relative;
  display: inline-block;
}

.profile-img {
  width: 100%;
  max-width: 400px;
  border-radius: var(--radius-lg);
  object-fit: cover;
  border: 1px solid var(--border-gold);
  box-shadow: var(--shadow-gold), var(--shadow-deep);
  position: relative;
  z-index: 2;
}

.profile-badge {
  position: absolute;
  bottom: 1.5rem;
  left: -1.5rem;
  background: linear-gradient(135deg, #0E0F2A, #12102B);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  z-index: 3;
  min-width: 180px;
  box-shadow: var(--shadow-deep);
}

.profile-badge-title {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  color: var(--gold);
  letter-spacing: 0.05em;
}

.profile-badge-value {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
}

/* Legacy strip */
.legacy-strip {
  display: flex;
  gap: 0;
  background: var(--gold-pale);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.legacy-item {
  flex: 1;
  padding: 1.5rem;
  text-align: center;
  border-right: 1px solid var(--border-gold);
}

.legacy-item:last-child { border-right: none; }

.legacy-num {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}

.legacy-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 0.3rem;
}

/* Credential badges */
.credential-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.cred-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--gold-pale);
  border: 1px solid var(--border-gold);
  border-radius: 50px;
  padding: 0.35rem 0.85rem;
  font-size: 0.78rem;
  color: var(--gold);
  font-weight: 600;
}

/* Section bg variations */
.bg-alt {
  background: rgba(255,255,255,0.015);
}

.bg-gradient-radial {
  background: radial-gradient(ellipse at center, rgba(123,34,64,0.15) 0%, transparent 70%);
}

/* Contact card */
.contact-card {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  transition: var(--transition);
}

.contact-card:hover {
  border-color: var(--border-gold);
  box-shadow: var(--shadow-gold);
}

.contact-icon-wrap {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: var(--gold-pale);
  border: 1px solid var(--border-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: #25D366;
  color: white;
  padding: 0.85rem 2rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(37,211,102,0.3);
}

.whatsapp-btn:hover {
  background: #1ebe5d;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(37,211,102,0.4);
  color: white;
}
