/* ============================================================
   KELMAR GLOBAL — The Art of Global Luxury Trade
   Design language: art-gallery minimalism — deep navy walls,
   champagne-gold light, framed works, museum stillness.
   Typography: Cormorant Garamond / Marcellus / Jost
   ============================================================ */

:root {
  --navy-950: #03081a;
  --navy-900: #060d21;
  --navy-800: #0a142e;
  --navy-700: #101d3f;
  --gold: #c9a15e;
  --gold-light: #e8cf9a;
  --gold-deep: #a07c3e;
  --text: #f2f0ea;
  --text-dim: #9aa3b8;
  --line: rgba(201, 161, 94, 0.22);
  --hairline: rgba(154, 163, 184, 0.16);
  --font-display: 'Cormorant Garamond', 'Times New Roman', serif;
  --font-word: 'Marcellus', 'Cormorant Garamond', serif;
  --font-sans: 'Jost', 'Century Gothic', -apple-system, 'Segoe UI', sans-serif;
  --ease-lux: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 88px;
}

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

html { scroll-behavior: smooth; }

html, body { max-width: 100%; overflow-x: clip; }

body {
  background: var(--navy-900);
  color: var(--text);
  font-family: var(--font-sans);
  font-weight: 300;
  line-height: 1.8;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
}

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

.container {
  width: min(1280px, calc(100% - 56px));
  margin-inline: auto;
}

