:root {
  --sage: #a8c3a0;
  --beige: #f5efe6;
  --white: #ffffff;
  --charcoal: #2b2b2b;
  --gold: #d4a373;
  --muted: #6a6a6a;
  --shadow: 0 14px 40px rgba(43, 43, 43, 0.12);
  --radius: 18px;
  --transition: 0.35s ease;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", sans-serif;
  background: linear-gradient(180deg, #ffffff 0%, #f9f5ef 55%, #f2f8f1 100%);
  color: var(--charcoal);
  line-height: 1.7;
}

img {
  width: 100%;
  display: block;
  border-radius: var(--radius);
  object-fit: cover;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

.container {
  width: min(1140px, 92%);
  margin: 0 auto;
}

.section {
  padding: 5.5rem 0;
}

.section-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  margin-bottom: 0.8rem;
}

.section-text {
  color: var(--muted);
  max-width: 64ch;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  background: var(--gold);
  color: var(--white);
  border: 1px solid transparent;
  padding: 0.9rem 1.45rem;
  border-radius: 999px;
  font-weight: 600;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(212, 163, 115, 0.35);
}

.btn-outline {
  background: transparent;
  border-color: var(--white);
  color: var(--white);
}

.btn-outline.dark {
  border-color: var(--charcoal);
  color: var(--charcoal);
}

.glass {
  background: rgba(255, 255, 255, 0.62);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(245, 239, 230, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(168, 195, 160, 0.3);
}

.navbar {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  font-family: "Playfair Display", serif;
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.4px;
}

.logo span {
  color: var(--gold);
}

.nav-links {
  display: none;
  gap: 1.2rem;
  align-items: center;
}

.nav-link {
  position: relative;
  font-weight: 500;
  color: #3c3c3c;
}

.nav-link::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  background: var(--gold);
  left: 0;
  bottom: -5px;
  transition: width var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-actions {
  display: none;
}

.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 145%;
  right: 0;
  width: 250px;
  padding: 0.7rem;
  border-radius: 14px;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: var(--transition);
}

.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu a {
  display: block;
  padding: 0.6rem 0.7rem;
  border-radius: 10px;
}

.dropdown-menu a:hover {
  background: rgba(168, 195, 160, 0.22);
}

.menu-btn {
  border: none;
  background: transparent;
  font-size: 1.7rem;
  color: var(--charcoal);
}

.mobile-menu {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition);
}

.mobile-menu.open {
  max-height: 520px;
}

.mobile-menu .inner {
  padding: 0.8rem 0 1.3rem;
}

.mobile-menu a {
  display: block;
  padding: 0.62rem 0;
}

.mobile-policy {
  margin-top: 0.6rem;
  padding-top: 0.6rem;
  border-top: 1px solid rgba(43, 43, 43, 0.15);
}

.hero {
  min-height: 92vh;
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(20, 20, 20, 0.4), rgba(20, 20, 20, 0.44)),
    url("https://images.unsplash.com/photo-1506126613408-eca07ce68773?auto=format&fit=crop&w=1600&q=80")
      center/cover no-repeat;
  z-index: -2;
  transform: scale(1.02);
}

.hero-content {
  text-align: center;
  color: var(--white);
  width: min(760px, 92%);
  animation: fadeUp 1s ease both;
}

.hero h1 {
  font-family: "Playfair Display", serif;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.2;
}

.hero p {
  margin: 1rem 0 1.8rem;
  font-size: clamp(1rem, 2vw, 1.2rem);
}

.hero-cta {
  display: flex;
  gap: 0.9rem;
  justify-content: center;
  flex-wrap: wrap;
}

.split {
  display: grid;
  gap: 1.6rem;
  align-items: center;
}

.cards {
  display: grid;
  gap: 1.2rem;
}

.service-card,
.feature-card,
.testimonial-card {
  border-radius: var(--radius);
  padding: 1rem;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}

.service-card:hover,
.feature-card:hover,
.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(43, 43, 43, 0.15);
}

.service-card h3,
.feature-card h3 {
  font-family: "Lora", serif;
  margin: 0.95rem 0 0.3rem;
}

