/* ============================================
   Dejavu Spa — Landing Page Styles
   Palette: earthy / calming (2026 wellness trend)
   ============================================ */

:root {
  /* Earthy & calming palette */
  --sage-50: #f4f6f1;
  --sage-100: #e6ebe0;
  --sage-200: #cdd6c2;
  --sage-300: #aab896;
  --sage-400: #889a72;
  --sage-500: #6d7f58;
  --sage-600: #5a6b54;
  --sage-700: #475440;
  --sage-800: #38422f;

  --sand-50: #fbf8f3;
  --sand-100: #f5efe4;
  --sand-200: #ebdfca;
  --sand-300: #ddc9a6;
  --terracotta: #c08457;
  --terracotta-dark: #a86d42;

  --ink: #2c2e28;
  --ink-soft: #54584d;
  --muted: #8b8f82;

  --white: #ffffff;
  --wa-green: #25d366;
  --wa-green-dark: #1da851;

  /* Type */
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;

  /* Layout */
  --container: 1140px;
  --radius-sm: 12px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 3px rgba(44, 46, 40, 0.06), 0 1px 2px rgba(44, 46, 40, 0.04);
  --shadow-md: 0 10px 30px rgba(44, 46, 40, 0.08);
  --shadow-lg: 0 24px 60px rgba(44, 46, 40, 0.12);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--sand-50);
  line-height: 1.7;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 8px;
  background: var(--sage-700);
  color: #fff;
  padding: 10px 16px;
  border-radius: 8px;
  z-index: 2000;
}
.skip-link:focus { left: 12px; }

/* ---------- Typography ---------- */
.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--terracotta-dark);
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.85rem, 5vw, 2.6rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.section-lead {
  font-size: 1.05rem;
  color: var(--ink-soft);
  max-width: 540px;
}

.section { padding: 88px 0; }

.section-head {
  max-width: 640px;
  margin: 0 auto 56px;
  text-align: center;
}
.section-head .section-lead { margin: 16px auto 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 13px 24px;
  border-radius: var(--radius-sm);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.15s var(--ease), background 0.2s var(--ease), box-shadow 0.2s var(--ease);
  min-height: 46px;
  white-space: nowrap;
}
.btn:active { transform: scale(0.98); }

.btn-primary {
  background: var(--sage-600);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { background: var(--sage-700); box-shadow: var(--shadow-md); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--sage-300);
}
.btn-ghost:hover { background: var(--sage-100); border-color: var(--sage-400); }

.btn-lg { padding: 16px 30px; font-size: 1rem; min-height: 54px; }
.btn-block { width: 100%; }

.btn-nav {
  background: var(--sage-600);
  color: #fff;
  padding: 10px 18px;
  min-height: 42px;
}
.btn-nav:hover { background: var(--sage-700); }

.wa-icon { display: inline-flex; align-items: center; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--sage-700);
  margin-top: 8px;
  transition: gap 0.2s var(--ease);
}
.link-arrow:hover { gap: 14px; }

