/* ==========================================================================
   Maya Nassi — Family Constellation & Personal Guidance
   Shared stylesheet (light mode only, bilingual RTL/LTR aware)
   ========================================================================== */

:root {
  --color-amber: #d98c3f;
  --color-amber-dark: #b96f2c;
  --color-amber-light: #f3c98a;
  --color-olive: #6b6b3a;
  --color-olive-dark: #4f4f2a;
  --color-sage: #eef0e2;
  --color-sage-border: #cdd3ad;
  --color-cream: #faf6ee;
  --color-cream-alt: #f3ecdd;
  --color-text: #4a3c2c;
  --color-text-soft: #6d5c47;
  --color-white: #ffffff;
  --shadow-soft: 0 4px 18px rgba(107, 84, 44, 0.10);
  --shadow-medium: 0 8px 28px rgba(107, 84, 44, 0.14);
  --radius-md: 14px;
  --radius-lg: 22px;
  --font-serif: "Frank Ruhl Libre", "Playfair Display", Georgia, serif;
  --font-sans: "Assistant", "Inter", "Heebo", sans-serif;
  --max-width: 1160px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--color-cream);
  color: var(--color-text);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; border-radius: var(--radius-md); }

a { color: var(--color-amber-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  color: var(--color-olive-dark);
  line-height: 1.25;
  font-weight: 600;
  margin: 0 0 0.6em;
}

h1 { font-size: clamp(2rem, 4vw, 2.9rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin-top: 2.2em; }
h3 { font-size: 1.3rem; margin-top: 1.6em; color: var(--color-amber-dark); }
h4 { font-size: 1.05rem; color: var(--color-olive-dark); }

p { margin: 0 0 1.1em; }
ul { margin: 0 0 1.2em; padding-inline-start: 1.4em; }
li { margin-bottom: 0.5em; }

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

.small-print { font-size: 0.85rem; color: var(--color-text-soft); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.85em 1.7em;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }

.btn-primary {
  background: var(--color-amber);
  color: var(--color-white);
  box-shadow: var(--shadow-soft);
}
.btn-primary:hover { background: var(--color-amber-dark); box-shadow: var(--shadow-medium); }

.btn-outline {
  background: transparent;
  color: var(--color-olive-dark);
  border: 1.5px solid var(--color-olive);
}
.btn-outline:hover { background: var(--color-sage); }

.btn-whatsapp {
  background: #4c8c5a;
  color: var(--color-white);
}
.btn-whatsapp:hover { background: #3e7449; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 246, 238, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--color-sage-border);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 8px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
  min-height: 100px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand img.logo-img { width: auto; height: 84px; object-fit: contain; border-radius: 0; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-family: var(--font-serif); font-weight: 700; font-size: 1.15rem; color: var(--color-olive-dark); }
.brand-tagline { font-size: 0.78rem; color: var(--color-amber-dark); }

.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.main-nav a.nav-link {
  display: block;
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--color-text);
  font-weight: 600;
  font-size: 0.95rem;
}
.main-nav a.nav-link:hover,
.main-nav a.nav-link.active { background: var(--color-sage); color: var(--color-olive-dark); text-decoration: none; }

.has-dropdown { position: relative; }
.main-nav .dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  inset-inline-start: 0;
  background: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-medium);
  padding: 8px;
  min-width: 220px;
  list-style: none;
  margin: 6px 0 0;
  z-index: 50;
}
.has-dropdown:hover .dropdown-menu,
.has-dropdown.open .dropdown-menu { display: block; }
.dropdown-menu li a { display: block; padding: 10px 14px; border-radius: 10px; font-weight: 600; color: var(--color-text); }
.dropdown-menu li a:hover { background: var(--color-sage); text-decoration: none; }

.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-inline-start: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1.5px solid var(--color-olive);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--color-olive-dark);
}
.lang-toggle:hover { background: var(--color-sage); text-decoration: none; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.hamburger span { width: 26px; height: 2.5px; background: var(--color-olive-dark); border-radius: 2px; }

/* ---------- Hero ---------- */
.hero {
  padding: 56px 0 64px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 44px;
  align-items: center;
}
.hero-image img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-medium);
  width: 100%;
  height: 460px;
  object-fit: cover;
}
.hero-eyebrow {
  color: var(--color-amber-dark);
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 0.6em;
}
.hero-subline {
  font-size: 1.2rem;
  color: var(--color-text-soft);
  margin-bottom: 1em;
}
.hero-trust {
  margin-top: 1.6em;
  font-size: 0.95rem;
  color: var(--color-olive-dark);
  background: var(--color-sage);
  display: inline-block;
  padding: 0.6em 1.1em;
  border-radius: 999px;
}

