/* ==========================================================================
   Asterion Digital — "Observatory" Design System
   Deep space dark + amber gold accent. Angular typography, editorial layout.
   Fonts: Syne (display) + Outfit (body)
   ========================================================================== */

/* --- Custom Properties --- */
:root {
  --bg-0: #050608;
  --bg-1: #0a0c12;
  --bg-2: #0f1118;
  --bg-card: #12141e;
  --bg-card-hover: #181b28;

  --accent: #3b82f6;
  --accent-hover: #5b9aff;
  --accent-dim: rgba(59, 130, 246, 0.08);
  --accent-glow: rgba(59, 130, 246, 0.25);

  --green: #34d399;
  --red: #f87171;

  --text-0: #f0ece4;
  --text-1: #b0adb8;
  --text-2: #6b6a78;

  --border: #1a1d2a;
  --border-light: #252a3c;

  --font-display: 'Syne', sans-serif;
  --font-body: 'Outfit', sans-serif;

  --container: 1160px;
  --section-py: 120px;
  --radius: 14px;
  --radius-sm: 8px;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-0);
  background: var(--bg-0);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul, ol { list-style: none; }
button { font-family: inherit; }

/* --- Grain Overlay --- */
.grain {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.028;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 180px;
}

/* --- Container --- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

/* --- Typography --- */
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text-0);
}
h1 { font-size: clamp(2.8rem, 6vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 2.75rem); }
h3 { font-size: 1.2rem; font-weight: 600; }

.section-eyebrow {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: 16px;
}

.section-heading {
  margin-bottom: 12px;
}

.section-sub {
  color: var(--text-1);
  font-size: 1.1rem;
  margin-bottom: 56px;
  max-width: 520px;
}

/* Center headings in some sections */
.services .section-eyebrow,
.services .section-heading,
.services .section-sub,
.why .section-eyebrow,
.why .section-heading,
.results .section-eyebrow,
.results .section-heading {
  text-align: center;
}
.services .section-sub {
  margin-left: auto;
  margin-right: auto;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.25s var(--ease);
  white-space: nowrap;
}

.btn-accent {
  background: var(--accent);
  color: #0a0a0a;
  border-color: var(--accent);
}
.btn-accent:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  box-shadow: 0 0 32px var(--accent-glow);
}

.btn-ghost {
  background: transparent;
  color: var(--text-0);
  border-color: var(--border-light);
}
.btn-ghost:hover {
  border-color: var(--text-2);
  background: rgba(255, 255, 255, 0.03);
}
.btn-ghost .btn-arrow {
  transition: transform 0.25s var(--ease);
}
.btn-ghost:hover .btn-arrow {
  transform: translateX(4px);
}

.btn-outline-sm {
  background: transparent;
  color: var(--text-0);
  border-color: var(--border);
  padding: 10px 22px;
  font-size: 0.875rem;
}
.btn-outline-sm:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn-sm {
  padding: 10px 22px;
  font-size: 0.875rem;
}

.btn-full { width: 100%; }

.btn-disabled {
  pointer-events: none;
  opacity: 0.4;
}

/* ==========================================================================
   Header
   ========================================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  padding: 18px 0;
  transition: background 0.35s, border-color 0.35s, backdrop-filter 0.35s;
  border-bottom: 1px solid transparent;
}

.header.scrolled {
  background: rgba(5, 6, 8, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}
.logo svg { color: var(--text-0); }

.nav {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav a {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--text-1);
  transition: color 0.2s;
}
.nav a:hover { color: var(--text-0); }

.nav-cta {
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light) !important;
  color: var(--text-0) !important;
  font-weight: 500 !important;
  transition: all 0.25s var(--ease) !important;
}
.nav-cta:hover {
  border-color: var(--accent) !important;
  color: var(--accent) !important;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 7px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  width: 32px;
}
.menu-toggle span {
  display: block;
  height: 2px;
  background: var(--text-0);
  border-radius: 2px;
  transition: all 0.3s var(--ease);
  transform-origin: center;
}
.menu-toggle.active span:first-child {
  transform: translateY(4.5px) rotate(45deg);
}
.menu-toggle.active span:last-child {
  transform: translateY(-4.5px) rotate(-45deg);
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 140px 0 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  will-change: transform;
}
.hero-orb--1 {
  width: 600px;
  height: 600px;
  top: -10%;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(59, 130, 246, 0.12) 0%, transparent 70%);
  animation: orbFloat 12s ease-in-out infinite;
}
.hero-orb--2 {
  width: 400px;
  height: 400px;
  bottom: 10%;
  right: -5%;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.08) 0%, transparent 70%);
  animation: orbFloat 16s ease-in-out infinite reverse;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(59, 130, 246, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59, 130, 246, 0.03) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black, transparent);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black, transparent);
}

@keyframes orbFloat {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(30px); }
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
}

.hero-content {
  max-width: 720px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8125rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 28px;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease) 0.1s forwards;
}
.eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero-title {
  margin-bottom: 24px;
}
.hero-title .line {
  display: block;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease) forwards;
}
.hero-title .line--1 { animation-delay: 0.2s; }
.hero-title .line--2 { animation-delay: 0.35s; }

.hero-title em {
  font-style: normal;
  background: linear-gradient(135deg, var(--accent), #93c5fd);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--text-1);
  max-width: 540px;
  margin-bottom: 40px;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease) 0.5s forwards;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease) 0.65s forwards;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Hero Stats */
