/* =============================================
   YESS MASSAGE v3 — Stylesheet
   Palette: cream #F0F6EC | sand #D4E8CB | sage #8B9E7E | forest #4A7C5A
   Fonts: Cormorant Garamond + Inter
   ============================================= */

/* ---------- RESET & BASE ---------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --cream: #F0F6EC;
  --sand: #D4E8CB;
  --sand-dark: #BBDAB2;
  --sage: #8B9E7E;
  --sage-dark: #6E8460;
  --sage-light: #A8BCAA;
  --gold: #4A7C5A;
  --gold-dark: #3A6447;
  --dark: #141C14;
  --dark-mid: #1E2C1E;
  --text: #253525;
  --text-mid: #4E6A4E;
  --text-light: #72917A;
  --white: #FFFFFF;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --shadow-sm: 0 2px 12px rgba(30, 50, 30, 0.06);
  --shadow-md: 0 8px 32px rgba(30, 50, 30, 0.10);
  --shadow-lg: 0 20px 60px rgba(30, 50, 30, 0.14);

  --transition: 240ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 400ms cubic-bezier(0.4, 0, 0.2, 1);

  --header-h: 72px;
  --max-w: 1200px;
}

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

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* ---------- UTILITIES ---------- */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

@media (min-width: 768px) {
  .container { padding: 0 40px; }
}

@media (min-width: 1200px) {
  .container { padding: 0 48px; }
}

.section {
  padding: 96px 0;
}

.section--alt {
  background: var(--cream);
}

.section--dark {
  background: var(--dark);
  color: var(--cream);
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sage);
  background: rgba(139, 158, 126, 0.12);
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 16px;
}

.section-tag--light {
  color: var(--gold);
  background: rgba(74, 124, 90, 0.15);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 400;
  line-height: 1.15;
  color: var(--dark);
  margin-bottom: 20px;
}

.section-title em {
  font-style: italic;
  color: var(--sage);
}

.section-title--light {
  color: var(--cream);
}

.section-title--light em {
  color: var(--gold);
}

.section-desc {
  font-size: 17px;
  color: var(--text-mid);
  line-height: 1.7;
}

/* ---------- REVEAL ANIMATIONS ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 100px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  white-space: nowrap;
}

.btn:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.btn-sm {
  padding: 10px 22px;
  font-size: 13px;
}

.btn-primary {
  background: var(--dark);
  color: var(--cream);
}
.btn-primary:hover {
  background: var(--dark-mid);
  transform: translateY(-1px);
}

.btn-gold {
  background: var(--gold);
  color: var(--white);
}
.btn-gold:hover {
  background: var(--gold-dark);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(74, 124, 90, 0.35);
}

.btn-sage {
  background: var(--sage);
  color: var(--white);
}
.btn-sage:hover {
  background: var(--sage-dark);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--sage);
  border: 1px solid rgba(139, 158, 126, 0.35);
  padding: 10px 20px;
  font-size: 13px;
}
.btn-ghost:hover {
  background: var(--sage);
  color: var(--white);
  border-color: var(--sage);
}

.btn-outline-light {
  background: transparent;
  color: var(--cream);
  border: 1px solid rgba(240, 246, 236, 0.5);
}
.btn-outline-light:hover {
  background: rgba(240, 246, 236, 0.15);
  border-color: var(--cream);
}

.btn-outline-gold {
  background: transparent;
  color: var(--gold);
  border: 1px solid rgba(74, 124, 90, 0.5);
}
.btn-outline-gold:hover {
  background: rgba(74, 124, 90, 0.1);
  border-color: var(--gold);
}

/* ---------- LOGO ---------- */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.logo-brand {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  color: var(--dark);
  letter-spacing: 0.02em;
}

.logo-sub {
  font-family: var(--font-body);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--gold);
  margin-top: 1px;
}

.logo--light .logo-brand { color: var(--cream); }

