:root {
  --bg: #060606;
  --bg-deep: #060606;
  --surface: #161616;
  --surface-strong: #1c1c1c;
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.66);
  --soft: rgba(255, 255, 255, 0.44);
  --line: rgba(255, 255, 255, 0.12);
  --line-strong: rgba(255, 255, 255, 0.2);
  --accent: #ffffff;
  --accent-soft: rgba(255, 255, 255, 0.72);
  --radius: 20px;
  --font-title: "Sora", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --header-height: 86px;
  --page-gutter: clamp(24px, 5vw, 64px);
  --nav-gutter: clamp(24px, 5vw, 64px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  color-scheme: dark;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

html::-webkit-scrollbar {
  display: none;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

button,
input,
textarea {
  font: inherit;
}

button {
  color: inherit;
}

::selection {
  background: rgba(255, 255, 255, 0.22);
  color: var(--text);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container {
  width: min(calc(100% - (var(--page-gutter) * 2)), 1180px);
  margin-inline: auto;
}

.section {
  position: relative;
  padding: 112px 0;
}

#projetos,
#depoimentos {
  scroll-margin-top: calc(var(--header-height) + 84px);
}

.page-transition {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  background: var(--bg);
  opacity: 1;
  transition: opacity 0.46s var(--ease);
}

body.is-ready .page-transition {
  opacity: 0;
}

body.is-leaving .page-transition {
  opacity: 1;
  transition: opacity 0.36s var(--ease);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  width: 100%;
  background: rgba(6, 6, 6, 0.78);
  border-bottom: 1px solid rgba(255, 255, 255, 0);
  backdrop-filter: blur(20px);
  transition: border-color 0.32s ease, background 0.32s ease;
}

.site-header.is-scrolled {
  background: rgba(6, 6, 6, 0.86);
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

.nav-shell {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  width: calc(100% - (var(--nav-gutter) * 2));
  min-height: var(--header-height);
  margin-inline: auto;
}

.nav-links,
.nav-actions {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav-links a,
.footer-socials a {
  position: relative;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 600;
  transition: color 0.25s ease;
}

.footer-socials a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -7px;
  width: 100%;
  height: 1px;
  background: var(--accent-soft);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.nav-links a:hover,
.footer-socials a:hover,
.nav-links a:focus-visible,
.footer-socials a:focus-visible {
  color: var(--text);
}

.footer-socials a:hover::after,
.footer-socials a:focus-visible::after {
  opacity: 1;
}

.brand-mark {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 78px;
  height: 46px;
}

.brand-mark img {
  width: 78px;
  height: auto;
  transition: opacity 0.28s ease;
}

.brand-mark .brand-mark-gradient {
  position: absolute;
  inset: 0;
  width: 78px;
  height: auto;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
}

.brand-mark:hover img,
.brand-mark:focus-visible img {
  opacity: 0;
}

.brand-mark:hover .brand-mark-gradient,
.brand-mark:focus-visible .brand-mark-gradient {
  opacity: 1;
}

.nav-actions {
  justify-content: flex-end;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font-family: var(--font-title);
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  transition:
    box-shadow 0.25s ease,
    border-color 0.25s ease,
    background 0.25s ease,
    color 0.25s ease;
}

.btn:hover,
.btn:focus-visible {
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.42), 0 0 24px rgba(255, 255, 255, 0.08);
}

.btn-primary {
  color: #080808;
  background: #ffffff;
  border-color: #ffffff;
}

.btn-primary::before {
  content: none;
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: #ffffff;
  border-color: #ffffff;
}

.btn-arrow {
  gap: 0;
  transition:
    box-shadow 0.25s ease,
    border-color 0.25s ease,
    background 0.25s ease,
    color 0.25s ease,
    gap 0.22s var(--ease),
    padding 0.22s var(--ease);
}

.btn-arrow::after {
  content: "";
  flex: 0 0 auto;
  width: 0;
  height: 8px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  opacity: 0;
  transform: rotate(45deg) scale(0.72);
  transform-origin: center;
  transition: opacity 0.22s ease, transform 0.22s var(--ease), width 0.22s var(--ease);
}

.btn-arrow:hover,
.btn-arrow:focus-visible {
  gap: 10px;
}

.btn-arrow:hover::after,
.btn-arrow:focus-visible::after {
  width: 8px;
  opacity: 1;
  transform: rotate(45deg) scale(1);
}

.btn-arrow-left {
  gap: 0;
  flex-direction: row;
  transition:
    box-shadow 0.25s ease,
    border-color 0.25s ease,
    background 0.25s ease,
    color 0.25s ease,
    gap 0.22s var(--ease),
    padding 0.22s var(--ease);
}

.btn-arrow-left::before {
  content: "";
  flex: 0 0 auto;
  width: 0;
  height: 8px;
  border-bottom: 2px solid currentColor;
  border-left: 2px solid currentColor;
  opacity: 0;
  transform: rotate(45deg) scale(0.72);
  transform-origin: center;
  transition: opacity 0.22s ease, transform 0.22s var(--ease), width 0.22s var(--ease);
}

.btn-arrow-left:hover,
.btn-arrow-left:focus-visible {
  gap: 10px;
}

.btn-arrow-left:hover::before,
.btn-arrow-left:focus-visible::before {
  width: 8px;
  opacity: 1;
  transform: rotate(45deg) scale(1);
}

.btn-secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.16);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  border-color: rgba(255, 255, 255, 0.36);
  background: rgba(255, 255, 255, 0.1);
}

.btn-small {
  min-height: 40px;
  padding-inline: 18px;
  font-size: 0.78rem;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 16px;
  height: 1px;
  margin: 5px auto;
  background: var(--text);
  transition: transform 0.25s var(--ease);
}

.menu-toggle.is-open span:first-child {
  transform: translateY(3px) rotate(45deg);
}

.menu-toggle.is-open span:last-child {
  transform: translateY(-3px) rotate(-45deg);
}

.mobile-menu {
  display: none;
  width: min(100% - 32px, 520px);
  margin: 0 auto 16px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.94);
}

