:root {
  --color-bg: #071525;
  --color-bg-soft: #0c1f35;
  --color-black: #080808;
  --color-text: #f5f8fc;
  --color-muted: #c8d3df;
  --color-cyan: #4ec4f5;
  --color-cyan-deep: #2aa3d9;
  --color-line: rgba(78, 196, 245, 0.35);
  --font-title: "Cormorant Garamond", "Palatino Linotype", Palatino, serif;
  --font-body: "Manrope", "Segoe UI", sans-serif;
  --radius: 18px;
  --shadow: 0 22px 40px rgba(0, 0, 0, 0.45), 0 8px 18px rgba(78, 196, 245, 0.16);
  --container: 1180px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.75;
  color: var(--color-text);
  background: var(--color-bg);
  min-width: 320px;
  overflow-x: hidden;
}

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

a {
  color: var(--color-cyan);
  text-decoration: none;
}

a:hover {
  color: #9fe3ff;
}

p,
h1,
h2,
h3,
ul {
  margin: 0;
}

button,
input,
select,
textarea {
  font: inherit;
}

.container {
  width: min(100% - 32px, var(--container));
  margin-inline: auto;
}

.drop p:not(:last-child) {
  margin-bottom: 18px;
}

.drop p::first-letter {
  font-family: var(--font-title);
  font-size: 2.55em;
  font-weight: 600;
  line-height: 0.82;
  float: left;
  padding-right: 10px;
  color: var(--color-cyan);
}

.section {
  padding: 88px 0;
}

.section--black {
  background: var(--color-black);
}

.section__title {
  font-family: var(--font-title);
  font-size: clamp(2.1rem, 4vw, 3.4rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.15;
  margin-bottom: 22px;
}

.section__lead {
  max-width: 760px;
  color: var(--color-muted);
  margin-bottom: 36px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 26px;
  border-radius: 999px;
  border: 1px solid var(--color-cyan);
  background: linear-gradient(180deg, #4ec4f5 0%, #2aa3d9 100%);
  color: #062033;
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: 0 10px 24px rgba(42, 163, 217, 0.28);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  color: #041623;
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(42, 163, 217, 0.38);
}

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

.btn--ghost:hover {
  color: #9fe3ff;
}

.header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(7, 21, 37, 0.94);
  border-bottom: 1px solid var(--color-line);
  backdrop-filter: blur(14px);
}

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

.header__logo {
  flex-shrink: 0;
}

.header__logo-img {
  width: 58px;
  height: 58px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--color-cyan);
}

.header__toggle {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.header__burger {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--color-cyan);
  border-radius: 10px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
}

.header__burger span {
  width: 22px;
  height: 2px;
  background: var(--color-cyan);
  display: block;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 28px;
  flex: 1;
  justify-content: flex-end;
}

.header__menu {
  display: flex;
  align-items: center;
  gap: 22px;
  list-style: none;
  padding: 0;
}

.header__link {
  color: var(--color-text);
  font-weight: 600;
  white-space: nowrap;
}

.header__link:hover,
.header__link--current {
  color: var(--color-cyan);
}

.header__contacts {
  display: flex;
  align-items: center;
  gap: 18px;
}

.header__phone,
.header__address {
  color: var(--color-text);
  white-space: nowrap;
  font-size: 14px;
}

.header__email {
  white-space: nowrap;
  font-size: 14px;
}

@media (min-width: 1200px) {
  .header__inner,
  .header__nav,
  .header__menu,
  .header__contacts {
    flex-wrap: nowrap;
  }

  .header__inner,
  .header__nav,
  .header__menu,
  .header__contacts,
  .header__link,
  .header__phone,
  .header__email,
  .header__address {
    white-space: nowrap;
  }

  .header__nav {
    gap: 20px;
  }

  .header__menu {
    gap: 16px;
  }

  .header__contacts {
    gap: 12px;
  }

  .header__link,
  .header__phone,
  .header__email,
  .header__address {
    font-size: 13px;
  }
}

@media (max-width: 1199px) {
  .header__burger {
    display: flex;
  }

  .header__nav {
    position: fixed;
    inset: 84px 0 0 auto;
    width: min(100%, 380px);
    height: calc(100vh - 84px);
    background: #061321;
    border-left: 1px solid var(--color-line);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 28px;
    gap: 28px;
    transform: translateX(110%);
    transition: transform 0.28s ease;
    overflow: auto;
  }

  .header__toggle:checked + .header__burger + .header__nav,
  .header__nav.is-open {
    transform: translateX(0);
  }

  .header__menu {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .header__contacts {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .header__phone,
  .header__email,
  .header__address {
    white-space: normal;
  }
}

.banner {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.banner__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.banner__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 21, 37, 0.18) 0%, rgba(7, 21, 37, 0.78) 100%);
}