/* ---------- HEADER ---------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition: var(--transition);
}

.header.scrolled {
  border-bottom-color: var(--sand);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

@media (min-width: 768px) {
  .header-inner { padding: 0 40px; }
}

/* NAV */
.nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav ul {
  display: flex;
  gap: 4px;
}

.nav ul li a {
  display: block;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 400;
  color: var(--text-mid);
  border-radius: 8px;
  transition: var(--transition);
}

.nav ul li a:hover {
  color: var(--text);
  background: var(--sand);
}

/* NAV TOGGLE (mobile) */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
  transition: var(--transition);
}

.nav-toggle:hover { background: var(--sand); }

.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--dark);
  border-radius: 2px;
  transition: var(--transition);
  transform-origin: center;
}

.nav-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

@media (max-width: 767px) {
  .nav-toggle { display: flex; }

  .nav {
    position: fixed;
    inset: var(--header-h) 0 0 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: 24px;
    gap: 16px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
  }

  .nav.open {
    transform: translateX(0);
  }

  .nav ul {
    flex-direction: column;
    gap: 4px;
  }

  .nav ul li a {
    padding: 14px 16px;
    font-size: 16px;
  }

  .nav .btn {
    width: 100%;
    justify-content: center;
    padding: 15px;
    font-size: 15px;
  }
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(20, 28, 20, 0.72) 0%,
    rgba(20, 28, 20, 0.55) 40%,
    rgba(20, 28, 20, 0.45) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 24px;
  padding-top: var(--header-h);
  max-width: 760px;
}

.hero-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(74, 124, 90, 0.2);
  border: 1px solid rgba(74, 124, 90, 0.3);
  padding: 5px 16px;
  border-radius: 100px;
  margin-bottom: 24px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(52px, 9vw, 96px);
  font-weight: 300;
  line-height: 1.05;
  color: var(--cream);
  margin-bottom: 24px;
  letter-spacing: -0.01em;
}

.hero-title em {
  font-style: italic;
  color: var(--gold);
  font-weight: 300;
}

.hero-desc {
  font-size: clamp(16px, 2vw, 18px);
  color: rgba(240, 246, 236, 0.8);
  line-height: 1.65;
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  color: rgba(240, 246, 236, 0.5);
  transition: color var(--transition);
  animation: bounce 2s ease-in-out infinite;
}

.hero-scroll:hover { color: var(--gold); }

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

/* ---------- STRIP ---------- */
.strip {
  background: var(--cream);
  border-top: 1px solid var(--sand);
  border-bottom: 1px solid var(--sand);
  padding: 20px 24px;
}

.strip-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
  row-gap: 12px;
}

.strip-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-mid);
  padding: 4px 24px;
}

.strip-sep {
  width: 1px;
  height: 20px;
  background: var(--sand-dark);
}

@media (max-width: 600px) {
  .strip-sep { display: none; }
  .strip-item { padding: 4px 16px; }
}

