/* ============================================================
   Lynn the Cleaning Fairy — Main Stylesheet
   Palette: warm blush-lavender  ·  Light & Dark mode
   ============================================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600&display=swap');

/* ============================================================
   LIGHT MODE — default  (warm blush-lavender)
   Inspired by the brand image: warm near-white + soft purple.
   ============================================================ */
:root {
  /* Brand purple */
  --clr-primary:    #7C5CBF;
  --clr-primary-dk: #4A3880;
  --clr-primary-lt: #9B7DD4;
  --clr-accent:     #B39DDB;

  /* Surfaces */
  --clr-bg-body:    #FDFBFF;   /* warm white, harmonises with blush image */
  --clr-bg-surface: #F5F0FF;   /* soft lavender section bg */
  --clr-bg-card:    #FFFFFF;
  --clr-bg-input:   #FFFFFF;
  --clr-light:      #EDE9F8;
  --clr-lighter:    #F5F0FF;

  /* Text */
  --clr-text:       #2D2540;
  --clr-text-muted: #6B5B8E;

  /* Borders */
  --clr-border:     #D8CCF0;

  /* Nav */
  --clr-nav-bg:     rgba(253,251,255,0.93);
  --clr-nav-mobile: #FDFBFF;

  /* Trust bar */
  --clr-trust-bg:   #FFFFFF;

  /* Shadows — purple-tinted */
  --shadow-sm: 0 1px 3px rgba(74,56,128,0.10);
  --shadow-md: 0 4px 16px rgba(74,56,128,0.13);
  --shadow-lg: 0 8px 32px rgba(74,56,128,0.17);
  --shadow-xl: 0 16px 48px rgba(74,56,128,0.22);

  /* Toggle */
  --toggle-track:  #D8CCF0;
  --toggle-knob:   #FFFFFF;
}

/* ============================================================
   DARK MODE — [data-theme="dark"]
   Deep warm-plum world. Purple accents brighten for contrast.
   ============================================================ */
[data-theme="dark"] {
  --clr-primary:    #A07EDB;
  --clr-primary-dk: #C4A8F0;
  --clr-primary-lt: #7C5CBF;
  --clr-accent:     #C4A8F0;

  --clr-bg-body:    #130F1E;
  --clr-bg-surface: #1A1529;
  --clr-bg-card:    #221B34;
  --clr-bg-input:   #1E1830;
  --clr-light:      rgba(160,126,219,0.18);
  --clr-lighter:    rgba(160,126,219,0.10);

  --clr-text:       #EDE9F8;
  --clr-text-muted: #B39DDB;

  --clr-border:     rgba(160,126,219,0.22);

  --clr-nav-bg:     rgba(19,15,30,0.96);
  --clr-nav-mobile: #1A1529;

  --clr-trust-bg:   #1A1529;

  --shadow-sm: 0 1px 4px rgba(0,0,0,0.45);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.50);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.55);
  --shadow-xl: 0 16px 48px rgba(0,0,0,0.60);

  --toggle-track: #7C5CBF;
  --toggle-knob:  #221B34;
}

/* ============================================================
   TOKENS — mode-independent
   ============================================================ */
:root {
  --ff-heading: 'Poppins', sans-serif;
  --ff-body:    'Inter', sans-serif;

  --fs-xs:   0.75rem;   --fs-sm:   0.875rem;  --fs-base: 1rem;
  --fs-md:   1.125rem;  --fs-lg:   1.375rem;  --fs-xl:   1.75rem;
  --fs-2xl:  2.25rem;   --fs-3xl:  3rem;      --fs-4xl:  3.75rem;

  --sp-1: 0.25rem; --sp-2: 0.5rem;  --sp-3: 0.75rem;
  --sp-4: 1rem;    --sp-6: 1.5rem;  --sp-8: 2rem;
  --sp-12: 3rem;   --sp-16: 4rem;   --sp-20: 5rem;  --sp-24: 6rem;

  --radius-sm: 6px;  --radius-md: 12px;  --radius-lg: 20px;
  --radius-xl: 32px; --radius-full: 999px;

  --transition:      0.28s ease;
  --transition-slow: 0.45s ease;

  --max-width: 1200px;
  --nav-height: 72px;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--ff-body);
  font-size: var(--fs-base);
  color: var(--clr-text);
  background: var(--clr-bg-body);
  line-height: 1.65;
  opacity: 0;
  animation: pageLoad 0.5s ease forwards;
  transition: background var(--transition-slow), color var(--transition-slow);
}

