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

/* ===================================
   TOKENS — dark editorial theme
   =================================== */
:root {
  --bg:         #070b12;
  --bg2:        #0d1420;
  --surface:    #111c2e;
  --surface2:   #192538;
  --border:     #1e2d42;
  --border-hi:  #2a3d58;

  --text:       #e8e6e0;
  --text-2:     #8a9ab5;
  --text-3:     #4a5a72;

  --accent:     #e8845a;
  --accent-dim: #c96e46;
  --accent-sub: rgba(232,132,90,0.1);

  --green:      #5ab88a;
  --green-bg:   rgba(90,184,138,0.08);
  --green-border: rgba(90,184,138,0.2);

  --serif:  'DM Serif Display', Georgia, serif;
  --sans:   'DM Sans', system-ui, sans-serif;

  --s1:4px; --s2:8px; --s3:12px; --s4:16px;
  --s5:20px; --s6:24px; --s8:32px; --s10:40px;
  --s12:48px; --s16:64px; --s20:80px; --s24:96px;

  --r:10px; --rl:16px; --rxl:24px;

  --sh:   0 1px 2px rgba(0,0,0,0.4);
  --sh-m: 0 4px 16px rgba(0,0,0,0.5), 0 1px 3px rgba(0,0,0,0.3);
  --sh-l: 0 16px 48px rgba(0,0,0,0.6), 0 4px 8px rgba(0,0,0,0.3);

  --max: 1120px;
}

/* ===================================
   BASE
   =================================== */
html {
  scroll-behavior: smooth;
  color-scheme: dark;
}
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: var(--accent); text-decoration: none; transition: color 0.15s; }
a:hover { color: var(--accent-dim); }

/* ===================================
   NAV
   =================================== */
nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: 58px;
  padding: 0 var(--s6);
  display: flex;
  align-items: center;
  background: rgba(7,11,18,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: transform 0.3s ease;
}
.nav-inner {
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: var(--s8);
}
.logo {
  font-family: var(--serif);
  font-size: 1.25rem;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.01em;
  flex-shrink: 0;
}
.logo span { color: var(--accent); }
.nav-links {
  display: flex;
  gap: var(--s6);
  margin-right: auto;
}
.nav-links a {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--text-2);
  text-decoration: none;
  transition: color 0.15s;
  letter-spacing: 0.01em;
}
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-btn {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--bg);
  background: var(--text);
  text-decoration: none;
  padding: 7px 18px;
  border-radius: 100px;
  white-space: nowrap;
  transition: opacity 0.15s;
}
.nav-btn:hover { opacity: 0.85; color: var(--bg); }
.nav-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* Hamburger */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 110;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  margin: 5px 0;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile nav overlay */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99;
  background: rgba(7,11,18,0.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--s8);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.mobile-nav.open {
  display: flex;
  opacity: 1;
  pointer-events: auto;
}
.mobile-nav a {
  font-family: var(--serif);
  font-size: 1.6rem;
  color: var(--text);
  text-decoration: none;
  transition: color 0.15s;
}
.mobile-nav a:hover { color: var(--accent); }
.mobile-nav .nav-btn {
  font-family: var(--sans);
  font-size: 1rem;
  padding: 12px 28px;
  margin-top: var(--s4);
}

/* ===================================
   HERO
   =================================== */
.hero {
  position: relative;
  min-height: 100svh;
  padding: calc(58px + var(--s20)) var(--s6) var(--s20);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: var(--s16);
  max-width: var(--max);
  margin: 0 auto;
  overflow: hidden;
}
.hero-noise {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}
.hero-inner { position: relative; z-index: 1; }
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  background: var(--green-bg);
  color: var(--green);
  border: 1px solid var(--green-border);
  padding: 5px 12px;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  margin-bottom: var(--s6);
}
.tag-dot {
  width: 6px; height: 6px;
  background: var(--green);
  border-radius: 50%;
  animation: pulse 2.5s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.4; transform: scale(0.8); }
}

h1 {
  font-family: var(--serif);
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--text);
  margin-bottom: var(--s5);
  text-wrap: balance;
}
h1 em {
  font-style: italic;
  color: var(--accent);
}