.hero-stats {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 80px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
  opacity: 0;
  animation: fadeUp 0.8s var(--ease) 0.85s forwards;
}

.stat { display: flex; flex-direction: column; }

.stat-value {
  font-family: var(--font-body);
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--text-0);
  letter-spacing: -0.01em;
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 0.8125rem;
  color: var(--text-2);
  font-weight: 400;
}

.stat-sep {
  width: 1px;
  height: 40px;
  background: var(--border);
}

/* Scroll Hint */
.scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  animation: fadeUp 0.8s var(--ease) 1.2s forwards;
}
.scroll-hint span {
  display: block;
  width: 20px;
  height: 32px;
  border: 2px solid var(--border-light);
  border-radius: 10px;
  position: relative;
}
.scroll-hint span::after {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 8px;
  border-radius: 2px;
  background: var(--accent);
  animation: scrollDot 1.8s ease-in-out infinite;
}
@keyframes scrollDot {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 1; }
  100% { transform: translateX(-50%) translateY(12px); opacity: 0; }
}

/* ==========================================================================
   Pain Points
   ========================================================================== */
.pain {
  padding: 100px 0;
  background: var(--bg-1);
  position: relative;
}
.pain::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.pain .section-eyebrow {
  text-align: center;
  margin-bottom: 48px;
}

.pain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.pain-card {
  padding: 32px;
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: border-color 0.3s, transform 0.3s var(--ease);
}
.pain-card:hover {
  border-color: var(--border-light);
  transform: translateY(-2px);
}

.pain-num {
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 16px;
  letter-spacing: 0.05em;
}

.pain-card p {
  color: var(--text-1);
  font-size: 1rem;
  line-height: 1.6;
}

/* ==========================================================================
   Services
   ========================================================================== */
.services {
  padding: var(--section-py) 0;
  background: var(--bg-0);
}

.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.svc-card {
  position: relative;
  padding: 36px 32px;
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  transition: border-color 0.3s, transform 0.3s var(--ease);
}
.svc-card:hover {
  border-color: var(--border-light);
  transform: translateY(-3px);
}

/* Featured card gradient border */
.svc-featured {
  border-color: transparent;
  background: var(--bg-card);
  position: relative;
  z-index: 0;
}
.svc-featured::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: var(--radius);
  background: conic-gradient(from var(--border-angle, 0deg), var(--accent), rgba(232, 168, 56, 0.15) 30%, var(--accent) 50%, rgba(232, 168, 56, 0.15) 80%, var(--accent));
  z-index: -2;
  animation: rotateBorder 6s linear infinite;
}
.svc-featured::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  background: var(--bg-card);
  z-index: -1;
}

@property --border-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}
@keyframes rotateBorder {
  to { --border-angle: 360deg; }
}

.svc-badge {
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  padding: 5px 18px;
  background: var(--accent);
  color: #0a0a0a;
  font-size: 0.7rem;
  font-weight: 600;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  z-index: 2;
}

.svc-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--accent-dim);
  color: var(--accent);
  margin-bottom: 24px;
}

.svc-card h3 {
  font-family: var(--font-display);
  margin-bottom: 4px;
}

.svc-type {
  color: var(--text-2);
  font-size: 0.8125rem;
  margin-bottom: 16px;
}

.svc-desc {
  color: var(--text-1);
  font-size: 0.9375rem;
  margin-bottom: 24px;
}

.svc-list {
  flex-grow: 1;
  margin-bottom: 28px;
}
.svc-list li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 10px;
  color: var(--text-1);
  font-size: 0.9rem;
}
.svc-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1.5px solid var(--accent);
}

.svc-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  margin-top: auto;
}

.svc-meta {
  display: flex;
  flex-direction: column;
}
.svc-timeline {
  font-size: 0.75rem;
  color: var(--text-2);
}
.svc-price {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-0);
}