img, svg { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, select, textarea { font-family: inherit; }

@keyframes pageLoad { to { opacity: 1; } }

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

/* ============================================================
   THEME TOGGLE — pill slider  ☀️ / 🌙
   ============================================================ */
.theme-toggle {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  background: none;
  border: none;
  cursor: pointer;
  padding: 2px;
  border-radius: var(--radius-full);
  outline: none;
  flex-shrink: 0;
}
.theme-toggle:focus-visible .theme-toggle__track {
  outline: 2px solid var(--clr-primary);
  outline-offset: 3px;
}

/* Pill track */
.theme-toggle__track {
  position: relative;
  width: 54px;
  height: 30px;
  border-radius: var(--radius-full);
  background: var(--toggle-track);
  border: 1.5px solid var(--clr-border);
  transition: background 0.35s ease, border-color 0.35s ease;
  flex-shrink: 0;
}

/* Sliding knob */
.theme-toggle__knob {
  position: absolute;
  top: 4px;
  left: 4px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--toggle-knob);
  box-shadow: 0 1px 5px rgba(0,0,0,0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  line-height: 1;
  /* bouncy spring slide */
  transition: transform 0.38s cubic-bezier(0.34, 1.56, 0.64, 1),
              background 0.35s ease;
}

/* Sun in light mode */
.theme-toggle__knob::after { content: '☀️'; font-size: 11px; }

/* Dark mode — knob slides right, shows moon */
[data-theme="dark"] .theme-toggle__track {
  background: var(--toggle-track);
  border-color: rgba(160,126,219,0.4);
}
[data-theme="dark"] .theme-toggle__knob {
  transform: translateX(24px);
}
[data-theme="dark"] .theme-toggle__knob::after { content: '🌙'; }

/* Optional text label */
.theme-toggle__label {
  font-size: var(--fs-xs);
  font-weight: 600;
  font-family: var(--ff-heading);
  color: var(--clr-text-muted);
  letter-spacing: 0.3px;
  white-space: nowrap;
  transition: color var(--transition);
  user-select: none;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-height);
  background: var(--clr-nav-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition), box-shadow var(--transition),
              background var(--transition-slow);
}
.nav.scrolled {
  border-bottom-color: var(--clr-border);
  box-shadow: var(--shadow-md);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: var(--sp-4);
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  flex-shrink: 0;
}
.nav__logo img, .nav__logo svg { height: 44px; width: auto; }
[data-theme="dark"] .nav__logo img { filter: brightness(6) saturate(0.3); }

/* Links */
.nav__links {
  display: flex;
  align-items: center;
  gap: var(--sp-6);
}
.nav__links a {
  font-family: var(--ff-heading);
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--clr-text);
  position: relative;
  transition: color var(--transition);
}
.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 2px;
  background: var(--clr-primary);
  transition: width var(--transition);
  border-radius: var(--radius-full);
}
.nav__links a:hover,
.nav__links a.active { color: var(--clr-primary); }
.nav__links a:hover::after,
.nav__links a.active::after { width: 100%; }

/* CTA pill */
.nav__cta {
  background: var(--clr-primary);
  color: #fff !important;
  padding: var(--sp-2) var(--sp-6);
  border-radius: var(--radius-full);
  font-weight: 600 !important;
  transition: background var(--transition), transform var(--transition),
              box-shadow var(--transition) !important;
  box-shadow: var(--shadow-sm);
}
.nav__cta::after { display: none !important; }
.nav__cta:hover {
  background: var(--clr-primary-dk) !important;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md) !important;
  color: #fff !important;
}
[data-theme="dark"] .nav__cta:hover { background: #8B6ACF !important; }

/* Right cluster: toggle + CTA */
.nav__right {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  flex-shrink: 0;
}

/* Hamburger */
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--sp-2);
}
.nav__toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--clr-primary);
  border-radius: var(--radius-full);
  transition: transform var(--transition), opacity var(--transition);
}
.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); }

