/* ==========================================================================
   Tokens
   ========================================================================== */
:root {
  --navy: #15133b;
  --navy-2: #24225c;
  --navy-deep: #0d0c27;
  --blue: #1d5fa8;
  --accent: #1f6fd1;
  --accent-hover: #3a86e0;
  --accent-dark: #1556a8;
  --accent-light: #8db9ee;
  --ink: #1b2a3d;
  --muted: #5f6f84;
  --line: #e3e8ef;
  --bg-soft: #f4f7fb;
  --white: #fff;
  --danger: #d64545;
  --success: #1f8a4c;

  --font: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 6px;
  --shadow: 0 10px 30px rgb(11 37 69 / 0.08);
  --shadow-lg: 0 24px 60px rgb(11 37 69 / 0.18);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);

  --container: 1200px;
  --gutter: 20px;
  --header-h: 80px;
}

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

* { margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 10px);
}

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
address { font-style: normal; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
svg { fill: currentColor; }

.icon { width: 1em; height: 1em; flex: none; }

/* Icon sprite: referenced via <use>, never rendered itself. */
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: var(--radius);
  background: var(--accent);
  color: var(--white);
  font-weight: 700;
  transform: translateY(-150%);
  transition: transform 0.2s;
}
.skip-link:focus { transform: none; }

.container {
  width: min(var(--container), 100% - 2 * var(--gutter));
  margin-inline: auto;
}

.section { padding: 100px 0; }

/* ==========================================================================
   Typography
   ========================================================================== */
.eyebrow {
  margin-bottom: 10px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-dark);
}
.eyebrow--light { color: var(--accent-light); }

.title {
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.01em;
  color: var(--navy);
}

.line { display: block; }

.title-line {
  display: block;
  width: 56px;
  height: 3px;
  margin: 18px 0 26px;
  background: var(--accent);
}

.lead { max-width: 560px; color: var(--muted); }

.arrow {
  display: inline-block;
  font-size: 1.25em;
  line-height: 0;
  transition: transform 0.25s var(--ease);
}

/* ==========================================================================
   Buttons & links
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: var(--radius);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: background-color 0.25s, color 0.25s, box-shadow 0.25s;
}
.btn .icon { width: 16px; height: 16px; }
.btn:hover .arrow { transform: translateX(4px); }

.btn--accent { background: var(--accent); color: var(--white); }
.btn--accent:hover { background: var(--accent-hover); box-shadow: 0 10px 24px rgb(31 111 209 / 0.35); }

.btn--navy { background: var(--navy); color: var(--white); }
.btn--navy:hover { background: var(--blue); }

.btn--ghost { border: 1.5px solid rgb(255 255 255 / 0.6); color: var(--white); }
.btn--ghost:hover { background: var(--white); color: var(--navy); }

.link-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 30px;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--navy);
}
.link-more:hover { color: var(--accent-dark); }
.link-more:hover .arrow { transform: translateX(4px); }

/* ==========================================================================
   Top bar
   ========================================================================== */
.topbar {
  background: var(--navy-deep);
  color: #c7d3e3;
  font-size: 0.82rem;
}

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

.topbar__info { display: flex; flex-wrap: wrap; gap: 26px; }

.topbar__item,
.topbar__item a { display: inline-flex; align-items: center; gap: 7px; }
.topbar__item a:hover { color: var(--accent-light); }
.topbar__item .icon { width: 14px; height: 14px; color: var(--accent-light); }

.topbar__right { display: flex; align-items: center; gap: 18px; }
.topbar__social {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px;
  border-radius: 4px;
  background: #0a66c2;
  font-weight: 700;
  color: var(--white);
  transition: background-color 0.2s;
}
.topbar__social:hover { background: #004182; }
.topbar__social .icon { width: 15px; height: 15px; }


.lang {
  display: flex;
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / 0.2);
  border-radius: 4px;
}
.lang__btn { padding: 3px 9px; font-size: 0.74rem; font-weight: 700; color: #c7d3e3; }
.lang__btn.is-active { background: var(--white); color: var(--navy); }

/* ==========================================================================
   Header & navigation
   ========================================================================== */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--navy);
  transition: box-shadow 0.3s, background-color 0.3s;
}
.header.is-scrolled {
  background: rgb(11 37 69 / 0.97);
  box-shadow: 0 8px 30px rgb(0 0 0 / 0.25);
  backdrop-filter: blur(8px);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}

