:root {
  --bg: #f5f6f8;
  --bg-card: #ffffff;
  --ink: #10182b;
  --ink-soft: #33405c;
  --muted: #64708a;
  --line: #e4e8ef;
  --navy: #0c1424;
  --navy-2: #131f38;
  --accent: #f05a12;
  --accent-deep: #d64a08;
  --accent-soft: #fdeee4;
  --teal: #0e9384;
  --teal-soft: #e4f4f1;
  --white: #ffffff;
  --radius: 20px;
  --radius-s: 14px;
  --shadow-card: 0 1px 2px rgba(16, 24, 43, 0.04), 0 12px 32px -16px rgba(16, 24, 43, 0.12);
  --shadow-pop: 0 24px 64px -24px rgba(16, 24, 43, 0.28);
  --font-display: "Unbounded", "Golos Text", system-ui, sans-serif;
  --font-body: "Golos Text", system-ui, -apple-system, "Segoe UI", sans-serif;
  --max: 1160px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
svg {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

/* ---------- Header ---------- */

.header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(245, 246, 248, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(255, 255, 255, 0.88);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 76px;
}

.logo {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.logo__mark {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 2.1rem;
  line-height: 1;
  letter-spacing: 0;
  color: var(--ink);
  transform: scale(0.78, 1.22);
  transform-origin: left bottom;
}

.logo__mark span {
  color: var(--accent);
}

.logo__sub {
  font-size: 0.66rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-top: 0.2rem;
}

.nav {
  display: none;
  align-items: center;
  gap: 2rem;
}

.nav__links {
  display: flex;
  gap: 1.6rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav__links a {
  position: relative;
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--ink-soft);
  padding: 0.3rem 0;
  transition: color 0.2s ease;
}

.nav__links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
  transition: right 0.25s ease;
}

.nav__links a:hover {
  color: var(--ink);
}

.nav__links a:hover::after,
.nav__links a.is-active::after {
  right: 0;
}

.nav__links a.is-active {
  color: var(--ink);
  font-weight: 600;
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: 1.1rem;
}

.header__phone {
  font-weight: 600;
  font-size: 0.96rem;
  white-space: nowrap;
  color: var(--ink);
  transition: color 0.2s ease;
}

.header__phone:hover {
  color: var(--accent);
}

.burger {
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  display: grid;
  place-items: center;
  gap: 5px;
  padding: 0;
  cursor: pointer;
}

.burger span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.burger.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.burger.is-open span:nth-child(2) {
  opacity: 0;
}

.burger.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.6rem 1.25rem 1.4rem;
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.mobile-nav.is-open {
  display: flex;
}

.mobile-nav a {
  font-weight: 500;
  padding: 0.55rem 0;
  border-bottom: 1px solid #f0f2f6;
}

.mobile-nav a:last-child {
  border-bottom: 0;
}

.mobile-nav .btn {
  margin-top: 0.8rem;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.75rem 1.5rem;
  border-radius: 12px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.15s ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn--primary {
  background: var(--accent);
  color: var(--white);
}

.btn--primary:hover {
  background: var(--accent-deep);
}

.btn--dark {
  background: var(--ink);
  color: var(--white);
}

.btn--dark:hover {
  background: #25314f;
}

.btn--outline {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}

.btn--outline:hover {
  border-color: var(--ink);
}

.btn--light {
  background: var(--white);
  color: var(--ink);
}

.btn--light:hover {
  background: #eef1f6;
}

.btn--ghost-light {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.24);
  color: var(--white);
}

.btn--ghost-light:hover {
  background: rgba(255, 255, 255, 0.16);
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  color: var(--white);
  background:
    radial-gradient(1000px 480px at 85% -10%, rgba(240, 90, 18, 0.18), transparent 60%),
    radial-gradient(700px 420px at -10% 110%, rgba(14, 147, 132, 0.14), transparent 55%),
    linear-gradient(165deg, var(--navy) 0%, var(--navy-2) 60%, #0e1a30 100%);
  overflow: hidden;
}

.hero__pattern {
  position: absolute;
  inset: 0;
  opacity: 0.5;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse 90% 80% at 60% 20%, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 60% 20%, black 30%, transparent 75%);
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 3rem;
  padding: 4.5rem 0 3.5rem;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  padding: 0.42rem 0.95rem;
  margin-bottom: 1.4rem;
  animation: rise 0.7s ease both;
}

.hero__eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.75rem, 4.2vw, 2.9rem);
  line-height: 1.14;
  letter-spacing: 0;
  margin: 0 0 1.2rem;
  max-width: 15em;
  animation: rise 0.7s ease 0.08s both;
}