.hero-desc {
  font-size: 1.1rem;
  font-weight: 300;
  color: var(--text-2);
  max-width: 480px;
  line-height: 1.8;
  margin-bottom: var(--s8);
  letter-spacing: 0.01em;
}
.hero-cta {
  display: flex;
  align-items: center;
  gap: var(--s4);
  margin-bottom: var(--s12);
  flex-wrap: wrap;
}
.hero-proof {
  display: flex;
  align-items: center;
  gap: var(--s6);
  padding-top: var(--s8);
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}
.proof-item { display: flex; flex-direction: column; gap: 2px; }
.proof-num {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--text);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.proof-label { font-size: 0.78rem; color: var(--text-3); letter-spacing: 0.02em; }
.proof-div { width: 1px; height: 36px; background: var(--border); }

/* Chat card */
.hero-card-wrap { position: relative; z-index: 1; }
.hero-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--rxl);
  box-shadow: var(--sh-l);
  overflow: hidden;
}
.hc-top {
  display: flex;
  align-items: center;
  gap: var(--s3);
  padding: var(--s4) var(--s5);
  background: var(--bg2);
  border-bottom: 1px solid var(--border);
}
.hc-dots { display: flex; gap: 6px; }
.hc-dots span { width: 10px; height: 10px; border-radius: 50%; }
.hc-dots span:nth-child(1) { background: #f87171; }
.hc-dots span:nth-child(2) { background: #fbbf24; }
.hc-dots span:nth-child(3) { background: #4ade80; }
.hc-label { font-size: 0.8rem; font-weight: 500; color: var(--text-3); margin: 0 auto; }
.hc-body {
  padding: var(--s5);
  display: flex;
  flex-direction: column;
  gap: var(--s3);
}
.hc-msg { display: flex; }
.hc-right { justify-content: flex-end; }
.hc-msg p {
  max-width: 82%;
  padding: 10px 14px;
  border-radius: var(--rl);
  font-size: 0.875rem;
  line-height: 1.55;
}
.hc-left p {
  background: var(--bg2);
  color: var(--text-2);
  border-bottom-left-radius: 4px;
}
.hc-right p {
  background: var(--accent);
  color: #fff;
  border-bottom-right-radius: 4px;
}
.hc-foot {
  display: flex;
  align-items: center;
  gap: var(--s3);
  padding: var(--s3) var(--s5) var(--s4);
  border-top: 1px solid var(--border);
}
.hc-typing {
  display: flex;
  gap: 4px;
  align-items: center;
}
.hc-typing span {
  width: 6px; height: 6px;
  background: var(--text-3);
  border-radius: 50%;
  animation: bounce 1.4s ease-in-out infinite;
}
.hc-typing span:nth-child(2) { animation-delay: 0.2s; }
.hc-typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes bounce {
  0%, 80%, 100% { transform: translateY(0); opacity: 0.4; }
  40%           { transform: translateY(-5px); opacity: 1; }
}
.hc-typing-label { font-size: 0.78rem; color: var(--text-3); }

/* ===================================
   TICKER (services bar)
   =================================== */
.ticker-bar {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 13px 0;
  overflow: hidden;
  background: var(--bg2);
}
.ticker-bar .ticker-track {
  display: inline-flex;
  gap: var(--s5);
  white-space: nowrap;
  animation: ticker 30s linear infinite;
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-3);
}
.ticker-bar .ticker-track .sep { color: var(--border-hi); }
@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ===================================
   SHARED
   =================================== */
.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: var(--s24) var(--s6);
}
.section-head { margin-bottom: var(--s12); }
.eyebrow {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--s3);
}
h2 {
  font-family: var(--serif);
  font-size: clamp(1.9rem, 3.2vw, 3rem);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.1;
  color: var(--text);
  text-wrap: balance;
}
h2 em { font-style: italic; color: var(--accent); }
.section-sub { color: var(--text-2); font-size: 0.9rem; margin-top: var(--s3); }

/* ===================================
   HOW IT WORKS
   =================================== */
