:root {
  --background: oklch(96.5% 0.003 285);
  --foreground: oklch(18% 0.01 285);
  --primary: oklch(22% 0.02 285);
  --primary-glow: oklch(38% 0.08 290);
  --primary-foreground: oklch(99% 0.005 305);
  --secondary: oklch(92% 0.005 285);
  --muted-foreground: oklch(48% 0.01 285);
  --accent: oklch(48% 0.12 295);
  --border: oklch(87% 0.005 285);
  --input: oklch(88% 0.005 285);
  --glass: oklch(100% 0 0 / 0.45);
  --glass-border: oklch(100% 0 0 / 0.7);
  --glass-strong: oklch(100% 0 0 / 0.68);
  --destructive: oklch(60% 0.22 20);
  --star: oklch(82% 0.17 85);
  --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--primary-glow) 60%, var(--accent) 100%);
  --gradient-soft: linear-gradient(135deg, color-mix(in oklab, var(--primary) 14%, white) 0%, color-mix(in oklab, var(--accent) 10%, white) 100%);
  --shadow-glow: 0 18px 50px -18px color-mix(in oklab, var(--primary) 55%, transparent);
  --shadow-glass: 0 8px 32px -12px color-mix(in oklab, var(--primary) 25%, transparent), inset 0 1px 0 oklch(100% 0 0 / 0.7);
  --font-sans: "Manrope", ui-sans-serif, system-ui, sans-serif;
  --font-display: "Outfit", ui-sans-serif, system-ui, sans-serif;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-sans);
  background: var(--background);
  color: var(--foreground);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-family: var(--font-display); letter-spacing: -0.02em; margin: 0; }
button, input, textarea { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; min-width: 0; }

.backdrop {
  position: fixed; inset: 0; z-index: -1; overflow: hidden;
  background-image: var(--gradient-soft);
}
.blob {
  position: absolute; border-radius: 999px; filter: blur(70px); opacity: 0.55;
  pointer-events: none; animation: blob 18s ease-in-out infinite;
}
.blob-a { width: 28rem; height: 28rem; left: -6rem; top: -10%; background: var(--primary-glow); }
.blob-b { width: 32rem; height: 32rem; right: -10%; top: 20%; background: var(--accent); animation-delay: -6s; }
.blob-c { width: 30rem; height: 30rem; left: 30%; bottom: -15%; background: var(--primary); animation-delay: -12s; }
@keyframes blob {
  0%, 100% { transform: translate(0) scale(1); }
  33% { transform: translate(40px, -30px) scale(1.1); }
  66% { transform: translate(-30px, 20px) scale(0.95); }
}

.glass {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-glass);
  backdrop-filter: blur(28px) saturate(160%);
  -webkit-backdrop-filter: blur(28px) saturate(160%);
}
.glass-strong {
  background: var(--glass-strong);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-glass);
  backdrop-filter: blur(36px) saturate(180%);
  -webkit-backdrop-filter: blur(36px) saturate(180%);
}
.gradient-text {
  background-image: var(--gradient-primary);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.animate-shimmer { animation: shimmer 3s linear infinite; }
@keyframes shimmer { from { background-position: 0%; } to { background-position: 200%; } }
.animate-rise { animation: rise 0.7s cubic-bezier(0.22, 1, 0.36, 1) both; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.animate-float { animation: float 7s ease-in-out infinite; }
.animate-float-slow { animation: float 11s ease-in-out infinite; }
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0); }
  50% { transform: translateY(-16px) rotate(2deg); }
}
.lift { transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s; }
.lift:hover { transform: translateY(-4px) scale(1.01); box-shadow: var(--shadow-glow); }

