:root {
  --purple: #704D85;
  --purple-dark: #5a3a6e;
  --purple-light: #9b72b0;
  --dark: #2a2a35;
  --mid: #3E4352;
  --text: #1a1a2e;
  --muted: #6b6b7b;
  --bg: #f8f7fa;
  --white: #ffffff;
  --border-radius: 1rem;
}

/* ── DARK MODE VARIABLES ── */
[data-theme="dark"] {
  --bg: #18181f;
  --white: #22222e;
  --text: #e8e6f0;
  --muted: #9d9aad;
  --dark: #0e0e14;
  --mid: #2e2e3d;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #18181f;
    --white: #22222e;
    --text: #e8e6f0;
    --muted: #9d9aad;
    --dark: #0e0e14;
    --mid: #2e2e3d;
  }
}

/* ── THEME TOGGLE BUTTON ── */
.theme-toggle {
  background: none;
  border: 1.5px solid rgba(112,77,133,0.3);
  border-radius: 50px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  color: var(--muted);
  transition: border-color 0.2s, color 0.2s, background 0.2s;
  flex-shrink: 0;
  padding: 0;
}
.theme-toggle:hover {
  border-color: var(--purple);
  color: var(--purple);
  background: rgba(112,77,133,0.08);
}
.theme-toggle svg { width: 16px; height: 16px; fill: currentColor; }
.theme-toggle .icon-sun  { display: none; }
.theme-toggle .icon-moon { display: block; }

/* When dark mode is active, show sun (to switch back to light) */
[data-theme="dark"] .theme-toggle .icon-sun  { display: block; }
[data-theme="dark"] .theme-toggle .icon-moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .icon-sun  { display: block; }
  :root:not([data-theme="light"]) .theme-toggle .icon-moon { display: none; }
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
  position: relative;
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--bg) 95%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(112,77,133,0.12);
  padding: 0 1.5rem;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--purple);
  text-decoration: none;
  letter-spacing: -0.01em;
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.2s;
  white-space: nowrap;
}
.nav-links a:hover { color: var(--purple); }

/* ── HERO ── */
.hero {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6rem 1.5rem 4rem;
  background: linear-gradient(160deg, var(--bg) 0%, color-mix(in srgb, var(--bg) 60%, var(--purple)) 60%, color-mix(in srgb, var(--bg) 40%, var(--purple)) 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 80% 20%, rgba(112,77,133,0.08) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 20% 80%, rgba(112,77,133,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  width: 100%;
  max-width: 600px;
}

.hero-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 6px solid var(--purple);
  box-shadow: 0 0 0 10px rgba(112,77,133,0.12), 0 8px 32px rgba(112,77,133,0.2);
  object-fit: cover;
  margin-bottom: 1.75rem;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.hero-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--purple);
  margin-bottom: 0.875rem;
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 8vw, 3.8rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 1.25rem;
}

.hero-sub {
  font-size: clamp(0.95rem, 3vw, 1.05rem);
  color: var(--muted);
  max-width: 440px;
  margin: 0 auto 2.25rem;
  font-weight: 400;
  line-height: 1.7;
}
.hero-sub strong { color: var(--text); font-weight: 600; }

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--purple);
  color: #fff;
  text-decoration: none;
  padding: 0.85rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(112,77,133,0.3);
}
.hero-cta:hover {
  background: var(--purple-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(112,77,133,0.4);
}
.hero-cta svg { width: 16px; height: 16px; fill: white; flex-shrink: 0; }

/* ── DIVIDER ── */
.divider {
  display: flex;
  justify-content: center;
  padding: 1.75rem 0;
}
.divider::before {
  content: '';
  display: block;
  width: 3px;
  height: 70px;
  background: linear-gradient(to bottom, var(--purple), rgba(112,77,133,0.1));
  border-radius: 3px;
}

/* ── SECTIONS ── */
section {
  padding: 4.5rem 1.5rem;
  width: 100%;
}

.container {
  max-width: 1060px;
  margin: 0 auto;
  width: 100%;
}

.section-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--purple);
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.6rem, 5vw, 2.8rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
  margin-bottom: 1rem;
}

.section-body {
  font-size: clamp(0.9rem, 2.5vw, 1rem);
  color: var(--muted);
  line-height: 1.8;
  max-width: 520px;
}