.how { background: var(--bg); }
.steps {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--rl);
  overflow: hidden;
}
.step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 0;
  border-bottom: 1px solid var(--border);
  transition: background 0.2s;
}
.step:last-child { border-bottom: none; }
.step:hover { background: var(--bg2); }
.step-n {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 1.5rem;
  color: var(--text-3);
  font-style: italic;
  border-right: 1px solid var(--border);
  padding: var(--s8) var(--s6);
  transition: color 0.2s;
}
.step:hover .step-n { color: var(--accent); }
.step-body { padding: var(--s8); }
.step-context {
  font-size: 0.875rem;
  font-style: italic;
  color: var(--text-3);
  border-left: 2px solid var(--border-hi);
  padding-left: var(--s4);
  margin-bottom: var(--s4);
  line-height: 1.65;
}
.step:hover .step-context { border-left-color: var(--accent); color: var(--text-2); }
.step-body h3 {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--text);
  margin-bottom: var(--s3);
}
.step-body p { font-size: 0.9rem; font-weight: 300; color: var(--text-2); line-height: 1.75; }
.step-body em { font-style: italic; color: var(--accent); }

/* ===================================
   SERVICES
   =================================== */
.services { background: var(--bg2); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--rl);
  overflow: hidden;
}
.service {
  background: var(--bg2);
  padding: var(--s8);
  cursor: default;
  transition: background 0.2s;
  outline-offset: -2px;
  display: flex;
  flex-direction: column;
}
.service:hover, .service:focus { background: var(--surface); }
.service:focus { outline: 2px solid var(--accent); }
.service--featured {
  background: var(--surface);
  position: relative;
}
.svc-icon {
  width: 40px; height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface2);
  color: var(--accent);
  border-radius: var(--r);
  margin-bottom: var(--s5);
  border: 1px solid var(--border-hi);
}
.service h3 {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--text);
  margin-bottom: var(--s3);
}
.service p { font-size: 0.875rem; font-weight: 300; color: var(--text-2); line-height: 1.7; }
.svc-footer {
  display: flex;
  align-items: center;
  gap: var(--s3);
  margin-top: var(--s4);
  flex-wrap: wrap;
}
.svc-price {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-3);
  letter-spacing: 0.02em;
}
.service--featured .svc-price { color: var(--accent); }
.svc-badge {
  display: inline-block;
  background: var(--accent-sub);
  color: var(--accent);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 100px;
  border: 1px solid rgba(232,132,90,0.2);
}
.svc-cta {
  display: inline-block;
  margin-top: auto;
  padding-top: var(--s5);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--accent);
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: opacity 0.15s;
}
.svc-cta:hover { opacity: 0.75; }

/* ===================================
   TESTIMONIALS — scrolling ticker
   =================================== */
.testimonials { background: var(--bg2); padding: var(--s10) 0; overflow: hidden; }

.ticker-wrap {
  position: relative;
  overflow: hidden;
  margin-top: var(--s8);
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}
.ticker {
  display: flex;
  gap: var(--s4);
  width: max-content;
  will-change: transform;
}
.ticker--left  { animation: scroll-left  55s linear infinite; }
.ticker--right { animation: scroll-right 70s linear infinite; }
.ticker:hover  { animation-play-state: paused; }

@keyframes scroll-left  { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes scroll-right { from { transform: translateX(-50%); } to { transform: translateX(0); } }

.tc {
  flex-shrink: 0;
  width: 280px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: var(--s5);
  display: flex;
  flex-direction: column;
  gap: var(--s3);
  cursor: default;
  transition: border-color 0.2s;
}
.tc:hover { border-color: var(--border-hi); }
.tc p {
  font-size: 0.82rem;
  font-weight: 300;
  color: var(--text);
  line-height: 1.7;
  flex: 1;
}
.tc footer {
  display: flex;
  align-items: center;
  gap: var(--s2);
  margin-top: auto;
}
.tc cite {
  font-style: normal;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--accent);
}
.tp {
  font-size: 0.65rem;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 3px;
  margin-left: auto;
}
.tp--x  { background: #111827; color: #6b7faa; border: 1px solid #1d2845; }
.tp--yt { background: #1a0808; color: #c0392b; border: 1px solid #2a1010; }

/* ===================================
   ABOUT
   =================================== */
.about { background: var(--bg); }
.about-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s16);
  align-items: start;
}
.about-text h2 { margin-bottom: var(--s6); }
.about-text p {
  font-size: 1rem;
  font-weight: 300;
  color: var(--text-2);
  line-height: 1.85;
  margin-bottom: var(--s5);
}
.about-text p:last-of-type { margin-bottom: var(--s8); }