.top { position: fixed; inset: 1rem 0 auto; z-index: 50; display: flex; justify-content: center; padding: 0 1rem; }
.nav {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; max-width: 64rem; border-radius: 999px;
  padding: 0.5rem 0.5rem 0.5rem 1.25rem; gap: 0.75rem;
}
.brand { display: flex; align-items: center; gap: 0.5rem; font-family: var(--font-display); font-size: 1.125rem; font-weight: 700; }
.brand-mark {
  width: 2rem; height: 2rem; border-radius: 999px; display: grid; place-items: center;
  background: var(--gradient-primary); color: var(--primary-foreground);
}
.brand-mark svg, .menu-btn svg { width: 1rem; height: 1rem; }
.desk-nav { display: none; list-style: none; margin: 0; padding: 0; gap: 0.25rem; align-items: center; }
.desk-nav a, .mobile-menu > a {
  display: block; border-radius: 999px; padding: 0.5rem 1rem;
  font-size: 0.875rem; font-weight: 500; color: var(--muted-foreground);
}
.desk-nav a:hover, .mobile-menu > a:hover { background: color-mix(in oklab, var(--secondary) 70%, transparent); color: var(--foreground); }
.desk-nav a.is-active, .mobile-menu > a.is-active { background: var(--secondary); color: var(--foreground); }
.desk-auth, .mobile-auth { display: none; align-items: center; gap: 0.5rem; }
.menu-btn {
  width: 2.75rem; height: 2.75rem; border: 0; border-radius: 999px; background: transparent; cursor: pointer;
  display: grid; place-items: center;
}
.menu-btn:hover { background: color-mix(in oklab, var(--secondary) 60%, transparent); }
.mobile-menu {
  position: absolute; top: 4rem; width: min(64rem, calc(100% - 2rem));
  border-radius: 1.5rem; padding: 0.75rem;
}
.mobile-menu[hidden] { display: none; }
.mobile-auth { display: flex; gap: 0.5rem; margin-top: 0.5rem; padding-top: 0.75rem; border-top: 1px solid var(--border); }
.mobile-auth .btn { flex: 1; }

main { width: min(64rem, calc(100% - 2rem)); margin: 0 auto; padding: 8rem 0 6rem; }
.site-foot { text-align: center; color: var(--muted-foreground); font-size: 0.75rem; padding: 0 1rem 2rem; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  border: 0; cursor: pointer; border-radius: 999px; font-weight: 600; font-size: 0.875rem;
  height: 2.75rem; padding: 0 1.5rem; transition: transform 0.3s, box-shadow 0.3s, background 0.3s;
}
.btn:active { transform: scale(0.97); }
.btn svg { width: 1rem; height: 1rem; }
.btn.hero {
  background: var(--gradient-primary); color: var(--primary-foreground); box-shadow: var(--shadow-glow);
}
.btn.hero:hover { transform: translateY(-2px); box-shadow: 0 22px 60px -16px color-mix(in oklab, var(--primary) 70%, transparent); }
.btn.hero:active { transform: scale(0.97); }
.btn.lg { height: 3.5rem; padding: 0 2.25rem; font-size: 1rem; }
.btn.glass-btn { background: var(--glass); border: 1px solid var(--glass-border); box-shadow: var(--shadow-glass); backdrop-filter: blur(28px); }
.btn.glass-btn:hover { background: color-mix(in oklab, var(--secondary) 70%, transparent); }
.btn.ghost { background: transparent; color: var(--foreground); }
.btn.ghost:hover { background: color-mix(in oklab, var(--secondary) 60%, transparent); }
.btn.full { width: 100%; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }

.hero-grid { display: grid; align-items: center; gap: 2.5rem; }
.hero-grid > * { min-width: 0; }
.pill {
  display: inline-flex; align-items: center; gap: 0.5rem; margin-bottom: 1.5rem;
  border-radius: 999px; padding: 0.375rem 1rem; font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--primary);
}
.pill svg { width: 0.875rem; height: 0.875rem; }
.hero-grid h1 { font-size: 3rem; font-weight: 800; line-height: 1.05; }
.lede { margin: 1.5rem 0 0; max-width: 36rem; font-size: 1.125rem; color: var(--muted-foreground); line-height: 1.6; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }
.hero-art { position: relative; width: min(24rem, 100%); margin: 0 auto; }
.hero-art .glow {
  position: absolute; inset: 2rem; border-radius: 999px; background: var(--gradient-primary); opacity: 0.4; filter: blur(48px);
}
.hero-art img { position: relative; width: 100%; filter: drop-shadow(0 25px 25px rgb(0 0 0 / 0.15)); }

