:root {
  color-scheme: light;
  --bg: #fff9f4;
  --surface: rgba(255,255,255,0.82);
  --surface-strong: rgba(255,255,255,0.96);
  --text: #1f2937;
  --muted: #6b7280;
  --rose: #d89c8f;
  --nude: #f4e4dd;
  --cream: #f8efe3;
  --mint: #cfe7dd;
  --lavender: #ebdef4;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background: radial-gradient(circle at top left, rgba(244, 228, 221, 0.7), transparent 28%), linear-gradient(180deg, #fffaf6 0%, #f5ede4 100%);
  color: var(--text);
}

#page-loader {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  transition: opacity 0.45s ease, visibility 0.45s ease;
}

#page-loader.fade-out {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader {
  width: 80px;
  height: 80px;
  border-radius: 9999px;
  border: 8px solid rgba(216, 156, 143, 0.28);
  border-top-color: #d89c8f;
  animation: spin 1.2s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

* {
  box-sizing: border-box;
}

img {
  max-width: 100%;
  display: block;
}

button,
input,
textarea,
select {
  font: inherit;
}

.glass-card,
.glass-panel,
.glass-box {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(18px);
  box-shadow: 0 24px 60px rgba(154, 113, 99, 0.12);
}

.shadow-soft {
  box-shadow: 0 18px 45px rgba(150, 112, 96, 0.12);
}

.shadow-glow {
  box-shadow: 0 20px 85px rgba(216, 156, 143, 0.16);
}

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 9999px;
  border: 1px solid rgba(148, 134, 123, 0.18);
  background: rgba(255, 255, 255, 0.86);
  color: var(--text);
  transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
}

.icon-btn:hover {
  transform: translateY(-2px);
  background: rgba(216, 156, 143, 0.12);
}

.section-title {
  letter-spacing: 0.25em;
}

.hero-panel {
  position: relative;
  overflow: hidden;
}

.hero-panel::before,
.hero-panel::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
  opacity: 0.9;
}

.hero-panel::before {
  width: 420px;
  height: 420px;
  top: -120px;
  left: -100px;
  background: rgba(235, 199, 176, 0.34);
}

.hero-panel::after {
  width: 360px;
  height: 360px;
  bottom: -130px;
  right: -110px;
  background: rgba(169, 221, 201, 0.24);
}

.hr-soft {
  height: 1px;
  background: rgba(226, 214, 206, 0.55);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.btn-primary {
  background: linear-gradient(135deg, #d99c8f, #f0d8cf);
  color: #fff;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.9);
  color: var(--text);
  border: 1px solid rgba(216, 156, 143, 0.32);
}

.btn-primary:hover,
.btn-secondary:hover {
  transform: translateY(-1px);
}

.card-badge {
  background: rgba(213, 147, 134, 0.12);
  color: #b66f5d;
}

.badge-soft {
  background: rgba(197, 225, 213, 0.24);
  color: #416958;
}

.breadcrumb {
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.72);
  padding: 0.75rem 1rem;
  display: inline-flex;
  gap: 0.5rem;
  align-items: center;
  box-shadow: 0 16px 45px rgba(154, 113, 99, 0.08);
}

.breadcrumb a {
  color: #9b615c;
}

#back-to-top {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 50;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #d99c8f, #c7e2d4);
  color: #fff;
  box-shadow: 0 18px 40px rgba(216, 156, 143, 0.25);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
}

#back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(-4px);
}

#whatsapp-chat {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  z-index: 50;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #59b669, #25d366);
  display: grid;
  place-items: center;
  color: #fff;
  box-shadow: 0 22px 48px rgba(37, 211, 102, 0.22);
}

#whatsapp-chat:hover {
  transform: translateY(-2px);
}

.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(22, 22, 22, 0.72);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  z-index: 60;
}

.lightbox-overlay.open {
  display: flex;
}

.lightbox-content {
  width: min(100%, 1160px);
  background: rgba(255, 255, 255, 0.92);
  border-radius: 2rem;
  overflow: hidden;
}

.lightbox-content img {
  width: 100%;
  height: auto;
  display: block;
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.88);
  display: grid;
  place-items: center;
}

.dark-mode {
  --bg: #121218;
  --surface: rgba(20, 20, 30, 0.86);
  --surface-strong: rgba(18, 18, 25, 0.92);
  --text: #f8f7f5;
  --muted: #9ca3af;
  --rose: #d89c8f;
  background: radial-gradient(circle at top left, rgba(120, 71, 56, 0.18), transparent 22%), linear-gradient(180deg, #191c23 0%, #111216 100%);
}

.dark-mode body,
.dark-mode .glass-card,
.dark-mode .glass-panel,
.dark-mode .glass-box,
.dark-mode .breadcrumb,
.dark-mode .icon-btn,
.dark-mode .btn-secondary,
.dark-mode .section-label {
  color: #f8f7f5;
}

.dark-mode .btn-secondary {
  background: rgba(20, 20, 30, 0.82);
}

.dark-mode .nav-link:hover,
.dark-mode .breadcrumb a {
  color: #f2c7bf;
}

@media (max-width: 768px) {
  .hero-panel::before,
  .hero-panel::after {
    display: none;
  }
}

/* Premium Vibrant & Brighter Luxe Additions */
.gradient-border-card {
  position: relative;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 2rem;
  z-index: 1;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
}

.gradient-border-card::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 2rem;
  background: linear-gradient(45deg, #d88a82, #e5b3ac, #a2ded0, #dfc2f2, #e28a82);
  z-index: -1;
  background-size: 400% 400%;
  animation: gradient-shift 12s ease infinite;
  opacity: 0.15;
  transition: opacity 0.4s ease;
}

.gradient-border-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 60px rgba(216, 138, 130, 0.22);
}

.gradient-border-card:hover::before {
  opacity: 1;
}

@keyframes gradient-shift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.shadow-glow-vibrant {
  box-shadow: 0 20px 50px rgba(216, 138, 130, 0.3);
}

.text-gradient-accent {
  background: linear-gradient(135deg, #d87165 0%, #a26db7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Sticky Pulsing WhatsApp Widget */
#whatsapp-chat {
  animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* Bright contrast updates for dark mode */
.dark-mode .gradient-border-card {
  background: rgba(20, 20, 30, 0.95);
}

.dark-mode .text-gradient-accent {
  background: linear-gradient(135deg, #f2a89f 0%, #dbb6ed 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

