/* NPC MEDIA FC-LLC — stile del sito
   Palette: il grigio è la folla, il blu è il protagonista.
   Il blu si usa solo per azioni, selezioni e il manifesto. */

:root {
  --paper: #E7E9EC;
  --surface: #F5F6F8;
  --white: #FFFFFF;
  --ink: #1F232B;
  --ink-2: #4A505B;
  --dot: #A3A9B2;
  --line: rgba(31, 35, 43, 0.14);
  --field: #C3C8CF;
  --blue: #1D2DF5;
  --blue-deep: #1320C2;
  --error: #B42318;

  --font: "Archivo", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --container: 1280px;
  --gutter: clamp(16px, 4vw, 48px);
  --header-h: 72px;
  --section-y: clamp(88px, 11vw, 168px);
}

/* ---------- Base ---------- */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.125rem;
  font-stretch: 100%;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: inherit;
}

p {
  text-wrap: pretty;
}

h1,
h2,
h3 {
  text-wrap: balance;
}

::selection {
  background: var(--blue);
  color: var(--white);
}

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}

.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;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 100;
  padding: 12px 18px;
  border-radius: 10px;
  background: var(--ink);
  color: var(--white);
  font-weight: 600;
  text-decoration: none;
}

.skip-link:focus {
  top: 12px;
}

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

/* ---------- Bottoni ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 26px;
  border: 1.5px solid transparent;
  border-radius: 999px;
  font: 600 1rem/1.1 var(--font);
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}

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

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

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

.btn--ghost:hover {
  background: var(--ink);
  color: var(--paper);
}

.btn--sm {
  min-height: 42px;
  padding: 0 18px;
  font-size: 0.875rem;
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--header-h);
  transition: background-color 0.25s, box-shadow 0.25s;
}

.site-header.is-scrolled,
.site-header.menu-open {
  background: rgba(231, 233, 236, 0.9);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  box-shadow: 0 1px 0 var(--line);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 100%;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
}

.brand__mark {
  width: 26px;
  height: 26px;
  color: var(--dot);
}

.brand__name {
  font-size: 1.0625rem;
  font-stretch: 125%;
  font-weight: 800;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.4vw, 32px);
}

.nav__link {
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
}

.nav__link:hover {
  color: var(--blue);
}

.nav__cta {
  display: none;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang {
  display: inline-flex;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
}

.lang button {
  padding: 7px 10px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--ink-2);
  font: 600 0.8125rem/1 var(--font);
  cursor: pointer;
}

.lang button[aria-pressed="true"] {
  background: var(--ink);
  color: var(--paper);
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.menu-toggle__bars,
.menu-toggle__bars::before,
.menu-toggle__bars::after {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.25s, background-color 0.25s;
}

.menu-toggle__bars {
  position: relative;
}

.menu-toggle__bars::before,
.menu-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.menu-toggle__bars::before {
  transform: translateY(-6px);
}

.menu-toggle__bars::after {
  transform: translateY(6px);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__bars {
  background: transparent;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__bars::before {
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__bars::after {
  transform: rotate(-45deg);
}

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

.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  min-height: max(640px, min(100svh, 960px));
  padding: calc(var(--header-h) + 72px) 0 clamp(48px, 9vh, 104px);
  overflow: hidden;
}

.hero__field {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  -webkit-mask-image: linear-gradient(to top, rgba(0, 0, 0, 0.16) 0%, rgba(0, 0, 0, 0.3) 42%, #000 82%);
  mask-image: linear-gradient(to top, rgba(0, 0, 0, 0.16) 0%, rgba(0, 0, 0, 0.3) 42%, #000 82%);
}

.hero__you {
  --you-size: 18px;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  display: none;
  pointer-events: none;
}

.hero__you.is-ready {
  display: block;
}

.hero__you-dot {
  position: absolute;
  top: calc(var(--you-size) / -2);
  left: calc(var(--you-size) / -2);
  width: var(--you-size);
  height: var(--you-size);
  border-radius: 50%;
  background: var(--blue);
  animation: you-pop 0.7s cubic-bezier(0.2, 0.9, 0.25, 1.35) 0.75s both;
}

.hero__you-dot::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 2px solid var(--blue);
  border-radius: 50%;
  opacity: 0;
  animation: you-ring 1.8s cubic-bezier(0.2, 0.7, 0.3, 1) 1.3s 2;
}

.hero__you-label {
  position: absolute;
  top: 0;
  left: calc(var(--you-size) / 2 + 10px);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 8px 4px 0;
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  font-size: 0.9375rem;
  font-weight: 600;
  white-space: nowrap;
  animation: you-label 0.5s ease-out 1.35s both;
}

.hero__you.is-flipped .hero__you-label {
  padding: 4px 0 4px 8px;
}

.hero__you-label::before {
  content: "";
  width: 28px;
  height: 1.5px;
  background: var(--ink);
}

.hero__you.is-flipped .hero__you-label {
  right: calc(var(--you-size) / 2 + 10px);
  left: auto;
  flex-direction: row-reverse;
}

@keyframes you-pop {
  from {
    transform: scale(0);
  }
  to {
    transform: scale(1);
  }
}

@keyframes you-ring {
  from {
    opacity: 0.7;
    transform: scale(1);
  }
  to {
    opacity: 0;
    transform: scale(4.2);
  }
}

@keyframes you-label {
  from {
    opacity: 0;
    transform: translate(-6px, -50%);
  }
  to {
    opacity: 1;
    transform: translate(0, -50%);
  }
}

.hero__inner {
  position: relative;
}

.hero__title {
  max-width: 12.5ch;
  margin: 0 0 clamp(28px, 4vw, 52px);
  font-size: clamp(2.5rem, 8.2vw, 7.75rem);
  font-stretch: 120%;
  font-weight: 800;
  line-height: 0.94;
  letter-spacing: -0.025em;
}

.hero__row {
  display: grid;
  grid-template-columns: minmax(0, 46ch) auto;
  justify-content: space-between;
  align-items: end;
  gap: 28px 48px;
}

.hero__lead {
  margin: 0;
  color: var(--ink-2);
  font-size: clamp(1.0625rem, 1.35vw, 1.25rem);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- Sezioni ---------- */

