/* Black Sea Invest — მთავარი გვერდი. ფერები ლოგოდან: ღრმა ზღვა → ცისფერი ტალღა */
:root {
  --ink: #0d2236;
  --ink-2: #3d5468;
  --navy: #08385d;
  --sea: #0b5c8e;
  --wave: #1f7fbf;
  --sky: #5fb0e3;
  --foam: #eaf4fa;
  --paper: #f7fbfd;
  --line: #d6e6f1;
  --own: #8a5a2b;
  --radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; color: var(--ink); background: #fff;
  font-family: "Noto Sans Georgian", system-ui, "Segoe UI", sans-serif; font-size: 17px; line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.2; }

.btn {
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; font-size: 15px;
  height: 46px; padding: 0 22px; border-radius: 999px; border: 1.5px solid transparent; transition: transform .15s, box-shadow .15s, background .15s;
  white-space: nowrap;
}
.btn-lg { height: 56px; padding: 0 30px; font-size: 16px; }
.btn-sea { background: var(--sea); color: #fff; box-shadow: 0 10px 24px -10px rgba(11, 92, 142, .7); }
.btn-sea:hover { background: var(--navy); transform: translateY(-1px); }
.btn-ghost { border-color: rgba(11, 92, 142, .35); color: var(--sea); background: rgba(255, 255, 255, .6); }
.btn-ghost:hover { border-color: var(--sea); background: #fff; }
.btn:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; }

/* ---------- მენიუ */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 20; height: 76px; padding: 0 clamp(18px, 4vw, 56px);
  display: flex; align-items: center; gap: 28px;
  transition: background .25s, box-shadow .25s, height .25s;
}
.nav.scrolled { background: rgba(255, 255, 255, .92); backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--line); height: 64px; }
.nav-brand img { height: 58px; width: auto; }
.nav.scrolled .nav-brand img { height: 48px; }
.nav-links { display: flex; gap: 26px; margin-left: auto; font-size: 15px; font-weight: 500; }
.nav-links a { text-decoration: none; color: var(--ink-2); }
.nav-links a:hover { color: var(--sea); }
.nav-cta { height: 42px; font-size: 14px; }