.banner__title {
  position: relative;
  z-index: 1;
  font-family: var(--font-title);
  font-size: clamp(2.4rem, 6vw, 5rem);
  font-weight: 600;
  line-height: 1.08;
  padding: 64px 0;
  max-width: 16ch;
}

.strengths__list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}

.strengths__item {
  background:
    linear-gradient(var(--color-bg-soft), var(--color-bg-soft)) padding-box,
    linear-gradient(140deg, #7dd8ff, #4ec4f5 40%, #1b6f96 100%) border-box;
  border: 2px solid transparent;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px 26px;
}

@media (min-width: 900px) {
  .strengths__list {
    grid-template-columns: repeat(4, 1fr);
    align-items: start;
    padding-bottom: 40px;
  }

  .strengths__item:nth-child(1) {
    margin-top: 36px;
  }

  .strengths__item:nth-child(2) {
    margin-top: 0;
  }

  .strengths__item:nth-child(3) {
    margin-top: 58px;
  }

  .strengths__item:nth-child(4) {
    margin-top: 18px;
  }
}

.strengths__name {
  font-family: var(--font-title);
  font-size: 1.7rem;
  margin-bottom: 10px;
  color: var(--color-cyan);
}

.offer__grid,
.cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

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

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

.offer__card,
.service-card {
  background: var(--color-bg-soft);
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}

.offer__photo,
.service-card__photo,
.story__photo {
  aspect-ratio: 1 / 1;
  width: 100%;
  object-fit: cover;
}

.offer__body,
.service-card__body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
}

.offer__title,
.service-card__title {
  font-family: var(--font-title);
  font-size: 1.85rem;
}

.service-card__price {
  color: var(--color-cyan);
  font-weight: 700;
}

.service-card__meta {
  color: var(--color-muted);
  font-size: 15px;
}

.advantages__stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 28px;
}

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

.advantages__stat {
  background: var(--color-black);
  border: 1px solid var(--color-cyan);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
}

.advantages__num {
  font-family: var(--font-title);
  font-size: 2.6rem;
  color: var(--color-cyan);
  line-height: 1;
  margin-bottom: 8px;
}

.form-block {
  background: var(--color-black);
  border: 1px solid var(--color-line);
  border-radius: 24px;
  padding: 32px 24px;
  box-shadow: var(--shadow);
}

.form {
  display: grid;
  gap: 16px;
  margin-top: 18px;
}

.form__row {
  display: grid;
  gap: 16px;
}

@media (min-width: 720px) {
  .form__row {
    grid-template-columns: 1fr 1fr;
  }
}

.form label {
  display: grid;
  gap: 8px;
  font-weight: 600;
}

.form input,
.form select,
.form textarea {
  width: 100%;
  border: 1px solid var(--color-cyan);
  background: #10263c;
  color: var(--color-text);
  border-radius: 12px;
  padding: 12px 14px;
}

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

.form input.is-invalid,
.form select.is-invalid,
.form textarea.is-invalid {
  border-color: #f0a0a0;
}

.form__status {
  display: none;
  padding: 12px 14px;
  border-radius: 12px;
}

.form__status.is-visible {
  display: block;
}

.form__status--ok {
  border: 1px solid #7ddec0;
  background: rgba(46, 140, 110, 0.25);
}

.form__status--err {
  border: 1px solid #f0a0a0;
  background: rgba(140, 46, 46, 0.25);
}

.faq__item {
  border: 1px solid var(--color-line);
  border-radius: 16px;
  margin-bottom: 12px;
  background: var(--color-bg-soft);
}

.faq__q {
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  color: var(--color-text);
  font-family: var(--font-title);
  font-size: 1.4rem;
  padding: 18px 20px;
  cursor: pointer;
}

.faq__a {
  display: none;
  padding: 0 20px 20px;
  color: var(--color-muted);
}

.faq__item.is-open .faq__a {
  display: block;
}

.story {
  display: grid;
  gap: 28px;
}