.about-stats {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--r);
  overflow: hidden;
}
.a-stat {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--s4) var(--s6);
  border-bottom: 1px solid var(--border);
  transition: background 0.15s;
}
.a-stat:last-child { border-bottom: none; }
.a-stat:hover { background: var(--bg2); }
.a-val {
  font-family: var(--serif);
  font-size: 1.3rem;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}
.a-lbl { font-size: 0.82rem; color: var(--text-3); }

/* ===================================
   FAQ
   =================================== */
.faq { background: var(--bg2); }
.faq-wrap {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: var(--s16);
  align-items: start;
}
.faq-left { position: sticky; top: 78px; }
.faq-left h2 { margin-bottom: var(--s4); }
.faq-sub {
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--text-2);
  line-height: 1.75;
  margin-bottom: var(--s8);
}
.faq-right {
  display: flex;
  flex-direction: column;
  gap: var(--s3);
}
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--r);
  overflow: hidden;
  transition: background 0.15s, border-color 0.15s;
}
.faq-item:hover { background: var(--surface); border-color: var(--border-hi); }
.faq-q {
  width: 100%;
  background: none;
  border: none;
  color: var(--text);
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 400;
  text-align: left;
  padding: var(--s5) var(--s6);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--s4);
  transition: color 0.15s;
}
.faq-q:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.faq-q::after {
  content: '+';
  font-family: var(--serif);
  font-size: 1.4rem;
  color: var(--text-3);
  flex-shrink: 0;
  transition: transform 0.25s, color 0.15s;
  line-height: 1;
}
.faq-item.open .faq-q::after { transform: rotate(45deg); color: var(--accent); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  padding: 0 var(--s6);
  color: var(--text-2);
  font-size: 0.9rem;
  font-weight: 300;
  line-height: 1.8;
  transition: max-height 0.3s ease, padding 0.3s ease;
}
.faq-item.open .faq-a {
  max-height: 300px;
  padding: 0 var(--s6) var(--s5);
}

/* ===================================
   CONTACT
   =================================== */
.contact { background: var(--bg); }
.contact-wrap { max-width: 680px; }
.contact-head { margin-bottom: var(--s10); }
.contact-head h2 { margin-bottom: var(--s4); }
.contact-head p {
  font-size: 1rem;
  font-weight: 300;
  color: var(--text-2);
  line-height: 1.75;
}

.calendly-inline-widget {
  border-radius: var(--rl);
  overflow: hidden;
  border: 1px solid var(--border);
  width: 100%;
  height: 420px !important;
}

/* ===================================
   BUTTONS
   =================================== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  padding: 11px 22px;
  border-radius: 100px;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: background 0.15s, transform 0.15s;
  border: none;
  cursor: pointer;
}
.btn-primary:hover { background: var(--accent-dim); transform: translateY(-1px); color: #fff; }
.btn-primary:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-2);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 400;
  transition: color 0.15s;
  padding: 11px 0;
}
.btn-ghost:hover { color: var(--text); }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  color: var(--text-2);
  text-decoration: none;
  padding: 11px 22px;
  border-radius: 100px;
  font-size: 0.9rem;
  font-weight: 400;
  border: 1px solid var(--border-hi);
  transition: all 0.15s;
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn-outline:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ===================================
   FOOTER
   =================================== */
.site-footer {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding: var(--s12) var(--s6) var(--s8);
}
.footer-main {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: var(--s10);
  margin-bottom: var(--s10);
}
.footer-brand .logo { display: inline-block; margin-bottom: var(--s3); }
.footer-brand p { font-size: 0.85rem; color: var(--text-3); max-width: 260px; line-height: 1.7; }
.footer-col h4 {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: var(--s4);
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: var(--s2); }
.footer-col a {
  font-size: 0.875rem;
  color: var(--text-2);
  text-decoration: none;
  transition: color 0.15s;
}
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--s6);
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
  gap: var(--s4);
}
.footer-bottom p { font-size: 0.78rem; color: var(--text-3); }
.footer-social { display: flex; gap: var(--s2); align-items: center; }
.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px; height: 32px;
  border-radius: var(--r);
  color: var(--text-3);
  text-decoration: none;
  transition: color 0.15s, background 0.15s;
}
.footer-social a:hover { color: var(--accent); background: var(--accent-sub); }