::selection { background: var(--gold); color: var(--navy-950); }

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar { width: 9px; }
::-webkit-scrollbar-track { background: var(--navy-950); }
::-webkit-scrollbar-thumb { background: #22315c; border-radius: 6px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold-deep); }

/* ============================================================
   Preloader
   ============================================================ */
.preloader {
  position: fixed; inset: 0; z-index: 1000;
  background: var(--navy-950);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 30px;
  transition: opacity 0.9s var(--ease-lux), visibility 0.9s;
}
.preloader.is-done { opacity: 0; visibility: hidden; }
.preloader__word {
  font-family: var(--font-word);
  font-size: 30px;
  font-weight: 700;
  letter-spacing: 0.42em;
  padding-left: 0.42em; /* optically re-centre tracked text */
  background: linear-gradient(120deg, var(--gold-deep), var(--gold) 45%, var(--gold-light) 75%, var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 0.9px var(--gold);
  paint-order: stroke fill;
  animation: pulse 1.8s ease-in-out infinite;
}
.preloader__bar {
  width: 180px; height: 1px;
  background: rgba(201, 161, 94, 0.18);
  overflow: hidden;
}
.preloader__bar span {
  display: block; height: 100%; width: 40%;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  animation: loadbar 1.2s linear infinite;
}
@keyframes loadbar {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(350%); }
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* ============================================================
   Shared components
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 10px;
  padding: 15px 36px;
  font-family: var(--font-sans);
  font-size: 12.5px; font-weight: 500;
  letter-spacing: 0.32em; text-transform: uppercase;
  border: 1px solid transparent;
  position: relative; overflow: hidden;
  transition: filter 0.5s var(--ease-lux), box-shadow 0.5s var(--ease-lux),
              border-color 0.5s var(--ease-lux), color 0.5s var(--ease-lux),
              background-color 0.5s var(--ease-lux);
  white-space: nowrap;
}
.btn--lg { padding: 19px 52px; }
.btn--block { width: 100%; }

.btn--gold {
  background: linear-gradient(135deg, var(--gold-deep), var(--gold) 55%, var(--gold-light));
  color: var(--navy-950);
  box-shadow: 0 8px 30px rgba(201, 161, 94, 0.22);
}
.btn--gold:hover {
  filter: brightness(1.14);
  box-shadow: 0 14px 46px rgba(201, 161, 94, 0.4);
}

.btn--ghost {
  border-color: rgba(242, 240, 234, 0.28);
  color: var(--text);
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(6px);
}
.btn--ghost:hover {
  border-color: var(--gold);
  color: var(--gold-light);
  filter: brightness(1.18);
  box-shadow: inset 0 0 0 1px rgba(201, 161, 94, 0.25), 0 10px 36px rgba(0, 0, 0, 0.4);
}

.text-gold {
  background: linear-gradient(120deg, var(--gold-deep), var(--gold) 45%, var(--gold-light) 75%, var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ---------- Sections ---------- */
.section { padding: 160px 0; position: relative; }
.section--dark { background: linear-gradient(180deg, var(--navy-950), var(--navy-800) 50%, var(--navy-950)); }

.section__head { max-width: 720px; margin-bottom: 84px; }
.section__head--center { margin-inline: auto; text-align: center; }
.section__eyebrow {
  font-family: var(--font-sans);
  font-size: 12px; font-weight: 500;
  letter-spacing: 0.55em; text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 26px;
  display: flex; align-items: center; gap: 16px;
}
.section__head--center .section__eyebrow { justify-content: center; }
.section__eyebrow::before,
.section__head--center .section__eyebrow::after {
  content: '';
  width: 44px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
}
.section__eyebrow::after { background: linear-gradient(90deg, var(--gold), transparent); }
.section__head:not(.section__head--center) .section__eyebrow::after { display: none; }

.section__title {
  font-family: var(--font-display);
  font-size: clamp(40px, 4.8vw, 62px);
  font-weight: 500;
  line-height: 1.16;
  letter-spacing: 0.015em;
}
.section__title em {
  font-style: italic;
  font-weight: 400;
  color: var(--gold-light);
}
.section__desc {
  margin-top: 24px;
  color: var(--text-dim);
  font-size: 15.5px;
  font-weight: 300;
  letter-spacing: 0.04em;
}

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(44px);
  transition: opacity 1s var(--ease-lux), transform 1s var(--ease-lux);
}
.reveal[data-delay="1"] { transition-delay: 0.12s; }
.reveal[data-delay="2"] { transition-delay: 0.24s; }
.reveal[data-delay="3"] { transition-delay: 0.36s; }
.reveal[data-delay="4"] { transition-delay: 0.48s; }
.reveal[data-delay="5"] { transition-delay: 0.6s; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ============================================================
   Header — minimal artistic mark + bold editorial nav
   ============================================================ */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  height: var(--header-h);
  transition: background 0.5s var(--ease-lux), box-shadow 0.5s, height 0.45s;
}
.header.is-scrolled {
  height: 68px;
  background: rgba(6, 13, 33, 0.88);
  backdrop-filter: blur(18px);
  box-shadow: 0 1px 0 var(--line), 0 14px 44px rgba(0, 0, 0, 0.5);
}
.header__inner {
  height: 100%;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
}

/* Logo — gold bold wordmark, absolute stillness */
.logo { display: inline-flex; align-items: center; cursor: pointer; }
.logo__word {
  font-family: var(--font-word);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: 0.34em;
  background: linear-gradient(120deg, var(--gold-deep), var(--gold) 45%, var(--gold-light) 75%, var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 0.9px var(--gold);
  paint-order: stroke fill;
  transition: filter 0.4s var(--ease-lux);
}
.logo:hover .logo__word { filter: brightness(1.18); }

/* Navigation — bold, widely-tracked uppercase */
.nav { display: flex; gap: 44px; }
.nav__link { white-space: nowrap; }
.nav__link {
  font-family: var(--font-sans);
  font-size: 12.5px; font-weight: 600;
  letter-spacing: 0.3em; text-transform: uppercase;
  color: rgba(242, 240, 234, 0.66);
  position: relative;
  padding: 8px 0;
  transition: color 0.35s var(--ease-lux);
}
.nav__link::after {
  content: '';
  position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.5s var(--ease-lux);
}
.nav__link:hover, .nav__link.is-active { color: var(--gold-light); }
.nav__link:hover::after, .nav__link.is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.burger {
  display: none;
  flex-direction: column; gap: 6px;
  padding: 8px;
  z-index: 950;
}
.burger span {
  width: 26px; height: 1.5px;
  background: var(--text);
  transition: all 0.4s var(--ease-lux);
}
.burger.is-open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); background: var(--gold); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); background: var(--gold); }

/* ============================================================
   Hero
   ============================================================ */
.hero {
  min-height: 100vh;
  display: flex; align-items: center;
  position: relative;
  padding: calc(var(--header-h) + 40px) 0 100px;
  overflow: hidden;
}
.hero__bg {
  position: absolute; inset: 0;
  background: url('../img/hero-bg.png') center right 30% / cover no-repeat;
  transform: scale(1.1);
  animation: heroZoom 16s var(--ease-lux) forwards;
  will-change: transform;
}
@keyframes heroZoom { to { transform: scale(1); } }
.hero__overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, var(--navy-950) 6%, rgba(3, 8, 26, 0.84) 36%, rgba(3, 8, 26, 0.28) 66%, rgba(3, 8, 26, 0.58) 100%),
    linear-gradient(0deg, var(--navy-900) 2%, transparent 30%);
}
.hero__content { position: relative; z-index: 2; }

