/* ===========================================================================
   BINARY ANVIL — Landing page
   =========================================================================== */

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body, h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea, select { font: inherit; color: inherit; }

:root {
  --bg: #0a0a0c;
  --bg-2: #111114;
  --bg-3: #16161a;
  --surface: #1a1a20;
  --surface-2: #20202a;
  --line: #2a2a35;
  --line-2: #353545;
  --ink: #f5f5f7;
  --ink-2: #b9b9c4;
  --ink-3: #7a7a88;
  --copper: #ff7a3c;
  --copper-2: #ff9a4c;
  --copper-3: #ffc26b;
  --ember: #ff5a1f;
  --grad: linear-gradient(135deg, #ffc26b 0%, #ff9a4c 35%, #ff5a1f 100%);
  --grad-text: linear-gradient(135deg, #ffd591 0%, #ffae6a 50%, #ff7a3c 100%);
  --shadow-sm: 0 2px 10px rgba(0,0,0,.25);
  --shadow:    0 12px 40px rgba(0,0,0,.45);
  --shadow-lg: 0 30px 80px rgba(255,90,31,.18);
  --radius: 14px;
  --radius-lg: 22px;
  --container: 1200px;
  --pad: clamp(20px, 4vw, 56px);
  --section-pad: clamp(80px, 10vw, 140px);
  --easing: cubic-bezier(.2,.7,.2,1);
}

html, body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  overflow-x: hidden;
  background:
    radial-gradient(1200px 800px at 80% -10%, rgba(255,90,31,.10), transparent 50%),
    radial-gradient(900px 600px at -10% 30%, rgba(255,154,76,.06), transparent 60%),
    var(--bg);
}

::selection { background: var(--copper); color: #111; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: var(--pad);
}

.skip-link {
  position: absolute; left: -10000px;
  top: 8px; padding: 8px 14px;
  background: var(--copper); color: #111;
  border-radius: 8px; font-weight: 600;
}
.skip-link:focus { left: 8px; z-index: 9999; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.08;
  color: var(--ink);
}

h1 { font-size: clamp(2.4rem, 6.5vw, 5rem); }
h2 { font-size: clamp(1.9rem, 4.5vw, 3.4rem); }
h3 { font-size: clamp(1.15rem, 1.6vw, 1.45rem); letter-spacing: -0.01em; }

p { color: var(--ink-2); }

.text-gradient {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-2);
  margin-bottom: 18px;
}
.eyebrow__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--copper);
  box-shadow: 0 0 14px var(--copper);
  animation: pulse 2.4s infinite ease-in-out;
}
@keyframes pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50%     { opacity: .6; transform: scale(.85); }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: -0.005em;
  transition: transform .25s var(--easing), box-shadow .25s var(--easing),
              background .25s var(--easing), color .25s var(--easing),
              border-color .25s var(--easing);
  white-space: nowrap;
  will-change: transform;
}
.btn svg { width: 18px; height: 18px; transition: transform .25s var(--easing); }
.btn:hover svg { transform: translateX(3px); }
.btn--primary {
  background: var(--grad);
  color: #1a0d05;
  box-shadow: 0 8px 30px rgba(255,90,31,.35), inset 0 1px 0 rgba(255,255,255,.25);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 14px 40px rgba(255,90,31,.45), inset 0 1px 0 rgba(255,255,255,.25); }
.btn--ghost {
  background: transparent;
  border: 1px solid var(--line-2);
  color: var(--ink);
}
.btn--ghost:hover { border-color: var(--copper); color: var(--copper-3); background: rgba(255,122,60,.06); }
.btn--lg { padding: 16px 28px; font-size: 1rem; border-radius: 14px; }
.btn--block { width: 100%; }

