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

:root {
  --gold: #C9A96E;
  --gold-light: #E8D5B0;
  --gold-dark: #8B6914;
  --teal: #2D7D7D;
  --teal-light: #4AACAC;
  --teal-dark: #1A5252;
  --cream: #FAF7F2;
  --cream-dark: #F0EAE0;
  --bg: #FFFFFF;
  --bg2: #FAF7F2;
  --bg3: #F0EAE0;
  --text: #1A1A1A;
  --text2: #4A4A4A;
  --text3: #7A7A7A;
  --border: rgba(201,169,110,0.25);
  --border2: rgba(201,169,110,0.45);
  --shadow: 0 4px 24px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 48px rgba(0,0,0,0.12);
  --radius: 12px;
  --radius-lg: 20px;
  --font-display: 'Cormorant Garamond', serif;
  --font-body: 'Jost', sans-serif;
  --transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
  --navbar-h: 80px;
}

[data-theme="dark"] {
  --bg: #0F0F0F;
  --bg2: #1A1A1A;
  --bg3: #242424;
  --text: #F5F0E8;
  --text2: #C8BEA8;
  --text3: #8A8070;
  --border: rgba(201,169,110,0.15);
  --border2: rgba(201,169,110,0.30);
  --shadow: 0 4px 24px rgba(0,0,0,0.4);
  --shadow-lg: 0 12px 48px rgba(0,0,0,0.5);
  --cream: #1A1A1A;
  --cream-dark: #242424;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  transition: background 0.3s ease, color 0.3s ease;
  overflow-x: hidden;
  line-height: 1.7;
}

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

/* TYPOGRAPHY */
h1,h2,h3,h4,h5 { font-family: var(--font-display); font-weight: 400; line-height: 1.2; }
h1 { font-size: clamp(2.5rem, 6vw, 5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); }
h3 { font-size: clamp(1.4rem, 2.5vw, 2rem); }
h4 { font-size: 1.3rem; }
p { color: var(--text2); }
a { color: inherit; text-decoration: none; transition: var(--transition); }

/* NAVBAR */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--navbar-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 5%;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

[data-theme="dark"] .navbar {
  background: rgba(15,15,15,0.92);
}

.navbar.scrolled {
  box-shadow: var(--shadow);
}

.navbar-brand {
  display: flex; align-items: center; gap: 12px;
}

.navbar-logo {
  height: 48px; width: auto;
}

.navbar-name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--gold-dark);
  letter-spacing: 0.02em;
}

[data-theme="dark"] .navbar-name { color: var(--gold); }

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

.navbar-nav a {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text2);
  position: relative;
  padding-bottom: 4px;
}

.navbar-nav a::after {
  content: '';
  position: absolute; bottom: 0; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.3s ease;
}

.navbar-nav a:hover { color: var(--gold-dark); }
.navbar-nav a:hover::after { width: 100%; }
[data-theme="dark"] .navbar-nav a:hover { color: var(--gold); }

.navbar-actions {
  display: flex; align-items: center; gap: 1rem;
}

/* LANGUAGE SWITCHER */
.lang-switcher {
  display: flex; align-items: center; gap: 6px;
}

.lang-btn {
  background: none; border: none; cursor: pointer;
  padding: 4px 8px; border-radius: 6px;
  font-size: 0.75rem; font-weight: 600;
  font-family: var(--font-body);
  color: var(--text3);
  transition: var(--transition);
  display: flex; align-items: center; gap: 4px;
}

.lang-btn:hover, .lang-btn.active {
  background: var(--bg3);
  color: var(--gold-dark);
}

[data-theme="dark"] .lang-btn:hover,
[data-theme="dark"] .lang-btn.active { color: var(--gold); }

.lang-flag { font-size: 1rem; }