.hero__eyebrow {
  font-size: 12px; font-weight: 500;
  letter-spacing: 0.58em; text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 36px;
  display: flex; align-items: center; gap: 18px;
}
.hero__eyebrow::before {
  content: '';
  width: 64px; height: 1px;
  background: var(--gold);
}
.hero__title {
  font-family: var(--font-display);
  font-size: clamp(48px, 6.8vw, 88px);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: 0.01em;
  text-shadow: 0 8px 48px rgba(0, 0, 0, 0.65);
}
.hero__sub {
  margin-top: 34px;
  font-size: clamp(15px, 1.35vw, 17px);
  font-weight: 300;
  color: rgba(242, 240, 234, 0.8);
  line-height: 2.05;
  letter-spacing: 0.05em;
}
.hero__actions { margin-top: 56px; display: flex; gap: 20px; flex-wrap: wrap; }

.hero__stats {
  margin-top: 100px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: 880px;
  border-top: 1px solid var(--line);
  padding-top: 42px;
  gap: 28px;
}
.stat__num {
  font-family: var(--font-display);
  font-size: clamp(38px, 3.5vw, 52px);
  font-weight: 500;
  color: var(--gold-light);
  line-height: 1.05;
  font-variant-numeric: lining-nums;
}
.stat__label {
  margin-top: 10px;
  font-size: 11.5px; font-weight: 400;
  color: var(--text-dim);
  letter-spacing: 0.22em; text-transform: uppercase;
}

/* ============================================================
   About — The Maison (gallery-framed artwork)
   ============================================================ */
.about__grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 92px;
  align-items: start;
}
.about__media {
  position: relative;
  background: var(--navy-950);
  padding: 16px;
  border: 1px solid var(--line);
  box-shadow:
    inset 0 0 0 1px rgba(201, 161, 94, 0.1),
    0 36px 90px rgba(0, 0, 0, 0.6);
}
.about__media::after {
  content: '';
  position: absolute; inset: 16px;
  border: 1px solid rgba(201, 161, 94, 0.28);
  pointer-events: none;
}
.about__media img {
  width: 100%; height: 560px;
  object-fit: cover;
  filter: saturate(0.92) brightness(0.96);
  transition: filter 0.8s var(--ease-lux);
}
.about__media:hover img { filter: saturate(1) brightness(1.1); }
.about__media-badge {
  position: absolute; left: -2px; bottom: 44px;
  z-index: 2;
  background: linear-gradient(135deg, var(--gold-deep), var(--gold));
  color: var(--navy-950);
  padding: 20px 32px;
  display: flex; flex-direction: column;
  box-shadow: 0 20px 54px rgba(201, 161, 94, 0.35);
}
.about__media-badge strong {
  font-family: var(--font-display);
  font-size: 27px; font-weight: 600;
  letter-spacing: 0.08em;
}
.about__media-badge span {
  font-size: 10.5px; font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase;
}

.about__lead {
  font-family: var(--font-display);
  font-size: clamp(24px, 2.3vw, 30px);
  font-weight: 500;
  line-height: 1.6;
  color: var(--gold-light);
}
.about__text {
  margin-top: 30px;
  color: var(--text-dim);
  font-size: 15.5px;
  line-height: 2.05;
  letter-spacing: 0.03em;
}
.about__points { margin-top: 56px; display: flex; flex-direction: column; }
.about__points li {
  display: flex; gap: 30px;
  padding: 32px 0;
  border-top: 1px solid var(--hairline);
}
.about__points li:last-child { border-bottom: 1px solid var(--hairline); }
.about__point-num {
  font-family: var(--font-display);
  font-size: 26px;
  color: var(--gold);
  line-height: 1.5;
}
.about__points h3 {
  font-family: var(--font-display);
  font-size: 22px; font-weight: 600;
  letter-spacing: 0.03em;
  margin-bottom: 8px;
}
.about__points p { font-size: 14px; color: var(--text-dim); line-height: 1.95; }

