:root {
  --bg: #f5f5f7;
  --surface: #ffffff;
  --surface-2: #fbfbfd;
  --border: rgba(0,0,0,0.08);
  --text: #1d1d1f;
  --text-muted: #6e6e73;
  --accent: #0071e3;
  --accent-press: #0058b0;
  --accent-ink: #ffffff;
  --nav-bg: rgba(255,255,255,0.72);
  --card-shadow: 0 1px 2px rgba(0,0,0,0.04), 0 8px 24px rgba(0,0,0,0.06);
  --card-shadow-hover: 0 2px 4px rgba(0,0,0,0.05), 0 16px 40px rgba(0,0,0,0.10);
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #000000; --surface: #1d1d1f; --surface-2: #161617;
    --border: rgba(255,255,255,0.1); --text: #f5f5f7; --text-muted: #86868b;
    --accent: #2997ff; --accent-press: #1f7fdb; --accent-ink: #ffffff;
    --nav-bg: rgba(0,0,0,0.62);
    --card-shadow: 0 1px 2px rgba(0,0,0,0.3), 0 8px 24px rgba(0,0,0,0.35);
    --card-shadow-hover: 0 2px 4px rgba(0,0,0,0.35), 0 16px 40px rgba(0,0,0,0.5);
  }
}
:root[data-theme="dark"] {
  --bg: #000000; --surface: #1d1d1f; --surface-2: #161617;
  --border: rgba(255,255,255,0.1); --text: #f5f5f7; --text-muted: #86868b;
  --accent: #2997ff; --accent-press: #1f7fdb; --accent-ink: #ffffff;
  --nav-bg: rgba(0,0,0,0.62);
  --card-shadow: 0 1px 2px rgba(0,0,0,0.3), 0 8px 24px rgba(0,0,0,0.35);
  --card-shadow-hover: 0 2px 4px rgba(0,0,0,0.35), 0 16px 40px rgba(0,0,0,0.5);
}
:root[data-theme="light"] {
  --bg: #f5f5f7; --surface: #ffffff; --surface-2: #fbfbfd;
  --border: rgba(0,0,0,0.08); --text: #1d1d1f; --text-muted: #6e6e73;
  --accent: #0071e3; --accent-press: #0058b0; --accent-ink: #ffffff;
  --nav-bg: rgba(255,255,255,0.72);
  --card-shadow: 0 1px 2px rgba(0,0,0,0.04), 0 8px 24px rgba(0,0,0,0.06);
  --card-shadow-hover: 0 2px 4px rgba(0,0,0,0.05), 0 16px 40px rgba(0,0,0,0.10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.5 -apple-system, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  margin: 0;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
.wrap { max-width: 980px; margin: 0 auto; padding: 0 1.5rem; }

/* NAV */
nav.topbar {
  position: sticky; top: 0; z-index: 20;
  background: var(--nav-bg);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border);
}
nav.topbar .wrap { display: flex; align-items: center; justify-content: space-between; height: 52px; }
.brand { display: inline-flex; align-items: center; gap: 0.55rem; font-weight: 600; font-size: 0.95rem; letter-spacing: -0.01em; text-decoration: none; }
.brand img { width: 26px; height: 26px; border-radius: 7px; display: block; }
.menu-toggle { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 32px; height: 32px; background: none; border: none; padding: 0; cursor: pointer; }
.menu-toggle span { display: block; width: 20px; height: 1.5px; background: var(--text); border-radius: 2px; transition: transform 220ms cubic-bezier(0.2,0,0,1), opacity 220ms cubic-bezier(0.2,0,0,1); }
.menu-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
.navlinks { display: flex; gap: 1.8rem; font-size: 0.82rem; color: var(--text-muted); }
.navlinks a { text-decoration: none; transition: color 180ms ease; }
.navlinks a:hover { color: var(--text); }
@media (max-width: 560px) {
  .menu-toggle { display: flex; }
  .navlinks {
    position: absolute; top: 52px; left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: var(--nav-bg);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--border);
    padding: 0.4rem 1.5rem 0.8rem;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity 220ms cubic-bezier(0.2,0,0,1), transform 220ms cubic-bezier(0.2,0,0,1), visibility 220ms;
  }
  .navlinks.open { opacity: 1; visibility: visible; transform: translateY(0); }
  .navlinks a { padding: 0.85rem 0; border-bottom: 1px solid var(--border); font-size: 0.95rem; color: var(--text); }
  .navlinks a:last-child { border-bottom: none; }
}
@media (prefers-reduced-motion: reduce) { .navlinks { transition: none; } }

