/* Theme System */

/* Theme: Luxury Dark (Default) */
:root,
[data-theme="luxury-dark"] {
  --black: #0a0a0a;
  --charcoal: #141414;
  --dark-slate: #1a1a1a;
  --midnight: #0d0d0d;
  --platinum: #e8e8e8;
  --gold: #c9a962;
  --gold-light: #d4bb7a;
  --gold-dark: #a68b4b;
  --champagne: #f7f3e9;
  --ivory: #fdfcfa;
  --muted: #8a8a8a;
  --text-light: #c5c5c5;
  --white: #ffffff;
  --accent: var(--gold);
  --accent-light: var(--gold-light);
  --accent-dark: var(--gold-dark);

  /* Legacy mappings */
  --primary-blue: #141414;
  --secondary-blue: #1a1a1a;
  --text-color: #e8e8e8;
  --light-bg: #141414;
  --card-bg: #1a1a1a;
  --gold-accent: #c9a962;
  --soft-pill: rgba(201, 169, 98, 0.1);

  /* Theme-specific */
  --body-bg: var(--black);
  --nav-bg: rgba(10, 10, 10, 0.95);
  --card-surface: rgba(30, 30, 30, 0.9);
  --text-primary: var(--platinum);
  --text-secondary: var(--muted);
  --glow-color: rgba(201, 169, 98, 0.15);
}

/* Theme 2: Classic Elegance (Blue/Gold) */
[data-theme="classic-elegance"] {
  --black: #0f1c3f;
  --charcoal: #1a2a52;
  --dark-slate: #233567;
  --midnight: #0a1530;
  --platinum: #f6f7fb;
  --gold: #d5b06b;
  --gold-light: #e3c88a;
  --gold-dark: #b8944d;
  --champagne: #faf8f3;
  --ivory: #ffffff;
  --muted: #5c6279;
  --text-light: #8891a8;
  --white: #ffffff;
  --accent: var(--gold);
  --accent-light: var(--gold-light);
  --accent-dark: var(--gold-dark);

  --primary-blue: #0f1c3f;
  --secondary-blue: #233567;
  --text-color: #1f2430;
  --light-bg: #f6f7fb;
  --card-bg: #ffffff;
  --gold-accent: #d5b06b;
  --soft-pill: #e9ecf6;

  --body-bg: var(--light-bg);
  --nav-bg: rgba(255, 255, 255, 0.95);
  --card-surface: #ffffff;
  --text-primary: #1f2430;
  --text-secondary: #5c6279;
  --glow-color: rgba(213, 176, 107, 0.2);
}

/* Theme 3: Passion & Energy (Deep Red/Rose Gold) */
[data-theme="passion-energy"] {
  --black: #1a0a0a;
  --charcoal: #2a1515;
  --dark-slate: #3a1f1f;
  --midnight: #120808;
  --platinum: #f5e8e8;
  --gold: #d4796b;
  --gold-light: #e8a090;
  --gold-dark: #b85a4c;
  --champagne: #fdf5f3;
  --ivory: #fffafa;
  --muted: #8a6565;
  --text-light: #c5a5a5;
  --white: #ffffff;
  --accent: #d4796b;
  --accent-light: #e8a090;
  --accent-dark: #b85a4c;

  --primary-blue: #2a1515;
  --secondary-blue: #3a1f1f;
  --text-color: #f5e8e8;
  --light-bg: #1a0a0a;
  --card-bg: #2a1515;
  --gold-accent: #d4796b;
  --soft-pill: rgba(212, 121, 107, 0.1);

  --body-bg: var(--black);
  --nav-bg: rgba(26, 10, 10, 0.95);
  --card-surface: rgba(42, 21, 21, 0.9);
  --text-primary: var(--platinum);
  --text-secondary: var(--muted);
  --glow-color: rgba(212, 121, 107, 0.15);
}

/* Theme 4: Success & Growth (Deep Green/Gold) */
[data-theme="success-growth"] {
  --black: #0a1a12;
  --charcoal: #122a1c;
  --dark-slate: #1a3a26;
  --midnight: #06120c;
  --platinum: #e8f5ed;
  --gold: #8fbc8f;
  --gold-light: #a8d4a8;
  --gold-dark: #6b9b6b;
  --champagne: #f3faf5;
  --ivory: #fafffc;
  --muted: #5a7a65;
  --text-light: #a5c5af;
  --white: #ffffff;
  --accent: #c9b037;
  --accent-light: #ddc94d;
  --accent-dark: #a89020;

  --primary-blue: #122a1c;
  --secondary-blue: #1a3a26;
  --text-color: #e8f5ed;
  --light-bg: #0a1a12;
  --card-bg: #122a1c;
  --gold-accent: #c9b037;
  --soft-pill: rgba(201, 176, 55, 0.1);

  --body-bg: var(--black);
  --nav-bg: rgba(10, 26, 18, 0.95);
  --card-surface: rgba(18, 42, 28, 0.9);
  --text-primary: var(--platinum);
  --text-secondary: var(--muted);
  --glow-color: rgba(201, 176, 55, 0.15);
}

/* Theme 5: Ocean Calm (Deep Blue/Teal) */
[data-theme="ocean-calm"] {
  --black: #0a141a;
  --charcoal: #12232a;
  --dark-slate: #1a323a;
  --midnight: #060d12;
  --platinum: #e8f0f5;
  --gold: #5fb3b3;
  --gold-light: #7ec9c9;
  --gold-dark: #408f8f;
  --champagne: #f0f8f8;
  --ivory: #faffff;
  --muted: #5a7a85;
  --text-light: #a0c5d0;
  --white: #ffffff;
  --accent: #5fb3b3;
  --accent-light: #7ec9c9;
  --accent-dark: #408f8f;

  --primary-blue: #12232a;
  --secondary-blue: #1a323a;
  --text-color: #e8f0f5;
  --light-bg: #0a141a;
  --card-bg: #12232a;
  --gold-accent: #5fb3b3;
  --soft-pill: rgba(95, 179, 179, 0.1);

  --body-bg: var(--black);
  --nav-bg: rgba(10, 20, 26, 0.95);
  --card-surface: rgba(18, 35, 42, 0.9);
  --text-primary: var(--platinum);
  --text-secondary: var(--muted);
  --glow-color: rgba(95, 179, 179, 0.15);
}