.section {
  padding-block: var(--section-y);
}

.section--surface {
  background: var(--surface);
}

.section--flush-top {
  padding-top: 0;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  align-items: end;
  gap: 24px 48px;
  margin-bottom: clamp(40px, 6vw, 80px);
}

.h2 {
  margin: 0;
  font-size: clamp(2.125rem, 4.6vw, 4rem);
  font-stretch: 115%;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
}

.section-intro {
  max-width: 46ch;
  margin: 0;
  color: var(--ink-2);
}

.section-intro a {
  color: var(--blue);
  font-weight: 600;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 40px 72px;
  align-items: start;
}

.split__aside .section-intro {
  margin-top: 24px;
}

/* ---------- Servizi ---------- */

.services {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.service {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 4fr) minmax(0, 3fr);
  align-items: baseline;
  gap: 12px 40px;
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
}

.service__name {
  margin: 0;
  font-size: clamp(1.5rem, 2.4vw, 2.125rem);
  font-stretch: 112%;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.service__desc {
  margin: 0;
}

.service__tags {
  margin: 0;
  color: var(--ink-2);
  font-size: 0.9375rem;
}

/* ---------- Metodo ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
}

.step {
  padding: 28px 32px 0 0;
  border-top: 2px solid var(--ink);
}

.step__num {
  display: block;
  margin-bottom: 28px;
  font-size: clamp(2.75rem, 4.4vw, 4rem);
  font-stretch: 125%;
  font-weight: 800;
  line-height: 1;
}

.step__name {
  margin: 0 0 10px;
  font-size: 1.375rem;
  font-stretch: 110%;
  font-weight: 700;
}

.step__desc {
  margin: 0;
  color: var(--ink-2);
  font-size: 1rem;
}

/* ---------- Manifesto ---------- */

.manifesto {
  background: var(--blue);
  color: var(--white);
}

.manifesto :focus-visible {
  outline-color: var(--white);
}

.manifesto__statement {
  max-width: 22ch;
  margin: 0 0 clamp(56px, 8vw, 112px);
  font-size: clamp(1.875rem, 4.2vw, 3.75rem);
  font-stretch: 115%;
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.015em;
}

.principles {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 40px 32px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.principle {
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.45);
}

.principle h3 {
  margin: 0 0 10px;
  font-size: 1.25rem;
  font-stretch: 110%;
  font-weight: 700;
}

.principle p {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1rem;
}

/* ---------- Per chi ---------- */

.audience {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.audience li {
  position: relative;
  padding: 22px 0 22px 30px;
  border-bottom: 1px solid var(--line);
  font-size: clamp(1.1875rem, 1.6vw, 1.375rem);
  line-height: 1.4;
}

.audience li::before {
  content: "";
  position: absolute;
  top: calc(22px + 0.5em);
  left: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--dot);
}

.audience strong {
  font-weight: 700;
}

/* ---------- Come iniziare ---------- */

.formats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 2px solid var(--ink);
}

