/* ==========================================================================
   NATIVA CLINIC — BESPOKE DARK LUXURY & HEAD DESIGN SYSTEM (forjaCORE 4.0)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&family=Outfit:wght@400;500;600;700;800;900&display=swap');

:root {
  --color-bg-base: #0D0C08;
  --color-bg-surface: #12100B;
  --color-bg-card: #1A1810;
  --color-bg-card-hover: #232016;
  
  --color-border: #2B2620;
  --color-border-hover: #423A32;
  --color-border-glow: rgba(196, 99, 74, 0.3);

  --color-terra: #C4634A;
  --color-terra-dark: #A84F38;
  --color-terra-light: #E07D63;
  --color-terra-glow: rgba(196, 99, 74, 0.35);

  --color-teal: #3D9999;
  --color-teal-dark: #2E7A7A;
  --color-teal-light: #52B3B3;

  --color-beige: #D4B49A;
  --color-beige-light: #EDE0D2;
  --color-cream: #F5F0EB;

  --color-text-heading: #F5F0EB;
  --color-text-body: #B5B0AB;
  --color-text-muted: #8A8580;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-display: 'Outfit', 'Plus Jakarta Sans', sans-serif;
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--color-bg-base);
  color: var(--color-text-body);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
}

body {
  background-color: var(--color-bg-base);
  overflow-x: hidden;
}

h1, h2, h3, h4, .font-heading {
  font-family: var(--font-display);
  color: var(--color-text-heading);
  letter-spacing: -0.025em;
  font-weight: 700;
}

/* Rauno Freiberg Focus Rings */
:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px var(--color-bg-base), 0 0 0 4px var(--color-terra);
  border-radius: var(--radius-sm);
}

.touch-target {
  min-height: 44px;
  min-width: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Head Design: Top Utility Micro-Bar */
.top-utility-bar {
  background: rgba(13, 12, 8, 0.95);
  border-b: 1px solid rgba(43, 38, 32, 0.8);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--color-text-muted);
}

/* Head Design: Main Floating Island Navbar */
.liquid-glass-nav {
  background: rgba(18, 16, 11, 0.85);
  backdrop-filter: blur(24px) saturate(190%);
  -webkit-backdrop-filter: blur(24px) saturate(190%);
  border: 1px solid rgba(212, 180, 154, 0.18);
  box-shadow: 0 20px 45px -10px rgba(0, 0, 0, 0.85),
              0 0 0 1px rgba(255, 255, 255, 0.04) inset;
}

.nav-pill-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.825rem;
  font-weight: 600;
  color: var(--color-text-body);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
}

.nav-pill-link:hover {
  color: var(--color-cream);
  background: rgba(212, 180, 154, 0.12);
  transform: translateY(-1px);
}

/* Dark Luxury Cards */
.dark-luxury-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 35px -10px rgba(0, 0, 0, 0.7),
              0 1px 0 0 rgba(255, 255, 255, 0.03) inset;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.dark-luxury-card:hover {
  transform: translateY(-4px);
  border-color: rgba(196, 99, 74, 0.45);
  box-shadow: 0 25px 50px -15px rgba(0, 0, 0, 0.9),
              0 0 30px rgba(196, 99, 74, 0.18);
}

/* Radial Atmosphere */
.radial-glow-hero {
  background: radial-gradient(circle at 50% 0%, rgba(196, 99, 74, 0.22) 0%, rgba(61, 153, 153, 0.12) 35%, rgba(13, 12, 8, 0) 70%);
}

/* Split Slider */
.ba-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  max-height: 520px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  user-select: none;
  background: #000;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.9);
}

.ba-image-before,
.ba-image-after {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
}

.ba-image-after {
  clip-path: polygon(var(--pos, 50%) 0, 100% 0, 100% 100%, var(--pos, 50%) 100%);
}

.ba-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos, 50%);
  width: 2px;
  background: #fff;
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.9), 0 0 20px var(--color-terra);
  transform: translateX(-50%);
  pointer-events: none;
  z-index: 10;
}

