/* =========================================================================
   BASE SETTINGS & CSS VARIABLES (LIGHT & DARK MODE)
   ========================================================================= */
:root {
  /* Premium Color Palette */
  /* Sage Green Theme */
  --primary: #5f8670;
  --primary-light: #7da58e;
  --primary-dark: #446452;
  --primary-50: #edf3f0;

  /* Neutral / Slate Theme */
  --surface-color: #ffffff;
  --bg-color: #faf9f6;
  /* Soft off-white */
  --bg-light: #f1f4f2;

  /* Text Colors */
  --text-main: #2d3748;
  --text-muted: #718096;
  --text-light: #ffffff;

  /* Accents */
  --accent: #d2b48c;
  /* Warm contrast for acupuncture/wellness feel */

  /* Typography */
  --font-main: 'Outfit', sans-serif;

  /* Shadows & Glassmorphism */
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  --shadow-md: 0 10px 25px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.03);
  --shadow-lg: 0 20px 35px -5px rgba(45, 55, 72, 0.08);
  --glass-bg: rgba(255, 255, 255, 0.85);
  --glass-border: rgba(255, 255, 255, 0.4);

  /* Transitions */
  --transit-fast: 0.2s ease;
  --transit-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transit-slow: 0.8s cubic-bezier(0.16, 1, 0.3, 1);

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;

  /* Layout */
  --nav-height: 80px;
}

/* Dark Mode Overrides */
[data-theme="dark"] {
  --surface-color: #1e293b;
  --bg-color: #0f172a;
  --bg-light: #162032;
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-light: #ffffff;
  --primary-50: #1e3a2c;
  --glass-bg: rgba(30, 41, 59, 0.85);
  --glass-border: rgba(255, 255, 255, 0.1);
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -1px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 10px 25px -3px rgba(0, 0, 0, 0.3), 0 4px 6px -2px rgba(0, 0, 0, 0.2);
  --shadow-lg: 0 20px 35px -5px rgba(0, 0, 0, 0.4);
}

/* =========================================================================
   RESET & TYPOGRAPHY
   ========================================================================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
  /* Offset for sticky header */
}

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

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 600;
  line-height: 1.2;
  color: var(--text-main);
}

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

ul {
  list-style: none;
}

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 5%;
}

.section {
  padding: 100px 0;
}

.bg-light {
  background-color: var(--bg-light);
}

/* =========================================================================
   LAYOUT UTILS
   ========================================================================= */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 60px;
  align-items: center;
}

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

/* =========================================================================
   COMPONENTS
   ========================================================================= */
/* Buttons */
.mobile-only-btns {
  display: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: var(--radius-full);
  font-weight: 500;
  font-size: 1rem;
  transition: all var(--transit-normal);
  cursor: pointer;
  border: 2px solid transparent;
  gap: 8px;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background-color: var(--primary);
  color: var(--text-light);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  color: var(--text-light);
}

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

.btn-outline:hover {
  background-color: var(--primary);
  color: var(--text-light);
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1.1rem;
}

.btn-block {
  width: 100%;
}

.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary);
  font-weight: 500;
  position: relative;
}

.btn-link i {
  transition: transform var(--transit-fast);
}

.btn-link:hover i {
  transform: translateX(4px);
}

/* Section Headers */
.section-header {
  margin-bottom: 40px;
}

.section-header.center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.subtitle {
  display: inline-block;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.title {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.text-description {
  color: var(--text-muted);
  font-size: 1.125rem;
  margin-bottom: 24px;
}

.max-w {
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* =========================================================================
   HEADER & NAVIGATION
   ========================================================================= */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  z-index: 1000;
  transition: all var(--transit-normal);
  display: flex;
  align-items: center;
}

.header.scrolled {
  background-color: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
  border-bottom: 1px solid var(--glass-border);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--text-main);
}

.logo-icon {
  color: var(--primary);
  font-size: 2rem;
  display: flex;
}

.logo strong {
  font-weight: 700;
}

.nav-list {
  display: flex;
  gap: 32px;
}

.nav-link {
  font-weight: 500;
  font-size: 1rem;
  color: var(--text-main);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary);
  transition: width var(--transit-normal);
}

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

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

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.75rem;
  color: var(--text-main);
  cursor: pointer;
}

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