/* ---------- NAV ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(10,10,12,.55);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: background .3s, border-color .3s, box-shadow .3s;
}
.nav.is-scrolled {
  background: rgba(10,10,12,.85);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 8px 28px rgba(0,0,0,.35);
}
.nav__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 18px;
  padding-block: 16px;
}

.logo { display: inline-flex; align-items: center; gap: 12px; }
.logo__mark { width: 38px; height: 38px; }
.logo__text {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.nav__links {
  display: flex; gap: 28px;
  font-size: 0.93rem;
  color: var(--ink-2);
}
.nav__links a { position: relative; padding-block: 6px; transition: color .2s; }
.nav__links a::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 100%;
  height: 1.5px; background: var(--copper);
  transition: right .25s var(--easing);
}
.nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after { right: 0; }

.nav__cta { padding: 10px 18px; font-size: 0.9rem; }

.nav__burger {
  display: none;
  width: 40px; height: 40px;
  flex-direction: column; justify-content: center; gap: 5px;
}
.nav__burger span {
  display: block; width: 22px; height: 2px;
  background: var(--ink); border-radius: 2px;
  margin: 0 auto;
  transition: transform .3s var(--easing), opacity .2s;
}
.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav__mobile {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 14px var(--pad) calc(22px + env(safe-area-inset-bottom));
  background: rgba(10,10,12,.96);
  border-top: 1px solid var(--line);
  max-height: calc(100vh - 70px);
  overflow-y: auto;
}
.nav__mobile.is-open { display: flex; }
.nav__mobile a { padding: 14px 4px; font-size: 1rem; color: var(--ink-2); border-bottom: 1px solid var(--line); min-height: 44px; display: flex; align-items: center; }
.nav__mobile a:last-of-type { border-bottom: none; }
.nav__mobile a.btn { border-bottom: none; margin-top: 12px; padding: 14px 22px; justify-content: center; }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  padding-top: clamp(140px, 16vh, 200px);
  padding-bottom: clamp(80px, 10vw, 130px);
  overflow: hidden;
  isolation: isolate;
}
.hero__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero__grid {
  position: absolute; inset: 0;
  background:
    linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px) 0 0 / 60px 60px,
    linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px) 0 0 / 60px 60px;
  mask-image: radial-gradient(ellipse at 50% 30%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 30%, transparent 75%);
}
.hero__glow {
  position: absolute; border-radius: 50%; filter: blur(80px); opacity: .55;
}
.hero__glow--a { width: 600px; height: 600px; background: radial-gradient(circle, #ff5a1f, transparent 60%); top: -100px; right: -120px; }
.hero__glow--b { width: 500px; height: 500px; background: radial-gradient(circle, #ff9a4c, transparent 60%); bottom: -150px; left: -80px; opacity: .35; }

.sparks { position: absolute; inset: 0; pointer-events: none; }
.sparks span {
  position: absolute; bottom: -10px; left: var(--x);
  width: 3px; height: 3px;
  background: var(--copper-3);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--copper-3), 0 0 20px var(--copper);
  animation: spark var(--t, 6s) ease-in infinite;
  animation-delay: var(--d, 0s);
  opacity: 0;
}
@keyframes spark {
  0%  { transform: translateY(0)         scale(.6); opacity: 0; }
  10% { opacity: 1; }
  60% { opacity: .8; }
  100%{ transform: translateY(-110vh)    scale(.2); opacity: 0; }
}

.hero__inner { position: relative; text-align: center; }
.hero__inner > * { margin-inline: auto; }
.hero__title { max-width: 1000px; margin-block: 6px 26px; }
.hero__lead {
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  color: var(--ink-2);
  max-width: 760px;
  margin-bottom: 38px;
}
.hero__cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 60px; }

.hero__stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  max-width: 720px;
  padding-top: 36px;
  border-top: 1px solid var(--line);
}
.hero__stats li { display: flex; flex-direction: column; align-items: center; }
.hero__stats strong {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.25rem, 2.4vw, 1.85rem);
  font-weight: 700;
  background: var(--grad-text);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero__stats span {
  font-size: 0.78rem;
  color: var(--ink-3);
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-top: 2px;
}

.hero__scroll {
  position: absolute;
  bottom: 32px; left: 50%;
  transform: translateX(-50%);
  width: 22px; height: 38px;
  border: 1.5px solid var(--line-2);
  border-radius: 12px;
  display: flex; justify-content: center; padding-top: 6px;
  transition: border-color .3s;
}
.hero__scroll span {
  width: 3px; height: 7px;
  background: var(--copper);
  border-radius: 2px;
  animation: scrollDot 1.8s infinite var(--easing);
}
.hero__scroll:hover { border-color: var(--copper); }
@keyframes scrollDot {
  0%   { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(14px); opacity: 0; }
}

/* ---------- TRUST STRIP ---------- */
.trust {
  border-block: 1px solid var(--line);
  background: var(--bg-2);
  padding-block: 28px;
}
.trust__inner {
  display: flex; align-items: center; gap: 36px; flex-wrap: wrap;
}
.trust__label {
  font-size: 0.78rem; color: var(--ink-3);
  letter-spacing: .14em; text-transform: uppercase;
  font-weight: 600;
}
.trust__tech {
  display: flex; flex-wrap: wrap; gap: 14px 28px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.05rem; font-weight: 600;
  color: var(--ink-3);
}
.trust__tech li { transition: color .2s; }
.trust__tech li:hover { color: var(--ink); }