.mobile-menu a {
  display: block;
  padding: 14px;
  border-radius: 6px;
  color: var(--muted);
  font-weight: 700;
}

.mobile-menu a:hover,
.mobile-menu a:focus-visible {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
}

.hero {
  display: flex;
  align-items: center;
  min-height: 100svh;
  padding: calc(var(--header-height) + 34px) 0 64px;
  overflow: hidden;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--muted);
  font-family: var(--font-title);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  line-height: 1.2;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.final-cta h2,
.form-intro h1,
.form-step h2,
.success-state h2 {
  margin: 0;
  font-family: var(--font-title);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-player-shell {
  position: relative;
  isolation: isolate;
  width: min(100%, 1080px);
}

.hero-player-glow {
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: -46px;
  z-index: -1;
  height: 36%;
  border-radius: 999px;
  background:
    linear-gradient(90deg, rgba(0, 235, 188, 0.6), rgba(191, 0, 255, 0.56), rgba(255, 246, 0, 0.52), rgba(0, 235, 188, 0.6));
  background-size: 220% 220%;
  filter: blur(48px);
  opacity: 0.68;
  animation: heroGlow 8s ease-in-out infinite alternate;
}

.hero-video-frame {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: none;
  border-radius: var(--radius);
  background: #030303;
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.52);
}

.hero-video-frame iframe,
.hero-video-frame video {
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
}

.hero-play-mark {
  position: relative;
  display: block;
  width: 64px;
  height: 64px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
}

.hero-play-mark::before {
  content: "";
  position: absolute;
  left: 27px;
  top: 22px;
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 14px solid #ffffff;
}

@keyframes heroGlow {
  from {
    background-position: 0% 50%;
    opacity: 0.54;
  }

  to {
    background-position: 100% 50%;
    opacity: 0.78;
  }
}

.section-heading {
  max-width: 760px;
  margin-bottom: 44px;
}

.section-heading-center {
  max-width: none;
  text-align: center;
}

.section-heading-center h2 {
  margin-inline: auto;
}