/* ==========================================================================
   Why Me
   ========================================================================== */
.why {
  padding: var(--section-py) 0;
  background: var(--bg-1);
  position: relative;
}
.why::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 860px;
  margin: 48px auto 0;
}

.why-card {
  padding: 36px;
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: border-color 0.3s, transform 0.3s var(--ease);
}
.why-card:hover {
  border-color: var(--border-light);
  transform: translateY(-2px);
}

.why-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: var(--accent-dim);
  color: var(--accent);
  margin-bottom: 20px;
}

.why-card h3 {
  font-family: var(--font-display);
  margin-bottom: 10px;
}
.why-card p {
  color: var(--text-1);
  font-size: 0.9375rem;
}

/* ==========================================================================
   Results
   ========================================================================== */
.results {
  padding: var(--section-py) 0;
  background: var(--bg-0);
}

.results-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.result-card {
  padding: 36px;
  background: var(--bg-2);
  border-radius: var(--radius);
  border: 1px solid var(--border-light);
  transition: border-color 0.3s;
}
.result-card:hover {
  border-color: var(--accent);
}

.result-tag {
  display: inline-block;
  padding: 5px 14px;
  background: var(--bg-1);
  border-radius: 20px;
  font-size: 0.75rem;
  color: var(--text-2);
  margin-bottom: 28px;
  letter-spacing: 0.02em;
}

.result-metrics {
  display: flex;
  gap: 40px;
  margin-bottom: 24px;
}

.metric {
  display: flex;
  flex-direction: column;
}

.metric-val {
  font-family: var(--font-body);
  font-size: 2rem;
  font-weight: 600;
  line-height: 1;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}
.metric-up { color: var(--accent); }
.metric-down { color: var(--accent); }

.metric-lbl {
  font-size: 0.8125rem;
  color: var(--text-1);
}

.result-ctx {
  color: var(--text-1);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ==========================================================================
   Testimonial
   ========================================================================== */
.testimonial {
  padding: var(--section-py) 0;
  background: var(--bg-1);
  position: relative;
}
.testimonial::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.testimonial-inner {
  max-width: 740px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  padding: 24px 0;
}

.quote-mark {
  font-family: var(--font-display);
  font-size: 10rem;
  line-height: 0.6;
  color: var(--accent);
  opacity: 0.15;
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
  user-select: none;
}

.testimonial-inner blockquote {
  font-size: 1.35rem;
  font-weight: 300;
  line-height: 1.7;
  color: var(--text-0);
  margin-bottom: 36px;
  position: relative;
  z-index: 1;
}

.quote-author {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.author-name {
  font-weight: 600;
  color: var(--text-0);
  font-size: 0.9375rem;
}
.author-co {
  font-size: 0.8125rem;
  color: var(--text-2);
}

/* ==========================================================================
   About
   ========================================================================== */
.about {
  padding: var(--section-py) 0;
  background: var(--bg-0);
}

.about-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 72px;
  align-items: start;
}

.about-photo {
  position: sticky;
  top: 120px;
}

.photo-frame {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
}
.photo-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  border: 1px solid rgba(59, 130, 246, 0.15);
  pointer-events: none;
}
.photo-frame img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: center top;
  border-radius: var(--radius);
}

.about-text .section-eyebrow { margin-bottom: 12px; }
.about-text .section-heading { margin-bottom: 4px; }

.about-role {
  color: var(--text-2);
  font-size: 1.05rem;
  margin-bottom: 28px;
}

.about-text p {
  color: var(--text-1);
  margin-bottom: 16px;
  font-size: 0.95rem;
}

.about-location {
  color: var(--text-2) !important;
  font-size: 0.9rem !important;
}

.about-links {
  margin-top: 28px;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  color: var(--text-1);
  transition: all 0.25s var(--ease);
}
.social-link:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* ==========================================================================
   Contact
   ========================================================================== */
.contact {
  padding: var(--section-py) 0;
  background: var(--bg-1);
  position: relative;
}
.contact::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 72px;
  align-items: start;
}

.contact-info .section-heading { margin-bottom: 16px; }

.contact-sub {
  color: var(--text-1);
  font-size: 1rem;
  margin-bottom: 40px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact-details > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.contact-details dt {
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-2);
}
.contact-details dd {
  color: var(--text-1);
  font-size: 0.95rem;
}
.contact-details a {
  transition: color 0.2s;
}
.contact-details a:hover {
  color: var(--accent);
}

/* Form */
.contact-form-wrap {
  padding: 40px;
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-2);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 16px;
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-0);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-2);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-dim);
}