/* ---------- SECTIONS ---------- */
.section { padding-block: var(--section-pad); position: relative; }
.section__head { text-align: center; max-width: 760px; margin: 0 auto 70px; }
.section__title { margin-bottom: 18px; }
.section__lead { font-size: 1.08rem; color: var(--ink-2); }

/* ---------- SERVICES CARDS ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}
.card {
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg-3) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  position: relative;
  overflow: hidden;
  transition: transform .35s var(--easing), border-color .3s, box-shadow .35s;
}
.card::before {
  content: ''; position: absolute; inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(140deg, transparent 40%, var(--copper) 60%, transparent 80%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0; transition: opacity .4s;
  pointer-events: none;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card:hover::before { opacity: 1; }
.card:hover .card__icon { color: var(--copper-3); border-color: var(--copper); }

.card__icon {
  width: 52px; height: 52px;
  border-radius: 13px;
  border: 1px solid var(--line-2);
  display: grid; place-items: center;
  color: var(--copper-2);
  margin-bottom: 22px;
  transition: color .3s, border-color .3s, background .3s;
  background: rgba(255,122,60,.06);
}
.card__icon svg { width: 26px; height: 26px; }

.card h3 { margin-bottom: 10px; }
.card > p { color: var(--ink-2); margin-bottom: 18px; }
.card__list { display: flex; flex-direction: column; gap: 8px; margin-bottom: 22px; }
.card__list li {
  position: relative;
  padding-left: 22px;
  font-size: 0.92rem;
  color: var(--ink-2);
}
.card__list li::before {
  content: ''; position: absolute; left: 0; top: 9px;
  width: 6px; height: 6px;
  background: var(--copper);
  border-radius: 2px;
  transform: rotate(45deg);
}
.card__price {
  border-top: 1px solid var(--line);
  padding-top: 16px;
  font-size: 0.9rem;
  color: var(--ink-3);
}
.card__price strong { font-family: 'Space Grotesk', sans-serif; font-size: 1.15rem; color: var(--ink); font-weight: 700; }

/* ---------- PROCESS / STEPS ---------- */
.process { background: linear-gradient(180deg, transparent, var(--bg-2) 50%, transparent); }
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 22px;
}
.step {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  position: relative;
  transition: transform .3s var(--easing), border-color .3s;
}
.step:hover { transform: translateY(-3px); border-color: var(--copper); }
.step__num {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: .12em;
  color: var(--copper);
  margin-bottom: 14px;
}
.step h3 { margin-bottom: 8px; }
.step p { font-size: 0.93rem; }

