:root {
  --sand: #F7F5EF;
  --white: #FFFFFF;
  --turquoise-deep: #087F8C;
  --turquoise: #18A7B5;
  --aqua: #64D5D2;
  --warm-sand: #D9C6A5;
  --deep-sea: #102E34;
  --deep-sea-2: #0A3E46;
  --muted: rgba(16, 46, 52, 0.68);
  --line: rgba(8, 127, 140, 0.23);
  --glass: rgba(255, 255, 255, 0.18);
  --glass-strong: rgba(255, 255, 255, 0.32);
  --shell: min(100% - 48px, 1600px);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-sea: 0 26px 90px rgba(8, 72, 82, 0.18);
  --shadow-soft: 0 20px 70px rgba(16, 46, 52, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  color-scheme: light;
  overflow-x: clip;
}

body {
  margin: 0;
  overflow-x: clip;
  background:
    radial-gradient(circle at 18% 12%, rgba(100, 213, 210, 0.18), transparent 32rem),
    linear-gradient(180deg, var(--sand), #EFE7D8);
  color: var(--deep-sea);
  font-family: "Aptos", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  line-height: 1.5;
  text-rendering: geometricPrecision;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 20;
  pointer-events: none;
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(16, 46, 52, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 46, 52, 0.02) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(180deg, transparent, #000 12%, #000 88%, transparent);
}

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

button,
input,
textarea {
  font: inherit;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 30;
  transform: translateY(-140%);
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--white);
  color: var(--deep-sea);
  font-weight: 800;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  top: 22px;
  left: 50%;
  z-index: 12;
  width: min(calc(100% - 44px), 1320px);
  min-height: 74px;
  display: grid;
  grid-template-columns: 190px 1fr auto;
  align-items: center;
  gap: 22px;
  transform: translateX(-50%);
  animation: header-in 900ms var(--ease) both;
}

.brand {
  display: grid;
  width: max-content;
  color: var(--deep-sea);
  line-height: 0.92;
  font-size: 1.03rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-shadow: 0 12px 34px rgba(255, 255, 255, 0.34);
}

.brand small {
  margin-top: 8px;
  color: rgba(16, 46, 52, 0.72);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.desktop-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.58);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.46), 0 18px 52px rgba(8, 68, 78, 0.12);
  backdrop-filter: blur(22px);
}

.desktop-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 17px;
  color: rgba(16, 46, 52, 0.82);
  font-size: 0.86rem;
  font-weight: 800;
  white-space: nowrap;
  transition: color 420ms var(--ease), transform 420ms var(--ease);
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 7px;
  height: 1px;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--turquoise-deep);
  transition: transform 520ms var(--ease);
}

.desktop-nav a:hover,
.desktop-nav a:focus-visible {
  color: var(--turquoise-deep);
  transform: translateY(-1px);
}

.desktop-nav a:hover::after,
.desktop-nav a:focus-visible::after {
  transform: scaleX(1);
}

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

.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(18px);
}

.language-switcher a {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 34px;
  border-radius: 999px;
  color: rgba(16, 46, 52, 0.72);
  font-size: 0.78rem;
  font-weight: 900;
  transition: background-color 360ms var(--ease), color 360ms var(--ease);
}

.language-switcher a.active {
  background: rgba(255, 255, 255, 0.88);
  color: var(--turquoise-deep);
}

.contact-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border: 1px solid rgba(255, 255, 255, 0.46);
  border-radius: 999px;
  background: rgba(247, 245, 239, 0.72);
  color: var(--deep-sea);
  font-size: 0.86rem;
  font-weight: 900;
  box-shadow: 0 18px 44px rgba(8, 68, 78, 0.12);
  backdrop-filter: blur(18px);
  transition: transform 420ms var(--ease), background-color 420ms var(--ease);
}

.contact-pill:hover,
.contact-pill:focus-visible {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.88);
}

.legal-header .brand,
.legal-header .brand small,
.legal-header .desktop-nav a,
.legal-header .language-switcher a {
  color: var(--deep-sea);
  text-shadow: none;
}

.legal-header .desktop-nav,
.legal-header .language-switcher {
  border-color: rgba(8, 127, 140, 0.18);
  background: rgba(255, 255, 255, 0.74);
}