/* THEME TOGGLE */
.theme-toggle {
  background: var(--bg3);
  border: 1px solid var(--border2);
  border-radius: 50px;
  padding: 6px 14px;
  cursor: pointer;
  display: flex; align-items: center; gap: 8px;
  font-size: 0.8rem;
  font-family: var(--font-body);
  color: var(--text2);
  transition: var(--transition);
}

.theme-toggle:hover { border-color: var(--gold); color: var(--gold-dark); }
[data-theme="dark"] .theme-toggle:hover { color: var(--gold); }

/* BTN */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 28px;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  transition: var(--transition);
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #fff;
  box-shadow: 0 4px 20px rgba(201,169,110,0.4);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(201,169,110,0.5);
  color: #fff;
}

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

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

[data-theme="dark"] .btn-outline { color: var(--gold); }
[data-theme="dark"] .btn-outline:hover { color: #fff; }

.btn-sm { padding: 8px 20px; font-size: 0.78rem; }
.btn-lg { padding: 16px 40px; font-size: 0.95rem; }

/* HERO */
.hero {
  min-height: 82vh;
  display: flex; align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: var(--navbar-h);
}

.hero-bg {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, #0a1a1a 0%, #1a3333 40%, #0d2222 100%);
  z-index: 0;
}

.hero-bg-img {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0.35;
  z-index: 1;
}

.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(10,26,26,0.85) 0%, rgba(10,26,26,0.4) 60%, transparent 100%);
  z-index: 2;
}

.hero-content {
  position: relative; z-index: 3;
  max-width: 680px;
  padding: 0 5%;
  animation: heroFadeIn 1.2s ease forwards;
}

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

.hero-eyebrow {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
  display: flex; align-items: center; gap: 12px;
}

.hero-eyebrow::before {
  content: '';
  display: block; width: 40px; height: 1px;
  background: var(--gold);
}

.hero h1 {
  color: #fff;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.hero h1 span { color: var(--gold-light); font-style: normal; }

.hero-desc {
  color: rgba(255,255,255,0.75);
  font-size: 1.05rem;
  margin-bottom: 2.5rem;
  max-width: 520px;
}

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

.hero-scroll {
  position: absolute; bottom: 2rem; left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: rgba(255,255,255,0.5);
  font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

.hero-scroll-line {
  width: 1px; height: 48px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
}

/* SECTION */
.section {
  padding: 100px 5%;
}

.section-alt { background: var(--bg2); }

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-eyebrow {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
  display: block;
}

.section-title {
  margin-bottom: 1rem;
  color: var(--text);
}

.section-desc {
  max-width: 560px;
  margin: 0 auto;
  color: var(--text3);
}

.divider {
  width: 60px; height: 2px;
  background: linear-gradient(to right, var(--gold), var(--gold-light));
  margin: 1.5rem auto;
}

/* CATEGORIES GRID */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  max-width: 1200px; margin: 0 auto;
}

.category-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.category-card::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(201,169,110,0.05), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

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

.category-icon {
  width: 64px; height: 64px;
  background: linear-gradient(135deg, var(--gold-light), var(--cream-dark));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 1.8rem;
  transition: var(--transition);
}

[data-theme="dark"] .category-icon {
  background: linear-gradient(135deg, rgba(201,169,110,0.2), rgba(201,169,110,0.05));
}

.category-card:hover .category-icon {
  transform: scale(1.1);
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
}

.category-name {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.category-desc {
  font-size: 0.88rem;
  color: var(--text3);
}

/* PLANS GRID */
.plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1200px; margin: 0 auto;
}

.plan-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  position: relative;
}

.plan-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold);
}

.plan-card.featured {
  border-color: var(--gold);
  box-shadow: 0 0 0 1px var(--gold), var(--shadow-lg);
}

.plan-badge {
  position: absolute; top: 1rem; right: 1rem;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #fff;
  font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 4px 12px; border-radius: 50px;
}

.plan-img {
  height: 200px;
  background: linear-gradient(135deg, var(--teal-dark), var(--teal));
  background-size: cover; background-position: center;
  position: relative;
}