/* ---------- WORKS ---------- */
.works__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
}
.work {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform .35s var(--easing), border-color .3s;
}
.work:hover { transform: translateY(-4px); border-color: var(--line-2); }
.work__media {
  aspect-ratio: 16/10;
  position: relative;
  background: linear-gradient(135deg, var(--bg-a, #1a2a44) 0%, var(--bg-b, #3b5a89) 100%);
  display: grid; place-items: center;
  overflow: hidden;
}
.work__media::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(255,255,255,.08), transparent 60%);
}
.work__art svg { width: 60%; height: auto; transition: transform .6s var(--easing); }
.work:hover .work__art svg { transform: scale(1.06) rotate(-1deg); }

.work__body { padding: 26px 24px 28px; }
.work__tag {
  font-size: 0.75rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-3); margin-bottom: 10px;
}
.work h3 { margin-bottom: 8px; }
.work p { font-size: 0.93rem; margin-bottom: 16px; }
.work__tech { display: flex; flex-wrap: wrap; gap: 8px; }
.work__tech li {
  font-size: 0.78rem;
  padding: 4px 10px;
  background: rgba(255,122,60,.08);
  border: 1px solid rgba(255,122,60,.2);
  border-radius: 999px;
  color: var(--copper-3);
}
.works__note {
  text-align: center;
  margin-top: 36px;
  color: var(--ink-3);
  font-size: 0.92rem;
  font-style: italic;
}

/* ---------- WHY ---------- */
.why__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
}
.why__item {
  padding: 26px;
  border-left: 2px solid var(--line);
  transition: border-color .3s, padding-left .3s;
}
.why__item:hover { border-left-color: var(--copper); padding-left: 32px; }
.why__item h3 { margin-bottom: 10px; }
.why__item p { font-size: 0.95rem; }

/* ---------- PRICING ---------- */
.pricing__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
}
.plan {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  display: flex; flex-direction: column;
  position: relative;
  transition: transform .35s var(--easing), border-color .3s, box-shadow .35s;
}
.plan:hover { transform: translateY(-3px); }
.plan--featured {
  border-color: var(--copper);
  box-shadow: 0 18px 50px rgba(255,90,31,.12);
  background: linear-gradient(180deg, var(--surface), var(--bg-3));
}
.plan__badge {
  position: absolute; top: -12px; left: 28px;
  background: var(--grad); color: #1a0d05;
  padding: 5px 12px; border-radius: 999px;
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  box-shadow: 0 6px 18px rgba(255,90,31,.4);
}
.plan h3 { margin-bottom: 6px; color: var(--ink-2); font-size: 1rem; font-weight: 600; letter-spacing: 0; }
.plan__price {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.2rem; font-weight: 700;
  color: var(--ink); margin-bottom: 22px;
}
.plan__price span { font-size: 0.85rem; font-weight: 400; color: var(--ink-3); margin-left: 4px; }
.plan ul { display: flex; flex-direction: column; gap: 10px; margin-bottom: 26px; flex-grow: 1; }
.plan ul li {
  position: relative; padding-left: 24px;
  font-size: 0.92rem; color: var(--ink-2);
}
.plan ul li::before {
  content: '';
  position: absolute; left: 0; top: 7px;
  width: 14px; height: 14px;
  background: rgba(255,122,60,.12);
  border-radius: 4px;
}
.plan ul li::after {
  content: '';
  position: absolute; left: 4px; top: 11px;
  width: 6px; height: 3px;
  border-left: 1.6px solid var(--copper);
  border-bottom: 1.6px solid var(--copper);
  transform: rotate(-45deg);
}
.plan .btn { width: 100%; }

/* ---------- QUOTE ---------- */
.quote { padding-block: clamp(60px, 8vw, 100px); }
.quote__box {
  max-width: 820px; margin: 0 auto;
  text-align: center;
  padding: 50px clamp(20px, 4vw, 50px);
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg-3) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  position: relative;
}
.quote__mark { width: 40px; height: 30px; color: var(--copper); margin: 0 auto 18px; }
.quote__box blockquote {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  font-weight: 500;
  line-height: 1.4;
  color: var(--ink);
  margin-bottom: 24px;
  letter-spacing: -.005em;
}
.quote__box figcaption {
  display: flex; flex-direction: column; gap: 2px;
}
.quote__box figcaption strong { color: var(--ink); font-weight: 600; }
.quote__box figcaption span { color: var(--ink-3); font-size: 0.88rem; }