.hero__title em {
  font-style: normal;
  color: #ff8a4c;
}

.hero__lead {
  max-width: 33rem;
  font-size: clamp(1rem, 1.6vw, 1.13rem);
  color: rgba(255, 255, 255, 0.78);
  margin: 0 0 2rem;
  animation: rise 0.7s ease 0.16s both;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  animation: rise 0.7s ease 0.24s both;
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, auto);
  justify-content: start;
  gap: 2.5rem;
  margin-top: 2.8rem;
  padding-top: 1.8rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  animation: rise 0.7s ease 0.32s both;
}

.hero__stat-value {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.55rem;
  line-height: 1.1;
}

.hero__stat-label {
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 0.3rem;
}

/* hero visual — «отчёт» */

.hero__visual {
  position: relative;
  display: none;
  animation: rise 0.8s ease 0.3s both;
}

.hero-card {
  background: var(--white);
  color: var(--ink);
  border-radius: var(--radius);
  padding: 1.5rem 1.5rem 1.3rem;
  box-shadow: var(--shadow-pop);
  max-width: 380px;
  margin-left: auto;
}

.hero-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.1rem;
}

.hero-card__title {
  font-weight: 600;
  font-size: 0.95rem;
}

.hero-card__badge {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--teal);
  background: var(--teal-soft);
  border-radius: 999px;
  padding: 0.25rem 0.7rem;
}

.hero-card__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 0.55rem 0;
  border-top: 1px solid #f0f2f6;
  font-size: 0.9rem;
}

.hero-card__row strong {
  font-size: 1.05rem;
  font-weight: 700;
}

.trend {
  font-size: 0.78rem;
  font-weight: 700;
  margin-left: 0.45rem;
}

.trend--up {
  color: var(--teal);
}

.trend--down {
  color: var(--accent);
}

.hero-card__bars {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 64px;
  margin: 1rem 0 0.4rem;
}

.hero-card__bars i {
  flex: 1;
  border-radius: 4px 4px 2px 2px;
  background: linear-gradient(180deg, #ffb287, var(--accent));
  opacity: 0.9;
}

.hero-card__bars i:nth-child(1) { height: 34%; }
.hero-card__bars i:nth-child(2) { height: 46%; }
.hero-card__bars i:nth-child(3) { height: 40%; }
.hero-card__bars i:nth-child(4) { height: 58%; }
.hero-card__bars i:nth-child(5) { height: 52%; }
.hero-card__bars i:nth-child(6) { height: 72%; }
.hero-card__bars i:nth-child(7) { height: 66%; }
.hero-card__bars i:nth-child(8) { height: 88%; }

.hero-card__foot {
  font-size: 0.76rem;
  color: var(--muted);
}

.hero-chip {
  position: absolute;
  left: 0;
  bottom: -1.1rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--white);
  color: var(--ink);
  border-radius: var(--radius-s);
  padding: 0.8rem 1.1rem;
  box-shadow: var(--shadow-pop);
  font-size: 0.85rem;
  font-weight: 500;
}

.hero-chip__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 4px var(--teal-soft);
}

.hero-chip small {
  display: block;
  font-size: 0.72rem;
  font-weight: 400;
  color: var(--muted);
}

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

@media (min-width: 960px) {
  .hero__inner {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
    padding: 5.5rem 0 5rem;
  }

  .hero__visual {
    display: block;
  }
}

/* ---------- Sections ---------- */

.section {
  padding: 5rem 0;
}

.section--tight {
  padding: 3.25rem 0;
}

.section--alt {
  background: var(--white);
  border-block: 1px solid var(--line);
}

.section__eyebrow {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.9rem;
}

.section__title {
  font-weight: 700;
  font-size: clamp(1.65rem, 3.4vw, 2.35rem);
  letter-spacing: -0.02em;
  line-height: 1.18;
  margin: 0 0 1rem;
  max-width: 24em;
}

.section__lead {
  max-width: 42rem;
  color: var(--muted);
  font-size: 1.02rem;
  margin: 0 0 2.4rem;
}

