:root {
  --hero-img: none;
  --why-img: none;
  --navy: #041e3c;
  --navy-2: #02172f;
  --navy-3: #03142b;
  --ink: #09213c;
  --gold: #ba8b42;
  --gold-1: #bf9149;
  --gold-2: #b6863a;
  --muted: #516072;
  --soft: #a8b8cc;
  --serif: "PT Serif", Georgia, serif;
  --sans: "Outfit", system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}
body {
  margin: 0;
  background: var(--navy);
  color: #fff;
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
}
h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 700;
  margin: 0;
}
p {
  margin: 0;
}
.container {
  width: 100%;
  max-width: 1340px;
  margin: 0 auto;
  padding: 0 24px;
}
.center {
  text-align: center;
}

/* buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  justify-content: center;
  height: 52px;
  padding: 0 27px;
  background: linear-gradient(90deg, var(--gold-1), var(--gold-2));
  color: var(--navy);
  font: 600 16px/1 var(--sans);
  letter-spacing: 0.32px;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  transition: filter 0.2s, transform 0.2s;
}
.btn:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}
.btn img {
  width: 17px;
  height: auto;
}
.btn--sm {
  height: 45px;
  padding: 0 25px;
}
.btn--outline {
  background: none;
  border: 1px solid #fff;
  color: #fff;
  padding: 0 34px;
}
.btn--ghost {
  background: none;
  border: 1px solid var(--ink);
  color: var(--navy);
  height: 43px;
  font-size: 14px;
  font-weight: 500;
  padding: 0 22px;
  letter-spacing: 0.28px;
}
.btn--ghost:hover {
  background: var(--navy);
  color: #fff;
  filter: none;
}

.eyebrow {
  font: 600 14px/28px var(--sans);
  letter-spacing: 1.96px;
  text-transform: uppercase;
  color: #b98940;
}
.eyebrow--plain {
  text-transform: none;
}

/* header */
.header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 10;
  height: 104px;
  background: var(--navy);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding-bottom: 0;
}
.logo {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
}
.logo__mark {
  width: 46px;
  height: auto;
}
.logo__text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.logo__name {
  width: 101px;
}
.logo__sub {
  width: 102px;
}
.nav {
  display: flex;
  align-items: center;
  gap: 40px;
}
.nav a:not(.btn) {
  font: 500 15px/1 var(--sans);
  letter-spacing: 0.75px;
  color: #d2d2d3;
  text-decoration: none;
  transition: color 0.2s;
}
.nav a:not(.btn):hover,
.nav a.is-active {
  color: #be9048;
}
.nav__cta {
  margin-left: 16px;
}
.burger {
  display: none;
  background: none;
  border: 0;
  width: 40px;
  height: 40px;
  padding: 8px;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
}
.burger span {
  display: block;
  height: 2px;
  background: #fff;
  transition: 0.2s;
}

/* hero */
.hero {
  position: relative;
  padding-top: 104px;
  min-height: 800px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 104px 0 0;
  background: linear-gradient(
      90deg,
      rgba(4, 30, 60, 0.92) 0%,
      rgba(4, 30, 60, 0.75) 35%,
      rgba(4, 30, 60, 0) 80%
    ),
    linear-gradient(0deg, var(--navy) 0, rgba(4, 30, 60, 0) 30%),
    var(--hero-img) center/cover no-repeat;
}
.hero__content {
  position: relative;
  padding-top: 80px;
  padding-bottom: 60px;
}
.hero h1 {
  font-size: 52px;
  line-height: 60px;
  max-width: 640px;
}
.hero h1 em {
  font-style: normal;
  color: var(--gold-1);
}
.hero__content > p {
  max-width: 480px;
  margin-top: 28px;
  font-size: 16px;
  line-height: 27px;
  letter-spacing: 0.28px;
  color: #e8e8e8;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 40px;
}
.usp {
  position: relative;
  padding: 34px 0 40px;
  background: var(--navy);
}
.usp__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.usp__item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.usp__item img {
  width: 40px;
  height: 40px;
  flex: none;
}
.usp__item strong {
  display: block;
  font: 600 18px/1.3 var(--sans);
  letter-spacing: 0.36px;
  color: #ba8b42;
}
.usp__item span {
  display: block;
  font: 500 14px/1.4 var(--sans);
  letter-spacing: 0.28px;
  margin-top: 4px;
}