/* Common variables across all themes */
:root {
  /* Shadows */
  --shadow: 0 25px 80px rgba(0, 0, 0, 0.4);
  --shadow-soft: 0 4px 30px rgba(0, 0, 0, 0.15);
  --shadow-luxury: 0 25px 80px rgba(0, 0, 0, 0.4);
  --shadow-gold: 0 20px 60px rgba(201, 169, 98, 0.15);
  --shadow-card: 0 10px 40px rgba(0, 0, 0, 0.2);
  --shadow-hover: 0 30px 100px rgba(0, 0, 0, 0.5);

  /* Glass Effects */
  --glass-dark: rgba(20, 20, 20, 0.85);
  --glass-light: rgba(255, 255, 255, 0.03);
  --glass-gold: rgba(201, 169, 98, 0.08);

  /* Gradients */
  --gradient-dark: linear-gradient(180deg, #0a0a0a 0%, #141414 100%);
  --gradient-gold: linear-gradient(
    135deg,
    #c9a962 0%,
    #d4bb7a 50%,
    #a68b4b 100%
  );
  --gradient-hero: linear-gradient(
    160deg,
    rgba(10, 10, 10, 0.97) 0%,
    rgba(20, 20, 20, 0.92) 100%
  );
  --gradient-card: linear-gradient(
    145deg,
    rgba(30, 30, 30, 0.9) 0%,
    rgba(20, 20, 20, 0.95) 100%
  );

  /* Borders */
  --border-subtle: 1px solid rgba(255, 255, 255, 0.06);
  --border-gold: 1px solid rgba(201, 169, 98, 0.3);
  --border-gold-strong: 2px solid var(--gold);

  /* Typography */
  --font-display: "Heebo", sans-serif;
  --letter-spacing-wide: 0.08em;
  --letter-spacing-mega: 0.15em;
}

/* reset & base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-display);
  color: var(--platinum);
  line-height: 1.8;
  background: var(--black);
  position: relative;
  overflow-x: hidden;
}

/* Subtle ambient glow */
body::before {
  content: "";
  position: fixed;
  z-index: -1;
  top: -20%;
  right: -15%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(201, 169, 98, 0.06) 0%,
    transparent 70%
  );
  filter: blur(80px);
  pointer-events: none;
}

body::after {
  content: "";
  position: fixed;
  z-index: -1;
  bottom: -20%;
  left: -15%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(201, 169, 98, 0.04) 0%,
    transparent 70%
  );
  filter: blur(80px);
  pointer-events: none;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 5vw;
}

/* Navbar */
.navbar {
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 1.2rem 5vw;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: var(--border-subtle);
  gap: 1rem;
  flex-wrap: nowrap;
}

.logo-container {
  padding: 1rem;
  border-radius: 5px;
  background-color: white;
}

.nav-logo {
  height: 56px;
  object-fit: contain;
  filter: brightness(1.1);
  transition: filter 0.3s ease;
}

.nav-logo:hover {
  filter: brightness(1.2);
}

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

.nav-links a {
  color: var(--text-light);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.65rem 1.1rem;
  border-radius: 8px;
  letter-spacing: 0.02em;
  transition: all 0.3s ease;
}

.nav-links a:hover {
  color: var(--gold);
  background: var(--glass-gold);
}

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

.nav-btn {
  background: var(--gradient-gold) !important;
  color: var(--black) !important;
  font-weight: 700 !important;
  padding: 0.65rem 1.6rem !important;
  border-radius: 6px !important;
  box-shadow: var(--shadow-gold);
  letter-spacing: 0.03em;
}

.nav-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 25px 70px rgba(201, 169, 98, 0.25);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* hero */
.hero {
  position: relative;
  background: var(--black);
  color: var(--white);
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-bottom: 180px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
      180deg,
      rgba(10, 10, 10, 0.3) 0%,
      rgba(10, 10, 10, 0.95) 100%
    ),
    url("https://images.unsplash.com/photo-1600585154340-be6161a56a0c?ixlib=rb-4.0.3&auto=format&fit=crop&w=2000&q=80");
  background-size: cover;
  background-position: center;
  filter: grayscale(20%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(201, 169, 98, 0.03) 0%,
    transparent 50%
  );
  pointer-events: none;
}

.hero-shell {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  padding: 6rem 0;
  position: relative;
  z-index: 1;
  align-items: center;
}

.hero-content h1 {
  font-size: clamp(2.8rem, 5vw, 4.2rem);
  font-weight: 900;
  margin: 1.5rem 0 1.2rem;
  line-height: 1.15;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, var(--white) 0%, var(--platinum) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.subtitle {
  font-size: 1.15rem;
  font-weight: 300;
  margin-bottom: 2rem;
  color: var(--text-light);
  max-width: 540px;
  line-height: 1.9;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  border: var(--border-gold);
  color: var(--gold);
  padding: 0.5rem 1.2rem;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: var(--letter-spacing-wide);
  text-transform: uppercase;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 2.5rem;
}

.cta-button {
  background: var(--gradient-gold);
  color: var(--black);
  padding: 1.1rem 2.2rem;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 6px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-flex;
  gap: 10px;
  align-items: center;
  box-shadow: var(--shadow-gold);
  letter-spacing: 0.02em;
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 30px 80px rgba(201, 169, 98, 0.3);
}

.cta-button.secondary {
  background: transparent;
  color: var(--platinum);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: none;
}

.cta-button.secondary:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.4);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 3rem;
}

.stat-card {
  background: var(--glass-dark);
  backdrop-filter: blur(10px);
  border: var(--border-subtle);
  padding: 1.5rem 1.2rem;
  border-radius: 12px;
  text-align: center;
  transition: all 0.4s ease;
}

.stat-card:hover {
  border-color: rgba(201, 169, 98, 0.3);
  transform: translateY(-5px);
}

.stat-card i {
  color: var(--gold);
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}

.stat-label {
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.02em;
}

.stat-value {
  font-size: 1.8rem;
  font-weight: 800;
  margin-top: 0.3rem;
  color: var(--white);
}

/* Hero Card */
.hero-card {
  background: var(--glass-dark);
  backdrop-filter: blur(20px);
  border: var(--border-subtle);
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: var(--shadow-luxury);
  position: relative;
  overflow: hidden;
}

.hero-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 200px;
  height: 200px;
  background: radial-gradient(
    circle,
    rgba(201, 169, 98, 0.1) 0%,
    transparent 70%
  );
  pointer-events: none;
}

.hero-card::after {
  display: none;
}

.mini-card {
  position: relative;
  z-index: 1;
}

.mini-title {
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  color: var(--white);
}

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

.hero-list li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  margin-bottom: 1rem;
  color: var(--text-light);
  line-height: 1.6;
  font-weight: 400;
}

.hero-list i {
  color: var(--gold);
  margin-top: 4px;
  font-size: 0.85rem;
}

.inline-link {
  color: var(--gold);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.3s ease;
}

.inline-link:hover {
  gap: 12px;
}

/* Hero Animation */
.hero-animation {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 180px;
  overflow: hidden;
  pointer-events: none;
  z-index: 2;
  /* Add houses container behavior */
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding: 0 2%;
  direction: ltr; /* Override RTL for proper left-to-right house positioning */
}

.hero-svg {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 120px;
}

/* Animated flowing lines */
.flow-line {
  stroke-dasharray: 1200;
  stroke-dashoffset: 1200;
  animation: flowLine 4s ease-in-out infinite;
}

.line-1 {
  animation-delay: 0s;
}

.line-2 {
  animation-delay: 0.5s;
}

.line-3 {
  animation-delay: 1s;
}

@keyframes flowLine {
  0% {
    stroke-dashoffset: 1200;
    opacity: 0;
  }
  20% {
    opacity: 1;
  }
  50% {
    stroke-dashoffset: 0;
    opacity: 1;
  }
  80% {
    opacity: 1;
  }
  100% {
    stroke-dashoffset: -1200;
    opacity: 0;
  }
}

/* Floating Golden Key */
.key-container {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  width: 160px;
  height: 90px;
  animation: floatKey 6s ease-in-out infinite;
  z-index: 5;
}

.golden-key {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 0 25px rgba(201, 169, 98, 0.5))
    drop-shadow(0 0 50px rgba(201, 169, 98, 0.3));
  overflow: visible;
}