.plan-img-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.5), transparent);
}

.plan-body { padding: 1.75rem; }

.plan-category {
  font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 0.5rem;
}

.plan-name {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--text); margin-bottom: 0.75rem;
}

.plan-desc {
  font-size: 0.88rem; color: var(--text3);
  margin-bottom: 1.25rem; line-height: 1.6;
}

.plan-meta {
  display: flex; gap: 1rem;
  margin-bottom: 1.25rem;
}

.plan-meta-item {
  display: flex; align-items: center; gap: 6px;
  font-size: 0.82rem; color: var(--text3);
}

.plan-meta-item span { color: var(--text2); font-weight: 500; }

.plan-features {
  list-style: none; margin-bottom: 1.5rem;
}

.plan-features li {
  font-size: 0.85rem; color: var(--text2);
  padding: 4px 0;
  display: flex; align-items: center; gap: 8px;
}

.plan-features li::before {
  content: '✦';
  color: var(--gold); font-size: 0.6rem;
}

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

.plan-price {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--text);
  line-height: 1;
}

.plan-price-sub {
  font-size: 0.78rem; color: var(--text3);
  font-family: var(--font-body);
}

/* GALLERY */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  grid-auto-rows: 220px;
  gap: 1rem;
  max-width: 1200px; margin: 0 auto;
}

.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  cursor: pointer;
}

.gallery-item:nth-child(3n+1) { grid-row: span 2; }

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

.gallery-item:hover img { transform: scale(1.08); }

.gallery-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.6), transparent);
  opacity: 0; transition: opacity 0.3s ease;
  display: flex; align-items: flex-end; padding: 1.25rem;
}

.gallery-item:hover .gallery-overlay { opacity: 1; }

.gallery-title { color: #fff; font-family: var(--font-display); font-size: 1.2rem; }

/* REFERRAL SECTION */
.referral-section {
  background: linear-gradient(135deg, var(--teal-dark) 0%, #0a1f1f 100%);
  padding: 100px 5%;
  position: relative;
  overflow: hidden;
}

.referral-section::before {
  content: '';
  position: absolute; top: -50%; right: -10%;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,169,110,0.1) 0%, transparent 70%);
}

.referral-content {
  max-width: 700px; margin: 0 auto; text-align: center; position: relative;
}

.referral-content h2 { color: #fff; margin-bottom: 1rem; }
.referral-content p { color: rgba(255,255,255,0.7); margin-bottom: 2rem; }

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

.referral-step {
  text-align: center;
}

.referral-step-num {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: rgba(201,169,110,0.2);
  border: 1px solid rgba(201,169,110,0.4);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 1.4rem;
  color: var(--gold); margin: 0 auto 1rem;
}

.referral-step h4 { color: #fff; font-size: 1rem; margin-bottom: 0.5rem; }
.referral-step p { color: rgba(255,255,255,0.6); font-size: 0.85rem; }

.referral-link-box {
  display: flex; gap: 1rem; max-width: 500px; margin: 0 auto;
}

.referral-input {
  flex: 1;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(201,169,110,0.3);
  border-radius: 50px;
  padding: 12px 20px;
  color: #fff; font-family: var(--font-body); font-size: 0.88rem;
  outline: none;
}

/* CONTACT & FOOTER */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 4rem; max-width: 1000px; margin: 0 auto;
}

.contact-info h3 { margin-bottom: 1.5rem; }

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

.contact-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  background: var(--bg3);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
}

.contact-label { font-size: 0.78rem; color: var(--text3); text-transform: uppercase; letter-spacing: 0.1em; }
.contact-value { color: var(--text); font-weight: 500; }

.contact-form { display: flex; flex-direction: column; gap: 1rem; }

.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 0.82rem; color: var(--text3); text-transform: uppercase; letter-spacing: 0.08em; }