/* sections */
.section {
  position: relative;
  padding: 80px 0;
}
.section--light {
  background: linear-gradient(180deg, #d4deec, #fff);
  color: var(--ink);
}
.section--navy {
  background: var(--navy);
}
.section__head {
  text-align: center;
}
.section__head h2 {
  font-size: 35px;
  line-height: 46px;
  color: var(--ink);
  margin-top: 2px;
}
.h2--lg {
  font-size: 44px !important;
  line-height: 1.2 !important;
}
.lead {
  font-size: 18px;
  line-height: 28px;
  color: var(--muted);
  max-width: 828px;
  margin: 14px auto 0;
}
.lead--sm {
  font-size: 16px;
  line-height: 22px;
  letter-spacing: 0.28px;
  color: var(--ink);
  margin-top: 12px;
}
.lead--muted {
  font-size: 18px;
  color: var(--soft);
}
.section__head--light h2 {
  color: #fff;
}

/* services */
.services {
  padding-bottom: 70px;
}
.carousel {
  position: relative;
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 56px;
}
.carousel__arrow {
  flex: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 10px;
  width: 53px;
  opacity: 0.9;
  transition: opacity 0.2s, transform 0.2s;
}
.carousel__arrow {
  position: relative;
  height: 36px;
}
.carousel__arrow img {
  opacity: 0;
  width: 100%;
}
.carousel__arrow::before {
  content: "";
  position: absolute;
  inset: 10px;
  background: var(--navy);
  -webkit-mask: url(../img/arrow-right.svg) center/contain no-repeat;
  mask: url(../img/arrow-right.svg) center/contain no-repeat;
  transition: background 0.2s;
}
.carousel__arrow[data-dir="-1"]::before {
  transform: rotate(180deg);
}
.carousel__arrow:hover::before {
  background: var(--gold-1);
}
.carousel__arrow:hover {
  opacity: 1;
}
.carousel__track {
  flex: 1;
  min-width: 0;
  padding: 8px 0 28px;
}
.carousel__track:not(.slick-initialized) {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.carousel__track .slick-list {
  margin: 0 -7px;
  padding: 8px 0 28px !important;
  margin-bottom: -28px;
}
.carousel__track .slick-track {
  display: flex;
}
.carousel__track .slick-slide {
  height: auto;
  margin: 0 7px;
}
.carousel__track .slick-slide > div {
  height: 100%;
}
.slick-hidden {
  display: none !important;
}
.card {
  height: 100%;
  background: #fff;
  border-radius: 10px;
  box-shadow: 7px 7px 11px -4px #dbe3ef4f;
  padding: 27px 28px 30px;
  text-align: center;
  display: flex !important;
  flex-direction: column;
  align-items: center;
  min-height: 282px;
}
.card__icon {
  width: 48px;
  height: 48px;
}
.card h3 {
  font-size: 20px;
  color: var(--gold);
  margin: 15px 0 10px;
  line-height: 1.2;
}
.card p {
  font: 400 13px/21px var(--sans);
  letter-spacing: 0.26px;
  color: var(--muted);
  flex: 1;
}
.card .btn {
  margin-top: 18px;
}
.dots .slick-dots {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 6px 0 0;
  padding: 0;
}
.dots .slick-dots button {
  display: block;
  width: 26px;
  height: 3px;
  padding: 0;
  border: 0;
  border-radius: 40px;
  background: #c4cbd5;
  font-size: 0;
  cursor: pointer;
  transition: background 0.2s;
}
.dots .slick-dots .slick-active button {
  background: var(--gold);
}

/* about */
.about {
  padding: 80px 0 56px;
}
.about__inner {
  display: grid;
  grid-template-columns: 1fr 394px;
  gap: 96px;
  align-items: start;
}
.about h2 {
  font-size: 40px;
  line-height: 46px;
  color: #fff;
  margin: 6px 0 24px;
}
.about__text > p:not(.eyebrow) {
  font-size: 14px;
  line-height: 24px;
  letter-spacing: 0.28px;
  color: var(--soft);
  margin-bottom: 24px;
}
.about .btn {
  margin-top: 20px;
}
.person {
  background: var(--navy-2);
  padding: 21px 28px 22px;
  text-align: center;
}
.person__photo {
  width: 151px;
  height: 151px;
  border-radius: 50%;
  margin: 0 auto 8px;
}
.person h3 {
  font-size: 20px;
  line-height: 46px;
  letter-spacing: 0.4px;
}
.person__role {
  font: 500 16px/28px var(--sans);
  letter-spacing: 0.64px;
  color: #b98940;
}
.person__bio {
  font-size: 14px;
  line-height: 21px;
  letter-spacing: 0.28px;
  margin-top: 14px;
  min-height: 81px;
}
.person__line {
  width: 100%;
  margin: 26px 0 16px;
}
.person__license {
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
  font-size: 12px;
  line-height: 16px;
  letter-spacing: 0.24px;
}
.person__license img {
  width: 20px;
  flex: none;
}

/* steps */
.steps {
  padding: 70px 0 80px;
}
.steps__list {
  list-style: none;
  margin: 56px 0 64px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 46px;
  counter-reset: s;
  position: relative;
}
.step {
  position: relative;
  border: 2px dashed #ccd6e6;
  border-radius: 10px;
  padding: 50px 28px 32px;
  text-align: center;
  margin-top: 30px;
}
.step::before {
  content: "";
  position: absolute;
  top: -30px;
  left: 50%;
  width: 57px;
  height: 57px;
  margin-left: -28.5px;
  border-radius: 50%;
  background: #be9048;
}
.step__num {
  position: absolute;
  top: -30px;
  left: 0;
  right: 0;
  height: 57px;
  line-height: 57px;
  font: 700 21px/57px var(--serif);
  color: #fff;
}
.step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -27px;
  width: 7px;
  height: 11px;
  margin-top: -5px;
  background: url(../img/connector.svg) no-repeat center/contain;
}
.step h3 {
  font-size: 18px;
  color: var(--ink);
  margin-bottom: 10px;
}
.step p {
  font-size: 14px;
  line-height: 22px;
  letter-spacing: 0.14px;
  color: var(--muted);
}

/* why */
.why {
  padding: 100px 0 100px;
  overflow: hidden;
}
.why__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(
      145.8deg,
      rgba(4, 30, 60, 0.88) 22.75%,
      var(--navy) 85.25%
    ),
    var(--why-img) center/cover;
}
.why .container {
  position: relative;
}
.why .section__head h2 {
  font-size: 44px;
}
.why__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 96px;
  margin: 44px auto 40px;
  max-width: 1154px;
}
.why__item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.why__item > img {
  width: 22px;
  height: 22px;
  margin-top: 3px;
  flex: none;
}
.why__item h3 {
  font-size: 18px;
  color: #fff;
  margin-bottom: 6px;
}
.why__item p {
  font-size: 16px;
  line-height: 22px;
  letter-spacing: 0.48px;
  color: var(--soft);
}
.why .center {
  margin-top: 50px;
}