/* Mobile */
@media (max-width: 820px) {
  .nav__toggle { display: flex; }
  .nav__links {
    display: none;
    position: absolute;
    top: var(--nav-height); left: 0; right: 0;
    background: var(--clr-nav-mobile);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: var(--sp-4) var(--sp-6);
    border-bottom: 1px solid var(--clr-border);
    box-shadow: var(--shadow-lg);
    transition: background var(--transition-slow);
  }
  .nav__links.open { display: flex; }
  .nav__links a {
    padding: var(--sp-3) 0;
    width: 100%;
    font-size: var(--fs-base);
    border-bottom: 1px solid var(--clr-border);
  }
  .nav__links a:last-child { border-bottom: none; }
  .nav__cta {
    margin-top: var(--sp-3);
    padding: var(--sp-3) var(--sp-6) !important;
    width: 100%;
    text-align: center;
    display: block;
  }
  /* hide text on mobile — keep just the pill */
  .theme-toggle__label { display: none; }
  /* hide the desktop CTA pill on mobile (shown inside dropdown) */
  .btn-hide-mobile { display: none !important; }
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-family: var(--ff-heading);
  font-weight: 600;
  font-size: var(--fs-base);
  border-radius: var(--radius-full);
  padding: var(--sp-3) var(--sp-8);
  transition: transform var(--transition), box-shadow var(--transition),
              background var(--transition), color var(--transition), border-color var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
  text-align: center;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary { background: var(--clr-primary); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--clr-primary-dk); box-shadow: var(--shadow-md); color: #fff; }
[data-theme="dark"] .btn-primary:hover { background: #8B6ACF; }

.btn-outline { background: transparent; color: var(--clr-primary); border-color: var(--clr-primary); }
.btn-outline:hover { background: var(--clr-light); box-shadow: var(--shadow-sm); }

.btn-white { background: #fff; color: var(--clr-primary-dk); box-shadow: var(--shadow-sm); }
[data-theme="dark"] .btn-white { background: var(--clr-bg-card); color: var(--clr-primary); }
.btn-white:hover { background: var(--clr-lighter); box-shadow: var(--shadow-md); }

.btn-lg { font-size: var(--fs-md); padding: var(--sp-4) var(--sp-12); }
.btn-sm { font-size: var(--fs-sm); padding: var(--sp-2) var(--sp-6); }

/* ============================================================
   PAGE HERO (shared)
   ============================================================ */
.page-hero {
  padding-top: calc(var(--nav-height) + var(--sp-16));
  padding-bottom: var(--sp-16);
  background: linear-gradient(135deg, var(--clr-lighter) 0%, var(--clr-light) 60%, rgba(124,92,191,0.18) 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: background var(--transition-slow);
}
.page-hero::before {
  content: ''; position: absolute; top: -60px; right: -60px;
  width: 300px; height: 300px; border-radius: 50%;
  background: rgba(124,92,191,0.07); pointer-events: none;
}
.page-hero::after {
  content: ''; position: absolute; bottom: -80px; left: -80px;
  width: 400px; height: 400px; border-radius: 50%;
  background: rgba(124,92,191,0.04); pointer-events: none;
}
.page-hero__label {
  display: inline-block;
  font-size: var(--fs-xs); font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--clr-primary); background: var(--clr-light);
  padding: var(--sp-1) var(--sp-4); border-radius: var(--radius-full);
  margin-bottom: var(--sp-4);
}
.page-hero h1 {
  font-family: var(--ff-heading); font-size: var(--fs-3xl);
  font-weight: 800; color: var(--clr-primary-dk);
  line-height: 1.15; margin-bottom: var(--sp-4);
}
.page-hero p {
  font-size: var(--fs-lg); color: var(--clr-text-muted);
  max-width: 640px; margin: 0 auto;
}
@media (max-width: 768px) {
  .page-hero h1 { font-size: var(--fs-2xl); }
  .page-hero p  { font-size: var(--fs-base); }
}

/* ============================================================
   SECTION UTILITIES
   ============================================================ */
.section    { padding: var(--sp-24) 0; }
.section-sm { padding: var(--sp-16) 0; }

.section-bg {
  background: var(--clr-bg-surface);
  transition: background var(--transition-slow);
}
.section-light {
  background: var(--clr-lighter);
  transition: background var(--transition-slow);
}
.section-purple {
  background: linear-gradient(135deg, var(--clr-primary-dk) 0%, var(--clr-primary) 100%);
  color: #fff;
}
[data-theme="dark"] .section-purple {
  background: linear-gradient(135deg, #0E0B1A 0%, #231B3A 100%);
}

.section-header { text-align: center; margin-bottom: var(--sp-12); }
.section-header .label {
  display: inline-block; font-size: var(--fs-xs); font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--clr-primary); background: var(--clr-light);
  padding: var(--sp-1) var(--sp-4); border-radius: var(--radius-full);
  margin-bottom: var(--sp-3);
}
.section-header h2 {
  font-family: var(--ff-heading); font-size: var(--fs-2xl);
  font-weight: 800; color: var(--clr-primary-dk);
  margin-bottom: var(--sp-4); line-height: 1.2;
}
.section-header p {
  font-size: var(--fs-md); color: var(--clr-text-muted);
  max-width: 640px; margin: 0 auto;
}
.section-purple .section-header .label  { color: rgba(255,255,255,0.8); background: rgba(255,255,255,0.15); }
.section-purple .section-header h2 { color: #fff; }
.section-purple .section-header p  { color: rgba(255,255,255,0.85); }

/* ============================================================
   CARDS
   ============================================================ */
.card {
  background: var(--clr-bg-card);
  border-radius: var(--radius-lg);
  padding: var(--sp-8);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--clr-border);
  transition: transform var(--transition), box-shadow var(--transition),
              background var(--transition-slow), border-color var(--transition-slow);
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.card__icon { font-size: 2.25rem; margin-bottom: var(--sp-4); line-height: 1; }
.card h3 { font-family: var(--ff-heading); font-size: var(--fs-lg); font-weight: 700; color: var(--clr-primary-dk); margin-bottom: var(--sp-3); }
.card p   { font-size: var(--fs-sm); color: var(--clr-text-muted); line-height: 1.7; }

/* ============================================================
   GRIDS
   ============================================================ */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-8); }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: var(--sp-6); }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: var(--sp-6); }