.cards { display: grid; gap: 1.25rem; margin-top: 6rem; }
.card { border-radius: 1.5rem; padding: 1.5rem; height: 100%; }
.icon-box {
  width: 3rem; height: 3rem; border-radius: 1rem; display: grid; place-items: center;
  background: var(--gradient-primary); color: var(--primary-foreground); box-shadow: var(--shadow-glow); margin-bottom: 1.25rem;
}
.icon-box svg { width: 1.25rem; height: 1.25rem; }
.card h3 { font-size: 1.25rem; font-weight: 700; }
.card p { margin: 0.5rem 0 0; font-size: 0.875rem; color: var(--muted-foreground); line-height: 1.5; }
.more-link { margin-top: 1rem; display: inline-flex; align-items: center; gap: 0.25rem; font-size: 0.875rem; font-weight: 600; color: var(--primary); white-space: nowrap; }
.more-link svg { width: 1rem; height: 1rem; flex: none; }
.card-link:hover .more-link { transform: translateX(4px); }
.more-link { transition: transform 0.2s; }

.page-head { text-align: center; margin-bottom: 3rem; }
.page-head .pill { margin-bottom: 1rem; }
.page-head h1 { font-size: 2.25rem; font-weight: 700; }
.page-head p { margin: 1rem auto 0; max-width: 42rem; color: var(--muted-foreground); font-size: 1rem; line-height: 1.6; }
.section-title { font-size: 1.5rem; font-weight: 700; margin: 0 0 1.25rem; }
.section-title.spaced { margin-top: 3.5rem; }
.service-grid { display: grid; gap: 1.25rem; }
.service-card h3 { font-size: 1.5rem; margin-top: 1.25rem; }
.tag {
  border-radius: 999px; background: var(--secondary); color: oklch(28% 0.015 285);
  padding: 0.25rem 0.75rem; font-size: 0.75rem; font-weight: 600;
}
.service-top { display: flex; align-items: flex-start; justify-content: space-between; }
.service-card ul { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; gap: 0.5rem; font-size: 0.875rem; }
.service-card li { display: flex; align-items: center; gap: 0.5rem; }
.dot { width: 0.375rem; height: 0.375rem; border-radius: 999px; background: var(--gradient-primary); flex: none; }
.cta-band {
  margin-top: 4rem; border-radius: 1.5rem; padding: 2rem; display: flex; flex-direction: column;
  align-items: center; gap: 1rem; text-align: center;
}
.cta-band p { margin: 0.25rem 0 0; color: var(--muted-foreground); }

.about-grid { display: grid; gap: 2.5rem; align-items: center; }
.about-photo { position: relative; width: min(20rem, 100%); margin: 0 auto; }
.about-photo .glow { position: absolute; inset: 1rem; border-radius: 999px; background: var(--gradient-primary); opacity: 0.4; filter: blur(48px); }
.story { font-size: 1rem; line-height: 1.7; }
.story p { margin: 0 0 1rem; }
.values { display: grid; gap: 1.25rem; margin-top: 3.5rem; }
.value { border-radius: 1.5rem; padding: 1.5rem; text-align: center; }
.value h3 { font-size: 1.125rem; }
.center { text-align: center; margin-top: 3.5rem; }

.contact-grid { display: grid; gap: 1.5rem; }
.info-row { display: flex; align-items: center; gap: 1rem; border-radius: 1.5rem; padding: 1.25rem; margin-bottom: 1rem; }
.info-row .icon-box { margin: 0; width: 2.75rem; height: 2.75rem; border-radius: 1rem; }
.info-row small { display: block; font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted-foreground); }
.info-row strong { font-size: 1rem; }
form.grid-2 { display: grid; gap: 1rem; }
.field { display: grid; gap: 0.375rem; }
.field span { font-size: 0.875rem; font-weight: 600; }
.field .err { margin: 0; font-size: 0.75rem; font-weight: 500; color: var(--destructive); }
input, textarea {
  width: 100%; border-radius: 1rem; border: 1px solid var(--border); background: var(--glass);
  padding: 0.75rem 0.9rem; outline: none; backdrop-filter: blur(16px);
}
textarea { min-height: 7rem; resize: vertical; border-radius: 1rem; }
input:focus, textarea:focus { box-shadow: 0 0 0 2px var(--accent); }
.hint { margin: 0.75rem 0 0; text-align: center; font-size: 0.75rem; color: var(--muted-foreground); }