/* ============================================================
   Collections — works in a gallery
   ============================================================ */
.categories__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}
.cat-card {
  background: var(--navy-950);
  border: 1px solid var(--hairline);
  overflow: hidden;
  position: relative;
  transition: border-color 0.6s var(--ease-lux), box-shadow 0.6s var(--ease-lux);
}
.cat-card:hover {
  border-color: var(--line);
  box-shadow: 0 0 0 1px rgba(201, 161, 94, 0.16), 0 30px 70px rgba(0, 0, 0, 0.55);
}
.cat-card__media {
  margin: 14px 14px 0;
  height: 262px;
  overflow: hidden;
  position: relative;
}
.cat-card__media::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 58%, rgba(3, 8, 26, 0.72));
  pointer-events: none;
}
.cat-card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(0.92) brightness(0.94);
  transition: filter 0.8s var(--ease-lux);
}
.cat-card:hover .cat-card__media img {
  filter: saturate(1.02) brightness(1.12);
}
.cat-card__body {
  padding: 30px 28px 36px;
  position: relative;
  border-top: 1px solid rgba(201, 161, 94, 0.14);
  margin-top: 14px;
}
.cat-card__index {
  position: absolute; top: -30px; right: 24px;
  font-family: var(--font-display);
  font-size: 54px; font-weight: 500;
  color: transparent;
  -webkit-text-stroke: 1px rgba(201, 161, 94, 0.6);
  line-height: 1;
}
.cat-card__title {
  font-family: var(--font-display);
  font-size: 27px; font-weight: 600;
  letter-spacing: 0.02em;
  transition: color 0.5s var(--ease-lux);
}
.cat-card:hover .cat-card__title { color: var(--gold-light); }
.cat-card__en {
  font-size: 10.5px; font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 6px;
}
.cat-card__desc {
  margin-top: 16px;
  font-size: 13.5px;
  color: var(--text-dim);
  line-height: 1.95;
  letter-spacing: 0.02em;
}
.cat-card__more {
  display: inline-block;
  margin-top: 22px;
  font-size: 11.5px; font-weight: 500;
  letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--gold-light);
  opacity: 0;
  transition: opacity 0.5s var(--ease-lux);
}
.cat-card:hover .cat-card__more { opacity: 1; }

/* ============================================================
   Savoir-Faire
   ============================================================ */
.strengths__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.adv-card {
  padding: 52px 42px;
  background: linear-gradient(160deg, rgba(242, 240, 234, 0.03), rgba(242, 240, 234, 0.006));
  border: 1px solid var(--hairline);
  position: relative;
  overflow: hidden;
  transition: border-color 0.6s var(--ease-lux), background-color 0.6s var(--ease-lux),
              box-shadow 0.6s var(--ease-lux);
}
.adv-card::before {
  content: '';
  position: absolute; top: 0; left: 0;
  width: 100%; height: 2px;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s var(--ease-lux);
}
.adv-card:hover {
  border-color: var(--line);
  box-shadow: 0 26px 64px rgba(0, 0, 0, 0.5);
}
.adv-card:hover::before { transform: scaleX(1); }
.adv-card__icon {
  width: 62px; height: 62px;
  display: grid; place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--gold);
  margin-bottom: 32px;
  transition: color 0.5s var(--ease-lux), box-shadow 0.5s var(--ease-lux),
              border-color 0.5s var(--ease-lux);
}
.adv-card__icon svg { width: 26px; height: 26px; }
.adv-card:hover .adv-card__icon {
  color: var(--gold-light);
  border-color: var(--gold);
  box-shadow: 0 0 24px rgba(201, 161, 94, 0.28), inset 0 0 12px rgba(201, 161, 94, 0.12);
}
.adv-card h3 {
  font-family: var(--font-display);
  font-size: 24px; font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 14px;
  transition: color 0.5s var(--ease-lux);
}
.adv-card:hover h3 { color: var(--gold-light); }
.adv-card p { font-size: 14px; color: var(--text-dim); line-height: 2; letter-spacing: 0.02em; }

/* ============================================================
   Global Network
   ============================================================ */