/* ---------- SERVICES ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 20px;
}

@media (min-width: 600px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .services-grid { grid-template-columns: repeat(3, 1fr); }
}

.service-card {
  background: var(--white);
  border: 1px solid var(--sand);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(139, 158, 126, 0.3);
}

.service-card--wide {
  grid-column: 1 / -1;
}

@media (min-width: 600px) and (max-width: 1023px) {
  .service-card--wide { grid-column: 1 / -1; }
}

@media (min-width: 1024px) {
  .service-card--wide {
    grid-column: span 2;
    flex-direction: row;
    align-items: center;
    gap: 32px;
  }
  .service-card--wide .service-body { flex: 1; }
}

.service-icon {
  width: 60px;
  height: 60px;
  background: var(--cream);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition);
}

.service-card:hover .service-icon {
  background: rgba(139, 158, 126, 0.12);
}

.service-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.service-body h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  color: var(--dark);
}

.service-body p {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.65;
  flex: 1;
}

.service-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
}

.service-price {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 500;
  color: var(--gold);
}

/* ---------- ABOUT ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
  align-items: center;
}

@media (min-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr 1fr;
    gap: 80px;
  }
}

.about-image {
  position: relative;
}

.about-image img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  border-radius: var(--radius-xl);
}

@media (min-width: 900px) {
  .about-image img { height: 640px; }
}

.about-badge {
  position: absolute;
  bottom: 28px;
  right: -16px;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 18px 22px;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.2;
}

@media (max-width: 899px) {
  .about-badge { right: 16px; bottom: 16px; }
}

.about-badge-num {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 500;
  color: var(--gold);
  line-height: 1;
}

.about-badge-text {
  font-size: 12px;
  color: var(--text-mid);
  text-align: center;
  margin-top: 4px;
}

.about-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.about-content p {
  font-size: 16px;
  color: var(--text-mid);
  line-height: 1.75;
}

.about-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 4px 0;
}

.about-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text);
}

.about-list li svg {
  flex-shrink: 0;
  margin-top: 2px;
}

/* ---------- TESTIMONIALS ---------- */
.testimonials-slider {
  overflow: hidden;
  position: relative;
}

.testimonials-track {
  display: flex;
  gap: 24px;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-card {
  min-width: calc(100% - 0px);
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  border: 1px solid var(--sand);
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .testimonial-card {
    min-width: calc(50% - 12px);
  }
}

@media (min-width: 1100px) {
  .testimonial-card {
    min-width: calc(33.333% - 16px);
  }
}

.testimonial-stars {
  color: var(--gold);
  font-size: 16px;
  letter-spacing: 2px;
}

.testimonial-card blockquote {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 300;
  font-style: italic;
  color: var(--text);
  line-height: 1.65;
  flex: 1;
}

.testimonial-card footer {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--sage);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 500;
  flex-shrink: 0;
}

.testimonial-card footer cite {
  display: block;
  font-style: normal;
  font-weight: 600;
  font-size: 14px;
  color: var(--dark);
}

.testimonial-card footer span {
  display: block;
  font-size: 12px;
  color: var(--text-light);
  margin-top: 2px;
}

.testimonials-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 36px;
}

.testimonial-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--sand-dark);
  background: var(--white);
  color: var(--text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.testimonial-btn:hover {
  background: var(--sage);
  color: var(--white);
  border-color: var(--sage);
}

.testimonial-dots {
  display: flex;
  gap: 8px;
}

.testimonial-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--sand-dark);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  padding: 0;
}

.testimonial-dot.active {
  background: var(--sage);
  transform: scale(1.25);
}

/* ---------- CONTACT ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
  align-items: center;
}

@media (min-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
    gap: 72px;
  }
}

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

.contact-desc {
  font-size: 17px;
  color: rgba(232, 221, 211, 0.75);
  line-height: 1.7;
}

.contact-items {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 28px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
}

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

.contact-item svg {
  flex-shrink: 0;
  margin-top: 3px;
}

.contact-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(74, 124, 90, 0.7);
  margin-bottom: 3px;
}

.contact-value {
  display: block;
  font-size: 14px;
  color: var(--cream);
  line-height: 1.5;
}

a.contact-value:hover {
  color: var(--gold);
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.map-container {
  height: 460px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.map-container iframe {
  width: 100%;
  height: 100%;
}

/* ---------- FOOTER ---------- */
.footer {
  background: var(--dark-mid);
  color: rgba(240, 246, 236, 0.75);
  padding: 72px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}

@media (min-width: 640px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .footer-grid { grid-template-columns: 1.8fr 1fr 1.2fr; }
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.7;
  max-width: 300px;
}

.social-links {
  display: flex;
  gap: 10px;
  margin-top: 4px;
}

