/* ═══════════════════════════════════════════════════
   DRA. KATIANE MARIN — MAIN STYLESHEET
   ═══════════════════════════════════════════════════ */

/* ─── TOKENS ─── */
:root {
  --gold-light: #E8C97A;
  --gold:       #C9A96E;
  --gold-dark:  #A0783A;
  --gold-deep:  #7A5A2A;
  --obsidian:       #0D0D0D;
  --obsidian-100:   #1A1A1A;
  --obsidian-200:   #242424;
  --obsidian-300:   #2E2E2E;
  --text-primary:   rgba(255,255,255,0.92);
  --text-secondary: rgba(255,255,255,0.60);
  --text-muted:     rgba(255,255,255,0.30);
}

/* ─── BASE ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background-color: var(--obsidian);
  color: var(--text-primary);
  font-family: 'Inter', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
::selection { background: rgba(201,169,110,0.28); color: #E8C97A; }
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: #0D0D0D; }
::-webkit-scrollbar-thumb { background: linear-gradient(to bottom, #C9A96E, #7A5A2A); border-radius: 3px; }

/* ─── GOLD GRADIENT TEXT ─── */
.text-gold-gradient {
  background: linear-gradient(135deg, #E8C97A 0%, #C9A96E 35%, #A0783A 65%, #D4AF70 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ─── DECORATIVE LINES ─── */
.gold-line   { height: 1px; background: linear-gradient(90deg, transparent, #C9A96E 50%, transparent); }
.gold-line-v { width:  1px; background: linear-gradient(to bottom, transparent, #C9A96E 50%, transparent); }

/* ─── BACKGROUND GRID ─── */
.bg-grid {
  background-image:
    linear-gradient(rgba(201,169,110,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,169,110,0.035) 1px, transparent 1px);
  background-size: 48px 48px;
}

/* ─── GLOW CENTER ─── */
.hero-glow {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.hero-glow::after {
  content: '';
  width: 700px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(201,169,110,0.07) 0%, transparent 70%);
}

/* ─── BUTTONS ─── */
.btn-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 26px;
  border-radius: 50px;
  background: linear-gradient(135deg, #D4AF70, #A0783A);
  color: #0D0D0D;
  font-family: 'Inter', sans-serif;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: filter 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.btn-gold:hover  { filter: brightness(1.12); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(201,169,110,0.28); }
.btn-gold:active { filter: brightness(0.95); transform: translateY(0); }

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 26px;
  border-radius: 50px;
  background: transparent;
  color: #C9A96E;
  border: 1px solid rgba(201,169,110,0.4);
  font-family: 'Inter', sans-serif;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.btn-outline:hover  { background: rgba(201,169,110,0.08); border-color: rgba(201,169,110,0.7); transform: translateY(-2px); }
.btn-outline:active { transform: translateY(0); }

/* ─── CARDS ─── */
.card {
  background: #1A1A1A;
  border: 1px solid rgba(255,255,255,0.055);
  border-radius: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.5), 0 0 30px rgba(201,169,110,0.07);
  border-color: rgba(201,169,110,0.18);
}

/* ─── SECTION LABEL ─── */
.section-label {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(201,169,110,0.65);
}

/* ─── NAVBAR ─── */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  transition: background 0.4s ease, border-color 0.4s ease, backdrop-filter 0.4s ease;
}
#navbar.scrolled {
  background: rgba(13,13,13,0.90);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(201,169,110,0.1);
}
.nav-link {
  font-size: 0.8125rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.60);
  text-decoration: none;
  position: relative;
  padding-bottom: 3px;
  transition: color 0.2s ease;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 0;
  width: 0; height: 1px;
  background: linear-gradient(90deg, #C9A96E, #E8C97A);
  transition: width 0.3s ease;
}
.nav-link:hover, .nav-link.active { color: #C9A96E; }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

/* ─── HAMBURGER ─── */
.hamburger-line {
  display: block;
  width: 22px; height: 1.5px;
  background: #C9A96E;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform-origin: center;
}
#mobile-menu-btn.open .hamburger-line:nth-child(1) { transform: translateY(5px) rotate(45deg); }
#mobile-menu-btn.open .hamburger-line:nth-child(2) { opacity: 0; transform: scaleX(0); }
#mobile-menu-btn.open .hamburger-line:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

/* ─── MOBILE MENU ─── */
#mobile-menu {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.4s cubic-bezier(.4,0,.2,1), opacity 0.3s ease;
}
#mobile-menu.open { max-height: 420px; opacity: 1; }

/* ─── PAGE TRANSITION ─── */
#page-overlay {
  position: fixed;
  inset: 0;
  background: #0D0D0D;
  z-index: 9999;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.28s ease;
}
#page-overlay.active { opacity: 1; pointer-events: all; }

/* ─── SCROLL REVEAL ─── */
.reveal        { opacity: 0; transform: translateY(22px);  transition: opacity 0.65s cubic-bezier(.4,0,.2,1), transform 0.65s cubic-bezier(.4,0,.2,1); }
.reveal-left   { opacity: 0; transform: translateX(-22px); transition: opacity 0.65s cubic-bezier(.4,0,.2,1), transform 0.65s cubic-bezier(.4,0,.2,1); }
.reveal-right  { opacity: 0; transform: translateX(22px);  transition: opacity 0.65s cubic-bezier(.4,0,.2,1), transform 0.65s cubic-bezier(.4,0,.2,1); }
.reveal-scale  { opacity: 0; transform: scale(0.96);       transition: opacity 0.65s cubic-bezier(.4,0,.2,1), transform 0.65s cubic-bezier(.4,0,.2,1); }
.reveal.visible, .reveal-left.visible, .reveal-right.visible, .reveal-scale.visible { opacity: 1; transform: none; }

/* Stagger delays */
.d1 { transition-delay: 0.08s; }
.d2 { transition-delay: 0.16s; }
.d3 { transition-delay: 0.24s; }
.d4 { transition-delay: 0.32s; }
.d5 { transition-delay: 0.40s; }
.d6 { transition-delay: 0.50s; }

/* ─── BACK TO TOP ─── */
#back-to-top {
  position: fixed;
  bottom: 28px; right: 24px;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #C9A96E, #A0783A);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.3s ease, transform 0.3s ease, filter 0.2s ease;
  z-index: 40;
  box-shadow: 0 4px 20px rgba(201,169,110,0.25);
}
#back-to-top.visible { opacity: 1; transform: translateY(0); }
#back-to-top:hover { filter: brightness(1.15); }

/* ─── PARTICLES ─── */
.particle {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,169,110,0.55) 0%, transparent 70%);
  animation: float-up linear infinite;
  pointer-events: none;
}
@keyframes float-up {
  0%   { transform: translateY(0) rotate(0deg);     opacity: 0; }
  8%   { opacity: 1; }
  92%  { opacity: 0.5; }
  100% { transform: translateY(-110vh) rotate(360deg); opacity: 0; }
}