/* BUTTONS */
.btn { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.98rem; font-weight: 500; text-decoration: none; border-radius: 980px; padding: 0.72rem 1.5rem; transition: transform 120ms cubic-bezier(0.2,0,0,1), background 120ms ease, box-shadow 180ms ease; }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: var(--accent-press); }
.btn-primary:active { transform: scale(0.97); }
.btn-text { color: var(--accent); padding: 0.72rem 0.2rem; }
.btn-text:active { transform: scale(0.97); }
.btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* BREADCRUMB */
.breadcrumb { font-size: 0.82rem; color: var(--text-muted); padding: 1.1rem 0 0; }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { color: var(--text); }

/* PAGE HERO */
.page-hero { text-align: center; padding: 3rem 1.5rem 4rem; }
.eyebrow { display: inline-block; font-size: 0.82rem; font-weight: 600; color: var(--accent); letter-spacing: -0.01em; margin-bottom: 0.9rem; }
h1.display { font-size: clamp(2.2rem, 5.6vw, 3.6rem); font-weight: 700; letter-spacing: -0.03em; line-height: 1.08; margin: 0 0 1.1rem; text-wrap: balance; }
.page-hero p.sub { font-size: clamp(1.05rem, 2.2vw, 1.25rem); color: var(--text-muted); max-width: 44ch; margin: 0 auto 2.2rem; letter-spacing: -0.005em; }
.hero-actions { display: flex; justify-content: center; align-items: center; gap: 1.6rem; flex-wrap: wrap; }

/* SECTIONS */
section { padding: 4.5rem 0; }
section.alt { background: var(--surface-2); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 3rem; }
.kicker { font-size: 0.82rem; font-weight: 600; color: var(--accent); margin: 0 0 0.6rem; }
h2.display { font-size: clamp(1.7rem, 4vw, 2.4rem); font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; margin: 0 0 0.9rem; text-wrap: balance; }
.section-head p { color: var(--text-muted); font-size: 1.05rem; letter-spacing: -0.005em; }
.prose { max-width: 680px; margin: 0 auto; }
.prose p { line-height: 1.6; }

/* PRICE CARDS (subset reused for service pricing snippets) */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
@media (max-width: 780px) { .price-grid { grid-template-columns: repeat(2, 1fr); gap: 0.85rem; } }
.price-card { background: var(--surface); border-radius: 22px; padding: 2rem 1.8rem; box-shadow: var(--card-shadow); display: flex; flex-direction: column; gap: 1.1rem; transition: transform 220ms cubic-bezier(0.2,0,0,1), box-shadow 220ms ease; }
.price-card:hover { transform: translateY(-4px); box-shadow: var(--card-shadow-hover); }
.price-card .plan { font-size: 0.95rem; font-weight: 600; color: var(--text-muted); }
.price-card .price { font-size: 2rem; font-weight: 700; letter-spacing: -0.02em; }
.price-card .price small { font-size: 0.95rem; font-weight: 500; color: var(--text-muted); }
.price-card ul { list-style: none; margin: 0; padding: 0; flex-grow: 1; display: grid; gap: 0.6rem; font-size: 0.92rem; color: var(--text); }
.price-card li { display: flex; gap: 0.55rem; align-items: flex-start; line-height: 1.4; }
.price-card li svg { flex-shrink: 0; margin-top: 0.15rem; }
@media (max-width: 780px) {
  .price-card { padding: 1.3rem 1.1rem; border-radius: 18px; gap: 0.85rem; }
  .price-card .plan { font-size: 0.8rem; line-height: 1.3; }
  .price-card .price { font-size: 1.3rem; }
}