.section-heading h2,
.final-cta h2,
.form-intro h1 {
  max-width: 900px;
  font-size: 3.2rem;
}

.section-heading p,
.final-cta p,
.form-intro p,
.review-note {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 1rem;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.project-section {
  padding-top: 72px;
}

@media (min-width: 992px) {
  .project-section {
    padding-top: 140px;
  }
}

.project-card,
.testimonial-card,
.budget-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(22, 22, 22, 0.82);
}

.project-card {
  position: relative;
  overflow: visible;
  border: none;
  background: transparent;
  transition: none;
}

.project-card::before {
  content: none;
}

.project-card:hover,
.project-card:focus-within {
  border-color: transparent;
  background: transparent;
  box-shadow: none;
}

.project-card:hover::before,
.project-card:focus-within::before {
  opacity: 1;
}

.project-media {
  position: relative;
  width: 100%;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #080808;
  cursor: pointer;
  transition: border-color 0.35s ease, box-shadow 0.35s ease;
}

.project-card:hover .project-media,
.project-card:focus-within .project-media {
  border-color: rgba(255, 255, 255, 0.24);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.project-media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: opacity 0.45s ease;
}

.project-card:hover .project-media img,
.project-card:focus-within .project-media img {
  opacity: 0.84;
}

.play-mark {
  position: absolute;
  right: 18px;
  bottom: 18px;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.46);
  backdrop-filter: blur(10px);
}

.play-mark::before {
  content: "";
  width: 0;
  height: 0;
  margin-left: 4px;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 12px solid #ffffff;
}

.project-copy {
  padding: 14px 4px 0;
}

.project-copy h3 {
  margin: 0;
  font-family: var(--font-title);
  font-size: 1.1rem;
  line-height: 1.2;
}

.project-copy p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.project-action {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 44px;
  padding: 0 12px 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.055);
  cursor: pointer;
  font-family: var(--font-title);
  font-size: 0.88rem;
  font-weight: 800;
  transition: background 0.24s ease, border-color 0.24s ease, color 0.24s ease, box-shadow 0.24s ease;
}

.project-action-icon {
  position: relative;
  width: 26px;
  height: 26px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.045);
  transition: background 0.24s ease, border-color 0.24s ease;
}

.project-action-icon::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 50%;
  width: 9px;
  height: 1px;
  background: currentColor;
}

.project-action-icon::after {
  content: "";
  position: absolute;
  right: 8px;
  top: 50%;
  width: 6px;
  height: 6px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: translateY(-50%) rotate(45deg);
}

.project-action:hover,
.project-action:focus-visible {
  color: #080808;
  border-color: #ffffff;
  background: #ffffff;
  box-shadow: 0 0 28px rgba(255, 255, 255, 0.1);
}

.project-action:hover .project-action-icon,
.project-action:focus-visible .project-action-icon {
  border-color: rgba(0, 0, 0, 0.24);
  background: rgba(0, 0, 0, 0.06);
}

.testimonial-section {
  background: transparent;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  padding: 26px;
}

.testimonial-card blockquote {
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1rem;
}

.testimonial-card footer {
  margin-top: auto;
  padding-top: 30px;
}

.testimonial-card strong {
  display: block;
  font-family: var(--font-title);
  line-height: 1.2;
}

.testimonial-card span {
  display: block;
  margin-top: 6px;
  color: var(--soft);
  font-size: 0.88rem;
}

.final-cta {
  padding-bottom: 128px;
}

.final-cta-inner {
  position: relative;
  padding: 64px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #0a0a0a;
}

.final-cta-inner::before {
  content: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: rgba(255, 255, 255, 0.72);
}

.final-cta .btn {
  margin-top: 30px;
}

.project-modal {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: grid;
  place-items: center;
  padding: 24px;
  pointer-events: none;
  visibility: hidden;
  transition: visibility 0s linear 0.42s;
}

.project-modal.is-open {
  pointer-events: auto;
  visibility: visible;
  transition-delay: 0s;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  opacity: 0;
  background: rgba(0, 0, 0, 0);
  backdrop-filter: blur(0);
  transition:
    opacity 0.42s var(--ease),
    background 0.42s var(--ease),
    backdrop-filter 0.42s var(--ease);
}