.social-link {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(240, 246, 236, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(240, 246, 236, 0.6);
  transition: var(--transition);
}

.social-link:hover {
  background: rgba(139, 158, 126, 0.25);
  border-color: var(--sage);
  color: var(--sage-light);
}

.footer-col h4 {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(240, 246, 236, 0.4);
  margin-bottom: 18px;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  font-size: 14px;
  color: rgba(240, 246, 236, 0.65);
  transition: color var(--transition);
}

.footer-col ul li a:hover {
  color: var(--gold);
}

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

.footer-hours li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 13px;
  color: rgba(240, 246, 236, 0.65);
}

.footer-cta {
  margin-top: 24px;
  width: 100%;
  justify-content: center;
}

.footer-bottom {
  margin-top: 56px;
  padding: 20px 0;
  border-top: 1px solid rgba(240, 246, 236, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: 13px;
  color: rgba(240, 246, 236, 0.35);
}

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

.footer-links a {
  font-size: 13px;
  color: rgba(240, 246, 236, 0.35);
  transition: color var(--transition);
}

.footer-links a:hover { color: var(--gold); }

/* ---------- RESPONSIVE REVEAL DELAYS ---------- */
@media (min-width: 600px) {
  .reveal[data-delay="80"] { transition-delay: 80ms; }
  .reveal[data-delay="160"] { transition-delay: 160ms; }
}

/* ---------- REDUCED MOTION ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
  .hero-scroll { animation: none; }
}

/* =============================================
   YESS MASSAGE v2 — Sensory Experience Layer
   ============================================= */

/* Override reveal — slower, more fluid */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.95s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.95s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal[data-delay="80"]  { transition-delay: 0.1s; }
.reveal[data-delay="160"] { transition-delay: 0.2s; }
.reveal[data-delay="240"] { transition-delay: 0.3s; }

/* ── HERO ANIMATED GLOW LAYER ── */
.hero-glow {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 55% at 22% 65%, rgba(74,124,90,0.24) 0%, transparent 65%),
    radial-gradient(ellipse 55% 45% at 78% 30%, rgba(139,158,126,0.18) 0%, transparent 60%);
  animation: heroGlow 10s ease-in-out infinite alternate;
  will-change: transform, opacity;
}

@keyframes heroGlow {
  0%   { opacity: 0.55; transform: scale(1)    translate(0,     0);    }
  30%  { opacity: 0.90; transform: scale(1.04) translate(-1.5%, 0.8%); }
  65%  { opacity: 0.70; transform: scale(1.02) translate(1.2%, -0.6%); }
  100% { opacity: 0.80; transform: scale(1.03) translate(-0.5%, 1.2%); }
}

/* Floating orbs in hero */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
  will-change: transform;
}
.hero-orb-1 {
  width: 320px; height: 320px;
  top: 18%; right: 8%;
  background: radial-gradient(circle, rgba(74,124,90,0.13) 0%, transparent 68%);
  animation: orbFloat1 13s ease-in-out infinite;
}
.hero-orb-2 {
  width: 220px; height: 220px;
  bottom: 22%; left: 6%;
  background: radial-gradient(circle, rgba(139,158,126,0.11) 0%, transparent 68%);
  animation: orbFloat2 17s ease-in-out infinite;
}

@keyframes orbFloat1 {
  0%, 100% { transform: translate(0,    0)   scale(1);    }
  35%       { transform: translate(-14px,-22px) scale(1.06); }
  70%       { transform: translate(10px, 16px) scale(0.96); }
}
@keyframes orbFloat2 {
  0%, 100% { transform: translate(0,   0)   scale(1);    }
  40%       { transform: translate(14px,-18px) scale(1.05); }
  72%       { transform: translate(-9px, 12px) scale(0.97); }
}

/* ── BREATHING ── */
@keyframes breathe {
  0%, 100% { transform: scale(1); }
  50%       { transform: scale(1.025); }
}
@keyframes breatheLogo {
  0%, 100% { transform: scale(1);     opacity: 0.9; }
  50%       { transform: scale(1.03); opacity: 1;   }
}

.logo svg {
  animation: breatheLogo 5.5s ease-in-out infinite;
  will-change: transform;
}