.key-group {
  animation: keyPulse 4s ease-in-out infinite;
}

.key-head {
  stroke-dasharray: 101;
  stroke-dashoffset: 101;
  animation: drawKey 1.5s ease-out forwards;
}

.key-inner {
  stroke-dasharray: 44;
  stroke-dashoffset: 44;
  animation: drawKey 1s ease-out 0.3s forwards;
}

.key-shaft-fill {
  opacity: 0;
  animation: fadeInKey 0.8s ease-out 0.8s forwards;
}

.key-teeth {
  opacity: 0;
  animation: fadeInKey 0.8s ease-out 1.2s forwards;
}

.key-shine {
  animation: shineMove 3s ease-in-out infinite 2s;
}

.shaft-shine {
  animation: shaftShine 3s ease-in-out infinite 2.5s;
}

@keyframes floatKey {
  0%,
  100% {
    transform: translateX(-50%) translateY(0) rotate(-12deg);
  }
  50% {
    transform: translateX(-50%) translateY(-18px) rotate(-8deg);
  }
}

@keyframes drawKey {
  to {
    stroke-dashoffset: 0;
  }
}

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

@keyframes keyPulse {
  0%,
  100% {
    filter: url(#keyGlow) drop-shadow(0 0 8px rgba(201, 169, 98, 0.6));
  }
  50% {
    filter: url(#keyGlow) drop-shadow(0 0 15px rgba(232, 213, 163, 0.9));
  }
}

@keyframes shineMove {
  0%,
  100% {
    opacity: 0.7;
    transform: translateY(0);
  }
  50% {
    opacity: 1;
    transform: translateY(-2px);
  }
}

@keyframes shaftShine {
  0%,
  100% {
    opacity: 0.5;
    transform: translateX(0);
  }
  50% {
    opacity: 0.8;
    transform: translateX(5px);
  }
}

/* Floating Particles */
.particles {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100%;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--gold);
  border-radius: 50%;
  opacity: 0;
  animation: particleFloat 8s ease-in-out infinite;
  box-shadow: 0 0 10px rgba(201, 169, 98, 0.8);
}

.particle:nth-child(1) {
  left: 10%;
  animation-delay: 0s;
  width: 3px;
  height: 3px;
}

.particle:nth-child(2) {
  left: 20%;
  animation-delay: 1s;
  width: 5px;
  height: 5px;
}

.particle:nth-child(3) {
  left: 35%;
  animation-delay: 2s;
}

.particle:nth-child(4) {
  left: 45%;
  animation-delay: 0.5s;
  width: 6px;
  height: 6px;
}

.particle:nth-child(5) {
  left: 55%;
  animation-delay: 3s;
  width: 3px;
  height: 3px;
}

.particle:nth-child(6) {
  left: 65%;
  animation-delay: 1.5s;
}

.particle:nth-child(7) {
  left: 80%;
  animation-delay: 2.5s;
  width: 5px;
  height: 5px;
}

.particle:nth-child(8) {
  left: 90%;
  animation-delay: 0.8s;
  width: 3px;
  height: 3px;
}

@keyframes particleFloat {
  0% {
    bottom: -10px;
    opacity: 0;
    transform: translateX(0) scale(0);
  }
  10% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.8;
  }
  90% {
    opacity: 0.3;
  }
  100% {
    bottom: 180px;
    opacity: 0;
    transform: translateX(20px) scale(0.5);
  }
}

/* Houses */
.house-container {
  position: absolute;
  bottom: 30px;
  right: 15%;
  width: 60px;
  height: 50px;
  animation: floatHouse 7s ease-in-out infinite;
  opacity: 0.6;
}

.house-outline {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 0 10px rgba(201, 169, 98, 0.3));
}

.house-path {
  stroke-dasharray: 300;
  stroke-dashoffset: 300;
  animation: drawHouse 3s ease-out forwards;
}

.roof {
  animation-delay: 0s;
}

.walls {
  animation-delay: 0.8s;
}

.door {
  animation-delay: 1.5s;
}

.window {
  stroke-dasharray: 60;
  stroke-dashoffset: 60;
  animation-delay: 2s;
}

@keyframes drawHouse {
  to {
    stroke-dashoffset: 0;
  }
}

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

/* Premium House Styles - Using flexbox for even distribution */
.house-container {
  position: relative;
  flex-shrink: 0;
  margin-bottom: 10px;
}

.house-container.house-1 {
  width: 65px;
  height: 55px;
  opacity: 0;
  animation: fadeInHouse 2s ease-out 0.5s forwards,
    floatHouse1 8s ease-in-out infinite 2s;
}

.house-container.house-2 {
  width: 50px;
  height: 45px;
  animation: fadeInHouse 2s ease-out 0.8s forwards,
    floatHouse2 9s ease-in-out infinite 2.5s;
  opacity: 0;
}

.house-container.house-3 {
  width: 45px;
  height: 40px;
  animation: fadeInHouse 2s ease-out 1.1s forwards,
    floatHouse3 7s ease-in-out infinite 3s;
  opacity: 0;
}

.house-container.house-4 {
  width: 45px;
  height: 40px;
  animation: fadeInHouse 2s ease-out 1.4s forwards,
    floatHouse4 8.5s ease-in-out infinite 3.5s;
  opacity: 0;
}

.house-container.house-5 {
  width: 50px;
  height: 45px;
  animation: fadeInHouse 2s ease-out 1.7s forwards,
    floatHouse5 7.5s ease-in-out infinite 4s;
  opacity: 0;
}

.house-container.house-6 {
  width: 60px;
  height: 50px;
  animation: fadeInHouse 2s ease-out 2s forwards,
    floatHouse6 9s ease-in-out infinite 4.5s;
  opacity: 0;
}

.house-outline {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 0 15px rgba(201, 169, 98, 0.4))
    drop-shadow(0 0 30px rgba(201, 169, 98, 0.2));
}

.house-path {
  stroke-dasharray: 500;
  stroke-dashoffset: 500;
  animation: drawHouse 3s ease-out forwards;
}

.house-1 .roof {
  animation-delay: 0.5s;
}
.house-1 .walls {
  animation-delay: 1s;
}
.house-1 .window {
  animation-delay: 1.5s;
  stroke-dasharray: 100;
}
.house-1 .door {
  animation-delay: 2s;
}

.house-2 .roof {
  animation-delay: 0.8s;
}
.house-2 .walls {
  animation-delay: 1.3s;
}
.house-2 .window {
  animation-delay: 1.8s;
  stroke-dasharray: 150;
}
.house-2 .door {
  animation-delay: 2.3s;
}

.house-3 .roof {
  animation-delay: 1.1s;
}
.house-3 .walls {
  animation-delay: 1.6s;
}
.house-3 .window {
  animation-delay: 2.1s;
  stroke-dasharray: 80;
}
.house-3 .door {
  animation-delay: 2.6s;
}

@keyframes floatHouse1 {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-12px) rotate(0.5deg);
  }
}

@keyframes floatHouse2 {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-10px) rotate(-0.5deg);
  }
}

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

@keyframes floatHouse4 {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-11px) rotate(0.3deg);
  }
}

@keyframes floatHouse5 {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-9px) rotate(-0.3deg);
  }
}

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

@keyframes fadeInHouse {
  to {
    opacity: 0.85;
  }
}