.legal-header .desktop-nav a::after {
  background: var(--turquoise-deep);
}

.legal-header .language-switcher a.active {
  background: var(--turquoise-deep);
  color: var(--white);
}

.hero {
  position: relative;
  min-height: 100dvh;
  overflow: hidden;
  isolation: isolate;
  display: grid;
  align-items: end;
  padding: 138px max(22px, calc((100vw - 1320px) / 2)) 88px;
  background: #A7E1E0;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(9, 58, 66, 0.33) 0%, rgba(9, 58, 66, 0.16) 33%, rgba(9, 58, 66, 0.03) 67%, transparent 100%);
}

.hero-vignette {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(circle at 50% 42%, transparent 48%, rgba(7, 55, 64, 0.08) 100%);
}

.hero-glass {
  position: absolute;
  z-index: 2;
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.09);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(10px);
}

.glass-one {
  width: 19vw;
  height: 34vh;
  right: 10vw;
  bottom: 14vh;
  border-radius: 999px 999px 22vw 999px;
  opacity: 0.42;
}

.glass-two {
  width: 14vw;
  height: 14vw;
  right: 32vw;
  top: 16vh;
  border-radius: 46% 54% 68% 32% / 44% 61% 39% 56%;
  opacity: 0.28;
}

.hero-copy {
  position: relative;
  z-index: 3;
  width: min(920px, 100%);
}

.hero-kicker,
.section-label {
  margin: 0;
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.18em;
}

.hero-kicker {
  color: rgba(255, 255, 255, 0.88);
}

.hero-title {
  margin: 18px 0 0;
  color: var(--white);
  font-size: clamp(4.8rem, 8.5vw, 9.4rem);
  line-height: 0.78;
  letter-spacing: -0.055em;
  font-weight: 950;
  text-shadow: 0 22px 70px rgba(7, 47, 58, 0.2);
}

.ru-title {
  font-size: clamp(4rem, 7.5vw, 8.6rem);
  letter-spacing: -0.06em;
}

.hero-title span {
  display: block;
}

.hero-description {
  max-width: 650px;
  margin: 30px 0 0;
  color: rgba(255, 255, 255, 0.94);
  font-size: clamp(1rem, 1.55vw, 1.22rem);
  line-height: 1.65;
  text-shadow: 0 16px 34px rgba(7, 47, 58, 0.25);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 26px;
  border-radius: 999px;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
  transition: transform 500ms var(--ease), background-color 500ms var(--ease), border-color 500ms var(--ease);
}

.button-light {
  border: 1px solid rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.86);
  color: var(--turquoise-deep);
}

.button-ghost {
  border: 1px solid rgba(255, 255, 255, 0.54);
  background: rgba(255, 255, 255, 0.11);
  color: var(--white);
  backdrop-filter: blur(14px);
}

.button:hover,
.button:focus-visible {
  transform: translateY(-3px);
}

.button:active {
  transform: translateY(1px) scale(0.99);
}

.hero-side-text {
  position: absolute;
  z-index: 3;
  right: max(22px, calc((100vw - 1320px) / 2));
  top: 50%;
  display: grid;
  gap: 14px;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, 0.68);
  font-size: clamp(1.5rem, 2.5vw, 3.1rem);
  font-weight: 950;
  line-height: 0.9;
  text-align: right;
  letter-spacing: -0.03em;
  animation: side-fade 1200ms var(--ease) 850ms both;
}

.wave-indicator {
  position: absolute;
  left: 50%;
  bottom: 26px;
  z-index: 3;
  width: min(360px, 56vw);
  height: 2px;
  overflow: hidden;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.22);
}

.wave-indicator span {
  display: block;
  width: 42%;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.95), transparent);
  animation: wave-line 2800ms var(--ease) infinite;
}

.section-pad {
  position: relative;
  padding: clamp(92px, 11vw, 170px) 0;
}

.section-shell {
  position: relative;
  z-index: 2;
  width: var(--shell);
  margin: 0 auto;
}