.form-input, .form-textarea {
  background: var(--bg2);
  border: 1px solid var(--border2);
  border-radius: var(--radius);
  padding: 12px 16px;
  font-family: var(--font-body); font-size: 0.95rem;
  color: var(--text);
  outline: none; transition: var(--transition);
}

.form-input:focus, .form-textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,169,110,0.15);
}

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

footer {
  background: var(--bg3);
  border-top: 1px solid var(--border);
  padding: 60px 5% 30px;
}

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

.footer-brand-name {
  font-family: var(--font-display); font-size: 1.8rem;
  color: var(--gold-dark); margin-bottom: 1rem;
}

[data-theme="dark"] .footer-brand-name { color: var(--gold); }

.footer-desc { font-size: 0.88rem; color: var(--text3); margin-bottom: 1.5rem; }

.footer-social { display: flex; gap: 12px; }

.social-btn {
  width: 40px; height: 40px;
  background: var(--bg2);
  border: 1px solid var(--border2);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; cursor: pointer; transition: var(--transition);
  color: var(--text2);
}

.social-btn:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: #fff;
  transform: translateY(-3px);
}

.footer-col h5 {
  font-size: 0.82rem; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--text); margin-bottom: 1.25rem;
}

.footer-links { list-style: none; }
.footer-links li { margin-bottom: 0.75rem; }
.footer-links a { font-size: 0.88rem; color: var(--text3); }
.footer-links a:hover { color: var(--gold); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 2rem;
  display: flex; align-items: center; justify-content: space-between;
  font-size: 0.82rem; color: var(--text3);
}

/* CHAT WIDGET */
.chat-widget {
  position: fixed; bottom: 2rem; right: 2rem; z-index: 999;
}

.chat-toggle {
  width: 60px; height: 60px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border-radius: 50%;
  border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 4px 20px rgba(201,169,110,0.5);
  transition: var(--transition);
}

.chat-toggle:hover { transform: scale(1.1); }

.chat-box {
  position: absolute; bottom: 80px; right: 0;
  width: 360px;
  background: var(--bg);
  border: 1px solid var(--border2);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: none; flex-direction: column;
  overflow: hidden;
  max-height: 520px;
}

.chat-box.open { display: flex; }

.chat-header {
  background: linear-gradient(135deg, var(--teal-dark), var(--teal));
  padding: 1rem 1.25rem;
  display: flex; align-items: center; justify-content: space-between;
}