/* ---------- Navbar ---------- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(251, 248, 243, 0.82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s, background 0.3s;
}
.navbar.scrolled {
  border-bottom-color: var(--sage-100);
  box-shadow: var(--shadow-sm);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  gap: 16px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--ink);
}
.brand-mark { color: var(--terracotta); font-size: 1.2rem; }
.brand-accent { color: var(--sage-600); }

.nav-links {
  display: none;
  gap: 34px;
  margin-left: auto;
  margin-right: 28px;
}
.nav-links a {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--ink-soft);
  position: relative;
  transition: color 0.2s;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 2px;
  background: var(--sage-500);
  transition: width 0.25s var(--ease);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { width: 100%; }

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  background: transparent;
  border: none;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  margin: 0 auto;
  transition: transform 0.3s var(--ease), opacity 0.3s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.btn-nav { display: none; }

.mobile-menu {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  background: var(--sand-50);
  border-bottom: 1px solid var(--sage-100);
  transition: max-height 0.35s var(--ease), padding 0.35s var(--ease);
}
.mobile-menu.open { max-height: 360px; padding: 12px 20px 24px; }
.mobile-menu a {
  font-weight: 500;
  color: var(--ink-soft);
  padding: 13px 4px;
  border-bottom: 1px solid var(--sage-100);
}
.mobile-menu a:last-child { border: none; margin-top: 12px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 80px 0 60px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 75% 15%, rgba(192, 132, 87, 0.16), transparent 60%),
    radial-gradient(ellipse 70% 70% at 10% 90%, rgba(109, 127, 88, 0.18), transparent 55%),
    linear-gradient(160deg, var(--sand-100) 0%, var(--sage-50) 100%);
  z-index: -1;
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(71, 84, 64, 0.04) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 40%, #000, transparent 80%);
}

.hero-content { max-width: 720px; }
.hero-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
  width: 100%;
}
.hero-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.6rem, 8.5vw, 4.6rem);
  line-height: 1.06;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 22px;
}
.hero-title em {
  font-style: italic;
  color: var(--sage-600);
}
.hero-sub {
  font-size: clamp(1.05rem, 2.4vw, 1.22rem);
  color: var(--ink-soft);
  max-width: 540px;
  margin-bottom: 34px;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 48px;
}
.hero-trust {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}
.trust-item { display: flex; flex-direction: column; }
.trust-item strong {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--sage-700);
  line-height: 1;
}
.trust-item span { font-size: 0.85rem; color: var(--muted); margin-top: 4px; }
.trust-divider { width: 1px; height: 34px; background: var(--sage-200); }

.hero-scroll {
  position: absolute;
  bottom: 26px; left: 50%;
  transform: translateX(-50%);
  width: 26px; height: 42px;
  border: 2px solid var(--sage-300);
  border-radius: 14px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
}
.hero-scroll span {
  width: 4px; height: 8px;
  background: var(--sage-500);
  border-radius: 2px;
  animation: scrollDot 1.8s var(--ease) infinite;
}
@keyframes scrollDot {
  0% { opacity: 0; transform: translateY(0); }
  40% { opacity: 1; }
  80% { opacity: 0; transform: translateY(12px); }
  100% { opacity: 0; }
}

/* ---------- Hero visual (images) ---------- */
.hero-visual {
  position: relative;
  width: 100%;
  max-width: 460px;
  margin: 0 auto;
  aspect-ratio: 4 / 5;
}
.hero-img {
  position: absolute;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--sage-100);
}
.hero-img img { width: 100%; height: 100%; object-fit: cover; }
.hero-img-main {
  inset: 0 0 0 14%;
  border-radius: 140px 140px var(--radius-lg) var(--radius-lg);
}
.hero-img-accent {
  width: 42%;
  aspect-ratio: 1;
  left: -4%;
  bottom: 12%;
  border-radius: var(--radius-lg);
  border: 5px solid var(--sand-50);
}
.hero-badge {
  position: absolute;
  top: 8%;
  right: -2%;
  background: var(--white);
  border-radius: var(--radius);
  padding: 12px 16px;
  box-shadow: var(--shadow-md);
  max-width: 170px;
  animation: floatBadge 3.5s ease-in-out infinite;
}
.hero-badge-stars { display: block; color: #f5c451; letter-spacing: 1px; font-size: 0.9rem; }
.hero-badge-text { display: block; font-size: 0.8rem; color: var(--ink-soft); line-height: 1.35; margin-top: 4px; }
@keyframes floatBadge {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ---------- About ---------- */
.about { background: var(--white); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}
.about-visual {
  position: relative;
  min-height: 280px;
  border-radius: var(--radius-lg);
  background: linear-gradient(150deg, var(--sage-500), var(--sage-700));
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}
.about-card-deco {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(255,255,255,0.12), transparent 40%),
    radial-gradient(circle at 15% 85%, rgba(192,132,87,0.25), transparent 45%);
}
.about-quote { position: relative; color: #fff; max-width: 360px; }
.about-quote .quote-mark {
  font-family: var(--font-display);
  font-size: 4rem;
  line-height: 0.5;
  color: var(--sand-200);
  display: block;
  margin-bottom: 10px;
}
.about-quote p {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-style: italic;
  line-height: 1.45;
}
.about-text .section-title { margin-bottom: 20px; }
.about-text p { color: var(--ink-soft); margin-bottom: 16px; }

/* ---------- Services ---------- */
.services { background: var(--sand-50); }
.service-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--sage-100);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--sage-200);
}
.service-icon {
  width: 56px; height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  background: var(--sage-50);
  border-radius: 14px;
  margin-bottom: 18px;
}
.service-card h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: var(--ink);
}
.service-card p { color: var(--ink-soft); font-size: 0.96rem; }

.services-cta {
  margin-top: 48px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.services-cta p {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--ink);
}

/* ---------- Features ---------- */
.features { background: var(--white); }
.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.feature-item {
  padding: 30px 26px;
  border-radius: var(--radius);
  background: var(--sage-50);
  border: 1px solid var(--sage-100);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.feature-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.feature-num {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--terracotta);
  margin-bottom: 14px;
}
.feature-item h3 {
  font-size: 1.12rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--ink);
}
.feature-item p { color: var(--ink-soft); font-size: 0.94rem; }