.shore-section {
  margin-top: -52px;
  padding-top: clamp(130px, 13vw, 205px);
  overflow: hidden;
  background:
    radial-gradient(circle at 76% 22%, rgba(100, 213, 210, 0.23), transparent 30rem),
    linear-gradient(180deg, #F3E5CA 0%, var(--sand) 46%, #F6F2E8 100%);
  clip-path: polygon(0 8%, 10% 4%, 24% 7%, 39% 1%, 54% 6%, 71% 3%, 86% 8%, 100% 4%, 100% 100%, 0 100%);
}

.coastline-edge {
  position: absolute;
  left: 0;
  right: 0;
  top: 42px;
  z-index: 1;
  height: 90px;
  border-top: 1px solid rgba(8, 127, 140, 0.24);
  border-radius: 52% 48% 0 0 / 100% 78% 0 0;
  transform: rotate(-1.4deg);
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(150px, 0.2fr) minmax(0, 1.25fr) minmax(58px, 0.12fr) minmax(480px, 0.72fr);
  gap: clamp(28px, 3vw, 64px);
  align-items: center;
}

.about-layout > * {
  min-width: 0;
}

.section-number {
  margin: 0;
  color: rgba(8, 127, 140, 0.16);
  font-size: clamp(7rem, 15vw, 17rem);
  line-height: 0.72;
  font-weight: 950;
  letter-spacing: -0.08em;
}

.section-label {
  color: var(--turquoise-deep);
}

h1,
h2,
h3,
p {
  text-wrap: pretty;
}

h2 {
  margin: 18px 0 0;
  font-size: clamp(3.5rem, 7vw, 8.8rem);
  line-height: 0.82;
  letter-spacing: -0.07em;
  font-weight: 950;
}

.about-heading h2 {
  font-size: clamp(4.2rem, 5.55vw, 7.25rem);
}

.about-text {
  position: relative;
  z-index: 3;
  align-self: center;
  max-width: 620px;
  padding: 28px 0 28px 30px;
  border-left: 1px solid rgba(8, 127, 140, 0.22);
}

.about-text p,
.section-intro,
.contact-copy p,
.legal-note {
  color: var(--muted);
  font-size: clamp(1.08rem, 1.45vw, 1.32rem);
  line-height: 1.68;
}

.about-text p + p {
  margin-top: 24px;
}

.coastline-stroke {
  height: 330px;
  border-left: 2px solid var(--turquoise);
  border-radius: 58% 42% 45% 55% / 30% 70% 30% 70%;
  transform: rotate(9deg);
  box-shadow: 28px 0 70px rgba(24, 167, 181, 0.18);
}

.principle-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-top: clamp(70px, 9vw, 130px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.principle-band article {
  min-height: 285px;
  padding: 42px 44px 46px;
  border-right: 1px solid var(--line);
  transition: transform 520ms var(--ease), background-color 520ms var(--ease);
}

.principle-band article:last-child {
  border-right: 0;
}

.principle-band article:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.28);
}

.principle-band span,
.service-row span {
  color: var(--turquoise-deep);
  font-size: 1.04rem;
  font-weight: 950;
  letter-spacing: 0.12em;
}

.principle-band h3 {
  max-width: 11ch;
  margin: 48px 0 18px;
  font-size: clamp(2.35rem, 3.35vw, 4rem);
  line-height: 0.9;
  letter-spacing: -0.06em;
}

.principle-band p {
  max-width: 34ch;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.1rem, 1.25vw, 1.34rem);
  line-height: 1.5;
}

html[lang="ru"] .about-layout {
  grid-template-columns: minmax(150px, 0.2fr) minmax(0, 1.18fr) minmax(54px, 0.12fr) minmax(520px, 0.78fr);
}

html[lang="ru"] .about-heading h2 {
  font-size: clamp(3.8rem, 4.8vw, 6.15rem);
  letter-spacing: -0.075em;
}

html[lang="ru"] .principle-band article {
  padding-inline: 36px;
}

html[lang="ru"] .principle-band h3 {
  max-width: 12ch;
  font-size: clamp(2.05rem, 2.85vw, 3.35rem);
  letter-spacing: -0.06em;
}

.activity-section {
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 18%, rgba(100, 213, 210, 0.22), transparent 26rem),
    linear-gradient(135deg, #102E34, #073F49 58%, #0E5B64);
  color: var(--white);
}

.dark-section .section-number {
  color: rgba(255, 255, 255, 0.1);
}