.project-modal.is-open .modal-backdrop {
  opacity: 1;
  background: rgba(0, 0, 0, 0.76);
  backdrop-filter: blur(14px);
}

.modal-panel {
  position: relative;
  z-index: 1;
  width: min(100%, 960px);
  max-height: min(88vh, 900px);
  overflow: auto;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: #131313;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.45);
  opacity: 0;
  transition: opacity 0.36s var(--ease);
}

.project-modal.is-open .modal-panel {
  opacity: 1;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 3;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.48);
  cursor: pointer;
}

.modal-close::before,
.modal-close::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16px;
  height: 2px;
  background: #ffffff;
}

.modal-close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.modal-close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.video-stage {
  display: grid;
  place-items: center;
  min-height: 420px;
  background: #080808;
}

.video-stage iframe {
  width: 100%;
  height: min(62vh, 540px);
  border: 0;
}

.video-placeholder {
  display: grid;
  place-items: center;
  width: 100%;
  min-height: 420px;
  padding: 42px;
  text-align: center;
  background: #050505;
}

.video-placeholder p {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
}

.modal-copy {
  display: none;
}

.site-footer {
  padding: 42px 0;
  background: #ffffff;
  color: #080808;
}

.footer-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 26px;
}

.footer-brand img {
  width: 66px;
  filter: invert(1);
}

.footer-socials {
  display: flex;
  justify-content: center;
  gap: 24px;
}

.site-footer p {
  margin: 0;
  color: #555555;
  font-size: 0.86rem;
}

.site-footer .footer-socials a {
  color: #555555;
}

.site-footer .footer-socials a:hover,
.site-footer .footer-socials a:focus-visible {
  color: #080808;
}

.site-footer .footer-socials a::after {
  background: #080808;
}

.form-page {
  min-height: 100vh;
}

.form-hero {
  position: relative;
  min-height: 100vh;
  padding: 150px 0 80px;
}

.form-hero::before {
  content: none;
}

.form-container {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: 50px;
  align-items: start;
}

.form-intro {
  position: sticky;
  top: 132px;
}

.form-intro p {
  max-width: 440px;
}

.budget-card {
  padding: 28px;
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(18px);
}

.progress-block {
  margin-bottom: 34px;
}

.progress-meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
  color: var(--soft);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.progress-track {
  height: 4px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.09);
}

.progress-track span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: #ffffff;
  transition: width 0.35s var(--ease);
}

.budget-form.is-hidden {
  display: none;
}

.form-step {
  display: none;
}

.form-step.is-active {
  display: block;
  animation: stepIn 0.34s var(--ease);
}

@keyframes stepIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.step-kicker {
  margin: 0 0 10px;
  color: var(--accent-soft);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.form-step h2,
.success-state h2 {
  font-size: 2rem;
  line-height: 1.12;
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.field {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.field-grid .field {
  margin-top: 0;
}

.field span,
.choice-grid legend {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.86rem;
  font-weight: 800;
}

.field em {
  color: var(--soft);
  font-style: normal;
  font-weight: 600;
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  color: var(--text);
  background: rgba(255, 255, 255, 0.045);
  outline: none;
  transition: border-color 0.22s ease, background 0.22s ease, box-shadow 0.22s ease;
}

.field input {
  min-height: 52px;
  padding: 0 14px;
}

.field textarea {
  resize: vertical;
  min-height: 132px;
  padding: 14px;
}

.field input:focus,
.field textarea:focus {
  border-color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.08);
}

.stacked-groups {
  display: grid;
  gap: 28px;
  margin-top: 28px;
}

.choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 28px 0 0;
  padding: 0;
  border: 0;
}

.choice-grid.compact {
  margin-top: 0;
}

.choice-grid.compact legend {
  grid-column: 1 / -1;
  margin-bottom: 2px;
}

.choice-card {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 56px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  color: var(--muted);
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  transition: border-color 0.22s ease, background 0.22s ease, color 0.22s ease;
}

.choice-card input {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.choice-card span {
  position: relative;
  z-index: 1;
  pointer-events: none;
  font-size: 0.92rem;
  font-weight: 700;
}

.choice-card:hover,
.choice-card:focus-within {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.07);
}

.choice-card:has(input:checked) {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.08);
}

