/* ==========================================================================
   Brand Tokens
   ========================================================================== */
:root {
  --primary: #B8A9C9;
  --accent: #D4B0A0;
  --bg: #FBF6EF;
  --surface: #F3ECE2;
  --text: #3B3636;
  --muted: #5b6070;

  --mint: #C8E0D4;
  --blush: #F2D7D5;
  --lavender: #D8CCE5;
  --cream: #FBF6EF;

  --radius: 4px;
  --radius-lg: 8px;

  --shadow-soft: 0 4px 20px rgba(59, 54, 54, 0.06);
  --shadow-glow-primary: 0 0 40px rgba(184, 169, 201, 0.35);
  --shadow-glow-accent: 0 0 40px rgba(212, 176, 160, 0.35);

  --header-h: 72px;
  --container: 1200px;

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --t: 250ms var(--ease);
}

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

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

@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;
  }
}

body {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, picture, video, svg {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--t);
}

a:hover { color: var(--primary); }

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

ul, ol { list-style: none; }

:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
  border-radius: var(--radius);
}

/* ==========================================================================
   Typography
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: "Inter", sans-serif;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text);
}

h1 { font-size: clamp(2.25rem, 5vw + 1rem, 4rem); }
h2 { font-size: clamp(1.75rem, 3vw + 0.5rem, 2.75rem); }
h3 { font-size: clamp(1.25rem, 1.5vw + 0.5rem, 1.5rem); }
h4 { font-size: 1.125rem; }

p { max-width: 68ch; }

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.text-muted { color: var(--muted); }

/* ==========================================================================
   Layout
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 1.25rem;
}

.section {
  padding: 4rem 0;
}

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3rem;
}

.section-head p {
  margin: 0.75rem auto 0;
  color: var(--muted);
}

.grid {
  display: grid;
  gap: 1.5rem;
}

/* ==========================================================================
   Header
   ========================================================================== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(251, 246, 239, 0.75);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: background var(--t), border-color var(--t), box-shadow var(--t);
}

.header.scrolled {
  background: rgba(251, 246, 239, 0.92);
  border-bottom-color: rgba(91, 96, 112, 0.12);
  box-shadow: 0 4px 24px rgba(59, 54, 54, 0.05);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 1.25rem;
  position: relative;
}

.logo {
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-mark {
  width: 28px;
  height: 28px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--primary), var(--accent));
  box-shadow: var(--shadow-glow-primary);
}

/* ==========================================================================
   Navigation
   ========================================================================== */
.nav-menu {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.nav-menu a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text);
  padding: 0.4rem 0;
  position: relative;
}

.nav-menu a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
  transform: scaleX(1);
}

.mobile-menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  color: var(--text);
}

.mobile-menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  position: relative;
}

.mobile-menu-toggle span::before,
.mobile-menu-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 22px;
  height: 2px;
  background: currentColor;
  transition: transform var(--t);
}

.mobile-menu-toggle span::before { top: -7px; }
.mobile-menu-toggle span::after  { top:  7px; }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn,
.btn-primary,
.btn-secondary,
.cta-button,
.form-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius);
  transition: transform var(--t), box-shadow var(--t), background var(--t), color var(--t);
  cursor: pointer;
  white-space: nowrap;
  line-height: 1;
}

.btn-primary,
.cta-button,
.form-submit {
  background: linear-gradient(135deg, var(--primary), #a995bd);
  color: #fff;
  box-shadow: var(--shadow-glow-primary);
}

.btn-primary:hover,
.cta-button:hover,
.form-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 50px rgba(184, 169, 201, 0.5);
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--muted);
}

.btn-secondary:hover {
  background: var(--surface);
  border-color: var(--primary);
  color: var(--text);
}

.form-submit {
  width: 100%;
  padding: 1rem;
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero-section {
  position: relative;
  isolation: isolate;
  padding: 5rem 0 6rem;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(ellipse at top left, rgba(184, 169, 201, 0.55), transparent 55%),
    radial-gradient(ellipse at bottom right, rgba(212, 176, 160, 0.55), transparent 55%),
    linear-gradient(135deg, #8a7aa3 0%, #b08e7d 100%);
}

.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.45)),
    radial-gradient(circle, rgba(255, 255, 255, 0.18) 1px, transparent 1px);
  background-size: auto, 22px 22px;
  z-index: 0;
}

.hero-section > * {
  position: relative;
  z-index: 1;
}