.dark-section .section-label,
.dark-section .service-row span {
  color: var(--aqua);
}

.background-word {
  position: absolute;
  top: 7%;
  left: -5vw;
  z-index: 1;
  color: rgba(255, 255, 255, 0.055);
  font-size: clamp(7rem, 18vw, 22rem);
  line-height: 0.8;
  font-weight: 950;
  letter-spacing: -0.09em;
  white-space: nowrap;
  pointer-events: none;
}

.ru-word {
  font-size: clamp(4.6rem, 12vw, 14rem);
}

.activity-head,
.company-head {
  display: grid;
  grid-template-columns: minmax(150px, 0.38fr) minmax(0, 1fr);
  gap: clamp(24px, 6vw, 84px);
  align-items: start;
}

.activity-head h2,
.activity-head .section-intro {
  color: var(--white);
}

.activity-head .section-intro {
  max-width: 620px;
  margin-top: 28px;
  opacity: 0.78;
}

.service-rows {
  margin-top: clamp(56px, 7vw, 96px);
}

.service-row {
  position: relative;
  display: grid;
  grid-template-columns: 112px minmax(280px, 0.74fr) minmax(360px, 1fr);
  gap: clamp(20px, 5vw, 80px);
  align-items: center;
  padding: 46px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  transition: transform 560ms var(--ease), padding-left 560ms var(--ease);
}

.service-row:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.service-row::before {
  content: "";
  position: absolute;
  inset: 10px -24px;
  z-index: -1;
  border-radius: 999px;
  opacity: 0;
  background: linear-gradient(90deg, rgba(100, 213, 210, 0.16), rgba(217, 198, 165, 0.12), transparent);
  transition: opacity 560ms var(--ease);
}

.service-row:hover {
  transform: translateX(10px);
}

.service-row:hover::before {
  opacity: 1;
}

.service-row h3 {
  margin: 0;
  font-size: clamp(2.15rem, 3.35vw, 4.35rem);
  line-height: 0.95;
  letter-spacing: -0.055em;
}

.service-row p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.16rem, 1.35vw, 1.44rem);
  line-height: 1.62;
}

.company-section {
  background:
    radial-gradient(circle at 8% 18%, rgba(100, 213, 210, 0.18), transparent 28rem),
    linear-gradient(180deg, #F7F5EF 0%, #F2ECE0 100%);
}

.document-panel {
  margin-top: clamp(52px, 7vw, 94px);
  padding: clamp(22px, 4vw, 46px);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 40px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.42)),
    linear-gradient(90deg, rgba(8, 127, 140, 0.08) 1px, transparent 1px),
    linear-gradient(rgba(8, 127, 140, 0.08) 1px, transparent 1px);
  background-size: auto, 64px 64px, 64px 64px;
  box-shadow: var(--shadow-sea);
  backdrop-filter: blur(22px);
}

.document-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  background: rgba(8, 127, 140, 0.24);
  border: 1px solid rgba(8, 127, 140, 0.18);
  border-radius: 28px;
  overflow: hidden;
}

.document-grid div {
  min-height: 142px;
  padding: 22px;
  background: rgba(247, 245, 239, 0.86);
}

.document-grid .wide {
  grid-column: 1 / -1;
  min-height: auto;
}