.network__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 76px;
  align-items: center;
}
.network__list { display: flex; flex-direction: column; }
.network__list li {
  padding: 28px 0 28px 32px;
  border-left: 1px solid rgba(154, 163, 184, 0.18);
  position: relative;
  transition: border-color 0.45s;
}
.network__list li:hover { border-left-color: var(--gold); }
.network__list h4 {
  font-family: var(--font-display);
  font-size: 21px; font-weight: 600;
  letter-spacing: 0.03em;
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 8px;
}
.network__list p { font-size: 14px; color: var(--text-dim); line-height: 1.9; }
.dot {
  position: absolute; left: -5.5px; top: 38px;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(201, 161, 94, 0.18);
  animation: dotPulse 2.4s ease-in-out infinite;
}
@keyframes dotPulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(201, 161, 94, 0.22); }
  50% { box-shadow: 0 0 0 9px rgba(201, 161, 94, 0.05); }
}

.network__visual {
  position: relative;
  background: var(--navy-950);
  border: 1px solid var(--line);
  padding: 14px;
  box-shadow:
    inset 0 0 0 1px rgba(201, 161, 94, 0.1),
    0 34px 90px rgba(0, 0, 0, 0.6);
}
.network__visual::after {
  content: '';
  position: absolute; inset: 14px;
  border: 1px solid rgba(201, 161, 94, 0.24);
  pointer-events: none;
}
.network__visual img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
  filter: saturate(0.95) brightness(0.97);
  transition: filter 0.8s var(--ease-lux);
}
.network__visual:hover img { filter: saturate(1) brightness(1.08); }

/* ============================================================
   Process — six movements
   ============================================================ */
.process__line {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
}
.process__step {
  padding: 40px 26px;
  background: rgba(242, 240, 234, 0.02);
  border: 1px solid var(--hairline);
  position: relative;
  transition: border-color 0.55s var(--ease-lux), background-color 0.55s var(--ease-lux),
              box-shadow 0.55s var(--ease-lux);
}
.process__step::after {
  content: '→';
  position: absolute;
  top: 46px; right: -21px;
  color: var(--gold);
  font-size: 15px;
  z-index: 2;
  opacity: 0.65;
}
.process__step:last-child::after { display: none; }
.process__step:hover {
  border-color: var(--line);
  background: rgba(201, 161, 94, 0.05);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}
.process__num {
  font-family: var(--font-display);
  font-size: 42px; font-weight: 500;
  color: transparent;
  -webkit-text-stroke: 1px var(--gold);
  display: block;
  line-height: 1;
  margin-bottom: 26px;
}
.process__step h3 {
  font-family: var(--font-display);
  font-size: 20px; font-weight: 600;
  letter-spacing: 0.03em;
  margin-bottom: 12px;
}
.process__step p { font-size: 13px; color: var(--text-dim); line-height: 1.9; }

/* ============================================================
   CTA banner
   ============================================================ */
.cta {
  position: relative;
  padding: 180px 0;
  overflow: hidden;
  text-align: center;
}
.cta__bg {
  position: absolute; inset: 0;
  background: url('../img/about-port.png') center / cover no-repeat fixed;
}
.cta__bg::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(3, 8, 26, 0.95), rgba(6, 13, 33, 0.8) 50%, rgba(3, 8, 26, 0.95));
}
.cta__inner { position: relative; z-index: 2; }
.cta__title {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 500;
  line-height: 1.22;
  letter-spacing: 0.015em;
}
.cta__sub {
  margin: 30px auto 54px;
  max-width: 620px;
  color: rgba(242, 240, 234, 0.78);
  font-size: 15.5px;
  letter-spacing: 0.04em;
}

/* ============================================================
   Contact
   ============================================================ */
.contact__grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 84px;
  align-items: start;
}
.contact__item {
  padding: 30px 0;
  border-bottom: 1px solid var(--hairline);
}
.contact__item:first-child { padding-top: 0; }
.contact__item h4 {
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.42em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 12px;
}
.contact__item p, .contact__item a {
  font-family: var(--font-display);
  font-size: 23px;
  color: var(--text);
  transition: color 0.35s;
}
.contact__item a:hover { color: var(--gold-light); }

