/* 
 * 🌿 MANGROVE SPA CANCÚN - Stylesheet
 * Custom Premium Redesign UI System
 * Designed for Luxury, Calm, and Conversion
 */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
  /* Design Tokens - Organic Luxury Palette */
  --bg-primary: #FAF8F5;          /* Warm sand cream */
  --bg-secondary: #FFFFFF;
  --text-primary: #1C2D24;        /* Deep pine green - softer than pure black */
  --text-muted: #5F6F65;          /* Sage slate */
  
  --accent-green: #1B3B2B;        /* Dense mangrove green */
  --accent-green-light: #2A4E3B;  
  --accent-gold: #C5A059;         /* Warm Caribbean sun gold */
  --accent-gold-light: #F7E7C4;
  --accent-gold-hover: #B5904A;
  
  --glass-bg: rgba(250, 248, 245, 0.85);
  --glass-border: rgba(27, 59, 43, 0.06);
  --glass-shadow: 0 8px 32px 0 rgba(27, 59, 43, 0.04);
  
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Poppins', system-ui, sans-serif;
  
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.2s ease;
  
  --shadow-soft: 0 10px 30px rgba(27, 59, 43, 0.03);
  --shadow-premium: 0 20px 40px rgba(27, 59, 43, 0.06);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  
  --container-width: 1200px;
}

/* 1. Base Reset & Typography */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-weight: 300;
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.2;
}

p {
  font-size: 0.95rem;
}

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

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

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: var(--accent-green);
  border: 3px solid var(--bg-primary);
  border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-gold);
}

/* Custom selection */
::selection {
  background-color: var(--accent-gold-light);
  color: var(--accent-green);
}

/* Buttons System */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.8rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: var(--transition-smooth);
  border: none;
  outline: none;
}

.btn-primary {
  background-color: var(--accent-gold);
  color: white;
}

.btn-primary:hover {
  background-color: var(--accent-gold-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(197, 160, 89, 0.25);
}

.btn-secondary {
  background-color: transparent;
  color: var(--accent-green);
  border: 1px solid var(--accent-green);
}

.btn-secondary:hover {
  background-color: var(--accent-green);
  color: white;
  transform: translateY(-2px);
}

.btn-accent {
  background-color: var(--accent-green);
  color: white;
}

.btn-accent:hover {
  background-color: var(--accent-green-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(27, 59, 43, 0.2);
}

/* 2. Glassmorphic Navigation Bar */
.navbar {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 40px);
  max-width: var(--container-width);
  height: 80px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  box-shadow: var(--glass-shadow);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 30px;
  transition: var(--transition-smooth);
}

.navbar.scrolled {
  top: 0;
  width: 100%;
  border-radius: 0;
  border-left: none;
  border-right: none;
  border-top: none;
  height: 70px;
  box-shadow: 0 10px 40px rgba(27, 59, 43, 0.06);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.logo-icon {
  width: 32px;
  height: 32px;
  stroke: var(--accent-green);
  fill: none;
}

.logo-text {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--accent-green);
}

.nav-links {
  display: flex;
  gap: 20px;
  list-style: none;
  flex-wrap: nowrap;
  white-space: nowrap;
}

.nav-links a {
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-primary);
  opacity: 0.8;
  position: relative;
  white-space: nowrap;
}

/* Master-class alignment fix for Spanish language */
body.lang-es .nav-links {
  gap: 14px;
}

body.lang-es .nav-links a {
  font-size: 0.78rem;
}

.nav-links a:hover {
  opacity: 1;
  color: var(--accent-green);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1.5px;
  background-color: var(--accent-gold);
  transition: var(--transition-smooth);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* Language Toggle Switch */
.lang-toggle {
  display: flex;
  background-color: rgba(27, 59, 43, 0.05);
  border-radius: 30px;
  padding: 4px;
  border: 1px solid var(--glass-border);
  cursor: pointer;
  position: relative;
  width: 80px;
  height: 32px;
  user-select: none;
}

.lang-btn {
  flex: 1;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: var(--transition-fast);
}

.lang-toggle::before {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 36px;
  height: 24px;
  background-color: var(--accent-green);
  border-radius: 20px;
  z-index: 1;
  transition: var(--transition-smooth);
}

body.lang-es .lang-toggle::before {
  left: 39px;
}

body.lang-es .lang-btn.es,
body.lang-en .lang-btn.en {
  color: white;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  stroke: var(--accent-green);
  cursor: pointer;
}

/* 3. Hero Section with Breathing Animation */
.hero {
  position: relative;
  height: 100vh;
  min-height: 650px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: var(--accent-green);
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
  filter: brightness(0.75) contrast(1.05);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(27, 59, 43, 0.4) 0%, rgba(27, 59, 43, 0.7) 100%);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  color: white;
  padding: 0 20px;
  max-width: 900px;
  margin-top: 60px;
}

