/* Vikasa Shipping & Trading — общий стиль сайта */
@import url(fonts.css);
:root {
  --brand: #6789ba;
  --brand-dark: #3f5f8f;
  --ink: #1d2733;
  --muted: #5b6878;
  --bg: #ffffff;
  --bg-alt: #f3f6fa;
  --line: #dde4ee;
  --radius: 10px;
  --wrap: 1140px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 17px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-dark); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .6em; }
h1 { font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 600; }
p { margin: 0 0 1em; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.section { padding: 80px 0; }
.section--alt { background: var(--bg-alt); }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 720px; }
.eyebrow {
  text-transform: uppercase; letter-spacing: .12em; font-size: .8rem;
  font-weight: 600; color: var(--brand); margin-bottom: .6em;
}

/* --- кнопки --- */
.btn {
  display: inline-block; padding: 13px 26px; border-radius: 999px;
  background: var(--brand); color: #fff; text-decoration: none;
  font-weight: 600; border: 2px solid var(--brand); cursor: pointer;
  font: inherit; font-weight: 600; transition: background .15s, color .15s;
}
.btn:hover { background: var(--brand-dark); border-color: var(--brand-dark); }
.btn--ghost { background: transparent; color: #fff; border-color: #fff; }
.btn--ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }

/* --- шапка --- */
.topbar { background: var(--ink); color: #c9d3e0; font-size: .85rem; }
.topbar .wrap { display: flex; gap: 24px; justify-content: flex-end; padding-top: 6px; padding-bottom: 6px; flex-wrap: wrap; }
.topbar a { color: inherit; text-decoration: none; }
.topbar a:hover { color: #fff; }

.header { background: var(--brand); position: sticky; top: 0; z-index: 10; }
.header .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.header__logo img { height: 60px; width: auto; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { color: #fff; text-decoration: none; font-weight: 500; }
.nav a:hover, .nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; }
.nav .btn { padding: 9px 20px; background: #fff; color: var(--brand-dark); border-color: #fff; }
.nav .btn:hover { background: var(--ink); color: #fff; border-color: var(--ink); text-decoration: none; }
.nav-toggle { display: none; background: none; border: 0; color: #fff; font-size: 1.8rem; cursor: pointer; }

@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .nav {
    display: none; position: absolute; top: 76px; left: 0; right: 0;
    background: var(--brand); flex-direction: column; gap: 0; padding: 8px 0 16px;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 12px 20px; width: 100%; text-align: center; }
  .nav .btn { width: auto; margin-top: 8px; }
}

/* --- обложка страницы --- */
.hero {
  position: relative; color: #fff; min-height: min(72vh, 720px); display: flex; align-items: center;
  background: var(--ink) center / cover no-repeat;
}
.hero--short { min-height: min(46vh, 440px); }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15,25,40,.78), rgba(15,25,40,.25)); }
.hero .wrap { position: relative; width: 100%; }
.hero p { font-size: 1.2rem; max-width: 620px; }
.hero .eyebrow { color: #c9d8ee; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }

/* --- карточки услуг --- */
.grid { display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); margin-top: 40px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.card img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.card__body { padding: 22px 24px 26px; }
.card__body p { color: var(--muted); margin: 0; }

/* --- текст + картинка --- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split img { border-radius: var(--radius); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.split--reverse > :first-child { order: 2; }
@media (max-width: 820px) {
  .split { grid-template-columns: 1fr; gap: 28px; }
  .split--reverse > :first-child { order: 0; }
}

.checks { list-style: none; padding: 0; margin: 1.2em 0 0; display: grid; gap: 10px; }
.checks li { padding-left: 30px; position: relative; }
.checks li::before { content: "✓"; position: absolute; left: 0; color: var(--brand); font-weight: 700; }

/* --- полоса призыва --- */
.cta { background: var(--brand-dark); color: #fff; text-align: center; padding: 64px 0; }
.cta p { color: #d7e1f0; margin-bottom: 26px; }

/* --- контакты и форма --- */
.contact { display: grid; grid-template-columns: 3fr 2fr; gap: 48px; }
@media (max-width: 820px) { .contact { grid-template-columns: 1fr; } }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form .full { grid-column: 1 / -1; }
@media (max-width: 560px) { .form { grid-template-columns: 1fr; } }
.form label { display: block; font-size: .9rem; font-weight: 600; margin-bottom: 6px; }
.form input, .form textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 8px;
  font: inherit; background: #fff; color: var(--ink);
}
.form input:focus, .form textarea:focus { outline: 2px solid var(--brand); border-color: var(--brand); }
.form textarea { min-height: 150px; resize: vertical; }
.form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__status { grid-column: 1 / -1; margin: 0; font-weight: 500; }
.form__status.ok { color: #1f7a3f; }
.form__status.err { color: #b42318; }

.info { background: var(--bg-alt); border-radius: var(--radius); padding: 28px; align-self: start; }
.info dl { margin: 0; display: grid; gap: 16px; }
.info dt { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.info dd { margin: 2px 0 0; font-weight: 500; }
.info a { text-decoration: none; }

/* --- подвал --- */
.footer { background: var(--ink); color: #c9d3e0; padding: 56px 0 24px; font-size: .95rem; }
.footer a { color: #c9d3e0; text-decoration: none; }
.footer a:hover { color: #fff; }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 2fr; gap: 40px; }
@media (max-width: 820px) { .footer__grid { grid-template-columns: 1fr; gap: 28px; } }
.footer img { height: 54px; width: auto; margin-bottom: 14px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer h3 { color: #fff; font-size: 1rem; }
.footer__bottom { border-top: 1px solid #34404f; margin-top: 40px; padding-top: 20px; font-size: .85rem; }

.wa {
  position: fixed; right: 20px; bottom: 20px; width: 56px; height: 56px; border-radius: 50%;
  background: #25d366; display: grid; place-items: center; box-shadow: 0 4px 14px rgba(0,0,0,.25); z-index: 20;
}
.wa svg { width: 30px; height: 30px; fill: #fff; }