/* ===================================
   REVEAL ANIMATION
   =================================== */
.reveal { opacity: 1; transform: none; transition: opacity 0.55s ease, transform 0.55s ease; }
.reveal.animate-in { opacity: 0; transform: translateY(14px); }
.reveal.animate-in.visible { opacity: 1; transform: translateY(0); }

/* ===================================
   PAGE HEADER (subpages)
   =================================== */
.page-header {
  padding: calc(58px + var(--s16)) var(--s6) var(--s12);
  background: var(--bg);
  text-align: center;
}
.page-header .eyebrow { margin-bottom: var(--s3); }
.page-header h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin-bottom: var(--s4);
}
.page-header p {
  font-size: 1.05rem;
  font-weight: 300;
  color: var(--text-2);
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.8;
}

/* ===================================
   SERVICES PAGE — detailed cards
   =================================== */
.svc-detail {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--rl);
  padding: var(--s10);
  margin-bottom: var(--s8);
  transition: border-color 0.2s;
}
.svc-detail:hover { border-color: var(--border-hi); }
.svc-detail h2 {
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  margin-bottom: var(--s3);
}
.svc-detail .svc-price-big {
  font-family: var(--serif);
  font-size: 1.5rem;
  color: var(--accent);
  margin-bottom: var(--s5);
}
.svc-detail p {
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--text-2);
  line-height: 1.8;
  margin-bottom: var(--s4);
}
.svc-detail h3 {
  font-family: var(--serif);
  font-size: 1.1rem;
  color: var(--text);
  margin-bottom: var(--s3);
  margin-top: var(--s6);
}
.svc-detail ul {
  list-style: none;
  padding: 0;
  margin-bottom: var(--s4);
}
.svc-detail ul li {
  font-size: 0.9rem;
  color: var(--text-2);
  padding: var(--s2) 0;
  padding-left: var(--s6);
  position: relative;
  line-height: 1.7;
}
.svc-detail ul li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--accent);
}

/* ===================================
   BLOG
   =================================== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: var(--s6);
}
.blog-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--rl);
  padding: var(--s8);
  transition: border-color 0.2s, transform 0.2s;
  text-decoration: none;
  display: flex;
  flex-direction: column;
}
.blog-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.blog-card .blog-tag {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--s3);
}
.blog-card h3 {
  font-family: var(--serif);
  font-size: 1.15rem;
  color: var(--text);
  margin-bottom: var(--s3);
  line-height: 1.3;
}
.blog-card p {
  font-size: 0.875rem;
  color: var(--text-2);
  line-height: 1.7;
  flex: 1;
}
.blog-card .blog-meta {
  font-size: 0.78rem;
  color: var(--text-3);
  margin-top: var(--s4);
  padding-top: var(--s3);
  border-top: 1px solid var(--border);
}

/* Blog article */
.article-wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: var(--s12) var(--s6);
}
.article-wrap h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-bottom: var(--s4);
}
.article-meta {
  font-size: 0.85rem;
  color: var(--text-3);
  margin-bottom: var(--s10);
  padding-bottom: var(--s6);
  border-bottom: 1px solid var(--border);
}
.article-body h2 {
  font-size: clamp(1.3rem, 2.5vw, 1.7rem);
  margin-top: var(--s12);
  margin-bottom: var(--s4);
}
.article-body h3 {
  font-family: var(--serif);
  font-size: 1.15rem;
  color: var(--text);
  margin-top: var(--s8);
  margin-bottom: var(--s3);
}
.article-body p {
  font-size: 1rem;
  font-weight: 300;
  color: var(--text-2);
  line-height: 1.85;
  margin-bottom: var(--s5);
}
.article-body ul, .article-body ol {
  padding-left: var(--s6);
  margin-bottom: var(--s5);
}
.article-body li {
  font-size: 0.95rem;
  color: var(--text-2);
  line-height: 1.8;
  margin-bottom: var(--s2);
}
.article-body blockquote {
  border-left: 3px solid var(--accent);
  padding: var(--s4) var(--s6);
  margin: var(--s6) 0;
  background: var(--bg2);
  border-radius: 0 var(--r) var(--r) 0;
}
.article-body blockquote p {
  font-style: italic;
  color: var(--text);
  margin-bottom: 0;
}
.article-body a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.article-body a:hover { color: var(--accent-dim); }
.article-body strong { color: var(--text); font-weight: 500; }
.article-cta {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--rl);
  padding: var(--s10);
  text-align: center;
  margin-top: var(--s12);
}
.article-cta h2 {
  font-size: 1.4rem;
  margin-bottom: var(--s3);
}
.article-cta p {
  color: var(--text-2);
  margin-bottom: var(--s6);
}