.hero-subtitle {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.85rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin-bottom: 20px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.15);
  animation: fadeInDown 1.2s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-title {
  font-size: 4rem;
  font-weight: 300;
  margin-bottom: 25px;
  text-shadow: 0 4px 15px rgba(0,0,0,0.25);
  letter-spacing: 0.02em;
  animation: fadeInUp 1.4s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-title span {
  font-weight: 600;
  font-style: italic;
  font-family: var(--font-serif);
}

.hero-description {
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 40px;
  opacity: 0.9;
  text-shadow: 0 2px 6px rgba(0,0,0,0.15);
  line-height: 1.7;
  animation: fadeInUp 1.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
  animation: fadeInUp 1.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* Breathing Breathing Micro-animation */
.btn-breath {
  animation: breathing 3s ease-in-out infinite;
}

@keyframes breathing {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(197, 160, 89, 0.5);
  }
  50% {
    transform: scale(1.04);
    box-shadow: 0 0 0 12px rgba(197, 160, 89, 0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(197, 160, 89, 0);
  }
}

/* 4. Section Layout Utilities */
.section {
  padding: 120px 0;
  width: 100%;
}

.container {
  width: 90%;
  max-width: var(--container-width);
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 70px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.section-tag {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin-bottom: 15px;
  display: block;
}

.section-title {
  font-size: 3rem;
  color: var(--accent-green);
  margin-bottom: 20px;
}

.section-title span {
  font-family: var(--font-serif);
  font-style: italic;
}

.section-desc {
  color: var(--text-muted);
  font-size: 1rem;
}

/* 5. Philosophy / Benefits Section */
.philosophy {
  background-color: var(--bg-secondary);
}

.philosophy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.phil-card {
  background-color: var(--bg-primary);
  padding: 50px 40px;
  border-radius: var(--radius-md);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-soft);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.phil-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-premium);
  border-color: rgba(197, 160, 89, 0.2);
}

.phil-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background-color: var(--accent-gold);
  transition: var(--transition-smooth);
}

.phil-card:hover::before {
  height: 100%;
}

.phil-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 30px;
  stroke: var(--accent-green);
  fill: none;
  stroke-width: 1.5;
}

.phil-card:hover .phil-icon {
  stroke: var(--accent-gold);
  transform: rotate(5deg) scale(1.05);
  transition: var(--transition-smooth);
}

.phil-card h3 {
  font-size: 1.6rem;
  color: var(--accent-green);
  margin-bottom: 15px;
}

.phil-card p {
  color: var(--text-muted);
  line-height: 1.7;
}

/* 6. Treatment Menu Section */
.treatments {
  background-color: var(--bg-primary);
}

.treatments-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.treatment-card {
  background-color: var(--bg-secondary);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--glass-border);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.treatment-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-premium);
}

.treatment-img {
  height: 250px;
  overflow: hidden;
  position: relative;
}

.treatment-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.treatment-card:hover .treatment-img img {
  transform: scale(1.05);
}