.auth { width: min(28rem, 100%); margin: 0 auto; }
.auth-card { border-radius: 1.5rem; padding: 1.5rem; }
.auth-head { text-align: center; margin-bottom: 1.5rem; }
.auth-mark {
  width: 3.5rem; height: 3.5rem; margin: 0 auto 1rem; border-radius: 1.5rem;
  display: grid; place-items: center; background: var(--gradient-primary); color: var(--primary-foreground); box-shadow: var(--shadow-glow);
}
.auth-mark svg { width: 1.5rem; height: 1.5rem; }
.auth-head h1 { font-size: 1.875rem; font-weight: 700; }
.auth-head p { margin: 0.25rem 0 0; font-size: 0.875rem; color: var(--muted-foreground); }
.stack { display: grid; gap: 1rem; }
.pair { display: grid; gap: 1rem; }
.remember {
  display: flex; align-items: center; justify-content: space-between; cursor: pointer;
  border-radius: 1rem; background: color-mix(in oklab, var(--secondary) 60%, transparent); padding: 0.75rem 1rem;
  font-size: 0.875rem; font-weight: 500;
}
.switch { width: 2.75rem; height: 1.5rem; border-radius: 999px; border: 0; background: var(--input); position: relative; cursor: pointer; padding: 0; }
.switch i { position: absolute; top: 2px; left: 2px; width: 1.25rem; height: 1.25rem; border-radius: 999px; background: white; box-shadow: 0 1px 3px rgb(0 0 0 / 0.2); transition: transform 0.2s; }
.switch.on { background: var(--gradient-primary); }
.switch.on i { transform: translateX(1.25rem); }
.or { display: flex; align-items: center; gap: 0.75rem; margin: 1.25rem 0; font-size: 0.75rem; color: var(--muted-foreground); }
.or::before, .or::after { content: ""; height: 1px; flex: 1; background: var(--border); }
.google {
  width: 100%; height: 2.75rem; border-radius: 999px; border: 1px solid var(--border); background: white; cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 0.5rem; font-weight: 600; font-size: 0.875rem;
}
.switch-auth { margin: 1.5rem 0 0; text-align: center; font-size: 0.875rem; color: var(--muted-foreground); }
.switch-auth a { font-weight: 600; color: var(--primary); }
.switch-auth a:hover { text-decoration: underline; }

.narrow { width: min(42rem, 100%); margin: 0 auto; }
.stars { display: flex; gap: 0.15rem; }
.stars button, .stars span { border: 0; background: transparent; color: var(--border); font-size: 1.6rem; line-height: 1; padding: 0; cursor: pointer; }
.stars.sm span, .stars.sm button { font-size: 1rem; cursor: default; }
.stars .on { color: var(--star); }
.reviews { display: grid; gap: 1.25rem; margin-top: 3rem; }
.review { border-radius: 1.5rem; padding: 1.5rem; display: flex; flex-direction: column; }
.review-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 0.75rem; }
.who { display: flex; align-items: center; gap: 0.75rem; }
.avatar {
  width: 2.75rem; height: 2.75rem; border-radius: 999px; display: grid; place-items: center;
  background: var(--gradient-primary); color: var(--primary-foreground); font-family: var(--font-display); font-weight: 700; font-size: 1.125rem;
}
.who strong { display: block; }
.who time { font-size: 0.75rem; color: var(--muted-foreground); }
.review p { margin: 1rem 0 0; font-size: 0.875rem; line-height: 1.6; flex: 1; }
.review-actions { margin-top: 1rem; display: flex; align-items: center; justify-content: space-between; }
.like {
  border: 0; cursor: pointer; display: inline-flex; align-items: center; gap: 0.375rem;
  border-radius: 999px; padding: 0.375rem 0.75rem; font-size: 0.875rem; font-weight: 600;
  background: var(--secondary); color: var(--muted-foreground);
}
.like.on { background: color-mix(in oklab, var(--accent) 15%, transparent); color: var(--accent); }
.like svg { width: 1rem; height: 1rem; }
.like.on svg { fill: currentColor; }
.locked { text-align: center; }
.locked p { margin: 0 0 0.25rem; }
.locked .sub { margin-bottom: 1rem; color: var(--muted-foreground); font-size: 0.875rem; }
.locked .row { display: flex; justify-content: center; gap: 0.5rem; }