/* ─── STAT COUNTER ─── */
@keyframes slide-up { from { opacity:0; transform:translateY(12px); } to { opacity:1; transform:translateY(0); } }
.stat-anim { animation: slide-up 0.5s ease forwards; }

/* ─── TESTIMONIAL ─── */
.testimonial-card { transition: transform 0.3s ease; }
.testimonial-card:hover { transform: translateY(-4px); }
.quote-mark { font-family: 'Cormorant Garamond', serif; font-size: 5rem; line-height: 1; color: rgba(201,169,110,0.12); margin-bottom: -28px; }

/* ─── SERVICE ACCORDION ─── */
.service-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(.4,0,.2,1), opacity 0.3s ease;
  opacity: 0;
}
.service-body.open { max-height: 600px; opacity: 1; }
.chevron-icon { transition: transform 0.3s ease; }
.chevron-icon.open { transform: rotate(180deg); }

/* ─── BLOG CARD IMAGE ─── */
.blog-thumb {
  border-radius: 14px 14px 0 0;
  overflow: hidden;
  aspect-ratio: 16/9;
}

/* ─── FORM ─── */
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-label {
  font-size: 0.8125rem;
  font-weight: 500;
  color: rgba(255,255,255,0.65);
  letter-spacing: 0.02em;
}
.form-label .req { color: #C9A96E; margin-left: 2px; }
.form-input {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 12px;
  padding: 13px 16px;
  color: rgba(255,255,255,0.90);
  font-family: 'Inter', sans-serif;
  font-size: 0.9375rem;
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.form-input::placeholder { color: rgba(255,255,255,0.22); }
.form-input:focus {
  border-color: rgba(201,169,110,0.5);
  background: rgba(201,169,110,0.04);
  box-shadow: 0 0 0 3px rgba(201,169,110,0.08);
}
.form-input.error { border-color: rgba(239,68,68,0.6); }
select.form-input option { background: #1A1A1A; color: rgba(255,255,255,0.9); }
textarea.form-input { resize: vertical; min-height: 110px; }

/* ─── STEP PROGRESS ─── */
.step-wrap { display: flex; align-items: center; gap: 0; }
.step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex: 1;
  position: relative;
}
.step-item + .step-item::before {
  content: '';
  position: absolute;
  top: 15px; right: 50%;
  width: 100%;
  height: 1px;
  background: rgba(255,255,255,0.1);
  transition: background 0.4s ease;
  z-index: -1;
}
.step-item.done + .step-item::before { background: linear-gradient(90deg, #C9A96E, rgba(201,169,110,0.3)); }
.step-circle {
  width: 30px; height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8125rem;
  font-weight: 500;
  border: 1px solid rgba(255,255,255,0.14);
  background: #1A1A1A;
  color: rgba(255,255,255,0.4);
  transition: all 0.3s ease;
}
.step-item.active .step-circle {
  background: linear-gradient(135deg, #D4AF70, #A0783A);
  border-color: transparent;
  color: #0D0D0D;
  font-weight: 600;
  box-shadow: 0 4px 16px rgba(201,169,110,0.3);
}
.step-item.done .step-circle { background: rgba(201,169,110,0.15); border-color: rgba(201,169,110,0.5); color: #C9A96E; }
.step-label { font-size: 0.6875rem; color: rgba(255,255,255,0.35); white-space: nowrap; }
.step-item.active .step-label, .step-item.done .step-label { color: rgba(201,169,110,0.7); }

/* ─── CALENDAR ─── */
.cal-day {
  aspect-ratio: 1;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8125rem;
  cursor: pointer;
  transition: all 0.15s ease;
  color: rgba(255,255,255,0.70);
}
.cal-day:hover:not(.cal-disabled):not(.cal-selected) { background: rgba(201,169,110,0.12); color: #C9A96E; }
.cal-day.cal-selected { background: linear-gradient(135deg, #D4AF70, #A0783A); color: #0D0D0D; font-weight: 600; box-shadow: 0 2px 12px rgba(201,169,110,0.4); }
.cal-day.cal-today:not(.cal-selected) { border: 1px solid rgba(201,169,110,0.4); color: #C9A96E; }
.cal-day.cal-disabled { opacity: 0.22; cursor: not-allowed; }

/* ─── TIME SLOTS ─── */
.slot {
  padding: 9px 6px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.025);
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.65);
  cursor: pointer;
  text-align: center;
  transition: all 0.15s ease;
}
.slot:hover:not(.slot-booked):not(.slot-selected) { border-color: rgba(201,169,110,0.4); background: rgba(201,169,110,0.06); color: #C9A96E; }
.slot.slot-selected { border-color: rgba(201,169,110,0.6); background: rgba(201,169,110,0.14); color: #E8C97A; box-shadow: 0 0 12px rgba(201,169,110,0.15); }
.slot.slot-booked { opacity: 0.25; cursor: not-allowed; text-decoration: line-through; }

/* ─── RADIO CARDS ─── */
.radio-card { display: none; }
.radio-card + label {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.025);
  cursor: pointer;
  transition: all 0.2s ease;
  color: rgba(255,255,255,0.65);
  font-size: 0.9375rem;
}
.radio-card + label:hover { border-color: rgba(201,169,110,0.3); color: rgba(255,255,255,0.85); }
.radio-card:checked + label {
  border-color: rgba(201,169,110,0.55);
  background: rgba(201,169,110,0.08);
  color: #E8C97A;
  box-shadow: 0 0 16px rgba(201,169,110,0.1);
}
.radio-dot {
  width: 18px; height: 18px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s ease;
}
.radio-card:checked + label .radio-dot {
  border-color: #C9A96E;
  background: rgba(201,169,110,0.15);
}
.radio-dot::after {
  content: '';
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #C9A96E;
  opacity: 0;
  transition: opacity 0.2s ease;
}
.radio-card:checked + label .radio-dot::after { opacity: 1; }

/* ─── FOOTER LINKS ─── */
.footer-link { color: rgba(255,255,255,0.42); font-size: 0.875rem; text-decoration: none; transition: color 0.2s ease; }
.footer-link:hover { color: #C9A96E; }

/* ─── REDUCED MOTION ─── */
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-left, .reveal-right, .reveal-scale { opacity:1 !important; transform:none !important; transition:none !important; }
  .particle { animation: none !important; }
  .btn-gold, .btn-outline, .card { transition: none !important; }
  html { scroll-behavior: auto; }
}

/* ─── BLOG CATEGORY PILL ─── */
.cat-pill {
  padding: 4px 14px;
  border-radius: 50px;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid rgba(201,169,110,0.3);
  color: rgba(201,169,110,0.8);
  background: rgba(201,169,110,0.06);
  cursor: pointer;
  transition: all 0.2s ease;
}
.cat-pill:hover, .cat-pill.active { background: rgba(201,169,110,0.15); border-color: rgba(201,169,110,0.6); color: #E8C97A; }

/* ─── MAP PLACEHOLDER ─── */
.map-placeholder {
  background:
    repeating-linear-gradient(45deg, rgba(201,169,110,0.03) 0px, rgba(201,169,110,0.03) 1px, transparent 1px, transparent 8px),
    #1A1A1A;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 20px;
}

/* ─── SOCIAL ICONS ─── */
.social-icon {
  width: 38px; height: 38px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  transition: all 0.2s ease;
}
.social-icon:hover { border-color: rgba(201,169,110,0.4); color: #C9A96E; background: rgba(201,169,110,0.06); }

/* ─── SUCCESS STATE ─── */
.success-check {
  animation: pop 0.5s cubic-bezier(.36,.07,.19,.97) both;
}
@keyframes pop { 0%{ transform:scale(0.5); opacity:0; } 70%{ transform:scale(1.12); } 100%{ transform:scale(1); opacity:1; } }

/* ─── ERROR MESSAGE ─── */
.field-error { font-size: 0.75rem; color: rgba(248,113,113,0.85); margin-top: 4px; display: none; }
.form-input.error ~ .field-error { display: block; }