@media (max-width: 1024px) { .grid-4 { grid-template-columns: repeat(2,1fr); } .grid-3 { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 768px)  { .grid-2,.grid-3,.grid-4 { grid-template-columns: 1fr; } }

/* ============================================================
   CHECKLIST
   ============================================================ */
.checklist { display: flex; flex-direction: column; gap: var(--sp-2); }
.checklist li {
  display: flex; align-items: flex-start; gap: var(--sp-3);
  font-size: var(--fs-base); color: var(--clr-text); line-height: 1.6;
}
.checklist li::before {
  content: '✓'; flex-shrink: 0; width: 22px; height: 22px;
  background: var(--clr-primary); color: #fff; border-radius: 50%;
  font-size: 12px; font-weight: 700;
  display: flex; align-items: center; justify-content: center; margin-top: 2px;
}
.checklist-2col { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-2) var(--sp-6); }
@media (max-width: 640px) { .checklist-2col { grid-template-columns: 1fr; } }

/* ============================================================
   IMAGE PLACEHOLDERS
   ============================================================ */
.img-placeholder {
  background: linear-gradient(135deg, var(--clr-light), var(--clr-accent));
  border-radius: var(--radius-lg);
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: var(--sp-3);
  color: var(--clr-primary); font-family: var(--ff-heading);
  font-weight: 600; font-size: var(--fs-sm); text-align: center;
  overflow: hidden; position: relative;
  transition: background var(--transition-slow);
}
[data-theme="dark"] .img-placeholder {
  background: linear-gradient(135deg, rgba(160,126,219,0.22), rgba(74,56,128,0.38));
}
.img-placeholder::before { content: '📸'; font-size: 2.5rem; }
.img-placeholder span { padding: 0 var(--sp-4); opacity: 0.7; }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity 0.65s ease, transform 0.65s ease; }
.reveal.delay-1 { transition-delay: 0.1s; } .reveal.delay-2 { transition-delay: 0.2s; }
.reveal.delay-3 { transition-delay: 0.3s; } .reveal.delay-4 { transition-delay: 0.4s; }
.reveal.delay-5 { transition-delay: 0.5s; } .reveal.delay-6 { transition-delay: 0.6s; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-left  { opacity: 0; transform: translateX(-40px); transition: opacity 0.65s ease, transform 0.65s ease; }
.reveal-right { opacity: 0; transform: translateX(40px);  transition: opacity 0.65s ease, transform 0.65s ease; }
.reveal-left.is-visible, .reveal-right.is-visible { opacity: 1; transform: translateX(0); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: #3A2966;
  color: rgba(255,255,255,0.85);
  padding: var(--sp-16) 0 var(--sp-8);
  transition: background var(--transition-slow);
}
[data-theme="dark"] .footer { background: #0D0A17; }

.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: var(--sp-12); margin-bottom: var(--sp-12); }
.footer__brand img, .footer__brand svg { height: 48px; width: auto; filter: brightness(10); margin-bottom: var(--sp-4); }
.footer__brand p { font-size: var(--fs-sm); line-height: 1.7; color: rgba(255,255,255,0.7); margin-bottom: var(--sp-6); }
.footer__tagline { font-style: italic; color: var(--clr-accent) !important; }
.footer__social { display: flex; gap: var(--sp-3); }
.footer__social a {
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  font-size: var(--fs-base); transition: background var(--transition), transform var(--transition); color: #fff;
}
.footer__social a:hover { background: var(--clr-primary-lt); transform: translateY(-2px); }
.footer__col h4 { font-family: var(--ff-heading); font-size: var(--fs-sm); font-weight: 700; color: #fff; margin-bottom: var(--sp-4); letter-spacing: 0.5px; }
.footer__col ul { display: flex; flex-direction: column; gap: var(--sp-2); }
.footer__col ul a { font-size: var(--fs-sm); color: rgba(255,255,255,0.65); transition: color var(--transition); }
.footer__col ul a:hover { color: var(--clr-accent); }
.footer__contact-item { display: flex; align-items: flex-start; gap: var(--sp-2); font-size: var(--fs-sm); color: rgba(255,255,255,0.65); margin-bottom: var(--sp-2); }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.12); padding-top: var(--sp-6);
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: var(--sp-4); font-size: var(--fs-xs); color: rgba(255,255,255,0.5);
}
.footer__bottom .badge { background: rgba(255,255,255,0.1); padding: var(--sp-1) var(--sp-3); border-radius: var(--radius-full); font-size: var(--fs-xs); color: rgba(255,255,255,0.7); }
@media (max-width: 1024px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px)  { .footer__grid { grid-template-columns: 1fr; gap: var(--sp-8); } .footer__bottom { flex-direction: column; text-align: center; } }

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
  background: linear-gradient(135deg, var(--clr-primary-dk) 0%, var(--clr-primary) 50%, var(--clr-primary-lt) 100%);
  padding: var(--sp-20) 0; text-align: center; position: relative; overflow: hidden;
  transition: background var(--transition-slow);
}
[data-theme="dark"] .cta-banner { background: linear-gradient(135deg, #0E0B1A 0%, #2A1F4A 50%, #3D2B6E 100%); }
.cta-banner::before { content: '✨'; position: absolute; font-size: 8rem; opacity: 0.06; top: -20px; right: 5%; pointer-events: none; }
.cta-banner::after  { content: '🧚'; position: absolute; font-size: 6rem; opacity: 0.06; bottom: -10px; left: 5%; pointer-events: none; }
.cta-banner h2 { font-family: var(--ff-heading); font-size: var(--fs-2xl); font-weight: 800; color: #fff; margin-bottom: var(--sp-4); }
.cta-banner p  { font-size: var(--fs-md); color: rgba(255,255,255,0.85); max-width: 560px; margin: 0 auto var(--sp-8); }
.cta-banner .btn-row { display: flex; justify-content: center; gap: var(--sp-4); flex-wrap: wrap; }

/* ============================================================
   TRUST BAR
   ============================================================ */
.trust-bar {
  background: var(--clr-trust-bg);
  border-top: 1px solid var(--clr-border); border-bottom: 1px solid var(--clr-border);
  padding: var(--sp-6) 0;
  transition: background var(--transition-slow), border-color var(--transition-slow);
}
.trust-bar__inner { display: flex; justify-content: center; align-items: center; gap: var(--sp-12); flex-wrap: wrap; }
.trust-bar__item  { display: flex; align-items: center; gap: var(--sp-3); font-family: var(--ff-heading); font-size: var(--fs-sm); font-weight: 600; color: var(--clr-text-muted); }
.trust-bar__item .icon { font-size: 1.5rem; }

/* ============================================================
   SPLIT LAYOUT
   ============================================================ */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-16); align-items: center; }
.split.reverse { direction: rtl; }
.split.reverse > * { direction: ltr; }
.split__img { width: 100%; height: 380px; }
.split__content h2 { font-family: var(--ff-heading); font-size: var(--fs-2xl); font-weight: 800; color: var(--clr-primary-dk); margin-bottom: var(--sp-4); line-height: 1.2; }
.split__content p  { color: var(--clr-text-muted); font-size: var(--fs-base); margin-bottom: var(--sp-4); line-height: 1.75; }
.split__content .label { display: inline-block; font-size: var(--fs-xs); font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--clr-primary); background: var(--clr-light); padding: var(--sp-1) var(--sp-4); border-radius: var(--radius-full); margin-bottom: var(--sp-3); }
@media (max-width: 768px) { .split { grid-template-columns: 1fr; } .split.reverse { direction: ltr; } .split__img { height: 240px; } }