.theme-toggle {
  background: none;
  border: none;
  color: var(--text-main);
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transit-fast);
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

.theme-toggle:hover {
  background-color: var(--primary-50);
  color: var(--primary);
}

/* =========================================================================
   HERO SECTION
   ========================================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-height);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: -20%;
  right: -10%;
  width: 800px;
  height: 800px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--primary-50) 0%, rgba(255, 255, 255, 0) 70%);
  z-index: -1;
  opacity: 0.8;
}

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

.badge {
  display: inline-block;
  padding: 6px 16px;
  background-color: var(--primary-50);
  color: var(--primary);
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.875rem;
  margin-bottom: 24px;
}

.hero-title {
  font-size: 3.5rem;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

.hero-title span {
  color: var(--primary);
  position: relative;
}

.hero-title span::after {
  content: '';
  position: absolute;
  bottom: 8px;
  left: 0;
  width: 100%;
  height: 12px;
  background-color: var(--primary-50);
  z-index: -1;
  border-radius: 4px;
}

.hero-text {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 40px;
  max-width: 90%;
}

.hero-actions {
  display: flex;
  gap: 16px;
}

/* Hero Image & Cards */
.hero-image {
  position: relative;
}

.image-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  display: flex;
  justify-content: center;
}

.main-img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  z-index: 1;
  position: relative;
  max-height: 600px;
  object-fit: cover;
}

.floating-card {
  position: absolute;
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  padding: 16px 24px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: var(--shadow-md);
  z-index: 2;
  animation: float 6s ease-in-out infinite;
}

.card-1 {
  top: 10%;
  left: -10%;
}

.card-2 {
  bottom: 15%;
  right: -5%;
  animation-delay: 2s;
}

.icon-box {
  width: 48px;
  height: 48px;
  background-color: var(--primary-50);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

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

.card-text span {
  font-size: 0.875rem;
  color: var(--text-muted);
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-15px);
  }

  100% {
    transform: translateY(0px);
  }
}

/* =========================================================================
   ABOUT SECTION
   ========================================================================= */
.image-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.image-grid img {
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.img-1 {
  margin-top: 40px;
}

.experience-badge {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: var(--primary);
  color: var(--text-light);
  width: 140px;
  height: 140px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: 0 0 0 10px rgba(255, 255, 255, 0.5);
  z-index: 2;
}

.experience-badge .number {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1;
}

.experience-badge .text {
  font-size: 0.875rem;
  font-weight: 500;
}

.feature-list {
  margin-top: 32px;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 1.05rem;
  font-weight: 500;
}

.feature-list i {
  color: var(--primary);
  font-size: 1.5rem;
}

/* =========================================================================
   SERVICES SECTION
   ========================================================================= */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-top: 50px;
}

.service-card {
  background-color: var(--surface-color);
  padding: 40px 32px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: all var(--transit-normal);
  border: 1px solid rgba(0, 0, 0, 0.03);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: var(--primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transit-normal);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.card-icon {
  width: 64px;
  height: 64px;
  background-color: var(--primary-50);
  color: var(--primary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 24px;
  transition: all var(--transit-normal);
}

.service-card:hover .card-icon {
  background-color: var(--primary);
  color: var(--text-light);
}

.card-title {
  font-size: 1.5rem;
  margin-bottom: 16px;
}

.card-text {
  color: var(--text-muted);
  margin-bottom: 24px;
}

/* =========================================================================
   FAQ SECTION
   ========================================================================= */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.accordion-item {
  background-color: var(--surface-color);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transit-normal);
}

.accordion-header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  color: var(--text-main);
  font-weight: 600;
  font-size: 1.125rem;
  font-family: inherit;
  transition: background-color var(--transit-fast);
}

.accordion-header:hover {
  background-color: var(--primary-50);
}

.accordion-icon {
  color: var(--primary);
  font-size: 1.25rem;
  transition: transform var(--transit-normal);
  display: flex;
  align-items: center;
  justify-content: center;
}

.accordion-item.active .accordion-icon {
  transform: rotate(45deg);
  /* Turns the plus into an X */
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transit-normal), padding var(--transit-normal);
  background-color: var(--surface-color);
  color: var(--text-muted);
}