.choice-card:has(input:checked)::after {
  content: "";
  position: absolute;
  right: 14px;
  top: 50%;
  z-index: 3;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  pointer-events: none;
  background: #ffffff;
  transform: translateY(-50%);
}

.conditional-field {
  display: none;
}

.conditional-field.is-visible {
  display: grid;
  animation: stepIn 0.26s var(--ease);
}

.notice.conditional-field.is-visible {
  display: block;
}

.notice {
  margin: 18px 0 0;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  color: rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.05);
}

.review-list {
  display: grid;
  gap: 10px;
  margin-top: 26px;
}

.review-item {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 18px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
}

.review-item strong {
  color: var(--soft);
  font-size: 0.78rem;
  text-transform: uppercase;
}

.review-item span {
  color: var(--text);
}

.form-error {
  min-height: 20px;
  margin: 10px 0 0;
  color: #ffcf5a;
  font-weight: 700;
}

.form-nav {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 10px;
  padding-top: 10px;
}

#submitStep {
  display: none;
}

.success-state {
  padding: 28px 0 8px;
}

.success-state p:not(.eyebrow) {
  max-width: 560px;
  margin: 18px 0 28px;
  color: var(--muted);
}

@media (max-width: 1100px) {
  .section-heading h2,
  .final-cta h2,
  .form-intro h1 {
    font-size: 2.65rem;
  }

  .form-container {
    grid-template-columns: 1fr;
  }

  .form-intro {
    position: static;
  }

  .testimonial-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 860px) {
  :root {
    --header-height: 72px;
    --page-gutter: 20px;
    --nav-gutter: 16px;
  }

  .section {
    padding: 82px 0;
  }

  .nav-shell {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 100%;
    padding: 0 var(--nav-gutter);
  }

  .nav-left,
  .form-header .nav-left {
    display: none;
  }

  .brand-mark {
    position: relative;
    z-index: 2;
  }

  .nav-actions {
    position: absolute;
    right: var(--nav-gutter);
    z-index: 3;
    display: flex;
  }

  .menu-toggle {
    display: block;
    position: absolute;
    left: var(--nav-gutter);
    z-index: 3;
  }

  .mobile-menu.is-open {
    display: block;
  }



  .form-header .nav-actions {
    left: var(--nav-gutter);
    right: auto;
  }

  .hero {
    min-height: 100svh;
    padding: calc(var(--header-height) + 34px) 0 42px;
  }

  .project-grid,
  .testimonial-grid,
  .field-grid,
  .choice-grid {
    grid-template-columns: 1fr;
  }

  .final-cta-inner {
    padding: 36px 24px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .footer-socials {
    justify-content: flex-start;
  }

  .form-hero {
    padding: 118px 0 52px;
  }

  .budget-card {
    padding: 20px;
  }

  .review-item {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}

@media (max-width: 560px) {
  body {
    font-size: 15px;
  }

  .brand-mark,
  .brand-mark img {
    width: 66px;
  }

  .hero h1 {
    font-size: 2.45rem;
  }

  .section-heading h2,
  .final-cta h2,
  .form-intro h1 {
    font-size: 2.05rem;
  }

  .form-step h2,
  .success-state h2 {
    font-size: 1.55rem;
  }

  .form-nav {
    flex-direction: column;
    align-items: stretch;
  }

  .desktop-only {
    display: none;
  }

  .btn-small {
    padding-inline: 14px;
    font-size: 0.72rem;
  }

  .btn:not(.nav-actions .btn) {
    width: 100%;
  }

  .project-copy,
  .testimonial-card,
  .modal-copy {
    padding: 18px;
  }

  .video-stage,
  .video-placeholder {
    min-height: 300px;
  }

  .project-modal {
    padding: 14px;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

}
