/* ==========================================================================
   AURA SILK • Skin & Wax Studio - Main Stylesheet
   ========================================================================== */

:root {
  /* Color Palette - Warm Honey, Nude & Botanical Spa */
  --bg-primary: #FAF7F2;
  --bg-secondary: #F3ECE2;
  --bg-surface: #FFFFFF;
  --bg-surface-translucent: rgba(255, 255, 255, 0.88);
  --bg-dark: #181311;
  --bg-dark-surface: #26201C;
  
  /* Primary Warm Honey & Amber Accents */
  --primary: #C5832B;
  --primary-hover: #AE701F;
  --primary-light: #F5E9DA;
  --primary-glow: rgba(197, 131, 43, 0.25);
  
  /* Secondary Velvet Nude & Terracotta Accents */
  --secondary: #D4A373;
  --secondary-light: #FAEDCD;
  --nude-blush: #E8D5C8;
  
  /* Botanical Calm Sage */
  --botanical: #5B8266;
  --botanical-light: #EBF2EC;
  
  /* Text & Contrast */
  --text-main: #201A16;
  --text-muted: #6E625A;
  --text-light: #9B8D83;
  --text-inverse: #FAF7F2;
  
  /* Borders & Shadows */
  --border-light: rgba(197, 131, 43, 0.15);
  --border-subtle: rgba(32, 26, 22, 0.08);
  --border-focus: rgba(197, 131, 43, 0.5);
  
  --shadow-sm: 0 2px 8px rgba(32, 26, 22, 0.04);
  --shadow-md: 0 8px 24px rgba(32, 26, 22, 0.07);
  --shadow-lg: 0 16px 40px rgba(32, 26, 22, 0.11);
  --shadow-glow: 0 0 30px rgba(197, 131, 43, 0.2);
  --shadow-glass: 0 8px 32px 0 rgba(197, 131, 43, 0.08);

  /* Typography */
  --font-heading: 'Outfit', 'Playfair Display', -apple-system, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  
  /* Transitions & Layout */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 9999px;
  
  --container-max: 1240px;
}

/* Reset & Base Setup */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-main);
  line-height: 1.65;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* Background Ambient Glows */
body::before {
  content: '';
  position: fixed;
  top: -150px;
  right: -100px;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(220, 163, 93, 0.15) 0%, rgba(245, 233, 218, 0) 70%);
  pointer-events: none;
  z-index: 1;
  filter: blur(50px);
}

body::after {
  content: '';
  position: fixed;
  bottom: -150px;
  left: -150px;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 213, 200, 0.22) 0%, rgba(250, 247, 242, 0) 70%);
  pointer-events: none;
  z-index: 1;
  filter: blur(60px);
}

main, section, footer, header {
  position: relative;
  z-index: 2;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  outline: none;
  border: none;
}

button {
  cursor: pointer;
  background: none;
}

ul, ol {
  list-style: none;
}

/* Typography & Utilities */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-main);
  line-height: 1.22;
  font-weight: 600;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.2rem, 5.5vw, 3.8rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 3.8vw, 2.7rem); }
h3 { font-size: clamp(1.25rem, 2.2vw, 1.65rem); }
h4 { font-size: 1.15rem; }

.text-gradient {
  background: linear-gradient(135deg, var(--primary) 0%, #E2A765 50%, #9F6215 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1.1rem;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.badge-primary {
  background-color: var(--primary-light);
  color: var(--primary);
  border: 1px solid rgba(197, 131, 43, 0.25);
}

.badge-botanical {
  background-color: var(--botanical-light);
  color: var(--botanical);
  border: 1px solid rgba(91, 130, 102, 0.25);
}

.badge-glass {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--text-main);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-sm);
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 6.5rem 0;
  position: relative;
}

.section-alt {
  background-color: var(--bg-secondary);
  position: relative;
}

.section-dark {
  background-color: var(--bg-dark);
  color: var(--text-inverse);
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3.8rem;
}

.section-header h2 {
  margin-top: 0.8rem;
  margin-bottom: 1rem;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.08rem;
  line-height: 1.65;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.85rem 1.8rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  z-index: 1;
  text-align: center;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, #B87620 100%);
  color: #FFFFFF;
  box-shadow: 0 6px 20px rgba(197, 131, 43, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(197, 131, 43, 0.45);
  background: linear-gradient(135deg, #D49036 0%, var(--primary) 100%);
}

.btn-primary::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
  transition: 0.6s;
  z-index: -1;
}

.btn-primary:hover::after {
  left: 100%;
}

.btn-secondary {
  background: var(--bg-surface-translucent);
  backdrop-filter: blur(10px);
  color: var(--text-main);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background: #FFFFFF;
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  border: 1.5px solid var(--primary);
  color: var(--primary);
  background: transparent;
}

.btn-outline:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.55rem 1.2rem;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 1.05rem 2.4rem;
  font-size: 1.05rem;
}