.accordion-item.active .accordion-content {
  padding: 0 24px 20px;
  max-height: 500px;
  /* Arbitrary large number to allow content to expand */
}

/* =========================================================================
   CONTACT SECTION
   ========================================================================= */
.info-items {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 40px;
}

.info-card {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.info-card .icon {
  width: 50px;
  height: 50px;
  background-color: var(--surface-color);
  color: var(--primary);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.info-card h4 {
  font-size: 1.125rem;
  margin-bottom: 4px;
}

.info-card p {
  color: var(--text-muted);
}

.contact-form-wrapper {
  background-color: var(--surface-color);
  padding: 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.contact-form h3 {
  font-size: 1.75rem;
  margin-bottom: 30px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--text-main);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 1rem;
  color: var(--text-main);
  background-color: #f8fafc;
  transition: all var(--transit-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  background-color: var(--surface-color);
  box-shadow: 0 0 0 3px var(--primary-50);
}

/* =========================================================================
   WHATSAPP FLOATING BUTTON
   ========================================================================= */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 40px;
  right: 40px;
  background-color: #25d366;
  color: #FFF;
  border-radius: 50%;
  text-align: center;
  font-size: 30px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transit-fast);
}

.whatsapp-float:hover {
  transform: scale(1.1);
  color: #FFF;
}

.bg-pulse {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }

  70% {
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* =========================================================================
   FOOTER
   ========================================================================= */
.footer {
  background-color: #1a202c;
  color: var(--text-light);
  padding: 80px 0 30px;
}

.footer-logo .logo-icon,
.footer-logo .logo-text {
  color: var(--text-light);
}

.footer-text {
  color: #a0aec0;
  margin: 20px 0;
}

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

.social-links a {
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  transition: all var(--transit-fast);
}

.social-links a:hover {
  background-color: var(--primary);
  transform: translateY(-3px);
}

.links-col h4 {
  color: var(--text-light);
  font-size: 1.25rem;
  margin-bottom: 24px;
}

.links-col ul li {
  margin-bottom: 12px;
}

.links-col ul li a {
  color: #a0aec0;
}

.links-col ul li a:hover {
  color: var(--primary-light);
  padding-left: 4px;
}

.footer-bottom {
  margin-top: 60px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #a0aec0;
  font-size: 0.875rem;
}

.footer-legal {
  display: flex;
  gap: 20px;
}

.footer-legal a:hover {
  color: var(--primary-light);
}

/* =========================================================================
   ANIMATIONS UTILS (JS Target)
   ========================================================================= */
.reveal-up,
.reveal-left,
.reveal-right {
  opacity: 0;
  visibility: hidden;
  transition: all var(--transit-slow);
}

.reveal-up {
  transform: translateY(40px);
}

.reveal-left {
  transform: translateX(-40px);
}

.reveal-right {
  transform: translateX(40px);
}

.reveal-up.active,
.reveal-left.active,
.reveal-right.active {
  opacity: 1;
  visibility: visible;
  transform: translate(0);
}

/* =========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================= */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 3rem;
  }

  .grid-2 {
    gap: 40px;
  }
}

@media (max-width: 900px) {
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: var(--nav-height);
    left: -100%;
    width: 100%;
    height: calc(100vh - var(--nav-height));
    background-color: var(--surface-color);
    flex-direction: column;
    padding: 40px 5%;
    transition: left var(--transit-normal);
    box-shadow: var(--shadow-md);
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-list {
    flex-direction: column;
    align-items: center;
    gap: 32px;
  }

  .nav-btn {
    display: none;
    /* Hide on mobile to save space, or move into menu */
  }

  .mobile-only-btns {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid var(--glass-border);
  }

  .mobile-toggle {
    display: block;
  }

  .grid-2 {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: calc(var(--nav-height) + 40px);
    text-align: center;
  }

  .hero-actions {
    justify-content: center;
  }

  .floating-card {
    display: none;
    /* Simplify on mobile */
  }

  .about-content {
    order: -1;
    /* Text first on mobile */
  }

  .section-header.center {
    text-align: left;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }
}

@media (max-width: 600px) {
  .services-grid {
    grid-template-columns: 1fr;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .btn-lg {
    padding: 14px 24px;
    font-size: 1rem;
  }
}