.story__photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.story__photo {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

@media (min-width: 900px) {
  .story {
    grid-template-columns: minmax(0, 0.9fr) minmax(420px, 560px);
    align-items: start;
    gap: 40px;
  }

  .story__photos {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .story__photo {
    width: 100%;
    max-width: 560px;
    aspect-ratio: 1 / 1;
  }
}

.mission__list {
  display: grid;
  gap: 16px;
}

.mission__stick {
  display: grid;
  grid-template-columns: 10px 1fr;
  gap: 18px;
  align-items: stretch;
  background: var(--color-black);
  border-radius: 999px;
  padding: 18px 26px 18px 14px;
  box-shadow: var(--shadow);
  border: 1px solid var(--color-line);
}

.mission__bar {
  border-radius: 999px;
  background: linear-gradient(180deg, #7dd8ff, #2aa3d9);
}

.mission__name {
  font-family: var(--font-title);
  font-size: 1.5rem;
  color: var(--color-cyan);
}

.timeline {
  position: relative;
  padding-left: 28px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, #7dd8ff, #2aa3d9);
}

.timeline__item {
  position: relative;
  padding-bottom: 28px;
}

.timeline__item::before {
  content: "";
  position: absolute;
  left: -26px;
  top: 8px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--color-cyan);
  box-shadow: 0 0 0 6px rgba(78, 196, 245, 0.18);
}

.timeline__label {
  font-family: var(--font-title);
  font-size: 1.6rem;
  color: var(--color-cyan);
}

.plus__list,
.order-steps,
.bonus__grid {
  display: grid;
  gap: 16px;
}

.plus__item,
.order-steps li,
.bonus__item {
  background: var(--color-bg-soft);
  border: 1px solid var(--color-line);
  border-radius: 16px;
  padding: 18px 20px;
}

.plus__item {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 12px;
  align-items: start;
}

.plus__num {
  color: var(--color-cyan);
  font-family: var(--font-title);
  font-size: 1.6rem;
}

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

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

.bonus__icon {
  width: 42px;
  height: 42px;
  margin-bottom: 10px;
  color: var(--color-cyan);
}

.contacts-layout {
  display: grid;
  gap: 28px;
}

@media (min-width: 900px) {
  .contacts-layout {
    grid-template-columns: 0.9fr 1.1fr;
    align-items: start;
  }
}

.contacts-card {
  background: var(--color-black);
  border: 1px solid var(--color-cyan);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
}

.contacts-card p + p,
.contacts-card a + p,
.contacts-card p + a {
  margin-top: 10px;
}

.legal {
  padding: 72px 0 96px;
}

.legal h1 {
  font-family: var(--font-title);
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 18px;
}

.legal h2 {
  font-family: var(--font-title);
  font-size: 1.8rem;
  margin: 28px 0 12px;
  color: var(--color-cyan);
}

.legal p {
  margin-bottom: 16px;
  color: var(--color-muted);
}

.footer {
  background: var(--color-black);
  border-top: 1px solid var(--color-line);
  padding: 48px 0 28px;
}

.footer__grid {
  display: grid;
  gap: 28px;
}

@media (min-width: 900px) {
  .footer__grid {
    grid-template-columns: 120px 1fr 1fr 1fr;
  }
}

.footer__logo-img {
  width: 92px;
  height: 92px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--color-cyan);
}

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

.footer__title {
  font-family: var(--font-title);
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.footer__legal {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid var(--color-line);
  color: var(--color-muted);
  display: grid;
  gap: 8px;
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

body.menu-open {
  overflow: hidden;
}

.page-home .banner {
  min-height: 520px;
}

.page-home .banner__img {
  transform: scale(1.08);
  animation: home-kenburns 18s ease-out forwards;
}

.page-home .banner__title {
  animation: home-title 1.1s ease 0.25s both;
}

.page-home .js-reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  transition-delay: var(--reveal-delay, 0ms);
}

.page-home .js-reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}

.page-home .strengths__item,
.page-home .offer__card,
.page-home .advantages__stat {
  transition: opacity 0.7s ease, transform 0.7s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.page-home .strengths__item.is-in:hover,
.page-home .advantages__stat:hover {
  transform: translateY(-8px);
  box-shadow: 0 26px 46px rgba(0, 0, 0, 0.5), 0 10px 22px rgba(78, 196, 245, 0.22);
}

.page-home .offer__card {
  overflow: hidden;
}

.page-home .offer__photo {
  transition: transform 0.7s ease;
}

.page-home .offer__card:hover .offer__photo {
  transform: scale(1.06);
}

.page-home .offer__card.is-in:hover {
  transform: translateY(-8px);
}

.page-home .section__title::after {
  content: "";
  display: block;
  width: 0;
  height: 2px;
  margin-top: 12px;
  background: linear-gradient(90deg, #7dd8ff, #2aa3d9);
  transition: width 0.8s ease 0.15s;
}

.page-home .section__title.is-in::after {
  width: 88px;
}

@keyframes home-kenburns {
  from {
    transform: scale(1.08) translateY(0);
  }

  to {
    transform: scale(1.18) translateY(-18px);
  }
}

@keyframes home-title {
  from {
    opacity: 0;
    transform: translateY(28px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .banner__img,
  .page-home .banner__title,
  .page-home .js-reveal,
  .page-home .offer__photo {
    animation: none;
    transition: none;
    opacity: 1;
    transform: none;
  }

  .page-home .section__title::after {
    width: 88px;
    transition: none;
  }
}
