:root {
  color-scheme: dark;
  --black: #050607;
  --ink: #0b0d10;
  --paper: #f4f6f7;
  --panel: #11151a;
  --line: rgba(255, 255, 255, 0.14);
  --line-dark: rgba(5, 6, 7, 0.12);
  --text: #f8fbfc;
  --muted: #a9b3ba;
  --cyan: #5df2ef;
  --cyan-dark: #008c91;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 76px;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 72% 8%, rgba(93, 242, 239, 0.08), transparent 28rem),
    var(--black);
  color: var(--text);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  letter-spacing: 0;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

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

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 56px;
  padding: 0 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(5, 6, 7, 0.54);
  backdrop-filter: blur(22px) saturate(140%);
}

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

.brand {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 720;
}

.brand::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 22px rgba(93, 242, 239, 0.8);
}

.nav {
  display: flex;
  gap: 24px;
  color: rgba(248, 251, 252, 0.76);
  font-size: 13px;
  white-space: nowrap;
}

.nav a {
  position: relative;
  transition: color 180ms ease;
}

.nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 1px;
  background: var(--cyan);
  opacity: 0;
  transform: scaleX(0.45);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.nav a:hover {
  color: var(--text);
}

.nav a:hover::after {
  opacity: 1;
  transform: scaleX(1);
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.language-switcher button {
  min-width: 34px;
  min-height: 28px;
  padding: 0 9px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: rgba(248, 251, 252, 0.66);
  font: inherit;
  font-size: 12px;
  font-weight: 720;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition:
    background 180ms ease,
    color 180ms ease;
}

.language-switcher button:hover,
.language-switcher button[aria-pressed="true"] {
  background: var(--text);
  color: var(--ink);
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: 104px max(24px, calc((100vw - var(--max)) / 2)) 34px;
  isolation: isolate;
}

.hero::after {
  content: "";
  position: absolute;
  right: max(24px, calc((100vw - var(--max)) / 2));
  bottom: 132px;
  width: min(34vw, 360px);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(93, 242, 239, 0.85));
  opacity: 0.7;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 46%;
  transform: scale(1.035);
}

.hero-overlay {
  z-index: -1;
  background:
    radial-gradient(circle at 70% 42%, rgba(93, 242, 239, 0.1), transparent 26rem),
    linear-gradient(90deg, rgba(5, 6, 7, 0.92), rgba(5, 6, 7, 0.32) 54%, rgba(5, 6, 7, 0.16)),
    linear-gradient(0deg, rgba(5, 6, 7, 0.97), rgba(5, 6, 7, 0.05) 58%);
}

.hero-copy {
  width: min(820px, 100%);
  padding-bottom: min(15vh, 136px);
}

.eyebrow,
.section-kicker,
.strip-card p {
  margin: 0;
  color: var(--cyan);
  font-size: 12px;
  font-weight: 720;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  margin: 14px 0 0;
  font-size: clamp(44px, 7.2vw, 96px);
  line-height: 0.98;
  font-weight: 760;
  max-width: 900px;
  overflow-wrap: anywhere;
}

.hero p:not(.eyebrow) {
  max-width: 650px;
  margin: 22px 0 0;
  color: rgba(248, 251, 252, 0.82);
  font-size: clamp(17px, 1.8vw, 23px);
  line-height: 1.5;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 21px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 650;
  white-space: nowrap;
  transition:
    transform 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.light {
  background: var(--text);
  color: var(--ink);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.22);
}

.button.glass {
  border: 1px solid rgba(255, 255, 255, 0.26);
  background: rgba(255, 255, 255, 0.075);
  backdrop-filter: blur(16px);
}

.hero-specs {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px);
}

.hero-specs span {
  min-height: 78px;
  padding: 16px 18px;
  background: rgba(5, 6, 7, 0.58);
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.hero-specs strong {
  display: block;
  margin-bottom: 3px;
  color: var(--text);
  font-size: 22px;
}

.statement,
.feature,
.interior,
.gallery,
.method,
.contact {
  padding: 112px max(24px, calc((100vw - var(--max)) / 2));
}

.statement {
  position: relative;
  background: var(--paper);
  color: var(--ink);
  overflow: hidden;
}

.statement::after {
  content: "";
  position: absolute;
  top: 0;
  right: max(24px, calc((100vw - var(--max)) / 2));
  width: 1px;
  height: 100%;
  background: linear-gradient(rgba(0, 140, 145, 0.2), transparent);
}

.statement .section-kicker,
.gallery .section-kicker {
  color: var(--cyan-dark);
}

.statement h2,
.section-heading h2,
.feature-copy h2,
.contact h2 {
  max-width: 980px;
  margin: 16px 0 0;
  font-size: clamp(32px, 4.8vw, 68px);
  line-height: 1.06;
  font-weight: 750;
  overflow-wrap: anywhere;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(36px, 6vw, 74px);
  align-items: center;
  background:
    linear-gradient(135deg, rgba(93, 242, 239, 0.08), transparent 34%),
    #080b0e;
}

.feature-copy p:not(.section-kicker),
.contact p {
  max-width: 640px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: clamp(16px, 1.55vw, 20px);
  line-height: 1.58;
}

.feature-image,
.interior figure {
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: var(--panel);
}

.feature-image {
  border: 1px solid var(--line);
  box-shadow: 0 36px 90px rgba(0, 0, 0, 0.34);
}

.feature-image img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transform: scale(1.01);
}