/* ---------- Testimonials ---------- */
.testimonials { background: var(--sage-700); }
.testimonials .eyebrow { color: var(--sand-300); }
.testimonials .section-title { color: #fff; }
.testi-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
.testi-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 28px 26px;
  backdrop-filter: blur(8px);
}
.testi-card .stars { color: #f5c451; letter-spacing: 2px; margin-bottom: 14px; }
.testi-card blockquote {
  color: var(--sand-100);
  font-size: 1.02rem;
  line-height: 1.65;
  margin-bottom: 22px;
}
.testi-card figcaption {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testi-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--terracotta);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.05rem;
  flex-shrink: 0;
}
.testi-card figcaption strong { display: block; color: #fff; font-size: 0.96rem; }
.testi-card figcaption small { color: var(--sand-300); font-size: 0.82rem; }

/* ---------- Gallery ---------- */
.gallery {
  background: linear-gradient(180deg, var(--sand-50) 0%, var(--sage-50) 100%);
  overflow: hidden;
}
.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.gallery-item {
  position: relative;
  min-height: 260px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--sage-100);
  box-shadow: var(--shadow-sm);
  isolation: isolate;
}
.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(44, 46, 40, 0.68) 100%);
  z-index: 1;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 0.7s var(--ease), filter 0.7s var(--ease);
}
.gallery-item:hover img {
  transform: scale(1.08);
  filter: saturate(1.05) contrast(1.03);
}
.gallery-item figcaption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 2;
  color: #fff;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

/* ---------- Contact ---------- */
.contact { background: var(--sand-50); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}
.contact-info .section-lead { margin-top: 16px; }
.contact-list { margin-top: 30px; display: flex; flex-direction: column; gap: 18px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-ico {
  width: 44px; height: 44px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  background: var(--white);
  border: 1px solid var(--sage-100);
  border-radius: 12px;
}
.contact-list strong { color: var(--ink); }
.contact-list li span:last-child { color: var(--ink-soft); font-size: 0.95rem; line-height: 1.5; }

.cta-card {
  background: linear-gradient(155deg, var(--sage-600), var(--sage-800));
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  text-align: center;
  color: #fff;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}
.cta-card::before {
  content: "";
  position: absolute;
  top: -40px; right: -40px;
  width: 160px; height: 160px;
  background: radial-gradient(circle, rgba(192,132,87,0.35), transparent 70%);
}
.cta-mark {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--sand-200);
  display: block;
  margin-bottom: 12px;
}
.cta-card h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.55rem;
  margin-bottom: 10px;
}
.cta-card p { color: var(--sand-100); margin-bottom: 26px; }
.cta-card .btn-primary {
  background: var(--wa-green);
  position: relative;
}
.cta-card .btn-primary:hover { background: var(--wa-green-dark); }
.cta-note { display: block; margin-top: 16px; font-size: 0.82rem; color: var(--sand-300); }

/* ---------- Footer ---------- */
.footer { background: var(--sage-800); color: var(--sand-200); padding: 56px 0 28px; }
.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand .brand-name {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  color: #fff;
}
.footer-brand .brand-accent { color: var(--sage-300); }
.footer-brand p { margin-top: 8px; font-size: 0.92rem; color: var(--sand-300); }
.footer-links { display: flex; flex-wrap: wrap; gap: 22px; }
.footer-links a { font-size: 0.92rem; color: var(--sand-200); transition: color 0.2s; }
.footer-links a:hover { color: #fff; }
.footer-bottom { padding-top: 24px; }
.footer-bottom p { font-size: 0.85rem; color: var(--sand-300); }

/* ---------- Floating WhatsApp ---------- */
.fab-wa {
  position: fixed;
  bottom: 22px; right: 22px;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: var(--wa-green);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: transform 0.25s var(--ease), box-shadow 0.25s;
  animation: fabPulse 2.6s ease-in-out infinite;
}
.fab-wa:hover { transform: scale(1.08); box-shadow: 0 12px 30px rgba(37, 211, 102, 0.5); }
@keyframes fabPulse {
  0%, 100% { box-shadow: 0 8px 24px rgba(37,211,102,0.4); }
  50% { box-shadow: 0 8px 24px rgba(37,211,102,0.4), 0 0 0 12px rgba(37,211,102,0.08); }
}

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (min-width: 600px) {
  .container { padding: 0 32px; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .testi-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item-large { min-height: 360px; }
  .gallery-item-wide { grid-column: span 2; min-height: 300px; }
}

@media (min-width: 900px) {
  .nav-links { display: flex; }
  .btn-nav { display: inline-flex; }
  .nav-toggle { display: none; }
  .mobile-menu { display: none; }

  .section { padding: 110px 0; }
  .hero-inner { grid-template-columns: 1.1fr 0.9fr; gap: 56px; }
  .hero-visual { max-width: 480px; margin: 0; }
  .about-grid { grid-template-columns: 0.85fr 1fr; gap: 64px; }
  .about-visual { min-height: 380px; }
  .service-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .feature-grid { grid-template-columns: repeat(4, 1fr); }
  .testi-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .gallery-grid { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 240px; gap: 20px; }
  .gallery-item { min-height: 0; }
  .gallery-item-large { grid-column: span 2; grid-row: span 2; }
  .gallery-item-wide { grid-column: span 2; }
  .contact-grid { grid-template-columns: 1fr 0.85fr; gap: 64px; }
  .footer-inner { flex-direction: row; justify-content: space-between; align-items: center; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Focus visible ---------- */
:focus-visible {
  outline: 3px solid var(--sage-500);
  outline-offset: 3px;
  border-radius: 6px;
}