.split {
  display: grid;
  gap: 1.4rem;
}

.split--gap-top {
  margin-top: 1.8rem;
}

@media (min-width: 860px) {
  .nav {
    display: flex;
  }

  .burger {
    display: none;
  }

  .split {
    grid-template-columns: 1fr 1fr;
    gap: 1.75rem;
    align-items: stretch;
  }
}

/* ---------- Direction cards ---------- */

.pillar {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.1rem 2rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  overflow: hidden;
}

.pillar::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
}

.pillar--ads::before {
  background: linear-gradient(90deg, var(--accent), #ffb287);
}

.pillar--support::before {
  background: linear-gradient(90deg, var(--teal), #7fd6c9);
}

.pillar:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-pop);
}

.pillar__icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin-bottom: 1.3rem;
}

.pillar--ads .pillar__icon {
  background: var(--accent-soft);
  color: var(--accent);
}

.pillar--support .pillar__icon {
  background: var(--teal-soft);
  color: var(--teal);
}

.pillar__label {
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.5rem;
}

.pillar h3,
.pillar .pillar__title {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin: 0 0 0.6rem;
}

.pillar p {
  margin: 0 0 1.4rem;
  color: var(--muted);
}

.pillar .btn {
  margin-top: auto;
}

/* ---------- Lists / panels ---------- */

.list-check {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.8rem;
}

.list-check li {
  position: relative;
  padding-left: 1.85rem;
  color: var(--ink-soft);
}

.list-check li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.28rem;
  width: 1.1rem;
  height: 1.1rem;
  border-radius: 50%;
  background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M4.5 8.5l2.5 2.5 4.5-5' stroke='%23f05a12' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat;
}

.list-check--teal li::before {
  background-color: var(--teal-soft);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M4.5 8.5l2.5 2.5 4.5-5' stroke='%230e9384' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.panel {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem;
  box-shadow: var(--shadow-card);
}

.panel > h3,
.panel__title {
  margin: 0 0 1.1rem;
  font-size: 1.12rem;
  font-weight: 700;
}

.panel--narrow {
  max-width: 48rem;
  margin-inline: auto;
}

/* ---------- Section header for service pages ---------- */

.dir-head {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  margin-bottom: 1.8rem;
}

.dir-head__icon {
  flex: 0 0 56px;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: grid;
  place-items: center;
}

.dir-head--ads .dir-head__icon {
  background: var(--accent-soft);
  color: var(--accent);
}

.dir-head--support .dir-head__icon {
  background: var(--teal-soft);
  color: var(--teal);
}

.dir-head__label {
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.25rem;
}

.dir-head h2 {
  font-size: clamp(1.4rem, 2.6vw, 1.85rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 0.45rem;
}

.dir-head p {
  margin: 0;
  color: var(--muted);
  max-width: 38rem;
}

/* ---------- Prices ---------- */

.prices {
  display: grid;
  gap: 1.1rem;
}

@media (min-width: 700px) {
  .prices {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1020px) {
  .prices {
    grid-template-columns: repeat(4, 1fr);
  }
}

.price {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.7rem 1.5rem 1.6rem;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.price:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-pop);
}

.price--featured {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

.price--featured .price__name,
.price--featured .price__note {
  color: rgba(255, 255, 255, 0.65);
}

.price__tag {
  position: absolute;
  top: -0.7rem;
  right: 1.2rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--accent);
  border-radius: 999px;
  padding: 0.28rem 0.75rem;
}

.price__name {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.85rem;
}

.price__value {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.7rem;
  letter-spacing: -0.01em;
  line-height: 1.1;
}

.price__value small {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--muted);
  margin-left: 0.2rem;
}

.price--featured .price__value small {
  color: rgba(255, 255, 255, 0.6);
}

.price__note {
  font-size: 0.88rem;
  color: var(--muted);
  margin-top: 0.7rem;
}

/* ---------- Stats ---------- */

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
  margin-top: 2.4rem;
}

.stat {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  padding: 1.3rem 1.4rem;
}

.stat__value {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  line-height: 1.1;
  color: var(--ink);
}

.stat__label {
  color: var(--muted);
  font-size: 0.88rem;
  margin-top: 0.35rem;
}

@media (max-width: 640px) {
  .stats {
    grid-template-columns: 1fr;
  }
}