/* ---------- ზასტავკა */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh; overflow: hidden;
  background:
    radial-gradient(1200px 600px at 85% 10%, rgba(95, 176, 227, .28), transparent 60%),
    radial-gradient(900px 500px at 0% 80%, rgba(11, 92, 142, .10), transparent 60%),
    linear-gradient(180deg, #fbfdff 0%, var(--foam) 100%);
  display: flex; align-items: center;
}
.hero-inner {
  position: relative; z-index: 2; width: 100%; max-width: 1280px; margin: 0 auto;
  padding: 100px clamp(18px, 4vw, 56px) 170px;
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 56px; align-items: center;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 22px; padding: 7px 14px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line); color: var(--sea); font-size: 14px; font-weight: 600;
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--wave); box-shadow: 0 0 0 4px rgba(31, 127, 191, .18); }
.hero h1 { font-size: clamp(30px, 3.4vw, 46px); font-weight: 800; line-height: 1.25; color: var(--navy); }
.hero h1 .accent {
  display: block; background: linear-gradient(90deg, var(--sea), var(--sky)); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lead { margin: 22px 0 34px; max-width: 34em; font-size: clamp(17px, 1.4vw, 19px); color: var(--ink-2); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* პროდუქტების „თარო“ — ორი სვეტი ნელა მიცურავს საპირისპირო მიმართულებით */
.hero-shelf {
  height: min(520px, 62vh); display: grid; grid-template-columns: 1fr 1fr; gap: 18px; overflow: hidden;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 14%, #000 86%, transparent);
          mask-image: linear-gradient(180deg, transparent, #000 14%, #000 86%, transparent);
  transform: rotate(-4deg);
}
.col { display: flex; flex-direction: column; gap: 18px; animation: drift 38s linear infinite; }
.col-b { animation-direction: reverse; margin-top: -90px; }
.col figure {
  margin: 0; background: #fff; border-radius: var(--radius); padding: 10px; aspect-ratio: 1;
  box-shadow: 0 20px 40px -24px rgba(8, 56, 93, .45), 0 0 0 1px rgba(8, 56, 93, .05);
}
.col figure img { width: 100%; height: 100%; object-fit: cover; border-radius: 12px; }
@keyframes drift { from { transform: translateY(0); } to { transform: translateY(-50%); } }

/* ტალღები — ლოგოს ტალღის ფერებით, სხვადასხვა სიჩქარით */
.waves { position: absolute; left: 0; right: 0; bottom: -2px; height: 150px; z-index: 1; pointer-events: none; }
.wave { position: absolute; bottom: 0; left: 0; width: 200%; height: 100%; animation: swell 18s linear infinite; }
.w1 path { fill: var(--sky); opacity: .45; }
.w2 { animation-duration: 13s; animation-direction: reverse; height: 85%; }
.w2 path { fill: var(--wave); opacity: .75; }
.w3 { animation-duration: 9s; height: 65%; }
.w3 path { fill: var(--sea); }
@keyframes swell { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.gull { position: absolute; z-index: 1; top: 22%; left: 46%; width: 44px; fill: none; stroke: var(--sea); stroke-width: 3; stroke-linecap: round; opacity: .7; animation: glide 14s ease-in-out infinite; }
@keyframes glide { 0%, 100% { transform: translate(0, 0) rotate(-4deg); } 50% { transform: translate(60px, -18px) rotate(3deg); } }

/* ---------- სექციები */
.band { padding: clamp(64px, 9vw, 110px) 0; background: var(--sea); color: #fff; }
.band-foam { background: var(--paper); color: var(--ink); }
#contact { background: #fff; color: var(--ink); }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 clamp(18px, 4vw, 56px); }
.band h2 { font-size: clamp(28px, 3.2vw, 40px); font-weight: 800; }
.sub { margin: 10px 0 40px; font-size: 18px; opacity: .8; }

.cats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.cat {
  position: relative; padding: 26px; border-radius: var(--radius);
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); transition: background .2s, transform .2s;
}
.cat:hover { background: rgba(255, 255, 255, .14); transform: translateY(-3px); }
.cat svg { width: 46px; height: 46px; fill: none; stroke: #bfe2f7; stroke-width: 2.2; stroke-linejoin: round; stroke-linecap: round; margin-bottom: 16px; }
.cat h3 { font-size: 19px; font-weight: 700; }
.cat p { margin: 8px 0 0; font-size: 15px; opacity: .8; }
.cat-own { background: rgba(255, 255, 255, .96); color: var(--ink); border-color: transparent; }
.cat-own:hover { background: #fff; }
.cat-own svg { stroke: var(--own); }
.badge {
  position: absolute; top: 18px; right: 18px; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 700;
  background: #f6ead9; color: var(--own);
}

.steps { list-style: none; margin: 0 0 40px; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; counter-reset: s; }
.steps li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.num {
  display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--foam); color: var(--sea); font-weight: 800; font-size: 18px; margin-bottom: 16px;
}
.steps h3 { font-size: 19px; color: var(--navy); }
.steps p { margin: 8px 0 0; color: var(--ink-2); font-size: 15px; }

.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.contact .sub { margin-bottom: 0; }
.contact-list { margin: 0; display: grid; gap: 14px; }
.contact-list div { padding: 18px 22px; border: 1px solid var(--line); border-radius: 14px; }
.contact-list dt { font-size: 13px; color: var(--ink-2); }
.contact-list dd { margin: 2px 0 0; font-size: 18px; font-weight: 700; color: var(--navy); }

.foot { position: relative; background: var(--navy); color: rgba(255, 255, 255, .8); padding: 36px 0 30px; font-size: 14px; margin-top: 40px; }
.foot-wave { position: absolute; left: 0; bottom: 100%; width: 100%; height: 40px; }
.foot-wave path { fill: var(--navy); }
.foot-row { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.foot a { color: #fff; text-decoration: none; font-weight: 600; }

/* ---------- ზომები */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; gap: 28px; padding-top: 110px; padding-bottom: 170px; }
  .hero-shelf { height: 300px; transform: none; grid-template-columns: 1fr; }
  .hero-shelf .col { flex-direction: row; animation-name: drift-x; width: max-content; }
  .hero-shelf .col-b { display: none; }
  .col figure { width: 200px; }
  .cats, .steps { grid-template-columns: 1fr 1fr; }
  .contact { grid-template-columns: 1fr; }
  .gull { left: 70%; top: 14%; }
}
@keyframes drift-x { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (max-width: 640px) {
  body { font-size: 16px; }
  .nav { gap: 12px; }
  .nav-links { display: none; }
  .nav-cta { margin-left: auto; height: 38px; padding: 0 16px; }
  .nav-brand img { height: 38px; }
  .hero-shelf { height: 190px; }
  .col figure { width: 160px; }
  .cats, .steps { grid-template-columns: 1fr; }
  .btn-lg { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  .col, .wave, .gull { animation: none; }
  html { scroll-behavior: auto; }
}