dt {
  margin: 0 0 14px;
  color: var(--turquoise-deep);
  font-size: 0.76rem;
  font-weight: 950;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

dd {
  margin: 0;
  color: var(--deep-sea);
  font-size: clamp(1rem, 1.2vw, 1.16rem);
  font-weight: 780;
  line-height: 1.42;
  overflow-wrap: anywhere;
}

.legal-note {
  max-width: 850px;
  margin: 28px 0 0;
}

.contact-section {
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 12%, rgba(24, 167, 181, 0.18), transparent 28rem),
    linear-gradient(180deg, #F2ECE0, var(--sand));
}

.contact-word {
  top: 8%;
  left: auto;
  right: -2vw;
  color: rgba(8, 127, 140, 0.08);
}

.ru-contact-word {
  font-size: clamp(5rem, 14vw, 16rem);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(140px, 0.3fr) minmax(0, 0.95fr) minmax(320px, 0.9fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: start;
}

.contact-copy p:not(.section-label) {
  max-width: 520px;
  margin-top: 26px;
}

.contact-list {
  display: grid;
  gap: 0;
  margin: 32px 0 0;
  font-style: normal;
  border-top: 1px solid var(--line);
}

.contact-list p {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 18px;
  margin: 0;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  color: var(--deep-sea);
  font-weight: 760;
}

.contact-list span {
  color: var(--turquoise-deep);
  font-size: 0.76rem;
  font-weight: 950;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 54px;
}

.contact-links a {
  position: relative;
  min-height: 156px;
  display: flex;
  align-items: flex-end;
  padding: 28px;
  overflow: hidden;
  border: 1px solid rgba(8, 127, 140, 0.16);
  border-radius: 38px;
  background: rgba(255, 255, 255, 0.5);
  box-shadow: var(--shadow-soft);
  color: var(--deep-sea);
  font-size: clamp(2rem, 4vw, 4.6rem);
  line-height: 0.9;
  letter-spacing: -0.06em;
  font-weight: 950;
  transition: transform 560ms var(--ease), background-color 560ms var(--ease);
}

.contact-links a::before {
  content: "";
  position: absolute;
  inset: auto 24px 24px auto;
  width: 100px;
  height: 100px;
  border-radius: 999px;
  background: rgba(100, 213, 210, 0.3);
  transform: scale(0.6);
  transition: transform 560ms var(--ease);
}

.contact-links a:hover,
.contact-links a:focus-visible {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.76);
}

.contact-links a:hover::before,
.contact-links a:focus-visible::before {
  transform: scale(1.7);
}

.site-footer {
  position: relative;
  overflow: hidden;
  padding: clamp(76px, 9vw, 130px) 24px 34px;
  background:
    radial-gradient(circle at 78% 20%, rgba(100, 213, 210, 0.15), transparent 30rem),
    linear-gradient(145deg, #102E34, #073842);
  color: rgba(255, 255, 255, 0.82);
}

.footer-bg {
  position: absolute;
  left: -2vw;
  bottom: -5vw;
  color: rgba(255, 255, 255, 0.045);
  font-size: clamp(8rem, 19vw, 23rem);
  line-height: 0.72;
  letter-spacing: -0.09em;
  font-weight: 950;
  pointer-events: none;
}

.footer-shell {
  position: relative;
  z-index: 2;
  width: var(--shell);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 0.95fr 1fr;
  gap: clamp(34px, 7vw, 96px);
}

.footer-logo {
  display: inline-block;
  color: var(--white);
  font-size: clamp(2.2rem, 4vw, 5rem);
  line-height: 0.86;
  letter-spacing: -0.06em;
  font-weight: 950;
}

.footer-shell p {
  max-width: 32ch;
  margin: 22px 0 0;
}

.footer-nav,
.footer-details {
  display: grid;
  align-content: start;
  gap: 11px;
}

.footer-nav a,
.footer-details a {
  transition: color 360ms var(--ease), transform 360ms var(--ease);
}

.footer-nav a:hover,
.footer-details a:hover,
.footer-nav a:focus-visible,
.footer-details a:focus-visible {
  color: var(--white);
  transform: translateX(5px);
}

.footer-details p {
  margin: 0;
}

.footer-bottom {
  position: relative;
  z-index: 2;
  width: var(--shell);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 18px;
  margin: 78px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 0.92rem;
}

.footer-bottom p {
  margin: 0;
}

.legal-page {
  background:
    radial-gradient(circle at 80% 12%, rgba(100, 213, 210, 0.22), transparent 28rem),
    linear-gradient(180deg, var(--sand), #EFE5D4);
}

.legal-main {
  padding-top: 142px;
}

.legal-hero {
  width: var(--shell);
  margin: 0 auto;
  padding: clamp(60px, 8vw, 110px) 0 clamp(46px, 7vw, 90px);
}

.legal-hero h1 {
  max-width: 1000px;
  margin: 18px 0 0;
  color: var(--deep-sea);
  font-size: clamp(3.4rem, 8vw, 9.5rem);
  line-height: 0.82;
  letter-spacing: -0.075em;
  font-weight: 950;
}

.legal-hero p:last-child {
  max-width: 680px;
  margin-top: 28px;
  color: var(--muted);
  font-size: 1.18rem;
  line-height: 1.7;
}

.legal-article {
  width: var(--shell);
  margin: 0 auto clamp(76px, 9vw, 130px);
  padding: clamp(26px, 5vw, 56px);
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 40px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.76), rgba(255, 255, 255, 0.45)),
    linear-gradient(90deg, rgba(8, 127, 140, 0.07) 1px, transparent 1px),
    linear-gradient(rgba(8, 127, 140, 0.07) 1px, transparent 1px);
  background-size: auto, 54px 54px, 54px 54px;
  box-shadow: var(--shadow-sea);
}

.legal-article article {
  max-width: 860px;
}

.legal-article h2 {
  margin: 42px 0 12px;
  color: var(--deep-sea);
  font-size: clamp(1.7rem, 3vw, 3.4rem);
  line-height: 0.95;
}

.legal-article h2:first-child {
  margin-top: 0;
}

.legal-article p {
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.75;
}

.legal-article a {
  color: var(--turquoise-deep);
  font-weight: 850;
}

.compact-footer {
  padding-top: 70px;
}

@media (prefers-reduced-motion: no-preference) {
  .reveal,
  .reveal-line {
    opacity: 0;
    filter: blur(12px);
    transform: translateY(30px);
    animation: reveal-up 1000ms var(--ease) forwards;
  }

  .reveal-1 {
    animation-delay: 260ms;
  }

  .line-1 {
    animation-delay: 380ms;
  }

  .line-2 {
    animation-delay: 500ms;
  }

  .line-3 {
    animation-delay: 620ms;
  }

  .line-4 {
    animation-delay: 740ms;
  }

  .reveal-5 {
    animation-delay: 900ms;
  }

  .reveal-6 {
    animation-delay: 1060ms;
  }
}

@keyframes reveal-up {
  to {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
  }
}

@keyframes header-in {
  from {
    opacity: 0;
    filter: blur(10px);
    transform: translate(-50%, -18px);
  }
  to {
    opacity: 1;
    filter: blur(0);
    transform: translate(-50%, 0);
  }
}

@keyframes side-fade {
  from {
    opacity: 0;
    filter: blur(12px);
    transform: translateY(-44%);
  }
  to {
    opacity: 1;
    filter: blur(0);
    transform: translateY(-50%);
  }
}

@keyframes wave-line {
  from {
    transform: translateX(-120%);
  }
  to {
    transform: translateX(260%);
  }
}

@media (max-width: 1500px) {
  .about-layout,
  html[lang="ru"] .about-layout {
    grid-template-columns: minmax(96px, 0.18fr) minmax(0, 1fr);
    align-items: start;
  }

  .about-heading {
    grid-column: 2;
  }

  .about-heading h2,
  html[lang="ru"] .about-heading h2 {
    font-size: clamp(3.8rem, 7.2vw, 7rem);
  }

  .about-text {
    grid-column: 2;
    max-width: 860px;
    margin-top: 28px;
  }

  .coastline-stroke {
    display: none;
  }
}

@media (max-width: 1100px) {
  .site-header {
    grid-template-columns: 160px 1fr auto;
    gap: 14px;
  }

  .desktop-nav a {
    padding: 0 12px;
    font-size: 0.78rem;
  }

  .contact-pill {
    display: none;
  }

  .about-layout,
  .contact-layout {
    grid-template-columns: 0.35fr 1fr;
  }

  .coastline-stroke {
    display: none;
  }

  .about-text,
  .contact-list {
    grid-column: 2;
  }

  .service-row {
    grid-template-columns: 62px 0.8fr 1fr;
    gap: 24px;
  }

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

@media (max-width: 820px) {
  :root {
    --shell: min(100% - 34px, 1240px);
  }

  .site-header {
    top: 14px;
    width: min(calc(100% - 24px), 1320px);
    grid-template-columns: 1fr auto;
    min-height: 58px;
  }

  .brand {
    font-size: 0.84rem;
  }

  .brand small {
    font-size: 0.56rem;
  }

  .desktop-nav {
    display: none;
  }

  .language-switcher a {
    width: 36px;
    height: 32px;
  }

  .hero {
    min-height: 100dvh;
    padding: 106px 17px 78px;
  }

  .hero-gradient {
    background: linear-gradient(90deg, rgba(9, 58, 66, 0.37) 0%, rgba(9, 58, 66, 0.16) 70%, transparent 100%);
  }

  .hero-title {
    font-size: clamp(4rem, 18vw, 7rem);
    letter-spacing: -0.07em;
  }

  .ru-title {
    font-size: clamp(3rem, 14vw, 5.4rem);
  }

  .hero-description {
    max-width: 36ch;
    font-size: 0.98rem;
  }

  .hero-side-text,
  .glass-one,
  .glass-two {
    display: none;
  }

  .hero-actions {
    gap: 10px;
  }

  .button {
    min-height: 48px;
    padding: 0 18px;
    font-size: 0.9rem;
  }

  .section-pad {
    padding: 82px 0;
  }

  .shore-section {
    padding-top: 118px;
    clip-path: polygon(0 4%, 18% 2%, 36% 5%, 56% 1%, 77% 5%, 100% 2%, 100% 100%, 0 100%);
  }

  .about-layout,
  .activity-head,
  .company-head,
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .section-number {
    font-size: clamp(5rem, 28vw, 8rem);
  }

  h2 {
    font-size: clamp(3.1rem, 15vw, 5.6rem);
  }

  html[lang="ru"] h2 {
    font-size: clamp(2.75rem, 11vw, 4.9rem);
    line-height: 0.88;
  }

  html[lang="ru"] .activity-head h2,
  html[lang="ru"] .company-head h2,
  html[lang="ru"] .contact-copy h2 {
    font-size: clamp(2.55rem, 10vw, 4.55rem);
    letter-spacing: -0.065em;
  }

  .about-text,
  .contact-list {
    grid-column: auto;
  }

  .principle-band {
    grid-template-columns: 1fr;
  }

  .principle-band article {
    min-height: 190px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .principle-band article:last-child {
    border-bottom: 0;
  }

  .service-row {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 30px 0;
  }

  .service-row:hover {
    transform: translateX(0);
  }

  .background-word {
    top: 4%;
    font-size: clamp(5.2rem, 24vw, 9rem);
  }

  .ru-word,
  .ru-contact-word {
    font-size: clamp(3rem, 16vw, 6.2rem);
  }

  .document-panel {
    padding: 16px;
    border-radius: 28px;
  }

  .document-grid {
    grid-template-columns: 1fr;
    border-radius: 22px;
  }

  .document-grid div {
    min-height: auto;
    padding: 18px;
  }

  .contact-list p {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .contact-links {
    grid-template-columns: 1fr;
  }

  .contact-links a {
    min-height: 118px;
    border-radius: 28px;
  }

  .footer-shell,
  .footer-bottom {
    grid-template-columns: 1fr;
    display: grid;
  }

  .footer-bg {
    font-size: clamp(6rem, 26vw, 10rem);
  }

  .legal-main {
    padding-top: 110px;
  }

  .legal-hero h1 {
    font-size: clamp(3rem, 14vw, 5.8rem);
  }

  .legal-article {
    padding: 22px;
    border-radius: 28px;
  }
}

@media (max-width: 430px) {
  :root {
    --shell: min(100% - 28px, 1240px);
  }

  .hero {
    padding-left: 14px;
    padding-right: 14px;
  }

  .hero-kicker,
  .section-label {
    font-size: 0.64rem;
    letter-spacing: 0.13em;
  }

  .hero-title {
    font-size: clamp(3.7rem, 20vw, 5.2rem);
  }

  .ru-title {
    font-size: clamp(2.7rem, 14vw, 4.4rem);
  }

  .hero-description {
    margin-top: 22px;
  }

  .button {
    width: 100%;
  }

  .section-number {
    font-size: 5.6rem;
  }

  h2 {
    font-size: clamp(2.7rem, 14vw, 4.2rem);
  }

  html[lang="ru"] h2,
  html[lang="ru"] .activity-head h2,
  html[lang="ru"] .company-head h2,
  html[lang="ru"] .contact-copy h2 {
    font-size: clamp(2.32rem, 10.8vw, 3.55rem);
    letter-spacing: -0.058em;
  }

  .principle-band h3,
  .contact-links a {
    font-size: clamp(2rem, 11vw, 3.2rem);
  }
}

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