/* ---------- Steps ---------- */

.steps {
  display: grid;
  gap: 1.1rem;
  counter-reset: step;
}

@media (min-width: 860px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }
}

.step {
  counter-increment: step;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem 1.5rem;
  box-shadow: var(--shadow-card);
}

.step::before {
  content: "0" counter(step);
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--accent);
  margin-bottom: 0.9rem;
}

.step h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 0.45rem;
}

.step p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted);
}

/* ---------- CTA band ---------- */

.cta-band {
  padding: 0 0 5rem;
}

.cta-band__inner {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(600px 300px at 90% -20%, rgba(240, 90, 18, 0.25), transparent 60%),
    linear-gradient(150deg, var(--navy), var(--navy-2));
  color: var(--white);
  border-radius: calc(var(--radius) + 6px);
  padding: clamp(2.2rem, 5vw, 3.5rem);
  display: grid;
  gap: 1.6rem;
}

@media (min-width: 860px) {
  .cta-band__inner {
    grid-template-columns: 1.4fr auto;
    align-items: center;
  }
}

.cta-band h2 {
  font-weight: 700;
  font-size: clamp(1.4rem, 2.8vw, 1.9rem);
  letter-spacing: -0.02em;
  margin: 0 0 0.5rem;
}

.cta-band p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  max-width: 34rem;
}

.cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

/* ---------- Page hero (inner pages) ---------- */

.page-hero {
  padding: 4rem 0 1.5rem;
}

.page-hero h1 {
  font-weight: 700;
  font-size: clamp(1.9rem, 4.2vw, 2.8rem);
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin: 0 0 1rem;
  max-width: 18em;
}

/* ---------- Contacts ---------- */

.contact-grid {
  display: grid;
  gap: 1.5rem;
  align-items: start;
}

@media (min-width: 900px) {
  .contact-grid {
    grid-template-columns: 0.85fr 1.15fr;
  }
}

.contact-list {
  display: grid;
  gap: 1.35rem;
}

.contact-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.contact-item__icon {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  color: var(--accent);
}

.contact-item__label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.15rem;
}

.contact-item a:hover {
  color: var(--accent);
}

.contact-form {
  display: grid;
  gap: 1rem;
}

.form-row {
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
}

.form-group {
  display: grid;
  gap: 0.4rem;
}

.form-group label {
  font-size: 0.88rem;
  font-weight: 600;
}

.form-group input,
.form-group textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.85rem 1rem;
  background: var(--white);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(240, 90, 18, 0.14);
}

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

.form-check {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  font-size: 0.87rem;
  color: var(--muted);
}

.form-check input {
  margin-top: 0.25rem;
  accent-color: var(--accent);
}

.form-check a {
  color: var(--accent);
  text-decoration: underline;
}

.form-status {
  display: none;
  padding: 0.9rem 1.1rem;
  border-radius: 12px;
  background: var(--teal-soft);
  color: #0b6e63;
  font-weight: 500;
}

.form-status.is-visible {
  display: block;
}

/* ---------- Prose (privacy) ---------- */

.prose p {
  color: var(--ink-soft);
}

.prose a {
  color: var(--accent);
  text-decoration: underline;
}

/* ---------- Footer ---------- */

.footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.75);
  padding: 3.5rem 0 2rem;
}

.footer__grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 760px) {
  .footer__grid {
    grid-template-columns: 1.5fr 1fr 1.2fr;
  }
}

.footer__brand {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--white);
  margin-bottom: 0.7rem;
  transform: scale(0.78, 1.22);
  transform-origin: left bottom;
}

.footer__brand span {
  color: var(--accent);
}

.footer p {
  margin: 0 0 0.65rem;
}

.footer a {
  transition: color 0.2s ease;
}

.footer a:hover {
  color: var(--white);
}

.footer__title {
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 1rem;
}

.footer__copy {
  margin-top: 2.6rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.5);
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.5rem;
  justify-content: space-between;
}

.footer__copy a:hover {
  color: var(--white);
}

/* ---------- Reveal ---------- */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal,
  .hero__eyebrow,
  .hero__title,
  .hero__lead,
  .hero__cta,
  .hero__stats,
  .hero__visual {
    animation: none;
    transition: none;
    opacity: 1;
    transform: none;
  }
}