/* Animation delays for houses 4-6 */
.house-4 .roof {
  animation-delay: 1.4s;
}
.house-4 .walls {
  animation-delay: 1.9s;
}
.house-4 .window {
  animation-delay: 2.4s;
  stroke-dasharray: 120;
}
.house-4 .door {
  animation-delay: 2.9s;
}

.house-5 .roof {
  animation-delay: 1.7s;
}
.house-5 .walls {
  animation-delay: 2.2s;
}
.house-5 .window {
  animation-delay: 2.7s;
  stroke-dasharray: 90;
}
.house-5 .door {
  animation-delay: 3.2s;
}

.house-6 .roof {
  animation-delay: 2s;
}
.house-6 .walls {
  animation-delay: 2.5s;
}
.house-6 .window {
  animation-delay: 3s;
  stroke-dasharray: 70;
}
.house-6 .door {
  animation-delay: 3.5s;
}

.hero-animation::before,
.hero-animation::after {
  display: none;
}

/* Responsive adjustments for hero animation */
@media (max-width: 1200px) {
  .house-container.house-3,
  .house-container.house-4,
  .house-container.house-5 {
    display: none;
  }

  .house-container.house-1 {
    width: 55px;
    height: 48px;
  }

  .house-container.house-2 {
    width: 45px;
    height: 40px;
  }

  .house-container.house-6 {
    width: 50px;
    height: 45px;
  }
}

@media (max-width: 768px) {
  .hero-animation {
    height: 100px;
    padding: 0 5%;
  }

  .key-container {
    width: 100px;
    height: 60px;
    bottom: 20px;
  }

  .house-container.house-2 {
    display: none;
  }

  .house-container.house-1 {
    width: 40px;
    height: 35px;
  }

  .house-container.house-6 {
    width: 40px;
    height: 35px;
  }

  /* Keep theme switcher visible */
  .theme-switcher {
    display: flex !important;
    order: 1;
  }

  .theme-switcher-toggle {
    width: 34px;
    height: 34px;
  }

  /* Hide middle houses on mobile, keep first and last */
  .house-container.house-2,
  .house-container.house-3,
  .house-container.house-4,
  .house-container.house-5 {
    display: none;
  }

  .particle:nth-child(n + 6) {
    display: none;
  }

  /* mobile hero SVG animation */
  .hero-svg {
    height: 80px;
  }

  .particles {
    opacity: 0.6;
  }
}

/* Sections */
.section {
  padding: 6rem 0;
}

.section-heading {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3rem;
}

.section-title {
  font-size: clamp(2.2rem, 3vw, 3rem);
  font-weight: 800;
  color: var(--white);
  margin: 0.75rem 0;
  letter-spacing: -0.02em;
}

.section-lead {
  color: var(--muted);
  font-size: 1.2rem;
  font-weight: 400;
  line-height: 1.8;
}

/* services cards */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.card {
  background: var(--gradient-card);
  backdrop-filter: blur(10px);
  padding: 1.5rem;
  border-radius: 16px;
  border: var(--border-subtle);
  box-shadow: var(--shadow-card);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 150px;
  height: 150px;
  background: radial-gradient(
    circle,
    rgba(201, 169, 98, 0.05) 0%,
    transparent 70%
  );
  transition: all 0.5s ease;
}

.card:hover {
  transform: translateY(-10px);
  border-color: rgba(201, 169, 98, 0.45);
  box-shadow: var(--shadow-hover);
}

.card:hover::before {
  width: 200px;
  height: 200px;
  background: radial-gradient(
    circle,
    rgba(201, 169, 98, 0.1) 0%,
    transparent 70%
  );
}

.card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.card-icon {
  font-size: 2.1rem;
  color: var(--gold);
  background: var(--glass-gold);
  padding: 1rem;
  border-radius: 12px;
  border: var(--border-gold);
}

.card h3 {
  font-size: 2.1rem;
  margin-bottom: 0.75rem;
  color: var(--white);
  font-weight: 700;
}

.card p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.tag {
  background: var(--glass-gold);
  color: var(--gold);
  padding: 0.3rem 0.9rem;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: var(--letter-spacing-wide);
  text-transform: uppercase;
  border: var(--border-gold);
}

/* process section */
.process-section {
  background: var(--charcoal);
  position: relative;
}

.process-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(201, 169, 98, 0.3),
    transparent
  );
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.process-card {
  background: var(--dark-slate);
  padding: 1.5rem;
  border-radius: 16px;
  border: var(--border-subtle);
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
}

.process-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    140deg,
    rgba(201, 169, 98, 0.03) 0%,
    transparent 60%
  );
  pointer-events: none;
}

.process-card:hover {
  border-color: rgba(201, 169, 98, 0.2);
  transform: translateY(-5px);
}

.step-number {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: var(--glass-gold);
  border: var(--border-gold);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--gold);
  margin-bottom: 1.5rem;
}

.process-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
  color: var(--white);
  font-weight: 700;
}

.process-card p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* about section */
.about-section {
  background: var(--black);
  position: relative;
}

.about-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 5rem;
}

.about-text h2 {
  font-size: clamp(1.8rem, 2.5vw, 2.4rem);
  font-weight: 800;
  color: var(--white);
  margin-top: 1rem;
  margin-bottom: 0.5rem;
}

.about-text p {
  color: var(--muted);
  margin: 1.5rem 0;
  line-height: 1.9;
  font-size: 1.05rem;
}

.about-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.highlight-chip {
  background: var(--glass-gold);
  color: var(--gold);
  padding: 0.6rem 1.1rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  gap: 8px;
  align-items: center;
  border: var(--border-gold);
}

.about-note {
  background: var(--dark-slate);
  padding: 1.25rem 1.5rem;
  border-radius: 12px;
  border-right: 3px solid var(--gold);
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  color: var(--text-light);
}

.about-note i {
  color: var(--gold);
  margin-top: 3px;
  font-size: 1.1rem;
}

.about-image img {
  border-radius: 16px;
  box-shadow: var(--shadow-luxury);
  border: var(--border-subtle);
}

/* contact section */
.contact-section {
  background: var(--charcoal);
  position: relative;
}

.contact-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(201, 169, 98, 0.3),
    transparent
  );
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: stretch;
}

.contact-panel {
  background: var(--dark-slate);
  border: var(--border-subtle);
  border-radius: 20px;
  padding: 2.5rem;
}

.contact-panel h2 {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--white);
  margin-top: 1rem;
  margin-bottom: 0.75rem;
}

.contact-panel > p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.8;
}

.contact-chips {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 2rem;
}

.contact-chip {
  background: var(--glass-dark);
  border: var(--border-subtle);
  padding: 1.1rem 1.3rem;
  border-radius: 12px;
  display: flex;
  gap: 1rem;
  align-items: center;
  transition: all 0.3s ease;
}

.contact-chip:hover {
  border-color: rgba(201, 169, 98, 0.3);
  background: var(--glass-gold);
  transform: translateX(-5px);
}

.contact-chip i {
  font-size: 1.4rem;
  color: var(--gold);
}

.contact-chip strong {
  display: block;
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 0.2rem;
}

.contact-chip span {
  color: var(--muted);
  font-size: 0.9rem;
}

.contact-note {
  margin-top: 1.5rem;
  color: var(--muted);
  font-size: 0.9rem;
}