/* ---------- FAQ ---------- */
.faq__list {
  max-width: 820px; margin: 0 auto;
  display: flex; flex-direction: column; gap: 12px;
}
.faq__item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .3s;
}
.faq__item[open] { border-color: var(--copper); }
.faq__item summary {
  padding: 20px 26px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--ink);
  cursor: pointer;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
  list-style: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: '+';
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 400;
  font-size: 1.6rem;
  color: var(--copper);
  transition: transform .3s var(--easing);
}
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__body { padding: 0 26px 22px; }
.faq__body p { font-size: 0.95rem; }

/* ---------- CONTACT ---------- */
.contact { padding-bottom: 100px; }
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(40px, 7vw, 80px);
  align-items: start;
}
.contact__lead {
  margin: 20px 0 30px;
  font-size: 1.05rem;
}
.contact__channels { display: flex; flex-direction: column; gap: 14px; }
.contact__channels li {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 0.98rem;
  transition: border-color .25s;
}
.contact__channels li:hover { border-color: var(--copper); }
.contact__channels a { color: var(--ink); transition: color .2s; }
.contact__channels a:hover { color: var(--copper-3); }
.contact__icon {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: rgba(255,122,60,.08);
  border: 1px solid var(--line-2);
  display: grid; place-items: center;
  color: var(--copper-2);
  flex-shrink: 0;
}
.contact__icon svg { width: 20px; height: 20px; }

/* Form */
.contact__form {
  background: linear-gradient(180deg, var(--surface), var(--bg-3));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 44px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.field { display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label {
  font-size: 0.85rem;
  color: var(--ink-2);
  font-weight: 500;
}
.field input, .field select, .field textarea {
  background: var(--bg-2);
  border: 1px solid var(--line-2);
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 0.95rem;
  color: var(--ink);
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--copper);
  background: var(--bg-3);
  box-shadow: 0 0 0 4px rgba(255,122,60,.12);
}
.field textarea { resize: vertical; min-height: 120px; }
.field--check {
  flex-direction: row; align-items: center; gap: 10px;
  font-size: 0.88rem; color: var(--ink-2);
}
.field--check label { font-size: 0.88rem; line-height: 1.45; }
.field--check input[type="checkbox"] {
  width: 18px; height: 18px;
  accent-color: var(--copper);
  flex-shrink: 0;
}
.contact__legal {
  grid-column: 1 / -1;
  font-size: 0.82rem;
  color: var(--ink-3);
  text-align: center;
  margin: 0;
}

/* ---------- FOOTER ---------- */
.footer {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  padding-top: 60px;
}
.footer__inner {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 40px;
  padding-bottom: 50px;
}
.footer__brand p {
  margin-top: 18px;
  font-size: 0.92rem;
  max-width: 280px;
}
.footer__col h4 {
  font-size: 0.88rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 18px;
  font-weight: 600;
}
.footer__col a, .footer__col span {
  display: block;
  padding-block: 5px;
  font-size: 0.93rem;
  color: var(--ink-2);
  transition: color .2s;
}
.footer__col a:hover { color: var(--copper-3); }

.footer__bar {
  display: flex; justify-content: space-between; align-items: center;
  padding-block: 22px;
  border-top: 1px solid var(--line);
  font-size: 0.85rem;
  color: var(--ink-3);
  flex-wrap: wrap;
  gap: 10px;
}

/* ---------- TOAST ---------- */
.toast {
  position: fixed; bottom: 24px; left: 50%;
  transform: translateX(-50%) translateY(16px);
  padding: 14px 22px;
  background: var(--surface);
  border: 1px solid var(--copper);
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  color: var(--ink);
  font-size: 0.93rem;
  z-index: 999;
  opacity: 0;
  transition: opacity .3s, transform .3s var(--easing);
}
.toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ---------- REVEAL ANIMATIONS ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s var(--easing), transform .8s var(--easing);
  transition-delay: var(--delay, 0ms);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

/* ---------- RESPONSIVE ---------- */
@media (max-width: 960px) {
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: flex; }

  .contact__grid { grid-template-columns: 1fr; }
  .contact__form { grid-template-columns: 1fr; }
  .field--full { grid-column: 1; }
  .footer__inner { grid-template-columns: 1fr 1fr; }

  .hero__stats { grid-template-columns: repeat(4, 1fr); gap: 14px; }
}