.spec-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  overflow: hidden;
  margin: 34px 0 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
}

.spec-list div {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 18px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.055);
}

.spec-list dt {
  color: var(--cyan);
  font-size: 12px;
  font-weight: 720;
  text-transform: uppercase;
}

.spec-list dd {
  margin: 0;
  color: rgba(248, 251, 252, 0.84);
}

.product-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding: 18px;
  background: #050607;
}

.strip-card {
  position: relative;
  min-height: 62svh;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 30px;
  border-radius: 8px;
  isolation: isolate;
}

.strip-card img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms ease;
}

.strip-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(0deg, rgba(5, 6, 7, 0.9), rgba(5, 6, 7, 0.08) 62%),
    linear-gradient(90deg, rgba(5, 6, 7, 0.38), transparent 54%);
}

.strip-card:hover img {
  transform: scale(1.045);
}

.strip-card h3 {
  margin: 10px 0 0;
  max-width: 460px;
  font-size: clamp(28px, 3.7vw, 48px);
  line-height: 1.04;
  overflow-wrap: anywhere;
}

.interior {
  background:
    linear-gradient(180deg, #ffffff, var(--paper));
  color: var(--ink);
}

.interior .section-kicker {
  color: var(--cyan-dark);
}

.section-heading {
  display: grid;
  gap: 16px;
  margin-bottom: 46px;
}

.section-heading h2 {
  margin-top: 0;
}

.interior-grid {
  display: grid;
  grid-template-columns: 1.16fr 0.84fr;
  gap: 16px;
}

.interior-grid .large {
  grid-row: span 2;
}

.interior img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  transition: transform 700ms ease;
}

.interior .large img {
  min-height: 620px;
}

.interior figure:hover img,
.gallery-grid img:hover {
  transform: scale(1.035);
}

figcaption {
  min-height: 68px;
  padding: 16px 18px 18px;
  border-top: 1px solid rgba(5, 6, 7, 0.08);
  color: #596167;
  font-size: 14px;
  line-height: 1.45;
}

