:root {
  --green: #5f7d6b;
  --green-dark: #4f6b5a;
  --dark: #20352e;
  --cream: #f7f1ea;
  --soft: #e7eee8;
  --white: #ffffff;
  --shadow: rgba(0,0,0,0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--dark);
  font-family: 'Poppins', sans-serif;
}

/* Top contact bar */
.topbar {
  background: var(--green);
  color: white;
  padding: 9px 8%;
  display: flex;
  justify-content: space-between;
  font-size: 14px;
}

/* Main header */
.main-header {
  background: rgba(255,255,255,0.94);
  padding: 16px 8%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(6px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.04);
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.leaf {
  font-size: 38px;
  color: var(--green);
}

.logo h1 {
  font-family: 'Playfair Display', serif;
  margin: 0;
  letter-spacing: 5px;
  font-size: 30px;
}

.logo p {
  margin: 0;
  letter-spacing: 6px;
  font-size: 12px;
}

nav a {
  margin: 0 16px;
  text-decoration: none;
  color: var(--dark);
  font-weight: 500;
  transition: color 0.25s ease;
}

nav a:hover {
  color: var(--green);
}

nav .active {
  border-bottom: 2px solid var(--green);
  padding-bottom: 6px;
}

.header-btn,
.btn,
.cta-btn {
  background: var(--green);
  color: white;
  padding: 14px 28px;
  border-radius: 999px;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
  font-size: 13px;
  transition: all 0.3s ease;
}

.header-btn:hover,
.btn:hover {
  background: var(--green-dark);
  transform: translateY(-2px);
}

/* Hero */
.hero {
  min-height: 520px;
  background:
    linear-gradient(
      90deg,
      rgba(247,241,234,0.98) 0%,
      rgba(247,241,234,0.78) 40%,
      rgba(247,241,234,0.15) 75%
    ),
    url("https://images.unsplash.com/photo-1599901860904-17e6ed7083a0?auto=format&fit=crop&w=1800&q=80") center/cover;
  display: flex;
  align-items: center;
  padding: 80px 8%;
}

.hero-content {
  max-width: 520px;
  animation: fadeInUp 1s ease both;
}

.hero h2 {
  font-family: 'Playfair Display', serif;
  font-size: 68px;
  margin: 0;
  line-height: 1;
}

.hero h3 {
  font-family: 'Great Vibes', cursive;
  color: var(--green);
  font-size: 64px;
  margin: 8px 0 24px;
  font-weight: 400;
}

.hero p {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  line-height: 1.5;
}

.hero-buttons {
  margin-top: 28px;
}

.btn-outline {
  color: var(--dark);
  padding: 13px 28px;
  border: 1px solid var(--green);
  border-radius: 999px;
  text-decoration: none;
  margin-left: 12px;
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-outline:hover {
  background: var(--green);
  color: white;
  transform: translateY(-2px);
}

/* Benefits */
.benefits {
  background: var(--soft);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 26px 8%;
  gap: 20px;
  text-align: center;
}

.benefits div {
  transition: transform 0.3s ease;
}

.benefits div:hover {
  transform: translateY(-4px);
}

.benefits span {
  font-size: 28px;
}

.benefits strong {
  display: block;
  margin-top: 5px;
}

.benefits p {
  margin: 4px 0 0;
  font-size: 13px;
}

/* Services */
.services-preview {
  padding: 58px 8%;
  text-align: center;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--green);
  font-size: 13px;
  font-weight: 600;
}

.services-preview h2 {
  font-family: 'Playfair Display', serif;
  font-size: 40px;
  margin: 8px 0;
}

.intro {
  max-width: 650px;
  margin: 0 auto 34px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}

.service-card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 12px 30px var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.12);
}

.service-card .image {
  height: 150px;
  background-size: cover;
  background-position: center;
  transition: transform 0.4s ease;
}

.service-card:hover .image {
  transform: scale(1.04);
}

.pilates { background-image: url("images/one-on-one-pilates.jpg");
}

.yoga {
  background-image: url("https://images.unsplash.com/photo-1518611012118-696072aa579a?auto=format&fit=crop&w=900&q=80");
}

.massage {
  background-image: url("https://images.unsplash.com/photo-1600334129128-685c5582fd35?auto=format&fit=crop&w=900&q=80");
}

.wellness {
  background-image: url("https://images.unsplash.com/photo-1501004318641-b39e6451bec6?auto=format&fit=crop&w=900&q=80");
}
.service-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 23px;
  margin: 18px 16px 8px;
}

.service-card p {
  padding: 0 18px;
  font-size: 14px;
}

.service-card a {
  display: inline-block;
  margin: 14px 0 22px;
  color: var(--dark);
  text-decoration: none;
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  transition: color 0.25s ease;
}

.service-card a:hover {
  color: var(--green);
}

/* CTA */
.cta {
  background: var(--green);
  color: white;
  padding: 34px 8%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 70px;
  text-align: center;
}

.cta h2 {
  font-family: 'Playfair Display', serif;
  font-size: 34px;
  margin: 0;
}

.cta p {
  margin: 6px 0 0;
}

.cta-btn {
  background: white;
  color: var(--dark);
}

.cta-btn:hover {
  background: var(--cream);
  transform: translateY(-2px);
}

/* Animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Mobile */
@media (max-width: 900px) {
  .topbar,
  .main-header,
  .cta {
    flex-direction: column;
    gap: 14px;
  }

  .topbar {
    text-align: center;
  }

  nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }

  .header-btn {
    display: none;
  }

  .hero {
    min-height: 460px;
    padding: 60px 7%;
    background:
      linear-gradient(
        rgba(247,241,234,0.9),
        rgba(247,241,234,0.72)
      ),
      url("https://images.unsplash.com/photo-1599901860904-17e6ed7083a0?auto=format&fit=crop&w=1800&q=80") center/cover;
  }

  .hero h2 {
    font-size: 48px;
  }

  .hero h3 {
    font-size: 48px;
  }

  .hero p {
    font-size: 18px;
  }

  .benefits,
  .service-grid {
    grid-template-columns: 1fr;
  }

  .btn-outline {
    display: inline-block;
    margin: 12px 0 0;
  }
}