#toasts { position: fixed; z-index: 80; left: 50%; bottom: 1.25rem; transform: translateX(-50%); width: min(28rem, calc(100% - 2rem)); }
.toast {
  background: white; border: 1px solid var(--border); border-radius: 0.75rem; padding: 0.85rem 1rem;
  box-shadow: 0 8px 30px rgb(0 0 0 / 0.08); font-size: 0.875rem; font-weight: 600; text-align: center;
}

.icon-box.center { margin-left: auto; margin-right: auto; }
.star-label { margin: 0 0 0.5rem; font-size: 0.875rem; font-weight: 600; }
.card form, .auth-card form { position: relative; }
.hp {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.consent { display: flex; align-items: flex-start; gap: 0.65rem; font-size: 0.8rem; line-height: 1.45; color: var(--muted-foreground); }
.consent input { margin-top: 0.15rem; accent-color: var(--accent); }
.prose h2 { font-size: 1.15rem; margin: 1.5rem 0 0.4rem; }
.prose p, .prose li { color: var(--muted-foreground); font-size: 0.95rem; line-height: 1.65; }
.prose p { margin: 0.75rem 0 0; }
.prose ul { margin: 0.5rem 0 0; padding-left: 1.15rem; }
.prose a { color: var(--foreground); text-decoration: underline; text-underline-offset: 0.15em; }
.legal-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 0.35rem 0.9rem; margin: 0.45rem 0 0; }
.legal-links a:hover { color: var(--foreground); }
.cookie-bar {
  position: fixed; z-index: 75; left: 1rem; right: 1.4rem; bottom: 1rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  border-radius: 1.25rem; padding: 0.9rem 1rem; max-width: 52rem; margin: 0 auto;
}
.cookie-bar p { margin: 0; font-size: 0.85rem; line-height: 1.45; }
.cookie-bar .btn { white-space: nowrap; flex: none; }
@media (max-width: 640px) {
  .cookie-bar { flex-direction: column; align-items: stretch; }
}
.site-foot p { margin: 0; }

html { scrollbar-width: thin; scrollbar-color: oklch(38% 0.08 290) transparent; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--gradient-primary); border-radius: 999px; border: 2px solid transparent; background-clip: padding-box; }
html.custom-scroll { scrollbar-width: none; }
html.custom-scroll::-webkit-scrollbar { width: 0; height: 0; }
.scroll-bar {
  position: fixed; z-index: 65; top: 5.5rem; right: 0.35rem; bottom: 1rem; width: 8px;
  border-radius: 999px; background: color-mix(in oklab, var(--foreground) 8%, transparent);
}
.scroll-bar[hidden] { display: none; }
.scroll-thumb {
  width: 100%; border-radius: 999px; background: var(--gradient-primary);
  cursor: grab; touch-action: none; box-shadow: var(--shadow-glow);
}
.scroll-thumb.is-drag { cursor: grabbing; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

@media (min-width: 768px) {
  .desk-nav, .desk-auth { display: flex; }
  .menu-btn, .mobile-menu { display: none !important; }
  main { padding-top: 10rem; }
  .hero-grid { grid-template-columns: 1.2fr 1fr; }
  .hero-grid h1 { font-size: 4.5rem; }
  .lede { font-size: 1.25rem; }
  .cards, .values { grid-template-columns: repeat(3, 1fr); }
  .service-grid, .reviews, .contact-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr 1.6fr; }
  .about-grid { grid-template-columns: 1fr 1.4fr; }
  .page-head h1 { font-size: 3.75rem; }
  .page-head p { font-size: 1.125rem; }
  .story { font-size: 1.125rem; }
  form.grid-2 { grid-template-columns: 1fr 1fr; }
  .span-2 { grid-column: span 2; }
  .pair { grid-template-columns: 1fr 1fr; }
  .cta-band { flex-direction: row; justify-content: space-between; text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