/* ── QUOTE SECTION ── */
.quote-section {
  background: var(--white);
  border-top: 1px solid rgba(112,77,133,0.08);
  border-bottom: 1px solid rgba(112,77,133,0.08);
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.quote-image {
  width: 100%;
  aspect-ratio: 1537 / 2038;
  object-fit: contain;
  border-radius: 1rem;
  border: 6px solid var(--purple);
  box-shadow: 0 0 0 10px rgba(112,77,133,0.1);
  display: block;
  max-width: 100%;
}

.contact-card {
  background: var(--bg);
  border: 2px solid rgba(112,77,133,0.2);
  border-radius: var(--border-radius);
  padding: 1.25rem;
  margin-top: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.contact-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  padding: 0.65rem 0.75rem;
  border-radius: 0.6rem;
  transition: background 0.2s, color 0.2s;
}
.contact-row:hover {
  background: rgba(112,77,133,0.07);
}

.contact-icon-wrap {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(112,77,133,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s;
}
.contact-row:hover .contact-icon-wrap {
  background: var(--purple);
}
.contact-icon-wrap svg {
  width: 18px;
  height: 18px;
  fill: var(--purple);
  flex-shrink: 0;
  overflow: visible;
  transition: fill 0.2s;
}
.contact-row:hover .contact-icon-wrap svg {
  fill: #fff;
}

.contact-row-body {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.contact-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.07em;
}
.contact-value {
  font-family: 'Amiko', serif;
  font-size: clamp(0.9rem, 3vw, 1.15rem);
  font-weight: 700;
  color: var(--purple);
  overflow-wrap: break-word;
  word-break: break-all;
  transition: color 0.2s;
}
.contact-row:hover .contact-value {
  color: var(--purple-dark);
}

/* ── GALLERY SECTION ── */
.gallery-section {
  background: linear-gradient(160deg, var(--bg) 0%, color-mix(in srgb, var(--bg) 70%, var(--purple)) 100%);
}

.gallery-header { margin-bottom: 2rem; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  width: 100%;
}

.gallery-item {
  position: relative;
  border-radius: 0.75rem;
  overflow: hidden;
  height: 220px;
  background: var(--mid);
  min-width: 0;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.gallery-item:hover img { transform: scale(1.04); }

.gallery-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: rgba(112,77,133,0.9);
  color: white;
  padding: 0.5rem 0.75rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}
.gallery-item:hover .gallery-caption { transform: translateY(0); }

/* ── SOCIAL SECTION ── */
.social-section {
  background: var(--white);
  text-align: center;
  border-top: 1px solid rgba(112,77,133,0.08);
}

.social-section .section-eyebrow,
.social-section .section-title {
  margin-left: auto;
  margin-right: auto;
}

.social-section .section-body {
  max-width: 360px;
  margin: 0 auto 2rem;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 0.875rem;
  flex-wrap: wrap;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--mid);
  text-decoration: none;
  transition: transform 0.2s, background 0.2s;
  flex-shrink: 0;
}
.social-icon:hover {
  transform: scale(1.12);
  background: var(--purple);
}
.social-icon svg {
  width: 22px;
  height: 22px;
  fill: var(--purple-light);
  transition: fill 0.2s;
}
.social-icon:hover svg { fill: white; }

/* ── FB POST CARDS ── */
.fb-post-card {
  position: relative;
  border-radius: 0.75rem;
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(112,77,133,0.12);
  box-shadow: 0 2px 12px rgba(112,77,133,0.07);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
  color: inherit;
}
.fb-post-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(112,77,133,0.15);
}
.fb-post-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  background: var(--mid);
}
.fb-post-body {
  padding: 1rem 1.1rem 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.fb-post-date {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--purple);
}
.fb-post-text {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.fb-post-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--purple);
  margin-top: auto;
  padding-top: 0.5rem;
}

/* Skeleton loader */
@keyframes shimmer {
  0%   { background-position: -400px 0; }
  100% { background-position: 400px 0; }
}
.fb-skeleton {
  background: linear-gradient(90deg, var(--mid) 25%, color-mix(in srgb, var(--mid) 70%, var(--bg)) 50%, var(--mid) 75%);
  background-size: 800px 100%;
  animation: shimmer 1.4s infinite linear;
  height: 280px;
}