.btn-block {
  width: 100%;
}

.btn-whatsapp {
  background: #25D366;
  color: #FFFFFF;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp:hover {
  background: #20BA5A;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.45);
}

/* Header & Floating Navigation */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.2rem 0;
  transition: all 0.35s ease;
}

.header.scrolled {
  padding: 0.8rem 0;
  background: rgba(250, 247, 242, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-light);
  box-shadow: 0 4px 20px rgba(32, 26, 22, 0.05);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text-main);
}

.brand-icon-wrapper {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--primary) 0%, #DE9F4D 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(197, 131, 43, 0.3);
}

.brand-icon-wrapper svg {
  width: 22px;
  height: 22px;
}

.brand-logo span.dot {
  color: var(--primary);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-size: 0.93rem;
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
  padding: 0.3rem 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--primary);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s ease;
  border-radius: 2px;
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

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

.mobile-toggle {
  display: none;
  font-size: 1.5rem;
  color: var(--text-main);
  padding: 0.5rem;
  border-radius: var(--radius-sm);
}

.mobile-drawer-backdrop {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(26, 21, 19, 0.6);
  backdrop-filter: blur(6px);
  z-index: 1000;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.mobile-drawer-backdrop.active {
  display: block;
  opacity: 1;
}

.mobile-drawer-close {
  display: none;
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-secondary);
  color: var(--text-main);
  align-items: center;
  justify-content: center;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  padding: 9.5rem 0 5.5rem;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-tag {
  margin-bottom: 1.4rem;
}

.hero-title {
  margin-bottom: 1.4rem;
}

.hero-description {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 2.2rem;
  max-width: 540px;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.8rem;
}

.hero-trust-metrics {
  display: flex;
  align-items: center;
  gap: 2.2rem;
  padding-top: 1.8rem;
  border-top: 1px solid var(--border-subtle);
}

.metric-item {
  display: flex;
  flex-direction: column;
}

.metric-number {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-main);
}

.metric-label {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* Hero Visual & Showcase Card */
.hero-visual {
  position: relative;
}

.hero-card-main {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(32, 26, 22, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.8);
  background: var(--bg-surface);
  transition: transform 0.5s ease;
}

.hero-card-image {
  width: 100%;
  height: 490px;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.hero-card-main:hover .hero-card-image {
  transform: scale(1.04);
}

.hero-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem 1.8rem;
  background: linear-gradient(0deg, rgba(26, 21, 19, 0.92) 0%, rgba(26, 21, 19, 0.6) 60%, transparent 100%);
  color: #FFFFFF;
}

.hero-card-overlay h3 {
  color: #FFFFFF;
  font-size: 1.4rem;
  margin-bottom: 0.3rem;
}

.hero-card-overlay p {
  color: #E8D5C8;
  font-size: 0.9rem;
}

.hero-floating-badge-1 {
  position: absolute;
  top: 1.5rem;
  left: -1.8rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(14px);
  padding: 0.9rem 1.25rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.95);
  display: flex;
  align-items: center;
  gap: 0.85rem;
  animation: floatSlow 5s ease-in-out infinite alternate;
  z-index: 3;
}

.hero-floating-badge-2 {
  position: absolute;
  bottom: 2.8rem;
  right: -1.8rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(14px);
  padding: 0.9rem 1.35rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.95);
  display: flex;
  align-items: center;
  gap: 0.85rem;
  animation: floatSlow 6s ease-in-out 1s infinite alternate-reverse;
  z-index: 3;
}

.badge-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
}

.badge-icon svg {
  width: 20px;
  height: 20px;
}