/* ---------- Sections ---------- */
section.block { padding: 44px 0; }
.section-head { max-width: 760px; margin-bottom: 1.2em; }
.bg-alt { background: var(--color-cream-alt); }

/* Bulleted "what people come with" list styled as soft chips */
.reason-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.reason-list li {
  background: var(--color-white);
  border: 1px solid var(--color-sage-border);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  margin: 0;
  box-shadow: var(--shadow-soft);
  display: flex;
  align-items: center;
  gap: 12px;
}
.reason-list li::before {
  content: "";
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  background: url("../img/logo-icon.png") no-repeat center / contain;
  opacity: 0.8;
}

/* ---------- Decorative logo-icon motif ---------- */
.section-divider {
  display: flex;
  justify-content: center;
  padding: 6px 0 0;
}
.section-divider img {
  width: 30px;
  height: 30px;
  object-fit: contain;
  opacity: 0.7;
}
.heading-mark {
  display: block;
  width: 24px;
  height: 24px;
  object-fit: contain;
  margin: 0 auto 12px;
  opacity: 0.7;
}

/* ---------- Session / pricing cards ---------- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.session-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-soft);
  border-top: 4px solid var(--color-amber);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.session-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-medium); }
.session-card h3 { margin-top: 0; color: var(--color-olive-dark); }
.session-price {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: var(--color-amber-dark);
  margin: 0.4em 0 0.7em;
}
.session-card .btn { margin-top: auto; align-self: flex-start; }

/* ---------- Steps ---------- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  counter-reset: step-counter;
}
.step-item {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 24px 22px;
  box-shadow: var(--shadow-soft);
  position: relative;
}
.step-item::before {
  counter-increment: step-counter;
  content: counter(step-counter);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--color-amber);
  color: #fff;
  font-weight: 700;
  margin-bottom: 12px;
  font-family: var(--font-serif);
}

/* ---------- Tool cards (personal session) ---------- */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.tool-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.tool-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-medium); }
.tool-card h4 { margin: 0 0 0.4em; color: var(--color-amber-dark); }
.tool-card p { margin: 0; color: var(--color-text-soft); }

/* ---------- Testimonials ---------- */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.testimonial-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow-soft);
  font-style: italic;
  color: var(--color-text);
  position: relative;
}
.testimonial-card::before {
  content: "\201C";
  font-family: var(--font-serif);
  font-size: 3rem;
  color: var(--color-amber-light);
  position: absolute;
  top: 6px;
  inset-inline-start: 16px;
  line-height: 1;
}
[dir="rtl"] .testimonial-card::before { content: "\201D"; }

/* ---------- Blog teaser & article cards ---------- */
.article-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.article-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}
.article-card:hover { box-shadow: var(--shadow-medium); transform: translateY(-2px); }
.article-card img { border-radius: 0; height: 170px; width: 100%; object-fit: cover; }
.article-card-body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.article-card-body h3 { margin: 0; font-size: 1.15rem; }
.article-card-body p { margin: 0; color: var(--color-text-soft); font-size: 0.95rem; flex: 1; }
.article-card-body a.read-more { font-weight: 700; }

/* ---------- Article page ---------- */
.article-hero-img { width: 100%; height: 320px; object-fit: cover; margin-bottom: 1.4em; }
.article-body { max-width: 760px; margin: 0 auto; }
.exercise-box {
  background: var(--color-sage);
  border: 1px solid var(--color-sage-border);
  border-radius: var(--radius-lg);
  padding: 28px 30px;
  margin: 1.8em 0;
}
.exercise-box h3 { margin-top: 0; color: var(--color-olive-dark); }
.exercise-box ol {
  margin: 0.6em 0 0;
  padding-inline-start: 1.3em;
}
.exercise-box li { margin-bottom: 0.7em; }
.article-cta {
  background: var(--color-cream-alt);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin-top: 1.6em;
}
.source-note { margin-top: 2em; padding-top: 1em; border-top: 1px solid var(--color-sage-border); }