/* ===================================
   CONTACT FORM
   =================================== */
.contact-form {
  width: 100%;
  max-width: 580px;
  display: flex;
  flex-direction: column;
  gap: var(--s5);
  margin-top: var(--s6);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s4); }
.form-row--2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s4); }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: var(--s4); }
.form-group label {
  font-size: 0.85rem;
  color: var(--text-2);
  font-weight: 500;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  color: var(--text);
  font-size: 0.95rem;
  font-family: var(--sans);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(232,132,90,0.15);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(232,230,224,0.3); }
.form-group select {
  appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23e8e6e0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 4l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
}
.form-group select option { background: #0a0a0f; color: var(--text); }
.form-group textarea { resize: vertical; min-height: 100px; }
.form-submit { width: 100%; justify-content: center; margin-top: var(--s2); font-size: 1rem; padding: 0.85rem 2rem; }
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
.field-hint { font-size: 0.8rem; color: var(--text-3); margin-top: 0.4rem; opacity: 0.7; }
.form-group input.is-invalid,
.form-group select.is-invalid,
.form-group textarea.is-invalid { border-color: #f87171; }
.form-success { text-align: center; padding: var(--s6) 0; }
.form-success h3 { font-size: 1.2rem; font-weight: 600; margin-bottom: var(--s3); }
.form-success p { color: var(--text-2); }

/* Calendar section */
.calendar-section { padding: var(--s8) 0 var(--s6); }
.calendar-section h2 { font-family: var(--serif); font-size: clamp(1.6rem, 3vw, 2.2rem); margin-top: 0.5rem; }
.calendar-section .eyebrow { margin-bottom: 0; }

/* ===================================
   ABOUT PAGE — extended
   =================================== */
.about-story {
  max-width: 720px;
  margin: 0 auto;
}
.about-story p {
  font-size: 1rem;
  font-weight: 300;
  color: var(--text-2);
  line-height: 1.85;
  margin-bottom: var(--s5);
}
.about-story h2 {
  margin-top: var(--s10);
  margin-bottom: var(--s4);
}
.credentials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--s4);
  margin: var(--s8) 0;
}
.credential {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: var(--s6);
  text-align: center;
}
.credential .c-val {
  font-family: var(--serif);
  font-size: 1.8rem;
  color: var(--accent);
  display: block;
  margin-bottom: var(--s2);
}
.credential .c-label {
  font-size: 0.82rem;
  color: var(--text-3);
}

/* ===================================
   RESPONSIVE
   =================================== */