/* trust */
.trust {
  padding: 64px 0 70px;
}
.trust h2 {
  font-size: 35px;
  line-height: 46px;
  color: var(--ink);
}
.trust .lead {
  margin-bottom: 34px;
}

/* contact */
.contact {
  padding: 60px 0 64px;
}
.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.contact h2 {
  font-size: 35px;
  line-height: 1.3;
  margin: 2px 0 14px;
}
.contact__lead {
  font-size: 16px;
  letter-spacing: 0.28px;
  margin-bottom: 28px;
}
.contact__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 34px;
}
.contact__list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  font-size: 15px;
  line-height: 24px;
  letter-spacing: 0.15px;
}
.contact__list li > img,
.ct-icon {
  width: 44px;
  height: 44px;
  flex: none;
}
.ct-icon {
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #be9048;
}
.ct-icon img {
  width: 20px;
  height: auto;
}
.ct-icon:has(img[src*="pin"]) img {
  width: 16px;
}
.contact__list li > div {
  padding-top: 2px;
  color: #c6cfd7;
}
.contact__list li:first-child > div {
  padding-top: 10px;
}
.contact__list strong {
  display: block;
  color: #fff;
  font-weight: 600;
}
.contact__list a {
  color: #d0d8df;
  text-decoration: underline;
}
.contact__list li > div a {
  text-underline-offset: 3px;
}
.form {
  margin-top: 20px;
}
.form__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 16px;
}
.form label {
  display: block;
  font: 500 13px/1 var(--sans);
  color: #fff;
}
.form__full {
  grid-column: 1/-1;
}
.form input,
.form textarea {
  display: block;
  width: 100%;
  margin-top: 7px;
  padding: 0 14px;
  height: 50px;
  background: #f7f7fa;
  border: 1px solid #d1d1d4;
  color: var(--ink);
  font: 300 16px var(--sans);
  border-radius: 0;
}
.form select {
  display: block;
  width: 100%;
  margin-top: 7px;
  height: 50px;
  padding: 0 40px 0 14px;
  background: #f7f7fa
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23041e3c' stroke-width='1.6' stroke-linecap='round'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E")
    right 14px center no-repeat;
  border: 1px solid #d1d1d4;
  border-radius: 0;
  color: var(--ink);
  font: 300 16px var(--sans);
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}
.form select:focus {
  outline: 2px solid var(--gold);
}
.form textarea {
  height: 110px;
  padding: 13px 14px;
  resize: vertical;
}
.form input::placeholder,
.form textarea::placeholder {
  color: #8c96a1;
}
.form input:focus,
.form textarea:focus {
  outline: 2px solid var(--gold);
  outline-offset: 0;
}
.form input.is-invalid {
  border-color: #e5645b;
}
.form__note {
  font: 400 13px/1.45 var(--sans);
  color: rgba(255, 255, 255, 0.71);
  margin: 16px 0 18px;
  max-width: 447px;
}
.form__note a {
  text-decoration: underline;
}
.form__status {
  margin-top: 14px;
  font-size: 14px;
}

