:root {
  --navy: #081b2c;
  --navy2: #0e3352;
  --accent: #35b6e0;
  --accent2: #7fd7f0;
  --ink: #182838;
  --muted: #5b6b7a;
  --bg: #eef3f8;
  --card: #ffffff;
  --line: #e3eaf1;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

html, body {
  font-family: "Manrope", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* ---------- header ---------- */
.top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 26px;
  background: rgba(8, 27, 44, 0.97);
  backdrop-filter: blur(6px);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.brand {
  font-family: "Manrope", "Segoe UI", sans-serif;
  font-weight: 800;
  letter-spacing: 2.5px;
  font-size: 17px;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0,0,0,0.25);
}
.brand span { color: var(--accent); }

.langs a, .langs button {
  display: inline-block;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.28);
  color: #fff;
  border-radius: 7px;
  padding: 4px 11px;
  margin-left: 6px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: all .18s ease;
}
.langs a:hover, .langs button:hover { border-color: var(--accent); color: var(--accent2); }
.langs a.active, .langs button.active { background: var(--accent); border-color: var(--accent); color: #06222f; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #d5e3f2 0%, #c7dbed 42%, #b9d4e9 100%);
  color: #0b2b43;
  padding: 60px 28px 52px;
  min-height: 490px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  text-align: center;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,0.55);
  margin-bottom: 22px;
  box-shadow: 0 18px 40px rgba(8,27,44,0.16);
  transition: transform .35s ease, box-shadow .35s ease;
}
.hero:hover {
  transform: scale(1.03);
  box-shadow: 0 26px 54px rgba(8,27,44,0.22);
}
.hero .sea-wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 66%;
  z-index: 1;
  pointer-events: none;
}
.hero .cargo, .hero .sub {
  text-shadow: 0 1px 10px rgba(4, 16, 27, 0.45);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(10,37,57,0.05) 1px, transparent 1px);
  background-size: 26px 26px;
  pointer-events: none;
}
.hero > * { position: relative; z-index: 2; }
.hero-bottom {
  position: relative;
  z-index: 2;
  margin-top: auto;
  padding-top: 26px;
  width: 100%;
}

.bg-tags {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.bg-tags span {
  position: absolute;
  color: rgba(24, 40, 56, 0.22);
  font-weight: 600;
  font-size: clamp(11px, 1.6vw, 20px);
  letter-spacing: 0.6px;
  white-space: nowrap;
  animation: seaWave 12s ease-in-out infinite;
}
@keyframes seaWave {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  25% { transform: translate(6px, -10px) rotate(-1.5deg); }
  50% { transform: translate(-4px, -3px) rotate(0.8deg); }
  75% { transform: translate(-7px, 8px) rotate(1.2deg); }
}

.hero h1 {
  font-family: "PT Serif", Georgia, "Times New Roman", serif;
  font-size: clamp(23px, 3.5vw, 45px);
  font-weight: 700;
  letter-spacing: 0.6px;
  line-height: 1.2;
  max-width: 920px;
  margin: 0 auto;
  color: #0b2b43;
  text-shadow: 0 1px 0 rgba(255,255,255,0.55), 0 10px 24px rgba(8,27,44,0.12);
  animation: rise .7s ease both;
}
.cargo {
  font-family: "PT Serif", Georgia, "Times New Roman", serif;
  font-size: clamp(13px, 1.55vw, 19px);
  font-weight: 400;
  letter-spacing: 1.6px;
  text-transform: none;
  color: #ffffff;
  margin: 0 auto 20px;
  animation: rise .7s .08s ease both;
}
.sub {
  font-family: "PT Serif", Georgia, "Times New Roman", serif;
  color: rgba(255,255,255,0.93);
  max-width: 620px;
  margin: 0 auto;
  font-size: clamp(13px, 1.45vw, 18px);
  line-height: 1.55;
  animation: rise .7s .16s ease both;
}

/* ---------- sections ---------- */
main { max-width: 860px; margin: 0 auto; padding: 24px 22px 0; position: relative; z-index: 3; }

.block {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 30px 30px;
  margin-bottom: 22px;
  box-shadow: 0 8px 24px rgba(10, 40, 66, 0.07);
  animation: rise .6s ease both;
}
.block h2 {
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--navy);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.3px;
  margin-bottom: 14px;
  padding-bottom: 10px;
  position: relative;
  text-shadow: 0 1px 0 rgba(255,255,255,0.7);
}
.block h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 42px;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
}
html[dir="rtl"] .block h2::after { left: auto; right: 0; }

.block p { color: var(--ink); }
.block ul { list-style: none; }
.block ul li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid #eef2f6;
}
.block ul li:last-child { border-bottom: none; }
.block ul li i {
  color: var(--accent);
  width: 20px;
  text-align: center;
  margin-top: 3px;
  flex-shrink: 0;
}

/* ---------- contacts ---------- */
.contact { text-align: center; }
.email {
  display: inline-block;
  margin-top: 6px;
  font-size: 21px;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  background: linear-gradient(90deg, var(--navy2), var(--accent));
  padding: 12px 28px;
  border-radius: 40px;
  box-shadow: 0 8px 20px rgba(53,182,224,0.30);
  transition: transform .18s ease, box-shadow .18s ease;
}
.email:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(53,182,224,0.42); }

/* ---------- form ---------- */
.form-row { display: flex; gap: 12px; margin-bottom: 12px; }
.request-form input,
.request-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  background: #fbfdfe;
  margin-bottom: 12px;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.form-row input { flex: 1; margin-bottom: 0; }
.request-form input:focus,
.request-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(53,182,224,0.15);
}
.request-form textarea { resize: vertical; min-height: 110px; }
.request-form button[type="submit"] {
  background: linear-gradient(90deg, var(--navy2), var(--accent));
  color: #fff;
  border: none;
  border-radius: 40px;
  padding: 13px 32px;
  font: inherit;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(53,182,224,0.30);
  transition: transform .18s ease, box-shadow .18s ease;
}
.request-form button[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(53,182,224,0.42);
}
.request-form button[type="submit"]:disabled {
  opacity: .55;
  cursor: default;
  transform: none;
  box-shadow: none;
}
.request-form .hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.form-status {
  margin-top: 14px;
  font-size: 14.5px;
  font-weight: 600;
  min-height: 1.25em;
}
.form-status.ok { color: #1d7a4d; }
.form-status.err { color: #b3382f; }
.form-status.pending { color: #5b6b7a; }
@media (max-width: 560px) {
  .form-row { flex-direction: column; }
  .form-row input { margin-bottom: 12px; }
}

/* ---------- footer ---------- */
footer {
  position: relative;
  z-index: 1;
  background: var(--navy);
  color: rgba(255,255,255,0.55);
  text-align: center;
  padding: 22px;
  letter-spacing: 2px;
  font-size: 12px;
  margin-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

/* ---------- animations ---------- */
@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
.block:nth-of-type(1) { animation-delay: .1s; }
.block:nth-of-type(2) { animation-delay: .18s; }
.block:nth-of-type(3) { animation-delay: .26s; }
.block:nth-of-type(4) { animation-delay: .34s; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; }
}

/* ---------- responsive ---------- */
@media (max-width: 560px) {
  .hero { padding: 40px 18px 34px; min-height: 430px; }
  .hero h1 { font-size: 22px; letter-spacing: 0.3px; }
  .cargo { font-size: 12px; letter-spacing: 1px; margin-bottom: 14px; }
  .block { padding: 24px 18px; }
  .email { font-size: 17px; padding: 11px 22px; }
  .brand { letter-spacing: 2px; font-size: 15px; }
}