.treatment-tag {
  position: absolute;
  top: 20px;
  right: 20px;
  background-color: var(--accent-green);
  color: white;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.treatment-content {
  padding: 35px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.treatment-title {
  font-size: 1.8rem;
  color: var(--accent-green);
  margin-bottom: 12px;
}

.treatment-desc {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 25px;
  line-height: 1.6;
}

.treatment-meta {
  margin-top: auto;
  border-top: 1px solid rgba(27, 59, 43, 0.06);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.treatment-controls {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

/* Time selector pill */
.duration-selector {
  display: flex;
  background-color: var(--bg-primary);
  border-radius: 30px;
  padding: 3px;
  border: 1px solid var(--glass-border);
}

.duration-opt {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 20px;
  cursor: pointer;
  color: var(--text-muted);
  transition: var(--transition-fast);
}

.duration-opt.active {
  background-color: var(--accent-green);
  color: white;
}

.treatment-price {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--accent-gold);
}

/* 7. Interactive Custom Ritual Customizer Widget */
.customizer {
  background-color: var(--bg-secondary);
}

.customizer-box {
  background: var(--bg-primary);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-premium);
  padding: 60px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 60px;
  position: relative;
  overflow: hidden;
}

.customizer-options {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.customizer-step {
  display: flex;
  flex-direction: column;
}

.step-label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.step-number {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: var(--accent-gold);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 600;
}

.step-title {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--accent-green);
}

.options-pill-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 15px;
}

.opt-pill {
  background-color: var(--bg-secondary);
  border: 1.5px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 20px 25px;
  cursor: pointer;
  transition: var(--transition-smooth);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.opt-pill:hover {
  border-color: var(--accent-gold);
  transform: translateX(4px);
}

.opt-pill.selected {
  border-color: var(--accent-green);
  background-color: rgba(27, 59, 43, 0.03);
}

.opt-details {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.opt-name {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--accent-green);
}

.opt-duration {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.opt-price {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--accent-gold);
}

.customizer-checkout {
  background-color: var(--accent-green);
  color: white;
  border-radius: var(--radius-md);
  padding: 50px 40px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-premium);
  position: sticky;
  top: 100px;
}

.checkout-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 25px;
  margin-bottom: 30px;
}

.checkout-title {
  font-size: 2rem;
  margin-bottom: 5px;
}

.checkout-desc {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
}

.checkout-summary {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 35px;
  flex-grow: 1;
}

.summary-item {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  border-bottom: 1px dashed rgba(255,255,255,0.06);
  padding-bottom: 12px;
}

.summary-item .item-title {
  color: rgba(255,255,255,0.85);
  font-weight: 400;
}

.summary-item .item-value {
  font-weight: 500;
  color: var(--accent-gold);
}

.checkout-discount {
  background: rgba(255, 255, 255, 0.06);
  border: 1px dashed var(--accent-gold);
  border-radius: var(--radius-sm);
  padding: 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 30px;
  font-size: 0.8rem;
  color: var(--accent-gold-light);
}

.discount-tag {
  font-weight: 600;
  background-color: var(--accent-gold);
  color: var(--accent-green);
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 0.7rem;
}