.badge-icon.gold { background: linear-gradient(135deg, var(--primary), #DE9F4D); }
.badge-icon.green { background: linear-gradient(135deg, var(--botanical), #8EAF96); }

.badge-text strong {
  display: block;
  font-size: 0.88rem;
  color: var(--text-main);
}

.badge-text small {
  font-size: 0.76rem;
  color: var(--text-muted);
}

/* Footer & Social Icons */
.footer {
  background-color: var(--bg-dark);
  color: #FAF7F2;
  padding: 5.5rem 0 2.2rem;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(197, 131, 43, 0.4), transparent);
}

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

.footer-brand p {
  color: #B8ADA5;
  margin: 1.2rem 0 1.8rem;
  font-size: 0.95rem;
  line-height: 1.7;
}

.footer-socials {
  display: flex;
  gap: 0.85rem;
  align-items: center;
}

.social-link {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #FAF7F2;
  transition: var(--transition-fast);
  border: 1px solid rgba(255, 255, 255, 0.15);
  flex-shrink: 0;
}

.social-link svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  display: block;
}

.social-link:hover {
  background: var(--primary);
  color: #FFFFFF;
  transform: translateY(-3px);
  border-color: var(--primary);
}

.footer-column h4 {
  color: #FFFFFF;
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  position: relative;
  padding-bottom: 0.6rem;
}

.footer-column h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--primary);
}

.footer-links li {
  margin-bottom: 0.8rem;
}

.footer-links a {
  color: #B8ADA5;
  font-size: 0.92rem;
  transition: var(--transition-fast);
}

.footer-links a:hover {
  color: var(--primary);
  padding-left: 5px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  color: #B8ADA5;
  font-size: 0.92rem;
  margin-bottom: 1rem;
}

.footer-contact-item svg {
  color: var(--primary);
  margin-top: 3px;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.88rem;
  color: #8C8077;
}

/* Floating WhatsApp & Back to top */
.floating-actions {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
}

.btn-float-whatsapp {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
  transition: var(--transition-bounce);
  position: relative;
}

.btn-float-whatsapp svg {
  width: 28px;
  height: 28px;
}

.btn-float-whatsapp:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.6);
}

.btn-float-whatsapp .ping-circle {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #25D366;
  opacity: 0.6;
  animation: pingPulse 2s infinite cubic-bezier(0, 0, 0.2, 1);
  z-index: -1;
}

.btn-scroll-top {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-surface-translucent);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.btn-scroll-top svg {
  width: 20px;
  height: 20px;
}

.btn-scroll-top.visible {
  opacity: 1;
  visibility: visible;
}

.btn-scroll-top:hover {
  background: var(--primary);
  color: #FFFFFF;
  transform: translateY(-3px);
}

/* ==========================================================================
   Responsive Breakpoints & Mobile Optimization
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3.5rem;
  }
  .hero-description { margin-left: auto; margin-right: auto; }
  .hero-cta-group { justify-content: center; }
  .hero-trust-metrics { justify-content: center; }
  .hero-visual { max-width: 520px; margin: 0 auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
}

@media (max-width: 768px) {
  .section { padding: 4.5rem 0; }
  
  .mobile-toggle { 
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
  }

  .mobile-drawer-close {
    display: flex;
  }
  
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 340px;
    height: 100vh;
    background: rgba(250, 247, 242, 0.98);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 4rem 2.4rem 3rem;
    box-shadow: -15px 0 40px rgba(0,0,0,0.15);
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1002;
    gap: 1.6rem;
  }
  
  .nav-menu.active { right: 0; }
  
  .nav-link {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-main);
  }

  .nav-actions .btn-book-nav { display: none; }
  
  .hero {
    padding: 7.5rem 0 4rem;
  }

  .hero-card-image {
    height: 380px;
  }

  .hero-floating-badge-1 { 
    left: 0.5rem; 
    top: 0.8rem;
    padding: 0.65rem 0.9rem;
    font-size: 0.8rem;
  }
  
  .hero-floating-badge-2 { 
    right: 0.5rem; 
    bottom: 0.8rem; 
    padding: 0.65rem 0.9rem;
    font-size: 0.8rem;
  }

  .hero-trust-metrics {
    flex-wrap: wrap;
    gap: 1.4rem;
    justify-content: space-around;
  }

  .metric-number {
    font-size: 1.4rem;
  }
  
  .footer-grid { grid-template-columns: 1fr; gap: 2.2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  
  .floating-actions { bottom: 1.2rem; right: 1.2rem; }
  .btn-float-whatsapp { width: 50px; height: 50px; }
  .btn-scroll-top { width: 40px; height: 40px; }
}

@media (max-width: 480px) {
  .hero-cta-group {
    flex-direction: column;
    width: 100%;
  }

  .hero-cta-group .btn {
    width: 100%;
  }

  .hero-floating-badge-1, .hero-floating-badge-2 {
    display: none; /* Cleaner on ultra compact phones */
  }

  .hero-card-image {
    height: 320px;
  }
}