/* LOCAL/PROOF STRIP */
.local-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
@media (max-width: 780px) { .local-grid { grid-template-columns: 1fr; gap: 1.4rem; } }
.local-item { text-align: center; }
.local-icon { width: 52px; height: 52px; border-radius: 16px; background: var(--accent); color: #fff; display: flex; align-items: center; justify-content: center; margin: 0 auto 1.2rem; }
.local-item h3 { font-size: 1.1rem; font-weight: 700; letter-spacing: -0.015em; margin: 0 0 0.5rem; }
.local-item p { color: var(--text-muted); font-size: 0.95rem; margin: 0; line-height: 1.5; }

/* FAQ */
.faq-list { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: 0.7rem; }
.faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 1rem 1.3rem; }
.faq-item summary { cursor: pointer; font-weight: 600; letter-spacing: -0.01em; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; float: right; color: var(--text-muted); font-weight: 400; }
.faq-item[open] summary::after { content: '\2212'; }
.faq-item p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.55; margin: 0.8rem 0 0; }

/* RELATED LINKS */
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
@media (max-width: 780px) { .related-grid { grid-template-columns: 1fr; } }
.related-card { display: block; background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 1.3rem 1.4rem; text-decoration: none; box-shadow: var(--card-shadow); transition: transform 200ms ease, box-shadow 200ms ease; }
.related-card:hover { transform: translateY(-3px); box-shadow: var(--card-shadow-hover); }
.related-card .name { font-weight: 600; font-size: 1rem; margin: 0 0 0.3rem; }
.related-card .desc { font-size: 0.85rem; color: var(--text-muted); margin: 0; }

/* CONTACT / FOOTER */
.contact { text-align: center; padding: 5rem 1.5rem 3rem; }
.footer-fine { text-align: center; color: var(--text-muted); font-size: 0.8rem; padding-bottom: 3rem; }

/* PORTFOLIO MEDIA (reused reel/photo panels) */
.media-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
@media (max-width: 780px) { .media-grid { grid-template-columns: 1fr; } }
.media-card { border-radius: 20px; overflow: hidden; background: var(--surface-2); border: 1px solid var(--border); box-shadow: var(--card-shadow); }
.media-card video, .media-card img { display: block; width: 100%; height: auto; aspect-ratio: 16/10; object-fit: cover; }
.media-caption { padding: 0.9rem 1.1rem 1.1rem; }
.media-caption .title { font-size: 0.92rem; font-weight: 600; margin: 0 0 0.15rem; }
.media-caption .desc { font-size: 0.8rem; color: var(--text-muted); margin: 0; }

/* SCROLL REVEAL */
.reveal { opacity: 0; transform: translateY(14px); }
.reveal.in { opacity: 1; transform: translateY(0); transition: opacity 640ms cubic-bezier(0.2,0,0,1), transform 640ms cubic-bezier(0.2,0,0,1); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .reveal.in { opacity: 1; transform: none; transition: none; }
  .price-card { transition: none; }
  .price-card:hover { transform: none; }
}

/* -------- PROCESS -------- */
.process-track {
  display: flex;
  justify-content: space-between;
  position: relative;
  max-width: 760px;
  margin: 0 auto;
}

.process-track::before {
  content: "";
  position: absolute;
  top: 17px;
  left: 34px;
  right: 34px;
  height: 1px;
  background: var(--border);
}

.process-step {
  position: relative;
  flex: 1;
  text-align: center;
  padding: 0 0.6rem;
}

.process-num {
  position: relative;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--card-shadow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent);
  margin: 0 auto 1rem;
}

.process-step strong {
  display: block;
  font-size: 0.98rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
}

.process-step span {
  display: block;
  font-size: 0.83rem;
  color: var(--text-muted);
  line-height: 1.4;
}

@media (max-width: 640px) {
  .process-track { flex-direction: column; gap: 1.8rem; text-align: left; }
  .process-track::before { display: none; }
  .process-step { display: flex; align-items: flex-start; gap: 1rem; text-align: left; padding: 0; }
  .process-num { margin: 0; flex-shrink: 0; }
}