/* ---------- FAQ Accordion ---------- */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item {
  background: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  margin-bottom: 14px;
  overflow: hidden;
}
.faq-question {
  width: 100%;
  text-align: inherit;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 22px;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--color-olive-dark);
}
.faq-question .icon {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--color-sage);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--color-amber-dark);
  transition: transform 0.2s ease;
}
.faq-item.open .faq-question .icon { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease, padding 0.25s ease;
  padding: 0 22px;
  color: var(--color-text-soft);
}
.faq-item.open .faq-answer { padding: 0 22px 20px; }

/* ---------- Contact page ---------- */
.contact-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  padding: 34px;
  max-width: 640px;
  margin: 0 auto;
}
.contact-line { display: flex; gap: 10px; align-items: baseline; margin-bottom: 0.9em; }
.contact-line strong { color: var(--color-olive-dark); min-width: 100px; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--color-olive-dark);
  color: #f4efe1;
  padding: 44px 0 28px;
  margin-top: 40px;
}
.site-footer a { color: #f4efe1; }
.footer-logo { display: flex; justify-content: center; margin-bottom: 28px; }
.footer-logo img { height: 220px; width: auto; object-fit: contain; }
.footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 64px;
  margin-bottom: 24px;
  text-align: center;
}
.footer-brand { max-width: 320px; }
.footer-brand .brand-name { color: #f4efe1; }
.footer-tagline { color: var(--color-amber-light); font-size: 0.9rem; margin-top: 4px; }
.footer-nav ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.footer-contact p { margin: 0 0 8px; }
.footer-bottom {
  border-top: 1px solid rgba(244, 239, 225, 0.2);
  padding-top: 18px;
  font-size: 0.85rem;
  color: #d8cfb8;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-whatsapp-cta { text-align: center; margin: 30px 0 10px; }

/* ---------- Floating WhatsApp button ---------- */
.wa-float {
  position: fixed;
  bottom: 22px;
  inset-inline-end: 22px;
  z-index: 200;
  background: #4c8c5a;
  color: #fff;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-medium);
  font-size: 1.6rem;
}
.wa-float:hover { background: #3e7449; text-decoration: none; }

/* ---------- Redirect page (root index) ---------- */
.redirect-screen {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
  background: var(--color-cream);
}
.redirect-screen img { width: 90px; margin: 0 auto 18px; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-image { order: -1; }
  .hero-image img { height: 280px; }
  .cards-grid, .tools-grid, .testimonial-grid, .reason-list { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .article-cards { grid-template-columns: repeat(2, 1fr); }
  .hero-trust { display: block; border-radius: var(--radius-md); font-size: 0.85rem; }
}

@media (max-width: 720px) {
  .main-nav { position: fixed; inset-inline-start: 0; top: 80px; width: 100%; background: var(--color-cream); border-bottom: 1px solid var(--color-sage-border); box-shadow: var(--shadow-medium); flex-direction: column; align-items: stretch; padding: 12px 0; transform: translateY(-130%); opacity: 0; transition: transform 0.2s ease, opacity 0.2s ease; }
  .main-nav.open { transform: translateY(0); opacity: 1; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .main-nav a.nav-link { padding: 14px 24px; border-radius: 0; }
  .main-nav .dropdown-menu { position: static; box-shadow: none; display: none; background: var(--color-cream-alt); }
  .has-dropdown.open .dropdown-menu { display: block; }
  .lang-toggle { margin: 10px 24px 0; justify-content: center; }
  .hamburger { display: flex; }
  .article-cards { grid-template-columns: 1fr; }
  .footer-grid { flex-direction: column; }
  .brand img.logo-img { height: 56px; }
  .brand-name { font-size: 0.92rem; white-space: nowrap; }
  .brand-tagline { font-size: 0.7rem; }
}

/* ---------- Subtle scroll reveal (gentle fade + slight rise) ---------- */
/* Disabled: relied on an IntersectionObserver that could fail to fire in
   some real-world conditions, leaving whole sections stuck invisible.
   Content now renders immediately and reliably instead. */
.reveal {
  opacity: 1;
  transform: none;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