/* Contact Form */
.contact-form-box {
  background: var(--dark-slate);
  border: var(--border-subtle);
  border-radius: 20px;
  padding: 2.5rem;
}

.contact-form-box h3 {
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
  color: var(--white);
  font-weight: 700;
}

.form-group {
  margin-bottom: 1.25rem;
  width: 100%;
}

.form-group.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--text-light);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
}

input,
textarea,
select {
  width: 100%;
  padding: 1rem 1.2rem;
  border: var(--border-subtle);
  border-radius: 10px;
  font-size: 1rem;
  font-family: var(--font-display);
  background: var(--black);
  color: var(--platinum);
  transition: all 0.3s ease;
}

input::placeholder,
textarea::placeholder {
  color: var(--muted);
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 169, 98, 0.1);
  background: var(--charcoal);
}

textarea {
  resize: vertical;
  min-height: 100px;
}

.submit-btn {
  width: 100%;
  padding: 1.1rem;
  background: var(--gradient-gold);
  color: var(--black);
  border: none;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  border-radius: 10px;
  transition: all 0.4s ease;
  letter-spacing: 0.02em;
  box-shadow: var(--shadow-gold);
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 25px 70px rgba(201, 169, 98, 0.25);
}

.form-disclaimer {
  color: var(--muted);
  font-size: 0.85rem;
  margin-top: 1rem;
  text-align: center;
}

/* footer */
footer {
  background: var(--midnight);
  color: var(--muted);
  text-align: center;
  padding: 2rem;
  border-top: var(--border-subtle);
}

.site-footer {
  background: var(--midnight);
  color: var(--muted);
  text-align: center;
  padding: 1.5rem 5vw;
  border-top: var(--border-subtle);
}

.site-footer p {
  margin: 0;
  font-size: 0.85rem;
}

.site-footer a {
  color: var(--gold);
  font-weight: 600;
  transition: color 0.3s ease;
}

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

/* whatsapp float */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  left: 30px;
  background: #25d366;
  color: var(--black);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  box-shadow: var(--shadow-gold);
  z-index: 100;
  transition: all 0.4s ease;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 25px 60px rgba(201, 169, 98, 0.35);
}

/* Scroll Progress Indicator */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(
    90deg,
    var(--gold-dark),
    var(--gold),
    var(--gold-light)
  );
  z-index: 1001;
  transition: width 0.1s ease-out;
  box-shadow: 0 0 10px var(--gold), 0 0 20px rgba(201, 169, 98, 0.3);
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--glass-dark);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(201, 169, 98, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 18px;
  cursor: pointer;
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--gold);
  color: var(--black);
  border-color: var(--gold);
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(201, 169, 98, 0.4);
}

.back-to-top svg {
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
}

.back-to-top:hover svg {
  transform: translateY(-2px);
}