.hero-inner {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

.hero-content h1 {
  color: #fff;
  margin-bottom: 1.25rem;
}

.hero-content h1 span {
  background: linear-gradient(135deg, #fff, #F2D7D5);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-content p {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 2rem;
  max-width: 540px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-ctas .btn-primary {
  box-shadow: 0 0 40px rgba(255, 255, 255, 0.25), var(--shadow-glow-primary);
}

.hero-ctas .btn-secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
}

.hero-ctas .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
}

.hero-visual {
  position: relative;
}

.hero-card {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

/* ==========================================================================
   Glass Cards
   ========================================================================== */
.glass-card {
  background: rgba(243, 236, 226, 0.6);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow-soft), var(--shadow-glow-primary);
  transition: transform var(--t), box-shadow var(--t);
}

.glass-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft), 0 0 55px rgba(184, 169, 201, 0.45);
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  font-size: 1.25rem;
  box-shadow: var(--shadow-glow-accent);
}

.card-icon.mint    { background: linear-gradient(135deg, var(--mint), #a8cfbd); }
.card-icon.blush   { background: linear-gradient(135deg, var(--blush), var(--accent)); }
.card-icon.lavender{ background: linear-gradient(135deg, var(--lavender), var(--primary)); }

.glass-card h3 { margin-bottom: 0.5rem; }
.glass-card p  { color: var(--muted); font-size: 0.95rem; }

/* ==========================================================================
   Features Section
   ========================================================================== */
.features-grid {
  grid-template-columns: 1fr;
}

/* ==========================================================================
   Services Section
   ========================================================================== */
.services-section {
  background: var(--surface);
}

.services-grid {
  grid-template-columns: 1fr;
}

.service-card {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 2rem;
  border: 1px solid rgba(91, 96, 112, 0.08);
  transition: transform var(--t), box-shadow var(--t);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow-accent);
}

.service-card .price {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--primary);
  margin: 1rem 0;
}

.service-card ul {
  margin: 1rem 0 1.5rem;
}

.service-card li {
  padding: 0.4rem 0;
  color: var(--muted);
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.service-card li::before {
  content: "✓";
  color: var(--primary);
  font-weight: 700;
}

/* ==========================================================================
   About Section
   ========================================================================== */
.about-grid {
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

.about-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, var(--mint), var(--lavender));
}

/* ==========================================================================
   Stats Section
   ========================================================================== */
.stats-section {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
}

.stats-grid {
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-number {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  display: block;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.9rem;
  opacity: 0.85;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ==========================================================================
   Testimonials
   ========================================================================== */
.testimonial-section {
  position: relative;
  isolation: isolate;
  padding: 5rem 0;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(184, 169, 201, 0.9), rgba(212, 176, 160, 0.9)),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='40' height='40'><circle cx='2' cy='2' r='1' fill='white' opacity='0.3'/></svg>");
}

.testimonial-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.85));
  z-index: 0;
}

.testimonial-section > * {
  position: relative;
  z-index: 1;
}