.about-badge {
  animation: breathe 6s ease-in-out infinite;
  will-change: transform;
}

/* ── WAVE DIVIDERS ── */
.wave-divider {
  display: block;
  line-height: 0;
  overflow: hidden;
  pointer-events: none;
  margin: 0;
}
.wave-divider svg {
  display: block;
  width: 100%;
  height: 64px;
}
.wave-divider--flip svg {
  transform: scaleX(-1);
}

/* ── SERVICE CARD — sensory hover ── */
.service-card {
  transition:
    transform 0.75s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    box-shadow 0.75s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    border-color 0.6s ease;
  overflow: hidden;
}
.service-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(ellipse 80% 55% at 50% 110%, rgba(139,158,126,0.10) 0%, transparent 65%);
  opacity: 0;
  transition: opacity 0.75s ease;
  pointer-events: none;
}
.service-card:hover::after { opacity: 1; }
.service-card:hover {
  transform: translateY(-7px);
  box-shadow:
    0 14px 44px rgba(139,158,126,0.14),
    0 0 0 1px rgba(139,158,126,0.15),
    0 2px 8px rgba(30,50,30,0.05);
  border-color: rgba(139,158,126,0.3);
}

/* ── TESTIMONIAL CARD — glow ── */
.testimonial-card {
  transition: box-shadow 0.6s ease, transform 0.6s ease;
}
.testimonial-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(139,158,126,0.12);
}

/* ── FLOATING PARTICLES CANVAS ── */
#particles-canvas {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.55;
}

/* ── CURSOR GLOW ── */
.cursor-glow {
  position: fixed;
  width: 300px; height: 300px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  background: radial-gradient(circle, rgba(74,124,90,0.065) 0%, transparent 65%);
  transform: translate(-50%, -50%);
  transition:
    left 0.20s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    top  0.20s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: left, top;
}

/* ── AMBIENT BUTTON ── */
.ambient-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 200;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: rgba(240,246,236,0.94);
  border: 1px solid rgba(74,124,90,0.28);
  box-shadow: 0 4px 20px rgba(30,50,30,0.12);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.4s ease;
  line-height: 1;
}
.ambient-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(74,124,90,0.28);
}
.ambient-btn.playing {
  background: rgba(139,158,126,0.18);
  border-color: rgba(139,158,126,0.45);
  animation: breathe 3s ease-in-out infinite;
}

/* ── TOUCH RIPPLE ── */
@keyframes rippleOut {
  to { transform: scale(5); opacity: 0; }
}
.touch-ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(74,124,90,0.22);
  width: 60px; height: 60px;
  margin: -30px 0 0 -30px;
  animation: rippleOut 0.65s ease-out forwards;
  pointer-events: none;
}

/* ── HERO WORD ANIMATION ── */
.hero-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(18px);
  animation: wordUp 0.85s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}
@keyframes wordUp {
  to { opacity: 1; transform: translateY(0); }
}

/* ── SECTION SOFT GLOW (about) ── */
.section--alt {
  position: relative;
}
.section--alt::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(74,124,90,0.25), transparent);
}

/* ── REDUCED MOTION ── */
@media (prefers-reduced-motion: reduce) {
  .hero-glow, .hero-orb-1, .hero-orb-2,
  .logo svg, .about-badge,
  .hero-word { animation: none !important; }
  .hero-word { opacity: 1; transform: none; }
  .cursor-glow { display: none !important; }
  #particles-canvas { display: none !important; }
  .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.4s ease, transform 0.4s ease;
  }
}

/* ── MOBILE ADJUSTMENTS ── */
@media (max-width: 767px) {
  .hero-orb-1 { width: 180px; height: 180px; }
  .hero-orb-2 { width: 140px; height: 140px; }
  .ambient-btn { bottom: 20px; right: 20px; width: 42px; height: 42px; font-size: 15px; }
  #particles-canvas { opacity: 0.3; }
}