.format {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 36px 36px 8px;
  border-right: 1px solid var(--line);
}

.format:first-child {
  padding-left: 0;
}

.format:last-child {
  padding-right: 0;
  border-right: 0;
}

.format__name {
  margin: 0;
  font-size: clamp(1.75rem, 2.6vw, 2.25rem);
  font-stretch: 115%;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.015em;
}

.format__fit {
  margin: 0;
  font-weight: 600;
}

.format__desc {
  margin: 0;
  color: var(--ink-2);
}

.format__list {
  margin: 6px 0 12px;
  padding: 0;
  list-style: none;
}

.format__list li {
  position: relative;
  padding: 10px 0 10px 22px;
  border-top: 1px solid var(--line);
  font-size: 1rem;
}

.format__list li::before {
  content: "";
  position: absolute;
  top: calc(10px + 0.55em);
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--dot);
}

.format__cta {
  align-self: flex-start;
  margin-top: auto;
}

/* Allinea titolo, testo, elenco e bottone tra le tre colonne. */
@supports (grid-template-rows: subgrid) {
  .format {
    display: grid;
    grid-row: span 5;
    grid-template-rows: subgrid;
    row-gap: 14px;
  }

  .format__cta {
    justify-self: start;
    align-self: end;
  }
}

/* ---------- FAQ ---------- */

.faq {
  border-top: 1px solid var(--line);
}

.faq__item {
  border-bottom: 1px solid var(--line);
}

.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0;
  font-size: clamp(1.125rem, 1.5vw, 1.3125rem);
  font-stretch: 105%;
  font-weight: 600;
  line-height: 1.3;
  list-style: none;
  cursor: pointer;
}

.faq__item summary::-webkit-details-marker {
  display: none;
}

.faq__item summary:hover {
  color: var(--blue);
}

.faq__icon {
  position: relative;
  flex: none;
  width: 32px;
  height: 32px;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  transition: transform 0.3s ease, background-color 0.3s, color 0.3s;
}

.faq__icon::before,
.faq__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 1.5px;
  background: currentColor;
  transform: translate(-50%, -50%);
}

.faq__icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq__item[open] .faq__icon {
  transform: rotate(45deg);
}

.faq__item p {
  max-width: 60ch;
  margin: 0;
  padding-bottom: 26px;
  color: var(--ink-2);
}

@supports (interpolate-size: allow-keywords) {
  .faq {
    interpolate-size: allow-keywords;
  }

  .faq__item::details-content {
    height: 0;
    overflow: clip;
    transition: height 0.3s ease, content-visibility 0.3s allow-discrete;
  }

  .faq__item[open]::details-content {
    height: auto;
  }
}

/* ---------- Contatti ---------- */

.contact {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  align-items: start;
  gap: 48px 72px;
}

.contact__aside .section-intro {
  margin-top: 24px;
}

.company {
  margin: 48px 0 0;
  border-top: 1px solid var(--line);
}

.company__row {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  gap: 4px 24px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-size: 1rem;
}

.company dt {
  color: var(--ink-2);
}

.company dd {
  margin: 0;
  font-weight: 500;
}

.company a {
  color: var(--blue);
  text-underline-offset: 3px;
}

.form {
  padding: clamp(24px, 3.4vw, 44px);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--white);
}

.form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 20px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.field--wide {
  grid-column: 1 / -1;
}

.field label,
.field legend {
  padding: 0;
  font-size: 0.9375rem;
  font-weight: 600;
}

.field legend {
  margin-bottom: 10px;
}

.field__opt {
  color: var(--ink-2);
  font-weight: 400;
}