/* Circular progress ring around back-to-top */
.back-to-top .progress-ring {
  position: absolute;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.back-to-top .progress-ring circle {
  fill: none;
  stroke: var(--gold);
  stroke-width: 2;
  stroke-dasharray: 138.2;
  stroke-dashoffset: 138.2;
  transition: stroke-dashoffset 0.1s ease-out;
}

/* Theme Switcher - Navbar integrated */
.theme-switcher {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0;
  margin-right: 0;
  flex-shrink: 0;
}

.theme-switcher-toggle {
  width: 36px;
  height: 36px;
  background: linear-gradient(
    135deg,
    var(--gold-dark),
    var(--gold),
    var(--gold-light)
  );
  border: none;
  color: var(--black);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: all 0.3s ease;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(201, 169, 98, 0.3);
}

.theme-switcher-toggle:hover {
  transform: scale(1.1) rotate(15deg);
  box-shadow: 0 4px 15px rgba(201, 169, 98, 0.5);
}

.theme-options {
  position: absolute;
  top: calc(100% + 10px);
  left: 0.75rem;
  display: flex;
  flex-direction: row;
  gap: 6px;
  background: var(--glass-dark);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 10px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 1001;
}

.theme-switcher:hover .theme-options,
.theme-switcher.open .theme-options {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.theme-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.theme-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
}

.theme-btn:hover {
  transform: scale(1.15);
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
}

.theme-btn.active {
  border-color: var(--white);
  box-shadow: 0 0 0 2px var(--gold);
}

/* Theme button colors */
.theme-btn[data-theme="luxury-dark"] {
  background: linear-gradient(135deg, #0a0a0a 50%, #c9a962 50%);
}

.theme-btn[data-theme="classic-elegance"] {
  background: linear-gradient(135deg, #0f1c3f 50%, #d5b06b 50%);
}

.theme-btn[data-theme="passion-energy"] {
  background: linear-gradient(135deg, #1a0a0a 50%, #d4796b 50%);
}

.theme-btn[data-theme="success-growth"] {
  background: linear-gradient(135deg, #0a1a12 50%, #c9b037 50%);
}

.theme-btn[data-theme="ocean-calm"] {
  background: linear-gradient(135deg, #0a141a 50%, #5fb3b3 50%);
}

/* Theme tooltip */
.theme-btn::after {
  content: attr(data-tooltip);
  position: absolute;
  right: 45px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--charcoal);
  color: var(--platinum);
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 11px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.theme-btn:hover::after {
  opacity: 1;
  visibility: visible;
  right: 50px;
}

/* Theme-specific adjustments for light themes */
[data-theme="classic-elegance"] .navbar {
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid rgba(15, 28, 63, 0.1);
}

[data-theme="classic-elegance"] .nav-links a {
  color: #5c6279;
}

[data-theme="classic-elegance"] .nav-links a:hover {
  color: #0f1c3f;
  background: rgba(15, 28, 63, 0.05);
}

[data-theme="classic-elegance"] body {
  background: #f6f7fb;
  color: #1f2430;
}

[data-theme="classic-elegance"] .hero {
  background: #0f1c3f;
}

[data-theme="classic-elegance"] .section {
  background: #f6f7fb;
}

[data-theme="classic-elegance"] .card {
  background: #ffffff;
  border-color: rgba(15, 28, 63, 0.1);
}

[data-theme="classic-elegance"] .card h3,
[data-theme="classic-elegance"] .section-title {
  color: #1f2430;
}

[data-theme="classic-elegance"] .card p,
[data-theme="classic-elegance"] .section-lead {
  color: #5c6279;
}

[data-theme="classic-elegance"] .process-section {
  background: #e9ecf6;
}

[data-theme="classic-elegance"] .process-card {
  background: #ffffff;
}

[data-theme="classic-elegance"] .contact-section {
  background: #0f1c3f;
}

[data-theme="classic-elegance"] .theme-switcher {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(15, 28, 63, 0.1);
}

[data-theme="classic-elegance"] .back-to-top {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(213, 176, 107, 0.3);
}

/* Theme: Passion & Energy - Dark red theme adjustments */
[data-theme="passion-energy"] .hero::before {
  filter: grayscale(20%) sepia(20%);
}

[data-theme="passion-energy"] .gold,
[data-theme="passion-energy"] .eyebrow,
[data-theme="passion-energy"] .card-icon {
  color: #d4796b;
}

[data-theme="passion-energy"] .cta-button {
  background: linear-gradient(135deg, #d4796b 0%, #e8a090 50%, #b85a4c 100%);
}

[data-theme="passion-energy"] .scroll-progress {
  background: linear-gradient(90deg, #b85a4c, #d4796b, #e8a090);
  box-shadow: 0 0 10px #d4796b, 0 0 20px rgba(212, 121, 107, 0.3);
}

[data-theme="passion-energy"] .back-to-top .progress-ring circle {
  stroke: #d4796b;
}

/* Theme: Success & Growth - Green/gold theme adjustments */
[data-theme="success-growth"] .hero::before {
  filter: grayscale(10%) hue-rotate(60deg);
}

[data-theme="success-growth"] .gold,
[data-theme="success-growth"] .eyebrow,
[data-theme="success-growth"] .card-icon {
  color: #c9b037;
}

[data-theme="success-growth"] .cta-button {
  background: linear-gradient(135deg, #c9b037 0%, #ddc94d 50%, #a89020 100%);
}

[data-theme="success-growth"] .scroll-progress {
  background: linear-gradient(90deg, #a89020, #c9b037, #ddc94d);
  box-shadow: 0 0 10px #c9b037, 0 0 20px rgba(201, 176, 55, 0.3);
}

[data-theme="success-growth"] .back-to-top .progress-ring circle {
  stroke: #c9b037;
}

/* Theme: Ocean Calm - Teal theme adjustments */
[data-theme="ocean-calm"] .hero::before {
  filter: grayscale(10%) hue-rotate(150deg);
}

[data-theme="ocean-calm"] .gold,
[data-theme="ocean-calm"] .eyebrow,
[data-theme="ocean-calm"] .card-icon {
  color: #5fb3b3;
}

[data-theme="ocean-calm"] .cta-button {
  background: linear-gradient(135deg, #5fb3b3 0%, #7ec9c9 50%, #408f8f 100%);
}

[data-theme="ocean-calm"] .scroll-progress {
  background: linear-gradient(90deg, #408f8f, #5fb3b3, #7ec9c9);
  box-shadow: 0 0 10px #5fb3b3, 0 0 20px rgba(95, 179, 179, 0.3);
}

[data-theme="ocean-calm"] .back-to-top .progress-ring circle {
  stroke: #5fb3b3;
}

/* Responsive theme switcher */
@media (max-width: 768px) {
  /* Theme switcher is now in navbar - no absolute positioning needed */
  .theme-switcher {
    position: relative;
    top: auto;
    bottom: auto;
    right: auto;
    transform: none;
  }

  .theme-switcher.collapsed {
    transform: none;
  }

  .back-to-top {
    bottom: 1.5rem;
    right: 20px;
    width: 45px;
    height: 45px;
  }
}

/* calculator page styles */
.calculator-hero {
  background: var(--charcoal);
  padding: 5rem 0;
  text-align: center;
  position: relative;
  border-bottom: var(--border-subtle);
}

.calculator-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at center top,
    rgba(201, 169, 98, 0.08) 0%,
    transparent 60%
  );
  pointer-events: none;
}

.calculator-hero h1 {
  font-size: clamp(2rem, 3vw, 2.8rem);
  font-weight: 800;
  margin-bottom: 1rem;
  color: var(--white);
}

.calculator-hero h1 i {
  margin-left: 12px;
  color: var(--gold);
}

.calculator-hero p {
  font-size: 1.1rem;
  font-weight: 400;
  max-width: 750px;
  margin: 0 auto;
  color: var(--muted);
  line-height: 1.8;
}

.hero-pills {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.hero-pills span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.6rem 1rem;
  background: var(--glass-gold);
  border: var(--border-gold);
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--gold);
}

/* Calculator Section */
.calculator-section {
  background: var(--black);
  padding: 4rem 0;
}

.calculator-container {
  max-width: 1150px;
  margin: 0 auto;
}

.calculator-wrapper {
  background: var(--dark-slate);
  padding: 2rem;
  border-radius: 20px;
  border: var(--border-subtle);
  box-shadow: var(--shadow-luxury);
}

.calculator-header {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  align-items: start;
}

.calc-guidelines {
  margin-top: 1rem;
  padding-inline-start: 1.2rem;
  color: var(--muted);
  line-height: 1.7;
  font-size: 0.95rem;
}

.calc-guidelines li {
  margin-bottom: 0.4rem;
}

.calculator-callout {
  background: var(--glass-gold);
  border: var(--border-gold);
  border-radius: 16px;
  padding: 1.25rem 1.5rem;
}

.callout-badge {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  background: var(--gold);
  color: var(--black);
  padding: 0.4rem 0.9rem;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 0.75rem;
}

.disclaimer {
  background: var(--dark-slate);
  border-right: 3px solid var(--gold);
  padding: 0.75rem 1rem;
  border-radius: 8px;
  margin-top: 0.75rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.calc-messages {
  margin: 0.75rem 0 1.25rem;
}

.message {
  display: flex;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-radius: 12px;
  border: 1px solid transparent;
}

.message ul {
  padding-inline-start: 1.2rem;
  margin: 0.4rem 0 0;
}

.message.error {
  background: rgba(180, 40, 40, 0.15);
  border-color: rgba(180, 40, 40, 0.3);
  color: #ff8080;
}

.message.warning {
  background: var(--glass-gold);
  border-color: rgba(201, 169, 98, 0.3);
  color: var(--gold-light);
}

/* Track Cards */
.tracks-list {
  display: grid;
  gap: 1.25rem;
}

.track-card {
  background: var(--charcoal);
  border: var(--border-subtle);
  border-radius: 16px;
  padding: 1.5rem;
  transition: all 0.3s ease;
}

.track-card:hover {
  border-color: rgba(201, 169, 98, 0.2);
}

.track-card-header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.field-label {
  display: block;
  font-weight: 700;
  color: var(--platinum);
  margin-bottom: 0.4rem;
  font-size: 0.95rem;
}

.fields-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.field label {
  display: block;
  font-weight: 600;
  color: var(--text-light);
  margin-bottom: 0.35rem;
  font-size: 0.9rem;
}

.field small {
  color: var(--muted);
  display: block;
  margin-top: 0.25rem;
  font-size: 0.8rem;
}

details.advanced {
  margin-top: 1rem;
  background: var(--dark-slate);
  border: 1px dashed rgba(201, 169, 98, 0.2);
  border-radius: 12px;
  padding: 0.85rem 1rem;
}

details summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
}

.advanced-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 0.85rem;
}

.tracks-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.25rem;
}

.tracks-table th {
  background-color: var(--charcoal);
  color: var(--gold);
  padding: 12px 10px;
  text-align: right;
  font-weight: 700;
  font-size: 0.95rem;
}

.tracks-table th:first-child {
  border-radius: 0 8px 0 0;
}

.tracks-table th:last-child {
  border-radius: 8px 0 0 0;
}

.tracks-table td {
  padding: 10px 8px;
  border-bottom: var(--border-subtle);
  vertical-align: middle;
}

.tracks-table input,
.tracks-table select {
  width: 100%;
  padding: 10px;
  border: var(--border-subtle);
  border-radius: 8px;
  font-size: 1rem;
  font-family: var(--font-display);
  background: var(--black);
  color: var(--platinum);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.tracks-table input:focus,
.tracks-table select:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 2px rgba(201, 169, 98, 0.15);
}

.tracks-table input:disabled {
  background: var(--dark-slate);
  cursor: not-allowed;
  color: var(--muted);
}

/* Calculator Actions */
.calculator-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.btn-add {
  background: var(--charcoal);
  color: var(--platinum);
  padding: 1rem 1.5rem;
  border: var(--border-subtle);
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: var(--font-display);
}

.btn-add:hover {
  background: var(--dark-slate);
  border-color: rgba(201, 169, 98, 0.3);
  color: var(--gold);
}

.btn-calc {
  flex: 1;
  min-width: 220px;
  background: var(--gradient-gold);
  color: var(--black);
  padding: 1rem 1.5rem;
  border: none;
  border-radius: 10px;
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.4s ease;
  font-family: var(--font-display);
  box-shadow: var(--shadow-gold);
}

.btn-calc:hover {
  transform: translateY(-2px);
  box-shadow: 0 25px 70px rgba(201, 169, 98, 0.25);
}

.btn-remove {
  background: transparent;
  color: #ff6b6b;
  border: 1px solid rgba(255, 107, 107, 0.3);
  padding: 0.6rem 1rem;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-remove:hover {
  background: rgba(255, 107, 107, 0.1);
  border-color: rgba(255, 107, 107, 0.5);
}

/* Results Area */
#results-area {
  display: none;
  margin-top: 2rem;
  background: var(--charcoal);
  padding: 2rem;
  border-radius: 20px;
  border: var(--border-subtle);
  box-shadow: var(--shadow-luxury);
}

#results-area h3 {
  text-align: center;
  margin-bottom: 1.5rem;
  font-size: 1.6rem;
  color: var(--white);
}

#results-area h3 i {
  margin-left: 10px;
  color: var(--gold);
}

.summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.summary-item {
  background: var(--dark-slate);
  border: var(--border-subtle);
  padding: 1.5rem;
  border-radius: 14px;
  text-align: center;
  transition: all 0.3s ease;
}

.summary-item:hover {
  border-color: rgba(201, 169, 98, 0.2);
}

.summary-item i {
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
  color: var(--gold);
}

.summary-item h4 {
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: var(--muted);
}

.summary-item .value {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
}

.summary-item.highlight {
  background: var(--gradient-gold);
  border-color: transparent;
}

.summary-item.highlight i,
.summary-item.highlight h4,
.summary-item.highlight .value {
  color: var(--black);
}

.results-cta {
  text-align: center;
  padding-top: 1.5rem;
  border-top: var(--border-subtle);
}

.results-cta p {
  margin-bottom: 1rem;
  color: var(--muted);
}

.results-shell {
  margin-top: 1.5rem;
}

/* Track Results */
.tracks-results {
  display: grid;
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.track-result-card {
  background: var(--dark-slate);
  border-radius: 16px;
  padding: 1.5rem;
  border: var(--border-subtle);
}

.track-result-header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
}

.track-result-header h4 {
  color: var(--white);
  font-size: 1.1rem;
  margin-top: 0.25rem;
}

.track-result-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
  margin: 1rem 0;
}

.track-result-grid .label {
  color: var(--muted);
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.85rem;
}

.track-result-grid strong {
  color: var(--white);
  font-size: 1.05rem;
}

.table-wrapper {
  overflow-x: auto;
  border-radius: 12px;
  border: var(--border-subtle);
  margin-top: 1rem;
}

.schedule-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 500px;
}

.schedule-table th,
.schedule-table td {
  padding: 0.85rem 0.75rem;
  text-align: right;
  border-bottom: var(--border-subtle);
  font-size: 0.9rem;
}

.schedule-table th {
  background: var(--charcoal);
  color: var(--gold);
  font-weight: 700;
}

.schedule-table td {
  color: var(--text-light);
}

.schedule-table tbody tr:hover {
  background: var(--glass-gold);
}

.pill {
  display: inline-flex;
  padding: 0.4rem 0.85rem;
  background: var(--glass-gold);
  border: var(--border-gold);
  border-radius: 6px;
  color: var(--gold);
  font-weight: 700;
  font-size: 0.85rem;
}

.muted {
  color: var(--muted);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 3px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Calculator Info Section */
.calculator-info {
  background: var(--charcoal);
  border-top: var(--border-subtle);
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  max-width: 1150px;
  margin: 0 auto;
}

.info-card {
  background: var(--dark-slate);
  padding: 1.75rem;
  border-radius: 16px;
  border-right: 3px solid var(--gold);
  border-left: var(--border-subtle);
  border-top: var(--border-subtle);
  border-bottom: var(--border-subtle);
}

.info-card h3 {
  color: var(--white);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.05rem;
}

.info-card h3 i {
  color: var(--gold);
}

.info-card p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* Calculator CTA */
.calculator-cta {
  background: var(--charcoal);
  text-align: center;
  border-top: var(--border-subtle);
}

.cta-box {
  max-width: 800px;
  margin: 0 auto;
}

.cta-box h2 {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 1rem;
  color: var(--white);
}

.cta-box p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  color: var(--muted);
  line-height: 1.8;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-button.whatsapp-cta {
  background: var(--gradient-gold);
  color: var(--black);
  box-shadow: var(--shadow-gold);
}

.cta-button.whatsapp-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 30px 80px rgba(201, 169, 98, 0.3);
}

/* responsive design */
@media (max-width: 1024px) {
  .hero-shell {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }

  .hero-card {
    order: -1;
    max-width: 500px;
    margin: 0 auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-stats {
    max-width: 500px;
    margin: 3rem auto 0;
  }

  .subtitle {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .about-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .about-text {
    order: 2;
    text-align: center;
  }

  .about-image {
    order: 1;
    max-width: 500px;
    margin: 0 auto;
  }

  .about-image img {
    width: 100%;
    height: auto;
    aspect-ratio: 3/2;
    object-fit: cover;
    object-position: center 20%;
  }

  .about-highlights {
    justify-content: center;
  }

  .about-note {
    max-width: 500px;
    margin: 0 auto;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .navbar {
    flex-wrap: nowrap;
    gap: 0.75rem;
  }

  .logo-container {
    flex-shrink: 0;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 90px;
    right: 5vw;
    left: 5vw;
    background: var(--dark-slate);
    flex-direction: column;
    padding: 1.5rem;
    border-radius: 16px;
    border: var(--border-subtle);
    box-shadow: var(--shadow-luxury);
    align-items: stretch;
    gap: 0.75rem;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-toggle {
    display: flex;
    order: 3;
    flex-shrink: 0;
  }

  .nav-links a {
    padding: 1rem 1.5rem;
    text-align: center;
    font-size: 1.1rem;
  }

  /* Theme switcher responsive */
  .theme-switcher {
    display: flex !important;
    order: 2;
    margin-right: 0;
    margin-left: auto;
    flex-shrink: 0;
  }

  .theme-options {
    left: auto;
    right: 0;
    transform: translateY(-10px);
  }

  .theme-switcher:hover .theme-options,
  .theme-switcher.open .theme-options {
    transform: translateY(0);
  }

  .cards-grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  }

  .process-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  }

  .calculator-header {
    grid-template-columns: 1fr;
  }

  .contact-chips {
    margin-top: 1.5rem;
    flex-direction: column;
  }

  .contact-chip {
    justify-content: center;
  }
}

@media (max-width: 600px) {
  .section {
    padding: 4.5rem 0;
  }

  /* Mobile Hero */
  .hero {
    min-height: auto;
    padding: 0;
    padding-bottom: 100px;
    display: flex;
    flex-direction: column;
  }

  .hero::before {
    position: relative;
    height: 45vh;
    min-height: 280px;
    max-height: 350px;
    width: 100%;
    background: linear-gradient(
        180deg,
        transparent 0%,
        transparent 60%,
        rgba(10, 10, 10, 0.95) 100%
      ),
      url("https://images.unsplash.com/photo-1600585154340-be6161a56a0c?ixlib=rb-4.0.3&auto=format&fit=crop&w=2000&q=80");
    background-size: cover;
    background-position: center 30%;
    filter: grayscale(10%);
  }

  .hero::after {
    display: none;
  }

  .hero-shell {
    padding: 2rem 0 3rem;
    position: relative;
    margin-top: -60px;
    z-index: 2;
  }

  .hero-content {
    background: linear-gradient(180deg, transparent 0%, var(--black) 30px);
    padding-top: 2rem;
    border-radius: 24px 24px 0 0;
  }

  .hero-content h1 {
    font-size: 2rem;
    line-height: 1.25;
  }

  .subtitle {
    font-size: 1rem;
    line-height: 1.8;
  }

  .eyebrow {
    font-size: 0.75rem;
    padding: 0.4rem 1rem;
  }

  /* Hide hero card on small screens */
  .hero-card {
    display: none;
  }

  .hero-stats {
    grid-template-columns: 1fr;
    gap: 0.75rem;
    margin-top: 2rem;
  }

  .stat-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-align: right;
    padding: 1.2rem 1rem;
  }

  .stat-card i {
    font-size: 1.5rem;
    min-width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--glass-gold);
    border-radius: 12px;
    border: var(--border-gold);
  }

  /* Theme switcher on small screens */
  .theme-switcher {
    display: flex !important;
    flex-shrink: 0;
    order: 2;
  }

  .theme-switcher-toggle {
    width: 32px;
    height: 32px;
    font-size: 12px;
  }

  .theme-options {
    right: 0;
    left: auto;
    transform: translateY(-10px);
    position: absolute;
    top: calc(100% + 8px);
  }

  .theme-switcher:hover .theme-options,
  .theme-switcher.open .theme-options {
    transform: translateY(0);
  }

  .theme-btn {
    width: 26px;
    height: 26px;
  }

  .nav-toggle {
    order: 3;
  }

  .logo-container {
    order: 1;
  }

  .stat-value {
    font-size: 1.4rem;
    margin-top: 0;
  }

  .stat-label {
    font-size: 0.8rem;
  }

  /* About Section Mobile */
  .about-container {
    gap: 1.5rem;
  }

  .about-image {
    order: -1;
    position: relative;
    margin: 0 -5vw;
    width: calc(100% + 10vw);
  }

  .about-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    object-position: center 20%;
    border-radius: 0;
  }

  .about-text {
    text-align: center;
    padding: 0 0.75rem;
  }

  .about-text h2 {
    font-size: 1.5rem;
  }

  .about-text p {
    font-size: 0.9rem;
  }

  .about-highlights {
    justify-content: center;
    gap: 0.5rem;
  }

  .highlight-chip {
    font-size: 0.75rem;
    padding: 0.6rem 0.9rem;
  }

  .about-note {
    text-align: right;
    font-size: 0.9rem;
  }

  /* Contact Section Mobile */
  .contact-panel,
  .contact-form-box {
    padding: 1.75rem;
  }

  .contact-panel h2 {
    font-size: 1.5rem;
  }

  .contact-chip {
    padding: 1rem;
  }

  /* Cards Mobile */
  .cards-grid {
    gap: 1rem;
  }

  .card {
    padding: 1.5rem;
  }

  .process-card {
    padding: 1.5rem;
  }

  .step-number {
    width: 48px;
    height: 48px;
    font-size: 1rem;
  }

  /* Better touch targets */
  .cta-button {
    padding: 1rem 1.8rem;
    font-size: 0.95rem;
    min-height: 52px;
  }

  .submit-btn {
    min-height: 52px;
  }

  input,
  textarea,
  select {
    min-height: 48px;
    font-size: 16px; /* Prevent iOS zoom */
  }

  .calculator-wrapper {
    padding: 1.25rem;
  }

  .track-card {
    padding: 1.25rem;
  }

  .tracks-table th,
  .tracks-table td {
    font-size: 0.9rem;
    padding: 8px 6px;
  }

  .form-group.split {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
    width: 90%;
    margin: 0 auto;
  }

  .cta-button {
    width: 100%;
    justify-content: center;
  }

  .nav-logo {
    height: 48px;
  }

  .whatsapp-float {
    width: 54px;
    height: 54px;
    font-size: 26px;
    bottom: 20px;
    left: 20px;
  }

  .cta-buttons {
    flex-direction: column;
  }

  .cta-buttons .cta-button {
    width: 100%;
  }
}

/* animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

/* Smooth entrance animations */
.hero-content,
.hero-card,
.card,
.process-card,
.about-image {
  animation: fadeInUp 0.8s ease-out forwards;
}

.hero-card {
  animation-delay: 0.2s;
}

.card:nth-child(1) {
  animation-delay: 0.1s;
}
.card:nth-child(2) {
  animation-delay: 0.2s;
}
.card:nth-child(3) {
  animation-delay: 0.3s;
}
.card:nth-child(4) {
  animation-delay: 0.4s;
}

.process-card:nth-child(1) {
  animation-delay: 0.1s;
}
.process-card:nth-child(2) {
  animation-delay: 0.2s;
}
.process-card:nth-child(3) {
  animation-delay: 0.3s;
}
.process-card:nth-child(4) {
  animation-delay: 0.4s;
}

/* Medium mobile - show hero card */
@media (min-width: 480px) and (max-width: 600px) {
  .hero-card {
    display: block;
    margin-top: 1.5rem;
    padding: 1.5rem;
  }

  .mini-title {
    font-size: 1.1rem;
  }

  .hero-list li {
    font-size: 0.9rem;
  }
}

/* Very small screens */
@media (max-width: 380px) {
  .hero-content h1 {
    font-size: 1.75rem;
  }

  .hero-stats {
    margin: 1.5rem -1rem 0;
  }

  .stat-card {
    border-radius: 0;
    border-left: none;
    border-right: none;
  }

  .stat-card:first-child {
    border-radius: 12px 12px 0 0;
  }

  .stat-card:last-child {
    border-radius: 0 0 12px 12px;
  }

  .cta-button {
    font-size: 0.9rem;
    padding: 0.9rem 1.5rem;
  }

  .about-image img {
    height: 220px;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .section-lead {
    font-size: 1rem;
  }
}

/* Landscape mobile optimization */
@media (max-width: 900px) and (orientation: landscape) {
  .hero::before {
    height: 50vh;
    min-height: 200px;
  }

  .hero-shell {
    margin-top: -40px;
  }

  .hero-content {
    padding-top: 1.5rem;
  }
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
  .hero::before {
    animation: none;
  }

  .flow-line,
  .particle,
  .house-container,
  .key-container {
    animation: none;
  }

  .about-image,
  .card,
  .process-card,
  .stat-card {
    transition: none;
  }
}