/* ============================================================
   FORM STYLES
   ============================================================ */
.form-group { position: relative; margin-bottom: var(--sp-6); }
.form-group label { display: block; font-size: var(--fs-sm); font-weight: 600; color: var(--clr-primary-dk); margin-bottom: var(--sp-2); }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: var(--sp-3) var(--sp-4);
  border: 2px solid var(--clr-border); border-radius: var(--radius-md);
  font-size: var(--fs-base); color: var(--clr-text); background: var(--clr-bg-input);
  transition: border-color var(--transition), box-shadow var(--transition),
              background var(--transition-slow), color var(--transition-slow);
  outline: none; appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--clr-primary); box-shadow: 0 0 0 4px rgba(124,92,191,0.12); }
[data-theme="dark"] .form-group input:focus,
[data-theme="dark"] .form-group select:focus,
[data-theme="dark"] .form-group textarea:focus { box-shadow: 0 0 0 4px rgba(160,126,219,0.18); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%237C5CBF' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px;
}
[data-theme="dark"] .form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23A07EDB' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-4); }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }

/* ============================================================
   MISC UTILITIES
   ============================================================ */
.text-center { text-align: center; } .text-purple { color: var(--clr-primary); } .text-muted { color: var(--clr-text-muted); }
.mt-4 { margin-top: var(--sp-4); } .mt-6 { margin-top: var(--sp-6); } .mt-8 { margin-top: var(--sp-8); }
.mb-4 { margin-bottom: var(--sp-4); } .mb-6 { margin-bottom: var(--sp-6); } .mb-8 { margin-bottom: var(--sp-8); }
.flex { display: flex; } .flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.gap-4 { gap: var(--sp-4); } .gap-6 { gap: var(--sp-6); } .flex-wrap { flex-wrap: wrap; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.divider { width: 64px; height: 4px; background: linear-gradient(90deg, var(--clr-primary), var(--clr-primary-lt)); border-radius: var(--radius-full); margin: var(--sp-4) auto var(--sp-6); }
.divider-left { margin-left: 0; }

.tag { display: inline-block; background: var(--clr-light); color: var(--clr-primary); font-size: var(--fs-xs); font-weight: 600; padding: var(--sp-1) var(--sp-3); border-radius: var(--radius-full); letter-spacing: 0.5px; }

.quote-box {
  border-left: 4px solid var(--clr-primary);
  background: var(--clr-lighter);
  padding: var(--sp-6) var(--sp-8);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-style: italic; color: var(--clr-primary-dk);
  font-size: var(--fs-lg); font-weight: 500; margin: var(--sp-8) 0;
  transition: background var(--transition-slow);
}

/* prevent FOUC — hide body until theme is applied */
html:not([data-theme]) body { opacity: 0; }