/* ── REVIEWS SECTION ── */
.reviews-section {
  background: linear-gradient(160deg, var(--bg) 0%, color-mix(in srgb, var(--bg) 70%, var(--purple)) 100%);
  border-top: 1px solid rgba(112,77,133,0.08);
}

.reviews-intro {
  margin-bottom: 2.5rem;
}

.reviews-platforms {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.reviews-platform-block {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.platform-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.25rem;
}

.platform-logo {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.platform-logo.facebook { background: #1877F2; }
.platform-logo.google { background: #fff; border: 1.5px solid rgba(0,0,0,0.1); }
.platform-logo svg { width: 20px; height: 20px; }

.platform-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
}

.platform-rating {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  color: var(--muted);
  font-weight: 500;
}

.stars {
  display: flex;
  gap: 2px;
}

.star {
  width: 13px;
  height: 13px;
  fill: #f59e0b;
}

.review-card {
  background: var(--white);
  border: 1px solid rgba(112,77,133,0.12);
  border-radius: var(--border-radius);
  padding: 1.25rem 1.35rem;
  box-shadow: 0 2px 12px rgba(112,77,133,0.07);
  transition: transform 0.2s, box-shadow 0.2s;
}

.review-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(112,77,133,0.13);
}

.review-card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.reviewer-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--purple);
  color: white;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.reviewer-info { flex: 1; min-width: 0; }

.reviewer-name {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.review-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1px;
}

.review-stars { display: flex; gap: 1px; }
.review-stars .star { width: 12px; height: 12px; }

.review-date {
  font-size: 0.75rem;
  color: var(--muted);
}

.review-text {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.65;
}

.reviews-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.5rem;
  padding: 0.65rem 1.35rem;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid var(--purple);
  color: var(--purple);
  transition: background 0.2s, color 0.2s, transform 0.2s;
  align-self: flex-start;
}

.reviews-cta:hover {
  background: var(--purple);
  color: white;
  transform: translateY(-1px);
}

.reviews-cta svg {
  width: 13px;
  height: 13px;
  fill: currentColor;
}

.notice-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(112,77,133,0.08);
  color: var(--purple);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border-radius: 50px;
  margin-bottom: 2rem;
}

@media (max-width: 768px) {
  .reviews-platforms {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* ── FOOTER ── */
footer {
  background: var(--dark);
  color: rgba(255,255,255,0.4);
  text-align: center;
  padding: 1.75rem 1.5rem;
  font-size: 0.82rem;
  width: 100%;
}
footer a { color: rgba(255,255,255,0.5); text-decoration: none; }
footer a:hover { color: var(--purple-light); }

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-inner > * { animation: fadeUp 0.8s ease both; }
.hero-inner > *:nth-child(1) { animation-delay: 0.1s; }
.hero-inner > *:nth-child(2) { animation-delay: 0.2s; }
.hero-inner > *:nth-child(3) { animation-delay: 0.3s; }
.hero-inner > *:nth-child(4) { animation-delay: 0.4s; }
.hero-inner > *:nth-child(5) { animation-delay: 0.5s; }

/* ── TABLET (≤768px) ── */
@media (max-width: 768px) {
  nav { padding: 0 1.25rem; height: 56px; }

  .two-col {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .two-col .text-side { order: -1; }

  .quote-image { aspect-ratio: 1537 / 2048; }

  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-item { height: 180px; }
  .gallery-caption { transform: translateY(0); }

  section { padding: 3.5rem 1.25rem; }
  .hero { padding: 5rem 1.25rem 3rem; }
}

/* ── MOBILE (≤540px) ── */
@media (max-width: 540px) {
  .nav-links { display: none; }

  .hero { padding: 4.5rem 1.25rem 2.5rem; }
  .hero-avatar { width: 100px; height: 100px; }

  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item { height: 200px; }

  .social-icon { width: 48px; height: 48px; }
  .social-icon svg { width: 20px; height: 20px; }

  section { padding: 3rem 1.25rem; }
}

/* ── SMALL PHONES (≤360px) ── */
@media (max-width: 360px) {
  nav { padding: 0 1rem; }
  section { padding: 2.5rem 1rem; }
  .hero { padding: 4rem 1rem 2.5rem; }
  .hero-cta { padding: 0.75rem 1.5rem; font-size: 0.875rem; }
  .contact-card { padding: 1rem; }
}