@media (max-width: 720px) {
  :root {
    --section-pad: clamp(60px, 12vw, 90px);
    --pad: 18px;
  }

  .nav__inner { padding-block: 12px; }
  .logo__mark { width: 34px; height: 34px; }
  .logo__text { font-size: 1rem; }

  .hero { padding-top: 110px; padding-bottom: 70px; }
  .hero__title { font-size: clamp(2rem, 9vw, 3rem); line-height: 1.1; margin-block: 4px 18px; }
  .hero__lead { font-size: 1rem; margin-bottom: 28px; }
  .hero__cta { flex-direction: column; width: 100%; margin-bottom: 44px; }
  .hero__cta .btn { width: 100%; }

  .hero__stats { grid-template-columns: repeat(2, 1fr); gap: 22px 18px; padding-top: 28px; }
  .hero__stats strong { font-size: 1.5rem; }
  .hero__stats span { font-size: 0.72rem; }

  .hero__scroll { display: none; }

  .trust { padding-block: 22px; }
  .trust__inner { gap: 14px; }
  .trust__tech { font-size: 0.95rem; gap: 10px 20px; }

  .section__head { margin-bottom: 48px; }
  .section__title { font-size: clamp(1.65rem, 7vw, 2.4rem); }
  .section__lead { font-size: 0.98rem; }

  .card { padding: 28px 24px; }
  .card h3 { font-size: 1.2rem; }

  .step { padding: 24px 20px; }
  .plan { padding: 28px 24px; }
  .plan__price { font-size: 1.9rem; }

  .quote__box { padding: 36px 22px; }

  .faq__item summary { padding: 18px 20px; font-size: 0.98rem; }
  .faq__body { padding: 0 20px 18px; }

  .contact__channels li { padding: 12px 14px; font-size: 0.92rem; }

  .footer__inner { grid-template-columns: 1fr 1fr; gap: 30px 20px; padding-bottom: 36px; }
  .footer__bar { flex-direction: column; text-align: center; padding-block: 18px; }

  /* iOS safe area + smooth touch */
  body { padding-bottom: env(safe-area-inset-bottom); }
  .nav { padding-top: env(safe-area-inset-top); }

  /* Force inputs ≥ 16px so iOS doesn't zoom in on focus */
  .field input, .field select, .field textarea { font-size: 16px; }

  /* Tap targets */
  .btn { min-height: 44px; }
  .nav__burger { width: 44px; height: 44px; }
}

@media (max-width: 420px) {
  .hero__title { font-size: clamp(1.85rem, 10vw, 2.4rem); }
  .hero__stats { grid-template-columns: 1fr 1fr; gap: 20px 12px; }
  .footer__inner { grid-template-columns: 1fr; gap: 26px; }

  .plan__badge { left: 50%; transform: translateX(-50%); font-size: 0.68rem; }
  .work__body { padding: 22px 20px 24px; }

  .contact__form { padding: 22px 18px; }
}

/* Prevent horizontal scrolling caused by glow blurs */
@media (max-width: 720px) {
  .hero__glow--a { width: 400px; height: 400px; right: -180px; }
  .hero__glow--b { width: 320px; height: 320px; left: -160px; }
}