/* footer */
.footer {
  background: var(--navy-3);
  padding: 54px 0 28px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 311px 230px 1fr;
  gap: 0;
  font: 400 13px/1 var(--sans);
  color: #cecece;
}
.footer__brand p {
  margin-top: 22px;
  max-width: 190px;
  color: #8e97a1;
  line-height: 20px;
}
.footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 13px;
  align-content: start;
}
.footer ul a {
  text-decoration: none;
  transition: color 0.2s;
}
.footer ul a:hover {
  color: #be9048;
}
.footer .footer__services {
  grid-template-rows: repeat(5, auto);
  grid-auto-flow: column;
  grid-template-columns: repeat(2, minmax(0, max-content));
  gap: 13px 120px;
}
.footer__bottom {
  margin-top: 54px;
  padding-top: 24px;
  border-top: 1px solid #263347;
  font-size: 12px;
  color: #e8e8e8;
}
.footer__copy {
  opacity: 0.6;
  font-weight: 400;
}
.footer__reg {
  opacity: 0.6;
  margin-top: 22px;
  line-height: 16px;
}

/* responsive */
@media (max-width: 1100px) {
  .nav {
    gap: 24px;
  }
  .steps__list {
    grid-template-columns: 1fr 1fr;
    gap: 50px 40px;
  }
  .step::after {
    display: none;
  }
  .about__inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .person {
    max-width: 460px;
  }
  .usp__inner {
    grid-template-columns: 1fr 1fr;
  }
  .contact__inner {
    gap: 40px;
  }
  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}