.ba-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-terra);
  border: 3px solid #fff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.8), 0 0 18px var(--color-terra-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 14px;
  font-weight: 900;
}

.ba-range-input {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: ew-resize;
  z-index: 20;
}

.ba-badge-tag {
  position: absolute;
  bottom: 16px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  z-index: 5;
  pointer-events: none;
}

.ba-badge-before {
  left: 16px;
  background: rgba(13, 12, 8, 0.9);
  color: var(--color-beige-light);
  border: 1px solid rgba(212, 180, 154, 0.25);
  backdrop-filter: blur(8px);
}

.ba-badge-after {
  right: 16px;
  background: rgba(196, 99, 74, 0.95);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 14px rgba(196, 99, 74, 0.5);
}

/* Photo Strip Hover Effect */
.photo-strip-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.photo-strip-card:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: var(--color-terra);
  box-shadow: 0 20px 40px -10px rgba(196, 99, 74, 0.25);
}

/* WhatsApp Radar Pulse Flutuante */
.whatsapp-radar-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 99;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
}

.whatsapp-radar-btn:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 15px 35px rgba(37, 211, 102, 0.6);
}

.whatsapp-pulse-ring {
  position: absolute;
  inset: -6px;
  border-radius: var(--radius-full);
  border: 2px solid #25D366;
  opacity: 0;
  animation: radar-pulse 2s cubic-bezier(0.24, 0, 0.38, 1) infinite;
  pointer-events: none;
}

@keyframes radar-pulse {
  0% { transform: scale(0.9); opacity: 0.9; }
  50% { opacity: 0.4; }
  100% { transform: scale(1.35); opacity: 0; }
}

::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--color-bg-base);
}
::-webkit-scrollbar-thumb {
  background: #2B2620;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #C4634A;
}

input, select, textarea {
  font-size: 16px !important;
}

/* ==========================================================================
   NATIVA CLINIC — MODERN FLOATING CAPSULE DOCK (Head Design 4.0)
   ========================================================================== */

/* Shimmer animation for action button */
@keyframes shimmer-sweep {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(200%); }
}

.shimmer-btn {
  position: relative;
  overflow: hidden;
}

.shimmer-btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  transform: skewX(-20deg) translateX(-150%);
  animation: shimmer-sweep 3.5s infinite ease-in-out;
  pointer-events: none;
}

/* Modern Dynamic Island / Capsule Dock */
.modern-floating-dock {
  background: rgba(18, 16, 11, 0.82);
  backdrop-filter: blur(28px) saturate(210%);
  -webkit-backdrop-filter: blur(28px) saturate(210%);
  border: 1px solid rgba(212, 180, 154, 0.16);
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.9),
              0 0 0 1px rgba(255, 255, 255, 0.05) inset,
              0 1px 20px rgba(196, 99, 74, 0.12);
  border-radius: 9999px;
  padding: 6px 10px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.modern-floating-dock:hover {
  border-color: rgba(196, 99, 74, 0.35);
  box-shadow: 0 25px 50px -10px rgba(0, 0, 0, 0.95),
              0 0 0 1px rgba(255, 255, 255, 0.08) inset,
              0 0 30px rgba(196, 99, 74, 0.2);
}

/* Nav Item Segment */
.dock-nav-item {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 9999px;
  font-size: 13px;
  font-weight: 600;
  color: #B5B0AB;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.dock-nav-item:hover {
  color: #F5F0EB;
  background: rgba(212, 180, 154, 0.1);
  transform: translateY(-1px);
}

.dock-nav-item.active {
  color: #F5F0EB;
  background: rgba(196, 99, 74, 0.18);
  border: 1px solid rgba(196, 99, 74, 0.3);
}

/* Micro Status Pill */
.status-indicator-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 9999px;
  background: rgba(26, 24, 16, 0.9);
  border: 1px solid rgba(43, 38, 32, 0.9);
  font-size: 11px;
  font-weight: 600;
  color: #D4B49A;
}