.gallery {
  background:
    linear-gradient(180deg, #eef2f3, #f8fafb);
  color: var(--ink);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.gallery-grid img {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 8px;
  object-fit: cover;
  background: #dce2e4;
  box-shadow: 0 18px 42px rgba(13, 25, 32, 0.1);
  transition:
    transform 700ms ease,
    box-shadow 700ms ease;
}

.gallery-grid img:nth-child(1),
.gallery-grid img:nth-child(6) {
  grid-column: span 3;
}

.gallery-grid img:nth-child(2),
.gallery-grid img:nth-child(3),
.gallery-grid img:nth-child(4),
.gallery-grid img:nth-child(5) {
  grid-column: span 3;
}

.gallery-grid img:hover {
  box-shadow: 0 26px 62px rgba(13, 25, 32, 0.16);
}

.method {
  background:
    radial-gradient(circle at 16% 20%, rgba(93, 242, 239, 0.1), transparent 24rem),
    linear-gradient(180deg, #07090b, #121820);
}

.method-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.method-list li {
  min-height: 320px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.035));
  backdrop-filter: blur(12px);
}

.method-list span {
  color: var(--cyan);
  font-size: 13px;
  font-weight: 760;
}

.method-list h3 {
  margin: 82px 0 16px;
  font-size: clamp(23px, 2.2vw, 29px);
  line-height: 1.08;
  overflow-wrap: anywhere;
}

.method-list p {
  margin: 0;
  color: var(--muted);
  line-height: 1.62;
}

.contact {
  min-height: 70svh;
  display: flex;
  align-items: flex-end;
  background:
    radial-gradient(circle at 78% 20%, rgba(93, 242, 239, 0.12), transparent 24rem),
    linear-gradient(90deg, rgba(5, 6, 7, 0.9), rgba(5, 6, 7, 0.32)),
    url("assets/optimized/autonomous-houseboat-45-b.jpeg") center / cover;
}

.contact-copy {
  max-width: 760px;
}

.contact .button {
  margin-top: 30px;
}

.contact-details {
  display: flex;
  gap: clamp(32px, 4vw, 56px);
  margin-top: 28px;
  flex-wrap: wrap;
}

.contact-person {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.contact-name {
  font-size: clamp(14px, 1.2vw, 16px);
  font-weight: 600;
  color: var(--cyan);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0;
}

.contact-person a {
  color: var(--muted);
  font-size: clamp(15px, 1.35vw, 18px);
  text-decoration: none;
  transition: color 0.2s ease;
}

.contact-person a:hover {
  color: var(--cyan);
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 700ms ease,
    transform 700ms ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

html:lang(es) .hero h1,
html:lang(ru) .hero h1 {
  font-size: clamp(38px, 6vw, 76px);
}

html:lang(es) .statement h2,
html:lang(ru) .statement h2,
html:lang(es) .section-heading h2,
html:lang(ru) .section-heading h2,
html:lang(es) .feature-copy h2,
html:lang(ru) .feature-copy h2,
html:lang(es) .contact h2,
html:lang(ru) .contact h2 {
  font-size: clamp(29px, 4.2vw, 58px);
}

@media (max-width: 900px) {
  .site-header {
    padding: 0 18px;
  }

  .header-actions {
    gap: 12px;
  }

  .nav {
    gap: 14px;
    font-size: 12px;
  }

  .hero {
    min-height: 96svh;
    padding-top: 84px;
  }

  .hero-copy {
    padding-bottom: 52px;
  }

  .hero-specs,
  .split,
  .product-strip,
  .interior-grid,
  .method-list {
    grid-template-columns: 1fr;
  }

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

  .gallery-grid img,
  .gallery-grid img:nth-child(1),
  .gallery-grid img:nth-child(2),
  .gallery-grid img:nth-child(3),
  .gallery-grid img:nth-child(4),
  .gallery-grid img:nth-child(5),
  .gallery-grid img:nth-child(6) {
    grid-column: span 1;
  }

  .statement,
  .feature,
  .interior,
  .gallery,
  .method,
  .contact {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .interior-grid .large {
    grid-row: auto;
  }

  .interior .large img,
  .interior img {
    min-height: 300px;
  }

  .method-list h3 {
    margin-top: 54px;
  }

  .hero::after {
    display: none;
  }
}

@media (max-width: 540px) {
  .site-header {
    align-items: center;
    min-height: 64px;
    padding: 10px 14px;
  }

  .header-actions {
    align-items: center;
    flex: 1;
    justify-content: flex-end;
    min-width: 0;
    gap: 8px;
  }

  .nav {
    max-width: min(45vw, 184px);
    gap: 13px;
    overflow-x: auto;
    padding: 7px 0;
    scrollbar-width: none;
  }

  .nav::-webkit-scrollbar {
    display: none;
  }

  .nav a {
    font-size: 11px;
  }

  .hero {
    min-height: 94svh;
    padding-top: 86px;
    padding-bottom: 22px;
  }

  .hero h1,
  html:lang(es) .hero h1,
  html:lang(ru) .hero h1 {
    font-size: clamp(34px, 10vw, 52px);
    line-height: 1.02;
  }

  .hero p:not(.eyebrow) {
    margin-top: 18px;
    font-size: 16px;
    line-height: 1.55;
  }

  .language-switcher button {
    min-width: 30px;
    min-height: 28px;
    padding: 0 7px;
    font-size: 11px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
    min-height: 46px;
  }

  .hero-specs {
    border-radius: 6px;
  }

  .hero-specs span {
    min-height: 58px;
    padding: 12px 14px;
    font-size: 12px;
  }

  .hero-specs strong {
    font-size: 19px;
  }

  .statement,
  .feature,
  .interior,
  .gallery,
  .method,
  .contact {
    padding-right: 18px;
    padding-left: 18px;
  }

  .spec-list div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .product-strip {
    gap: 10px;
    padding: 10px;
  }

  .strip-card {
    min-height: 58svh;
    padding: 22px;
  }

  .statement h2,
  .section-heading h2,
  .feature-copy h2,
  .contact h2,
  html:lang(es) .statement h2,
  html:lang(ru) .statement h2,
  html:lang(es) .section-heading h2,
  html:lang(ru) .section-heading h2,
  html:lang(es) .feature-copy h2,
  html:lang(ru) .feature-copy h2,
  html:lang(es) .contact h2,
  html:lang(ru) .contact h2 {
    font-size: clamp(30px, 9vw, 44px);
    line-height: 1.08;
  }

  .feature-copy p:not(.section-kicker),
  .contact p,
  .method-list p,
  figcaption {
    font-size: 15px;
  }

  .method-list li {
    min-height: 250px;
    padding: 22px;
  }

  .method-list h3 {
    margin-top: 42px;
  }

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

@media (max-width: 380px) {
  .brand {
    font-size: 14px;
  }

  .nav {
    max-width: 38vw;
  }

  .language-switcher {
    gap: 1px;
    padding: 2px;
  }

  .language-switcher button {
    min-width: 27px;
    padding: 0 5px;
  }

  .hero h1,
  html:lang(es) .hero h1,
  html:lang(ru) .hero h1 {
    font-size: 32px;
  }
}

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

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