.checkout-total {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 25px;
  margin-bottom: 35px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.total-label {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.total-price {
  font-family: var(--font-serif);
  font-size: 2.8rem;
  color: var(--accent-gold);
  font-weight: 600;
}

/* 8. Trust & Customer Reviews Grid */
.trust {
  background-color: var(--bg-primary);
}

.trust-stats {
  display: flex;
  justify-content: center;
  gap: 80px;
  margin-bottom: 60px;
  border-bottom: 1px solid rgba(27, 59, 43, 0.06);
  padding-bottom: 40px;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.stat-score {
  font-family: var(--font-serif);
  font-size: 3rem;
  font-weight: 700;
  color: var(--accent-green);
  display: flex;
  align-items: center;
  gap: 5px;
}

.stat-score svg {
  fill: var(--accent-gold);
  stroke: none;
  width: 28px;
  height: 28px;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 5px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.review-card {
  background-color: var(--bg-secondary);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 40px;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.review-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.reviewer-info {
  display: flex;
  align-items: center;
  gap: 15px;
}

.reviewer-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--bg-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-weight: 600;
  color: var(--accent-green);
  border: 1px solid var(--glass-border);
}

.reviewer-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent-green);
}

.reviewer-origin {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.review-source {
  width: 24px;
  height: 24px;
  opacity: 0.5;
}

.review-stars {
  display: flex;
  gap: 3px;
}

.star-icon {
  width: 14px;
  height: 14px;
  fill: var(--accent-gold);
}

.review-text {
  font-size: 0.9rem;
  color: var(--text-primary);
  line-height: 1.6;
  font-style: italic;
}

/* 9. Contact & Booking Form Section */
.contact {
  background-color: var(--bg-secondary);
}

.contact-split {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.contact-block h3 {
  font-size: 1.6rem;
  color: var(--accent-green);
  margin-bottom: 20px;
}

.contact-details-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.contact-icon {
  width: 24px;
  height: 24px;
  stroke: var(--accent-gold);
  fill: none;
  stroke-width: 1.5;
  margin-top: 3px;
  flex-shrink: 0;
}

.contact-text {
  font-size: 0.95rem;
  color: var(--text-primary);
}

.contact-text strong {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 3px;
}

.contact-form {
  background-color: var(--bg-primary);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 50px;
  box-shadow: var(--shadow-soft);
}

.form-title {
  font-size: 2rem;
  color: var(--accent-green);
  margin-bottom: 10px;
}

.form-subtitle {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 35px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 30px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group-full {
  grid-column: span 2;
}

.form-label {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--accent-green);
  letter-spacing: 0.05em;
}

.form-input {
  background-color: var(--bg-secondary);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  padding: 12px 18px;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  color: var(--text-primary);
  outline: none;
  transition: var(--transition-fast);
}

.form-input:focus {
  border-color: var(--accent-gold);
}

textarea.form-input {
  resize: vertical;
  min-height: 120px;
}

/* 10. Footer */
.footer {
  background-color: var(--accent-green);
  color: white;
  padding: 80px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.2fr;
  gap: 60px;
  margin-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding-bottom: 50px;
}

.footer-about .logo-text {
  color: white;
}

.footer-about .logo-icon {
  stroke: var(--accent-gold);
}

.footer-about-desc {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  margin-top: 25px;
  margin-bottom: 30px;
  line-height: 1.7;
  max-width: 350px;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: var(--transition-fast);
}

.social-btn:hover {
  background-color: var(--accent-gold);
  color: var(--accent-green);
  transform: translateY(-2px);
}

.social-btn svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

.footer-title {
  font-size: 1.4rem;
  margin-bottom: 25px;
  color: var(--accent-gold);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.footer-links a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  transition: var(--transition-fast);
}

.footer-links a:hover {
  color: var(--accent-gold);
  padding-left: 4px;
}

.footer-hours-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.hours-item {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
}

.hours-days {
  font-weight: 500;
  color: white;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
}

/* 11. Interactive Booking Dialog / Modal */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(27, 59, 43, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-smooth);
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.modal-box {
  background-color: var(--bg-primary);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-premium);
  width: 95%;
  max-width: 550px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
  transform: scale(0.9) translateY(20px);
  transition: var(--transition-smooth);
}

.modal-overlay.active .modal-box {
  transform: scale(1) translateY(0);
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(255, 255, 255, 0.15);
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: var(--transition-fast);
  z-index: 10;
}

.modal-close:hover {
  background-color: var(--accent-gold);
  color: var(--accent-green);
}

.modal-close svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  stroke-width: 2.5;
}

.modal-header {
  background-color: var(--accent-green);
  color: white;
  padding: 25px 30px;
}

.modal-title {
  font-size: 1.8rem;
  margin-bottom: 5px;
}

.modal-desc {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
}

.modal-body {
  padding: 25px 30px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  overflow-y: auto;
  flex: 1;
}

/* Calendar grid mockup */
.calendar-mockup {
  border: 1px solid var(--glass-border);
  background-color: var(--bg-secondary);
  border-radius: var(--radius-md);
  padding: 20px;
}

.calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--accent-green);
}

.calendar-nav {
  display: flex;
  gap: 10px;
  cursor: pointer;
  color: var(--accent-gold);
}

.calendar-days-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 10px;
  text-align: center;
}

.cal-day-label {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--text-muted);
  padding-bottom: 5px;
}

.cal-day {
  font-size: 0.8rem;
  padding: 8px 0;
  border-radius: 50%;
  cursor: pointer;
  transition: var(--transition-fast);
  color: var(--text-primary);
}

.cal-day:hover:not(.empty):not(.disabled) {
  background-color: var(--accent-gold-light);
  color: var(--accent-green);
}

.cal-day.active {
  background-color: var(--accent-green) !important;
  color: white !important;
  font-weight: 600;
}

.cal-day.disabled {
  opacity: 0.2;
  cursor: not-allowed;
}

/* Time slots selection */
.time-slots {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.time-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.time-slot {
  background-color: var(--bg-secondary);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 10px 5px;
  font-size: 0.8rem;
  font-weight: 500;
  text-align: center;
  cursor: pointer;
  transition: var(--transition-fast);
}

.time-slot:hover:not(.disabled) {
  border-color: var(--accent-gold);
}

.time-slot.selected {
  background-color: var(--accent-green) !important;
  border-color: var(--accent-green) !important;
}

.time-slot.selected strong {
  color: white !important;
}

.time-slot.selected span {
  color: rgba(255, 255, 255, 0.8) !important;
}

/* 12. Mobile Sticky Actions Footer */
.sticky-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: var(--glass-bg);
  border-top: 1px solid var(--glass-border);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  box-shadow: 0 -8px 30px rgba(27, 59, 43, 0.08);
  display: none;
  grid-template-columns: 1fr 1fr;
  padding: 12px 20px;
  gap: 15px;
  z-index: 999;
}