.logo { display: flex; align-items: center; gap: 12px; color: var(--white); }

.logo__mark {
  width: 56px;
  height: 56px;
  flex: none;
  border-radius: 50%;
  box-shadow: 0 0 0 2px rgb(141 185 238 / 0.5);
}

.logo__text { display: flex; flex-direction: column; line-height: 1.05; }
.logo__text strong { font-size: 1.7rem; font-weight: 800; letter-spacing: 0.04em; }
.logo__text small {
  margin-top: 3px;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-light);
}

.nav { display: flex; align-items: center; gap: 30px; }

.nav__link {
  position: relative;
  padding: 6px 0;
  font-size: 0.9rem;
  font-weight: 600;
  color: #dbe5f1;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: var(--accent-light);
  transition: width 0.3s var(--ease);
}
.nav__link:hover,
.nav__link.is-active { color: var(--white); }
.nav__link:hover::after,
.nav__link.is-active::after { width: 100%; }

.nav__cta { padding: 11px 20px; font-size: 0.78rem; }

.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 42px;
  height: 42px;
  padding: 9px;
}
.burger span {
  height: 2px;
  border-radius: 2px;
  background: var(--white);
  transition: transform 0.3s, opacity 0.3s;
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: max(640px, calc(100svh - var(--header-h) - 42px));
  overflow: hidden;
  background: var(--navy-2);
  color: var(--white);
}

.hero__bg,
.hero__overlay { position: absolute; inset: 0; }

.hero__bg {
  background: var(--img) center / cover no-repeat;
  animation: hero-zoom 7s ease both;
}

@keyframes hero-zoom {
  from { transform: scale(1.08); }
}

.hero__overlay {
  background:
    linear-gradient(90deg, rgb(7 26 51 / 0.92) 0%, rgb(11 37 69 / 0.7) 45%, rgb(11 37 69 / 0.25) 100%),
    linear-gradient(0deg, rgb(7 26 51 / 0.75) 0%, transparent 40%);
}

.hero__rings {
  position: absolute;
  top: 50%;
  right: 12%;
  transform: translate(50%, -55%);
  pointer-events: none;
}
.hero__rings span {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid rgb(255 255 255 / 0.18);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: ring-pulse 6s ease-in-out infinite;
}
.hero__rings span:nth-child(1) { width: 300px; height: 300px; }
.hero__rings span:nth-child(2) { width: 460px; height: 460px; border-color: rgb(255 255 255 / 0.12); animation-delay: 0.8s; }
.hero__rings span:nth-child(3) { width: 640px; height: 640px; border-color: rgb(255 255 255 / 0.07); animation-delay: 1.6s; }

@keyframes ring-pulse {
  50% { transform: translate(-50%, -50%) scale(1.04); }
}

.hero__dots {
  position: absolute;
  width: 90px;
  height: 60px;
  background-image: radial-gradient(rgb(255 255 255 / 0.55) 1.5px, transparent 1.5px);
  background-size: 15px 15px;
}
.hero__dots--l { top: 60px; left: 3%; }
.hero__dots--r { right: 3%; bottom: 80px; }

.hero__inner {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 80px 0 60px;
}

.hero__content { max-width: 640px; }

.hero h1 {
  margin-bottom: 20px;
  font-size: clamp(2.3rem, 5.2vw, 4rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.hero__lead { max-width: 520px; font-size: 1.05rem; color: #d6e0ec; }

.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

/* ==========================================================================
   About
   ========================================================================== */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 70px;
}

/* Framed photo card, shared by About and Why Us. */
.photo { position: relative; isolation: isolate; }
.photo::before {
  content: "";
  position: absolute;
  top: -22px;
  left: -22px;
  z-index: -1;
  width: 55%;
  height: 55%;
  border: 3px solid var(--accent);
  border-radius: var(--radius);
}

.photo__img {
  aspect-ratio: var(--ratio, 6 / 5);
  border-radius: var(--radius);
  background: var(--navy-2) var(--img) var(--img-pos, center) / cover;
  box-shadow: var(--shadow-lg);
}

.about__content > p { margin-bottom: 16px; color: var(--muted); }
.about__content > p strong { color: var(--navy); }

.mv { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 26px 0 32px; }
.mv__item { padding: 20px 22px; border-left: 3px solid var(--accent); border-radius: var(--radius); background: var(--bg-soft); }
.mv__item h3 { margin-bottom: 6px; font-size: 1rem; color: var(--navy); }
.mv__item p { font-size: 0.9rem; color: var(--muted); }

.checklist { display: grid; gap: 12px; margin: 24px 0 34px; }
.checklist li { position: relative; padding-left: 34px; font-weight: 600; color: var(--navy); }
.checklist li::before {
  content: "✓";
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgb(31 111 209 / 0.12);
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--accent-dark);
}

/* ==========================================================================
   Section head
   ========================================================================== */
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 30px;
}
.section-head--center { justify-content: center; text-align: center; }
.section-head--center .title-line { margin-inline: auto; }