@media (max-width: 900px) {
  .burger {
    display: flex;
  }
  .nav {
    position: absolute;
    top: 104px;
    left: 0;
    right: 0;
    background: var(--navy-2);
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    padding: 24px;
    display: none;
  }
  .nav.is-open {
    display: flex;
  }
  .nav__cta {
    margin: 6px 0 0;
  }
  .hero {
    min-height: 0;
  }
  .hero h1 {
    font-size: 40px;
    line-height: 48px;
  }
  .why__grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .contact__inner {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 640px) {
  .container {
    padding: 0 24px;
  }
  .header {
    height: 80px;
  }
  .nav {
    top: 80px;
  }
  .logo__mark {
    width: 44px;
  }
  .hero {
    padding-top: 80px;
    min-height: 0;
  }
  .hero__bg {
    inset: 0 0 auto;
    height: 560px;
    background: linear-gradient(
        180deg,
        rgba(4, 30, 60, 0.72),
        rgba(4, 30, 60, 0.78) 70%,
        var(--navy)
      ),
      var(--hero-img) 70% center/cover no-repeat;
  }
  .header {
    background: transparent;
  }
  .hero__content {
    padding-top: 32px;
    padding-bottom: 0;
  }
  .hero h1 {
    font-size: 36px;
    line-height: 42px;
  }
  .hero h1 br {
    display: none;
  }
  .hero__content > p {
    margin-top: 15px;
    max-width: none;
  }
  .hero__actions {
    flex-direction: column;
    gap: 12px;
    margin-top: 24px;
  }
  .hero__actions .btn {
    width: 100%;
  }
  .usp {
    padding: 36px 0 56px;
  }
  .usp__inner {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .usp__item {
    gap: 12px;
  }
  .usp__item img {
    width: 28px;
    height: 28px;
    margin-top: 6px;
  }
  .usp__item strong {
    font-size: 16px;
    line-height: 20px;
  }
  .usp__item span {
    font-size: 13px;
    line-height: 19px;
    margin-top: 3px;
  }
  .section {
    padding: 56px 0;
  }
  .eyebrow {
    font-size: 12px;
    letter-spacing: 1.8px;
  }
  .section__head h2,
  .trust h2,
  .about h2,
  .contact h2,
  .h2--lg,
  .why .section__head h2 {
    font-size: 32px !important;
    line-height: 36px !important;
  }
  .lead,
  .lead--sm {
    font-size: 16px;
    line-height: 24px;
    margin-top: 12px;
  }
  .carousel {
    margin-top: 32px;
  }
  .carousel__arrow {
    display: none;
  }
  .card {
    min-height: 0;
    padding: 24px 24px 24px;
  }
  .card h3 {
    font-size: 20px;
    margin: 16px 0 12px;
  }
  .card p {
    font-size: 16px;
    line-height: 25px;
    letter-spacing: 0.14px;
    margin-bottom: 8px;
  }
  .card .btn {
    width: 100%;
    margin-top: 12px;
  }
  .about {
    padding: 56px 0;
  }
  .about__inner {
    gap: 32px;
  }
  .about h2 {
    margin: 8px 0 12px;
  }
  .about__text > p:not(.eyebrow) {
    font-size: 16px;
    line-height: 25px;
    margin-bottom: 16px;
  }
  .about .btn {
    width: 100%;
    margin-top: 12px;
  }
  .person {
    max-width: none;
    padding: 24px 24px 32px;
  }
  .person__photo {
    width: 140px;
    height: 140px;
  }
  .person__bio {
    font-size: 14px;
    line-height: 21px;
    min-height: 0;
  }
  .steps {
    padding: 56px 0;
  }
  .steps__list {
    grid-template-columns: 1fr;
    gap: 16px;
    margin: 32px 0;
  }
  .step {
    display: grid;
    grid-template-columns: 44px 1fr;
    column-gap: 16px;
    text-align: left;
    padding: 20px;
    min-height: 0;
    margin-top: 0;
    background: rgba(255, 255, 255, 0.3);
    border-width: 1px;
  }
  .step::before {
    position: static;
    grid-row: 1/3;
    width: 44px;
    height: 44px;
    margin: 0;
  }
  .step__num {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 44px;
    height: 44px;
    line-height: 44px;
    font-size: 19px;
    text-align: center;
  }
  .step::after {
    display: none !important;
  }
  .step h3 {
    margin: 0 0 8px;
  }
  .step p {
    font-size: 16px;
    line-height: 25px;
  }
  .steps .btn,
  .why .btn,
  .trust .btn {
    width: 100%;
  }
  .why {
    padding: 56px 0;
  }
  .why__grid {
    gap: 24px;
    margin: 32px 0;
  }
  .why__item p {
    font-size: 15px;
    line-height: 25px;
    letter-spacing: 0.3px;
  }
  .why .center {
    margin-top: 32px;
  }
  .trust {
    padding: 64px 0;
  }
  .contact {
    padding: 40px 0 56px;
  }
  .contact__info {
    text-align: center;
  }
  .contact__list {
    text-align: left;
    gap: 24px;
  }
  .contact__lead {
    margin-bottom: 32px;
    font-size: 16px;
    line-height: 24px;
    color: var(--soft);
  }
  .contact__list li {
    font-size: 16px;
  }
  .form__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .form label {
    font-size: 14px;
    font-weight: 600;
  }
  .form input,
  .form textarea,
  .form select {
    margin-top: 8px;
  }
  .form textarea {
    height: 132px;
  }
  .form .btn {
    width: 100%;
  }
  .form__note {
    font-size: 12px;
  }
  .footer {
    padding: 48px 0 32px;
  }
  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px 24px;
  }
  .footer__brand {
    grid-column: 1/-1;
  }
  .footer .footer__services {
    grid-column: 1/-1;
    grid-template-rows: none;
    grid-auto-flow: row;
    grid-template-columns: 1fr 1fr;
    gap: 13px 24px;
  }
  .footer__bottom {
    margin-top: 32px;
  }
}

.form__hp {
  position: absolute !important;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.form__status.is-error {
  color: #e5645b;
}
.form__status.is-success {
  margin-top: 18px;
  padding: 16px 20px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  color: #fff;
  background: #1f8f5a;
  border-radius: 8px;
}
.form .btn[disabled] {
  opacity: 0.6;
  cursor: wait;
}

/* textová stránka (zásady ochrany osobních údajů) */
.legal {
  padding: 184px 0 96px;
  min-height: 70vh;
}
.legal__inner {
  max-width: 880px;
}
.legal h1 {
  font-size: 44px;
  line-height: 1.2;
  color: var(--ink);
}
.legal__updated {
  margin-top: 12px;
  font-size: 14px;
  color: var(--muted);
}
.legal__content {
  margin-top: 40px;
  color: var(--ink);
}
.legal__content h2 {
  font-size: 24px;
  line-height: 1.3;
  color: var(--ink);
  margin: 40px 0 12px;
}
.legal__content p,
.legal__content li {
  font-size: 16px;
  line-height: 1.75;
  color: #33475f;
}
.legal__content p {
  margin: 0 0 14px;
}
.legal__content ul {
  margin: 0 0 14px;
  padding-left: 22px;
}
.legal__content li {
  margin-bottom: 8px;
}
.legal__content a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.legal__content a:hover {
  color: var(--navy);
}
@media (max-width: 640px) {
  .legal {
    padding: 128px 0 64px;
  }
  .legal h1 {
    font-size: 30px;
  }
  .legal__content h2 {
    font-size: 21px;
    margin-top: 32px;
  }
}
.page-template-text .header {
  background: var(--navy);
}