@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-bottom: var(--s16);
  }
  .hero-card-wrap { display: none; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .about-wrap, .faq-wrap { grid-template-columns: 1fr; gap: var(--s12); }
  .faq-left { position: static; }
  .footer-main { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .footer-main { grid-template-columns: 1fr; gap: var(--s6); }
}

@media (max-width: 640px) {
  .wrap { padding: var(--s12) var(--s5); }

  /* NAV — show hamburger, hide desktop links */
  .nav-links { display: none; }
  .nav-inner { justify-content: space-between; }
  .hamburger { display: block; order: 3; }
  .nav-btn { display: none; }

  /* HERO */
  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.6rem; }
  .hero {
    padding-top: calc(58px + var(--s10));
    padding-bottom: var(--s10);
    min-height: auto;
  }
  .hero-desc { font-size: 0.95rem; max-width: 100%; }
  .hero-cta { flex-direction: column; align-items: stretch; gap: var(--s3); }
  .hero-cta .btn-primary,
  .hero-cta .btn-ghost { text-align: center; justify-content: center; }
  .hero-proof { gap: var(--s4); justify-content: space-between; padding-top: var(--s5); }
  .proof-div { display: none; }
  .proof-item { flex: 1; text-align: center; align-items: center; }
  .proof-num { font-size: 1.15rem; }

  /* HOW IT WORKS */
  .how .wrap { padding: var(--s10) var(--s5); }
  .how .section-head { margin-bottom: var(--s6); }
  .step { grid-template-columns: 48px 1fr; }
  .step-n { font-size: 1rem; padding: var(--s5) var(--s3); }
  .step-body { padding: var(--s4); }
  .step-context { font-size: 0.82rem; margin-bottom: var(--s3); }
  .step-body h3 { font-size: 1.05rem; margin-bottom: var(--s2); }
  .step-body p { font-size: 0.85rem; }

  /* SERVICES */
  .services .wrap { padding: var(--s10) var(--s5); }
  .services .section-head { margin-bottom: var(--s6); }
  .services-grid { grid-template-columns: 1fr; border-radius: var(--r); }
  .service { padding: var(--s5); }
  .svc-icon { width: 36px; height: 36px; margin-bottom: var(--s3); }
  .service h3 { font-size: 1rem; margin-bottom: var(--s2); }
  .service p { font-size: 0.85rem; }

  /* TESTIMONIALS */
  .testimonials { padding: var(--s8) 0; }
  .testimonials .section-head { margin-bottom: var(--s5); }
  .tc { width: 230px; padding: var(--s4); }
  .tc p { font-size: 0.8rem; }

  /* ABOUT */
  .about .wrap { padding: var(--s10) var(--s5); }
  .about-text h2 { margin-bottom: var(--s4); }
  .about-text p { font-size: 0.92rem; margin-bottom: var(--s3); }
  .about-text .btn-primary { width: 100%; justify-content: center; margin-top: var(--s3); }

  /* FAQ */
  .faq .wrap { padding: var(--s10) var(--s5); }
  .faq-q { font-size: 0.88rem; padding: var(--s4) var(--s5); }
  .faq-a { font-size: 0.85rem; }
  .faq-sub { font-size: 0.85rem; margin-bottom: var(--s4); }

  /* CONTACT */
  .contact .wrap { padding: var(--s10) var(--s5); }
  .contact-head { margin-bottom: var(--s6); }
  .form-row, .form-row--2 { grid-template-columns: 1fr; }
  .form-submit { width: 100%; justify-content: center; }

  /* CALENDAR */
  .calendar-section { padding: var(--s6) 0 var(--s4); }
  .calendly-inline-widget { height: 480px !important; margin-top: var(--s4) !important; }

  /* FOOTER */
  .site-footer { padding: var(--s8) var(--s5); }
  .footer-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .footer-social { justify-content: center; }

  /* PAGE HEADER */
  .page-header { padding: calc(58px + var(--s8)) var(--s5) var(--s6); }
  .page-header h1 { font-size: 1.8rem; }

  /* BLOG */
  .blog-grid { grid-template-columns: 1fr; }

  /* ARTICLE */
  .article-wrap { padding: var(--s8) var(--s5); }
  .article-body h2 { margin-top: var(--s8); }

  /* SERVICE DETAIL */
  .svc-detail { padding: var(--s6); }

  .section-head { margin-bottom: var(--s6); }
}

@media (max-width: 400px) {
  h1 { font-size: 1.9rem; }
  h2 { font-size: 1.45rem; }
  .hero-tag { font-size: 0.72rem; }
  .proof-num { font-size: 1.05rem; }
  .proof-label { font-size: 0.7rem; }
  .btn-primary { padding: 10px 18px; font-size: 0.85rem; }
  .btn-outline { padding: 10px 18px; font-size: 0.85rem; }
  .tc { width: 220px; padding: var(--s4); }
  .tc p { font-size: 0.78rem; }
}

/* ===================================
   REDUCED MOTION
   =================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