.service-card p,
.feature-card p,
.testimonial-card p {
  color: var(--muted);
}

.service-card img {
  aspect-ratio: 16 / 10;
  transition: transform var(--transition);
}

.service-card:hover img {
  transform: scale(1.04);
}

.feature-grid {
  display: grid;
  gap: 1rem;
  margin-top: 1.4rem;
}

.testimonial-track {
  display: grid;
  gap: 1rem;
}

.testimonial-author {
  margin-top: 0.9rem;
  font-weight: 600;
}

.cta-banner {
  background: linear-gradient(120deg, rgba(168, 195, 160, 0.95), rgba(212, 163, 115, 0.9));
  color: var(--white);
  text-align: center;
  border-radius: var(--radius);
  padding: 2.6rem 1rem;
  box-shadow: var(--shadow);
}

.cta-banner h2 {
  font-family: "Playfair Display", serif;
  font-size: clamp(1.6rem, 3vw, 2.7rem);
}

.cta-banner p {
  margin: 0.8rem auto 1.4rem;
  max-width: 62ch;
}

.page-hero {
  padding: 6.2rem 0 3.2rem;
  text-align: center;
}

.page-hero h1 {
  font-family: "Playfair Display", serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.alt-service {
  display: grid;
  gap: 1.4rem;
  align-items: center;
  margin-bottom: 2rem;
}

.benefits {
  margin: 1rem 0 1.3rem;
}

.benefits li {
  margin-bottom: 0.35rem;
}

.trainer-grid {
  display: grid;
  gap: 1rem;
}

.trainer-card {
  text-align: center;
  padding: 1rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.contact-layout {
  display: grid;
  gap: 1.4rem;
}

form {
  padding: 1.2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.field {
  margin-bottom: 0.9rem;
}

label {
  display: inline-block;
  margin-bottom: 0.35rem;
  font-weight: 500;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid rgba(43, 43, 43, 0.2);
  padding: 0.72rem 0.85rem;
  border-radius: 12px;
  font: inherit;
  background: var(--white);
}

textarea {
  min-height: 130px;
  resize: vertical;
}

.error {
  color: #b0413e;
  font-size: 0.88rem;
  min-height: 1.2rem;
  display: block;
}

.map {
  min-height: 250px;
  border-radius: var(--radius);
  background: linear-gradient(140deg, #d9e6d5, #f4dfc8);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 1rem;
}

.info-card {
  padding: 1.1rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.legal {
  max-width: 85ch;
  margin: 0 auto;
}

.legal h2 {
  margin: 1.4rem 0 0.55rem;
  font-family: "Lora", serif;
}

.site-footer {
  margin-top: 2.2rem;
  background: #1f2720;
  color: #ebf3ea;
}

.footer-grid {
  padding: 3rem 0 2rem;
  display: grid;
  gap: 1.4rem;
}

.footer-grid h3 {
  font-family: "Lora", serif;
  margin-bottom: 0.65rem;
}

.footer-links a {
  display: inline-block;
  margin: 0.18rem 0;
  color: #e4ece3;
}

.socials {
  display: flex;
  gap: 0.55rem;
}

.socials a {
  border: 1px solid rgba(255, 255, 255, 0.45);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
}

.newsletter {
  display: flex;
  gap: 0.5rem;
}

.newsletter input {
  border: none;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.95rem 0;
  text-align: center;
  font-size: 0.92rem;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(25px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (min-width: 760px) {
  .nav-links,
  .nav-actions {
    display: flex;
  }

  .menu-btn,
  .mobile-menu {
    display: none;
  }

  .split {
    grid-template-columns: 1.05fr 1fr;
  }

  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .testimonial-track {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .alt-service {
    grid-template-columns: 1fr 1fr;
  }

  .alt-service:nth-child(even) .service-image {
    order: 2;
  }

  .alt-service:nth-child(even) .service-content {
    order: 1;
  }

  .trainer-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .contact-layout {
    grid-template-columns: 1.15fr 0.85fr;
  }

  .footer-grid {
    grid-template-columns: 1.2fr 1fr 1fr 1.2fr;
  }
}