.contact__form {
  background: linear-gradient(160deg, rgba(242, 240, 234, 0.032), rgba(242, 240, 234, 0.006));
  border: 1px solid var(--hairline);
  padding: 56px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.form-field { margin-bottom: 28px; }
.form-field label {
  display: block;
  font-size: 11.5px; font-weight: 500;
  letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 12px;
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  background: rgba(3, 8, 26, 0.55);
  border: 1px solid rgba(154, 163, 184, 0.22);
  color: var(--text);
  font-family: inherit;
  font-size: 14.5px;
  letter-spacing: 0.03em;
  padding: 15px 18px;
  transition: border-color 0.4s, box-shadow 0.4s;
  outline: none;
  border-radius: 0;
}
.form-field select { appearance: none; cursor: pointer; }
.form-field textarea { resize: vertical; min-height: 120px; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 161, 94, 0.13);
}
.form-field input::placeholder,
.form-field textarea::placeholder { color: rgba(154, 163, 184, 0.45); }
.form-tip {
  margin-top: 18px;
  font-size: 13.5px;
  text-align: center;
  min-height: 20px;
  letter-spacing: 0.06em;
  color: var(--gold-light);
}
.form-tip.is-error { color: #e08f8f; }

/* ============================================================
   Footer
   ============================================================ */
.footer {
  position: relative;
  border-top: 1px solid var(--line);
  padding: 100px 0 60px;
  background:
    linear-gradient(180deg, rgba(3, 8, 26, 0.92), rgba(6, 13, 33, 0.84) 55%, rgba(3, 8, 26, 0.92)),
    url('../img/about-port.png') center / cover no-repeat fixed;
}
.footer__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px;
  padding-bottom: 76px;
}
.footer__col h5 {
  font-size: 11.5px; font-weight: 600;
  letter-spacing: 0.38em; text-transform: uppercase;
  color: var(--text);
  margin-bottom: 28px;
}
.footer__col a {
  display: block;
  font-size: 14px;
  color: var(--text-dim);
  padding: 7px 0;
  letter-spacing: 0.04em;
  transition: color 0.35s;
}
.footer__col a:hover { color: var(--gold-light); }

/* ============================================================
   Back to top
   ============================================================ */
.back-top {
  position: fixed;
  right: 30px; bottom: 30px;
  z-index: 800;
  width: 50px; height: 50px;
  display: grid; place-items: center;
  background: rgba(6, 13, 33, 0.8);
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--gold);
  backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: opacity 0.5s var(--ease-lux), visibility 0.5s, transform 0.5s var(--ease-lux),
              background-color 0.4s, color 0.4s;
}
.back-top svg { width: 19px; height: 19px; }
.back-top.is-show { opacity: 1; visibility: visible; transform: none; }
.back-top:hover { background: var(--gold); color: var(--navy-950); }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1080px) {
  .categories__grid { grid-template-columns: repeat(2, 1fr); }
  .strengths__grid { grid-template-columns: repeat(2, 1fr); }
  .process__line { grid-template-columns: repeat(3, 1fr); }
  .process__step::after { display: none; }
  .about__grid { grid-template-columns: 1fr; gap: 76px; }
  .about__media img { height: 440px; }
  .network__grid { grid-template-columns: 1fr; }
  .network__visual { max-width: 480px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .nav { gap: 26px; }
  .nav__link { letter-spacing: 0.18em; font-size: 12px; }
}

@media (max-width: 768px) {
  :root { --header-h: 72px; }
  .section { padding: 104px 0; }
  .burger { display: flex; }
  .nav {
    position: fixed; inset: 0;
    background: rgba(3, 8, 26, 0.97);
    backdrop-filter: blur(22px);
    flex-direction: column;
    align-items: center; justify-content: center;
    gap: 42px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s var(--ease-lux);
    z-index: 940;
  }
  .nav.is-open { opacity: 1; visibility: visible; }
  .nav__link { font-size: 16px; letter-spacing: 0.34em; }

  .hero__stats { grid-template-columns: repeat(2, 1fr); margin-top: 70px; }
  .hero__actions .btn { width: 100%; }
  .br-pc { display: none; }

  .categories__grid { grid-template-columns: 1fr; }
  .strengths__grid { grid-template-columns: 1fr; }
  .process__line { grid-template-columns: 1fr; }
  .contact__grid { grid-template-columns: 1fr; gap: 60px; }
  .contact__form { padding: 36px 26px; }
  .form-row { grid-template-columns: 1fr; }
  .about__media-badge { left: 10px; bottom: 22px; }
  .cta { padding: 116px 0; }
  .cta__bg { background-attachment: scroll; }
  .footer__grid { grid-template-columns: 1fr; gap: 48px; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
