/* Public site — nav, hero, landing sections ============================ */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247,245,239,0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: 20px; }
.brand .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--amber); }
.nav-links { display: flex; gap: 32px; font-weight: 600; font-size: 14px; }
.nav-links a { opacity: 0.75; }
.nav-links a:hover { opacity: 1; }
.header-actions { display: flex; gap: 12px; align-items: center; }
.nav-toggle { display: none; }

/* Hero -------------------------------------------------------------------*/
.hero {
  position: relative;
  padding: 90px 0 70px;
  overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(34px, 5vw, 56px); }
.hero-sub { font-size: 18px; color: var(--ink-soft); max-width: 46ch; }
.hero-cta { display: flex; gap: 14px; margin-top: 28px; flex-wrap: wrap; }

.pulse-wrap {
  position: relative;
  background: var(--ink);
  border-radius: var(--radius-lg);
  padding: 28px;
  color: var(--paper);
}
.pulse-wrap svg { width: 100%; height: auto; display: block; }
.pulse-line {
  fill: none;
  stroke: var(--mint);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-dasharray: 600;
  stroke-dashoffset: 600;
  animation: draw 2.6s ease forwards infinite alternate;
}
@keyframes draw { to { stroke-dashoffset: 0; } }
.pulse-stats { display: flex; justify-content: space-between; margin-top: 20px; font-family: var(--font-mono); }
.pulse-stats .num { font-size: 22px; font-weight: 700; color: var(--mint); }
.pulse-stats .label { font-size: 11px; opacity: 0.7; text-transform: uppercase; letter-spacing: 0.06em; }

/* Ticker -------------------------------------------------------------- */
.ticker {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 16px;
}
.ticker .item { text-align: center; }
.ticker .num { font-family: var(--font-mono); font-size: 26px; font-weight: 700; }
.ticker .label { font-size: 12px; color: var(--ink-soft); text-transform: uppercase; letter-spacing: 0.05em; }

/* Section shell --------------------------------------------------------*/
.section { padding: 80px 0; }
.section-head { max-width: 640px; margin: 0 auto 48px; text-align: center; }
.section-head h2 { font-size: clamp(26px, 4vw, 36px); }
.section-head p { color: var(--ink-soft); }

/* Category chips ---------------------------------------------------------*/
.chip-row { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 40px; }
.chip {
  padding: 9px 18px; border-radius: 999px; border: 1px solid var(--line);
  font-weight: 600; font-size: 13px; background: #fff;
}
.chip.active { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* Service grid ---------------------------------------------------------*/
.service-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.service-card {
  background: #fff; border-radius: var(--radius-md); padding: 22px;
  border: 1px solid var(--line); transition: box-shadow .2s ease, transform .2s ease;
}
.service-card:hover { box-shadow: var(--shadow-card); transform: translateY(-2px); }
.service-card .cat { font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; color: var(--amber-deep); letter-spacing: 0.05em; }
.service-card h3 { font-size: 16px; margin: 8px 0; }
.service-card .price { font-family: var(--font-mono); font-size: 20px; font-weight: 700; }
.service-card .per { font-size: 12px; color: var(--ink-soft); }

/* Feature / choose-us grid ----------------------------------------------*/
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 24px; }
.feature-card { padding: 4px; }
.feature-card .icon {
  width: 46px; height: 46px; border-radius: 12px; background: var(--mint);
  display: flex; align-items: center; justify-content: center; margin-bottom: 14px; color: var(--mint-deep); font-size: 20px;
}
.feature-card h3 { font-size: 17px; }
.feature-card p { color: var(--ink-soft); font-size: 14px; }

/* Steps ------------------------------------------------------------------*/
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; counter-reset: step; }
.step { position: relative; padding-left: 46px; }
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 0; top: 0;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--ink); color: var(--paper);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-weight: 700; font-size: 14px;
}
.step h3 { font-size: 16px; }
.step p { color: var(--ink-soft); font-size: 14px; }

/* Testimonials -----------------------------------------------------------*/
.testi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; }
.testi-card { background: #fff; border-radius: var(--radius-md); padding: 26px; border: 1px solid var(--line); }
.testi-card .stars { color: var(--amber); letter-spacing: 2px; margin-bottom: 10px; }
.testi-card .who { margin-top: 14px; font-weight: 700; font-size: 14px; }
.testi-card .role { font-size: 12px; color: var(--ink-soft); }

/* FAQ ----------------------------------------------------------------- */
.faq-item { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq-item summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 20px; color: var(--amber-deep); }
.faq-item[open] summary::after { content: '–'; }
.faq-item p { color: var(--ink-soft); margin-top: 12px; }

/* CTA band ---------------------------------------------------------------*/
.cta-band {
  background: var(--ink); color: var(--paper); border-radius: var(--radius-lg);
  padding: 56px; text-align: center;
}
.cta-band h2 { color: var(--paper); }
.cta-band p { color: rgba(247,245,239,0.75); max-width: 50ch; margin: 0 auto 24px; }

/* Footer ----------------------------------------------------------------*/
.site-footer { background: var(--ink); color: var(--paper); padding: 60px 0 30px; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
.footer-grid h4 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--mint); margin-bottom: 14px; }
.footer-grid a { display: block; opacity: 0.7; font-size: 14px; margin-bottom: 8px; }
.footer-grid a:hover { opacity: 1; }
.footer-bottom { border-top: 1px solid rgba(247,245,239,0.15); margin-top: 40px; padding-top: 22px; font-size: 13px; opacity: 0.6; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* Auth pages ---------------------------------------------------------- */
.auth-shell { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 40px 20px; }
.auth-card { width: 100%; max-width: 420px; }
.auth-card .brand { justify-content: center; margin-bottom: 24px; }
.auth-card h1 { font-size: 24px; text-align: center; }
.auth-card .sub { text-align: center; color: var(--ink-soft); font-size: 14px; margin-bottom: 26px; }
.auth-switch { text-align: center; margin-top: 18px; font-size: 14px; color: var(--ink-soft); }
.auth-switch a { color: var(--amber-deep); font-weight: 600; }

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