.testimonial-section .section-head h2 { color: #fff; }
.testimonial-section .section-head p  { color: rgba(255, 255, 255, 0.8); }

.testimonials-grid {
  grid-template-columns: 1fr;
}

.testimonial-card {
  background: var(--surface);
  color: var(--text);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.testimonial-card blockquote {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  font-style: italic;
}

.testimonial-card blockquote::before {
  content: "“";
  font-size: 3rem;
  line-height: 0;
  color: var(--primary);
  display: block;
  margin-bottom: 0.5rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: auto;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  flex-shrink: 0;
}

.testimonial-author strong { display: block; font-size: 0.95rem; }
.testimonial-author span   { font-size: 0.85rem; color: var(--muted); }

/* ==========================================================================
   CTA Section
   ========================================================================== */
.cta-section {
  text-align: center;
  padding: 5rem 0;
}

.cta-box {
  background: linear-gradient(135deg, var(--lavender), var(--blush));
  border-radius: var(--radius-lg);
  padding: 3rem 1.5rem;
  box-shadow: var(--shadow-glow-primary);
}

.cta-box h2 { margin-bottom: 0.75rem; }
.cta-box p  { margin: 0 auto 1.75rem; color: var(--muted); }

/* ==========================================================================
   Contact Rows
   ========================================================================== */
.contact-row {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.contact-row .icon {
  font-size: 1.4rem;
  flex-shrink: 0;
  width: 1.4rem;
  height: 1.4rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-top: 0.1rem;
}

.contact-row strong { display: block; font-size: 0.95rem; }
.contact-row span   { color: var(--muted); font-size: 0.9rem; }

/* ==========================================================================
   Forms
   ========================================================================== */
.form {
  max-width: 560px;
  margin: 0 auto;
  background: var(--surface);
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 1rem;
  width: 100%;
}

.form-group label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--muted);
  border-radius: var(--radius);
  background: var(--bg);
  color: var(--text);
  font: inherit;
  transition: border-color var(--t), box-shadow var(--t);
}

.form-textarea {
  min-height: 140px;
  resize: vertical;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(184, 169, 201, 0.25);
}

.form-row {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background: #2a2626;
  color: #d9d3cc;
  padding: 4rem 0 1.5rem;
  margin-top: 4rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer h4 {
  color: #fff;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.footer ul li {
  margin-bottom: 0.5rem;
}

.footer a {
  color: #b8b0a6;
  font-size: 0.925rem;
}

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

.footer-about p {
  color: #b8b0a6;
  font-size: 0.925rem;
  margin-top: 0.75rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: flex-start;
  font-size: 0.85rem;
  color: #8a827a;
}

.socials {
  display: flex;
  gap: 0.75rem;
}

.socials a {
  width: 36px;
  height: 36px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background var(--t);
}

.socials a:hover { background: var(--primary); color: #fff; }

/* ==========================================================================
   Cookie Popup
   ========================================================================== */
.cookie-popup {
  position: fixed;
  bottom: 1.25rem;
  right: 1.25rem;
  left: 1.25rem;
  max-width: 380px;
  margin-left: auto;
  background: var(--surface);
  color: var(--text);
  padding: 1.25rem;
  border-radius: var(--radius);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  z-index: 200;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  border: 1px solid rgba(91, 96, 112, 0.1);
  transition: opacity var(--t), transform var(--t);
}

.cookie-popup.hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
}

.cookie-popup p {
  font-size: 0.9rem;
  color: var(--muted);
}

.cookie-actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.cookie-actions .btn {
  padding: 0.55rem 1rem;
  font-size: 0.85rem;
}

/* ==========================================================================
   Policy Pages
   ========================================================================== */
.policy {
  padding: 4rem 0;
}

.policy article {
  max-width: 760px;
  margin: 0 auto;
}

.policy h1 { margin-bottom: 1rem; }
.policy .updated { color: var(--muted); margin-bottom: 2.5rem; }

.policy h2 {
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
  font-size: 1.35rem;
}

.policy p, .policy li {
  color: var(--muted);
  margin-bottom: 1rem;
}

.policy ul {
  padding-left: 1.25rem;
  list-style: disc;
}

/* ==========================================================================
   Utilities
   ========================================================================== */
.has-photo-bg {
  position: relative;
  isolation: isolate;
}

.has-photo-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.85));
  z-index: 0;
}

.has-photo-bg > * {
  position: relative;
  z-index: 1;
}

.text-center { text-align: center; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }

/* ==========================================================================
   Breakpoints — Tablet (≥ 768px)
   ========================================================================== */
@media (min-width: 768px) {
  .section { padding: 5.5rem 0; }

  .features-grid,
  .services-grid,
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .about-grid {
    grid-template-columns: 1fr 1fr;
  }

  .form-row {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }

  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .cta-box { padding: 4rem 2.5rem; }
}

/* ==========================================================================
   Breakpoints — Desktop (≥ 1024px)
   ========================================================================== */
@media (min-width: 1024px) {
  .section { padding: 7rem 0; }

  .hero-section { padding: 7rem 0 8rem; }

  .hero-inner {
    grid-template-columns: 1.1fr 1fr;
    gap: 4rem;
  }

  .features-grid,
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ==========================================================================
   Mobile Nav Rules (CRITICAL)
   ========================================================================== */
@media (max-width: 767px) {
  .mobile-menu-toggle {
    display: inline-flex;
  }

  .nav-menu {
    display: none;
  }

  .nav-menu.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg);
    padding: 1rem;
    border-top: 1px solid var(--muted);
    gap: 0.25rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  }

  .nav-menu.open a {
    padding: 0.75rem 0.5rem;
    width: 100%;
    border-radius: var(--radius);
  }

  .nav-menu.open a:hover {
    background: var(--surface);
  }
}