.sticky-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 0;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  color: white;
}

.sticky-btn.wa {
  background-color: #25D366;
}

.sticky-btn.wa:hover {
  background-color: #20BA5A;
}

.sticky-btn.book {
  background-color: var(--accent-green);
}

.sticky-btn.book:hover {
  background-color: var(--accent-green-light);
}

.sticky-btn svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
}

/* 13. Dynamic Toast Notifications */
.toast-container {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  background: var(--accent-green);
  color: white;
  border-left: 4px solid var(--accent-gold);
  border-radius: var(--radius-sm);
  padding: 18px 25px;
  box-shadow: var(--shadow-premium);
  display: flex;
  align-items: center;
  gap: 15px;
  transform: translateY(50px);
  opacity: 0;
  animation: slideInUp 0.5s cubic-bezier(0.16, 1, 0.3, 1) both;
  max-width: 350px;
}

.toast-icon {
  width: 24px;
  height: 24px;
  stroke: var(--accent-gold);
  fill: none;
}

.toast-msg {
  font-size: 0.85rem;
  font-weight: 400;
  line-height: 1.4;
}

/* 14. Responsive Layouts */
@media (max-width: 1024px) {
  .philosophy-grid,
  .treatments-grid,
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .customizer-box {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 40px;
  }
  .customizer-checkout {
    position: relative;
    top: 0;
  }
  .contact-split {
    grid-template-columns: 1fr;
    gap: 50px;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 15px;
  }
  .navbar {
    padding: 0 20px;
    height: 70px;
    top: 10px;
    width: calc(100% - 20px);
  }
  .logo .logo-text {
    display: none;
  }
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 80px;
    left: 20px;
    right: 20px;
    width: auto;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    box-shadow: var(--glass-shadow);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 25px;
    gap: 15px !important;
    z-index: 999;
  }
  .nav-links.active {
    display: flex !important;
    animation: mobileMenuFade 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  }
  .nav-links a {
    font-size: 1rem !important;
    text-align: center;
    width: 100%;
    padding: 8px 0;
    display: block;
    opacity: 0.9;
  }
  .nav-actions .btn {
    display: none;
  }
  .mobile-menu-btn {
    display: block;
    outline: none;
  }
  
  @keyframes mobileMenuFade {
    from {
      opacity: 0;
      transform: translateY(-15px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  .hero-title {
    font-size: 2.8rem;
  }
  .section {
    padding: 80px 0;
  }
  .section-title {
    font-size: 2.4rem;
  }
  .philosophy-grid,
  .treatments-grid,
  .reviews-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    gap: 40px;
  }
  .sticky-footer {
    display: grid;
  }
  body {
    padding-bottom: 80px; /* Leave space for sticky footer */
  }
  .toast-container {
    bottom: 90px;
    right: 20px;
    left: 20px;
  }
  .contact-form {
    padding: 30px 20px;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .form-group-full {
    grid-column: span 1;
  }
  .time-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .modal-box {
    width: 95%;
    max-height: 95vh;
  }
  .modal-body {
    padding: 20px;
    gap: 15px;
  }
  .modal-header {
    padding: 20px 20px;
  }
  .modal-title {
    font-size: 1.8rem;
  }
}

/* 15. Keyframes & Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInUp {
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* 16. Dynamic Category Filters & Selector Modal Styles */
.category-card {
  transition: var(--transition-smooth);
}
.category-card:hover {
  transform: translateY(-8px);
  border-color: var(--accent-gold) !important;
  box-shadow: var(--shadow-premium) !important;
  background: var(--bg-secondary) !important;
}
.category-card:hover .category-icon-wrapper {
  background: var(--accent-green) !important;
  color: white !important;
  transform: rotate(5deg) scale(1.05);
  transition: var(--transition-smooth);
}

.filter-pill {
  background: var(--bg-secondary);
  border: 1px solid var(--glass-border);
  color: var(--text-muted);
  padding: 8px 24px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-soft);
  outline: none;
}
.filter-pill:hover, .filter-pill.active {
  background: var(--accent-green);
  color: white;
  border-color: var(--accent-green);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(27, 59, 43, 0.15);
}
@media (max-width: 568px) {
  #categoryModal .modal-body {
    grid-template-columns: 1fr !important;
    gap: 15px !important;
  }
}