/* ==========================================================================
   Services
   ========================================================================== */
.services { background: var(--bg-soft); }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }

.card {
  display: flex;
  flex-direction: column;
  padding: 34px 30px 30px;
  border-bottom: 3px solid transparent;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
  transition: transform 0.3s var(--ease), box-shadow 0.3s, border-color 0.3s;
}
.card:hover { transform: translateY(-6px); border-color: var(--accent); box-shadow: var(--shadow-lg); }

.card__icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin-bottom: 22px;
  border-radius: var(--radius);
  background: var(--navy);
  color: var(--white);
  transition: background-color 0.3s, color 0.3s;
}
.card__icon .icon { width: 28px; height: 28px; }
.card:hover .card__icon { background: var(--accent); color: var(--white); }

.card h3 { margin-bottom: 10px; font-size: 1.15rem; color: var(--navy); }
.card p { flex: 1; font-size: 0.93rem; color: var(--muted); }

.cards--services { gap: 22px; }
.cards--services > .card { padding: 30px 26px 26px; }

.card__list { display: grid; gap: 8px; font-size: 0.9rem; color: var(--muted); }
.card__list li { position: relative; padding-left: 16px; }
.card__list li::before {
  content: "";
  position: absolute;
  top: 0.6em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}


/* ==========================================================================
   Why us
   ========================================================================== */
.why {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 70px;
  width: min(var(--container), 100% - 2 * var(--gutter));
  margin-inline: auto;
  padding: 40px 0;
}

.why__content .title { margin-bottom: 8px; }

.features { display: grid; }
.feature { display: flex; gap: 16px; padding: 10px 0; }
.feature + .feature { border-top: 1px solid var(--line); }
.feature .icon {
  width: 36px;
  height: 36px;
  padding: 6px;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  color: var(--accent);
}
.feature h3 { margin-bottom: 4px; font-size: 1rem; color: var(--navy); }
.feature p { font-size: 0.88rem; color: var(--muted); }

/* ==========================================================================
   Ports
   ========================================================================== */
.ports { padding: 40px 0; background: var(--bg-soft); }

/* The map carries its own heading; size it so the whole graphic fits below the sticky header. */
.ports__map {
  width: min(100%, calc((100svh - var(--header-h) - 80px) * 1385 / 923));
  margin: 0 auto;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}
.ports__map img { width: 100%; height: auto; }

/* ==========================================================================
   CTA band
   ========================================================================== */
.cta {
  display: flex;
  align-items: center;
  gap: 30px;
  padding: 42px 50px;
  border-radius: var(--radius);
  background: radial-gradient(circle at 90% 50%, rgb(29 95 168 / 0.6), transparent 60%), var(--navy);
  color: var(--white);
  box-shadow: var(--shadow-lg);
}
.cta__icon { width: 64px; height: 64px; flex: none; color: var(--accent-light); }
.cta__text { flex: 1; }
.cta h2 { margin-bottom: 6px; font-size: 1.6rem; line-height: 1.2; }
.cta p { color: #c7d3e3; }

/* ==========================================================================
   Contact
   ========================================================================== */
.contact__grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 30px; margin-top: 10px; }

.form,
.info {
  padding: 36px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: block; }

.form input,
.form select,
.form textarea {
  width: 100%;
  margin-bottom: 16px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background-color: var(--bg-soft);
  font: inherit;
  font-size: 0.92rem;
  color: var(--ink);
  transition: border-color 0.2s, background-color 0.2s, box-shadow 0.2s;
}
.form textarea { resize: vertical; }
.form select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--muted) 50%),
    linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%;
  background-size: 5px 5px;
  background-repeat: no-repeat;
}
.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: none;
  border-color: var(--accent);
  background-color: var(--white);
  box-shadow: 0 0 0 3px rgb(31 111 209 / 0.12);
}
.form [aria-invalid="true"] { border-color: var(--danger); }