.input {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--field);
  border-radius: 12px;
  background: var(--white);
  color: var(--ink);
  font: 400 1.0625rem/1.4 var(--font);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.input::placeholder {
  color: #8A9099;
}

.input:hover {
  border-color: #A6ACB5;
}

.input:focus {
  border-color: var(--blue);
  outline: none;
  box-shadow: 0 0 0 4px rgba(29, 45, 245, 0.16);
}

.input[aria-invalid="true"] {
  border-color: var(--error);
}

textarea.input {
  min-height: 140px;
  resize: vertical;
}

.select {
  padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%231F232B' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
}

.field__error {
  margin: 0;
  color: var(--error);
  font-size: 0.875rem;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  position: relative;
}

.chip input {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.chip span {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 16px;
  border: 1.5px solid var(--field);
  border-radius: 999px;
  font-size: 0.9375rem;
  font-weight: 500;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}

.chip input:hover + span {
  border-color: var(--ink-2);
}

.chip input:checked + span {
  border-color: var(--blue);
  background: var(--blue);
  color: var(--white);
}

.chip input:focus-visible + span {
  outline: 3px solid var(--blue);
  outline-offset: 2px;
}

.form__footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 20px;
  margin-top: 28px;
}

.form__note {
  flex: 1 1 220px;
  margin: 0;
  color: var(--ink-2);
  font-size: 0.875rem;
}

.form__status {
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 500;
}

.form__status:not(:empty) {
  margin-top: 20px;
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--paper);
}

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

.site-footer {
  padding: 80px 0 32px;
  background: var(--ink);
  color: #C9CDD3;
  font-size: 0.9375rem;
}

.site-footer a {
  color: #C9CDD3;
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-footer :focus-visible {
  outline-color: var(--white);
}

.site-footer .brand,
.site-footer .brand:hover {
  color: var(--white);
  text-decoration: none;
}

.site-footer .brand__mark {
  color: #5D636E;
}

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

.footer-brand p {
  max-width: 30ch;
  margin: 18px 0 0;
}

.footer-title {
  margin: 0 0 14px;
  color: var(--white);
  font-size: 0.9375rem;
  font-weight: 600;
}

.footer-links {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer address {
  font-style: normal;
}

.site-footer p {
  margin: 0 0 12px;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  margin-top: 72px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: #9BA1AA;
}

.footer-bottom p {
  margin: 0;
}

/* ---------- Responsive ---------- */

@media (max-width: 1080px) {
  .service {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .service__tags {
    grid-column: 2;
  }

  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 48px;
  }

  .principles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 960px) {
  .menu-toggle {
    display: inline-flex;
  }

  .nav {
    position: fixed;
    top: var(--header-h);
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    max-height: calc(100svh - var(--header-h));
    padding: 8px var(--gutter) 28px;
    overflow-y: auto;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 30px 40px -30px rgba(31, 35, 43, 0.35);
  }

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

  .nav__link {
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
    font-size: 1.375rem;
    font-stretch: 112%;
    font-weight: 700;
  }

  .nav__cta {
    display: inline-flex;
    margin-top: 24px;
  }

  .section-head,
  .split,
  .contact {
    grid-template-columns: minmax(0, 1fr);
  }

  .formats {
    grid-template-columns: minmax(0, 1fr);
  }

  .format,
  .format:first-child,
  .format:last-child {
    padding: 32px 0 36px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .format__cta {
    margin-top: 8px;
  }
}

@media (max-width: 760px) {
  body {
    font-size: 1.0625rem;
  }

  .hero__row {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero__you {
    --you-size: 14px;
  }

  .service {
    grid-template-columns: minmax(0, 1fr);
    padding: 28px 0;
  }

  .service__tags {
    grid-column: auto;
  }
}

@media (max-width: 600px) {
  .header-cta {
    display: none;
  }

  .hero__actions .btn {
    flex: 1 1 100%;
  }

  .steps,
  .principles {
    grid-template-columns: minmax(0, 1fr);
  }

  .step {
    padding-right: 0;
  }

  .step__num {
    margin-bottom: 16px;
  }

  .form__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .form__footer .btn {
    width: 100%;
  }

  .company__row {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-delay: 0ms !important;
    animation-iteration-count: 1 !important;
  }
}