.form-group select {
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='%236b6a78' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

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

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  padding: 64px 0 32px;
  background: var(--bg-0);
  border-top: 1px solid var(--border);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: start;
  margin-bottom: 48px;
}

.footer-brand .logo {
  margin-bottom: 12px;
}
.footer-brand p {
  color: var(--text-2);
  font-size: 0.8125rem;
}

.footer-nav {
  display: flex;
  gap: 32px;
}
.footer-nav a {
  color: var(--text-1);
  font-size: 0.875rem;
  transition: color 0.2s;
}
.footer-nav a:hover { color: var(--text-0); }

.footer-social {
  display: flex;
  gap: 24px;
}
.footer-social a {
  color: var(--text-1);
  font-size: 0.875rem;
  transition: color 0.2s;
}
.footer-social a:hover { color: var(--accent); }

.footer-bottom {
  padding-top: 28px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-bottom p {
  color: var(--text-2);
  font-size: 0.8125rem;
}
.footer-bottom a {
  color: var(--text-2);
  font-size: 0.8125rem;
  transition: color 0.2s;
}
.footer-bottom a:hover { color: var(--text-1); }

/* ==========================================================================
   Scroll Reveal Animations
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children */
.pain-grid .reveal:nth-child(2) { transition-delay: 0.1s; }
.pain-grid .reveal:nth-child(3) { transition-delay: 0.2s; }

.svc-grid .reveal:nth-child(2) { transition-delay: 0.12s; }
.svc-grid .reveal:nth-child(3) { transition-delay: 0.24s; }

.why-grid .reveal:nth-child(2) { transition-delay: 0.08s; }
.why-grid .reveal:nth-child(3) { transition-delay: 0.16s; }
.why-grid .reveal:nth-child(4) { transition-delay: 0.24s; }

.results-grid .reveal:nth-child(2) { transition-delay: 0.12s; }

/* ==========================================================================
   Notification Toast
   ========================================================================== */
.notification {
  position: fixed;
  bottom: 28px;
  right: 28px;
  padding: 16px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.5);
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.35s var(--ease);
  z-index: 1000;
  max-width: 420px;
}
.notification.show {
  transform: translateY(0);
  opacity: 1;
}
.notification-success { border-color: var(--green); }
.notification-success .notif-msg { color: var(--green); }
.notification-error { border-color: var(--red); }
.notification-error .notif-msg { color: var(--red); }

.notif-msg { font-size: 0.9rem; }

.notification-close {
  background: none;
  border: none;
  color: var(--text-2);
  cursor: pointer;
  font-size: 1.25rem;
  padding: 0;
  line-height: 1;
  flex-shrink: 0;
}
.notification-close:hover { color: var(--text-0); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
  .svc-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }

  .about-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .about-photo {
    position: static;
    max-width: 280px;
    margin: 0 auto;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

@media (max-width: 768px) {
  :root {
    --section-py: 80px;
  }

  .nav { display: none; }
  .menu-toggle { display: flex; }

  /* Mobile nav overlay */
  .nav.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(5, 6, 8, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 150;
    padding: 100px 32px 48px;
    gap: 0;
    align-items: stretch;
  }
  .nav.open a {
    font-size: 1.5rem;
    font-family: var(--font-display);
    font-weight: 600;
    color: var(--text-0);
    padding: 20px 0;
    border-bottom: 1px solid var(--border);
  }
  .nav.open .nav-cta {
    border: none !important;
    padding: 20px 0 !important;
    border-radius: 0 !important;
    border-bottom: 1px solid var(--border) !important;
    color: var(--accent) !important;
  }

  .hero {
    min-height: auto;
    padding: 140px 0 80px;
  }
  .hero-title { font-size: 2.25rem; }
  .hero-sub { font-size: 1.05rem; }

  .hero-actions {
    flex-direction: column;
  }
  .hero-actions .btn { width: 100%; }

  .hero-stats {
    flex-direction: column;
    gap: 24px;
    align-items: flex-start;
  }
  .stat-sep {
    width: 40px;
    height: 1px;
  }

  .scroll-hint { display: none; }

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

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

  .results-grid {
    grid-template-columns: 1fr;
  }
  .result-metrics {
    flex-direction: column;
    gap: 20px;
  }

  .testimonial-inner blockquote {
    font-size: 1.15rem;
  }
  .quote-mark {
    font-size: 6rem;
  }

  .contact-form-wrap {
    padding: 28px 24px;
  }

  .footer-top {
    flex-direction: column;
    gap: 32px;
  }
  .footer-nav {
    flex-direction: column;
    gap: 12px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .container { padding: 0 20px; }
  .hero-title { font-size: 1.9rem; }
}