.form__note { min-height: 1.5em; margin-top: 14px; font-size: 0.9rem; font-weight: 600; }
.form__note[data-state="success"] { color: var(--success); }
.form__note[data-state="error"] { color: var(--danger); }

.info h3 { margin-bottom: 20px; font-size: 1.1rem; color: var(--navy); }
.info ul { display: grid; gap: 18px; }
.info li { display: flex; gap: 14px; font-size: 0.9rem; color: var(--muted); }
.info li strong { display: block; font-size: 0.85rem; color: var(--navy); }
.info li a { display: block; }
.info li a:hover { color: var(--accent-dark); }

.info__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgb(31 111 209 / 0.1);
  color: var(--accent-dark);
}
.info__icon .icon { width: 18px; height: 18px; }

.map { height: 180px; margin-top: 24px; overflow: hidden; border-radius: var(--radius); background: var(--bg-soft); }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(0.3); }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer { padding-top: 70px; background: var(--navy-deep); color: #a9b8cc; font-size: 0.9rem; }

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: 40px;
  padding-bottom: 50px;
}

.footer__brand p { max-width: 300px; margin: 18px 0; }

.footer h2 {
  position: relative;
  margin-bottom: 20px;
  padding-bottom: 12px;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
}
.footer h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 22px;
  height: 2px;
  background: var(--accent-light);
}

.footer__col > a { display: block; margin-bottom: 9px; transition: color 0.2s, padding-left 0.2s; }
.footer__col > a:hover { padding-left: 4px; color: var(--accent-light); }

.footer__contact address,
.footer__contact p { margin-bottom: 14px; }
.footer__contact a:hover { color: var(--accent-light); }

.social { display: flex; gap: 10px; }
.social a {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgb(255 255 255 / 0.15);
  border-radius: 50%;
  color: var(--white);
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.social a:hover { border-color: var(--accent); background: var(--accent); color: var(--white); }
.social .icon { width: 16px; height: 16px; }

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0;
  border-top: 1px solid rgb(255 255 255 / 0.08);
  font-size: 0.8rem;
}
.footer__bottom a:hover { color: var(--accent-light); }

/* ==========================================================================
   Scroll reveal (enabled only when JS adds .js to <html>)
   ========================================================================== */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
  transition-delay: var(--reveal-delay, 0s);
}
.js [data-reveal].is-visible { opacity: 1; transform: none; }

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

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

  .js [data-reveal] { opacity: 1; transform: none; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1080px) {
  .nav { gap: 20px; }

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

  .cards--services { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .topbar__item--location,
  .topbar__item--secondary { display: none; }

  .burger { display: flex; }

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px var(--gutter) 24px;
    background: var(--navy);
    box-shadow: 0 20px 40px rgb(0 0 0 / 0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition: opacity 0.3s, transform 0.3s, visibility 0.3s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav__link { padding: 14px 0; border-bottom: 1px solid rgb(255 255 255 / 0.08); }
  .nav__link::after { display: none; }
  .nav__cta { justify-content: center; margin-top: 16px; }

  .hero__inner { flex-direction: column; align-items: flex-start; justify-content: center; gap: 36px; }
  .hero__rings { right: -10%; }

  .about__grid,
  .why,
  .contact__grid { grid-template-columns: 1fr; }
  .photo__img { --ratio: 16 / 9; }

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


  .section-head { flex-direction: column; align-items: flex-start; gap: 0; }
  .section-head--center { align-items: center; }

  .cta { flex-direction: column; padding: 40px 28px; text-align: center; }
}

@media (max-width: 600px) {
  :root { --gutter: 16px; --header-h: 70px; }

  .section { padding: 70px 0; }

  .topbar__info { gap: 14px; }
  .topbar__item--email { display: none; }
  .topbar__social { padding: 5px 7px; }
  .topbar__social span { display: none; }

  .logo__mark { width: 46px; height: 46px; }
  .logo__text strong { font-size: 1.4rem; }

  .hero__inner { padding: 50px 0 40px; }
  .hero__dots { display: none; }

  .photo::before { top: -10px; left: -10px; }

  .cards,
  .cards--services,
  .mv,
  .features,
  .form__row { grid-template-columns: 1fr; }

  .form,
  .info { padding: 24px; }

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