.chat-header-info { display: flex; align-items: center; gap: 10px; }
.chat-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center; font-size: 1.1rem;
}
.chat-header-name { color: #fff; font-weight: 500; font-size: 0.95rem; }
.chat-header-status { color: rgba(255,255,255,0.7); font-size: 0.75rem; }

.chat-close {
  background: none; border: none; color: rgba(255,255,255,0.7);
  cursor: pointer; font-size: 1.2rem;
}

.chat-messages {
  flex: 1; overflow-y: auto; padding: 1rem;
  display: flex; flex-direction: column; gap: 0.75rem;
  min-height: 200px; max-height: 300px;
}

.chat-msg {
  max-width: 85%; padding: 0.75rem 1rem;
  border-radius: 16px; font-size: 0.88rem; line-height: 1.5;
}

.chat-msg.bot {
  background: var(--bg2); color: var(--text2);
  border-radius: 4px 16px 16px 16px; align-self: flex-start;
}

.chat-msg.user {
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  color: #fff;
  border-radius: 16px 4px 16px 16px; align-self: flex-end;
}

.chat-footer { padding: 0.75rem; border-top: 1px solid var(--border); }

.chat-input-row {
  display: flex; gap: 8px; align-items: center;
}

.chat-input {
  flex: 1; background: var(--bg2); border: 1px solid var(--border2);
  border-radius: 50px; padding: 10px 16px;
  font-family: var(--font-body); font-size: 0.88rem; color: var(--text);
  outline: none;
}

.chat-input:focus { border-color: var(--gold); }

.chat-send, .chat-voice-btn {
  width: 38px; height: 38px; border-radius: 50%;
  border: none; cursor: pointer; transition: var(--transition);
  display: flex; align-items: center; justify-content: center; font-size: 1rem;
}

.chat-send { background: var(--gold); color: #fff; }
.chat-send:hover { background: var(--gold-dark); }
.chat-voice-btn { background: var(--teal); color: #fff; }
.chat-voice-btn:hover { background: var(--teal-dark); }
.chat-voice-btn.listening { background: #e53e3e; animation: pulse 1s infinite; }

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

/* MOBILE MENU */
.mobile-menu-btn {
  display: none; background: none; border: none;
  cursor: pointer; padding: 8px; color: var(--text);
}

/* UTILITY */
.container { max-width: 1200px; margin: 0 auto; padding: 0 5%; }
.text-gold { color: var(--gold); }
.text-center { text-align: center; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mb-2 { margin-bottom: 2rem; }

/* ANIMATIONS */
.fade-up {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* RESPONSIVE */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  :root { --navbar-h: 68px; }
  .navbar-nav { display: none; }
  .mobile-menu-btn { display: block; }
  .hero-actions { flex-direction: column; }
  .referral-steps { grid-template-columns: 1fr; gap: 1.5rem; }
  .referral-link-box { flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
  .chat-box { width: 300px; }
  .plans-grid { grid-template-columns: 1fr; }
  .categories-grid { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 480px) {
  .section { padding: 60px 5%; }
  .categories-grid { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════
   HERO SLIDESHOW
═══════════════════════════════════════ */
.hero-slideshow {
  position: absolute; inset: 0; z-index: 1;
}

.hero-slide {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}

.hero-slide.active { opacity: 0.42; }

.hero-dots {
  position: absolute;
  bottom: 5rem; left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: flex; gap: 10px;
}

.hero-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.6);
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.hero-dot.active {
  background: var(--gold);
  border-color: var(--gold);
  transform: scale(1.3);
}

.hero-dot:hover {
  border-color: var(--gold);
  background: rgba(201,169,110,0.5);
}

/* ═══════════════════════════════════════
   CATEGORY CARDS WITH PHOTO
═══════════════════════════════════════ */
.category-card {
  position: relative;
  height: 320px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  border: none !important;
  padding: 0 !important;
  background: #1a1a1a;
}

.category-card-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s ease;
}

.category-card:hover .category-card-bg {
  transform: scale(1.08);
}

.category-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.85) 0%,
    rgba(0,0,0,0.3) 50%,
    rgba(0,0,0,0.1) 100%
  );
  transition: all 0.3s ease;
}

.category-card:hover .category-card-overlay {
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.9) 0%,
    rgba(0,0,0,0.4) 60%,
    rgba(0,0,0,0.15) 100%
  );
}

.category-card-content {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 1.75rem;
  transform: translateY(8px);
  transition: transform 0.3s ease;
}

.category-card:hover .category-card-content {
  transform: translateY(0);
}

.category-card-icon {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: rgba(201,169,110,0.25);
  border: 1px solid rgba(201,169,110,0.5);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
  backdrop-filter: blur(4px);
}

.category-card-name {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: #fff;
  margin-bottom: 0.4rem;
  line-height: 1.2;
}

.category-card-desc {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.5;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, opacity 0.3s ease;
  opacity: 0;
}

.category-card:hover .category-card-desc {
  max-height: 60px;
  opacity: 1;
}

.category-card-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 0.75rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-light);
  opacity: 0;
  transform: translateX(-8px);
  transition: all 0.3s ease 0.05s;
}

.category-card:hover .category-card-arrow {
  opacity: 1;
  transform: translateX(0);
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.25rem;
  max-width: 1200px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .category-card { height: 260px; }
  .categories-grid { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
}

@media (max-width: 480px) {
  .categories-grid { grid-template-columns: 1fr; }
}
