/* BSA-BSL — site styles. Typography per client spec: Cormorant Garamond (headings) + Montserrat (everything else). */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,500;0,600;1,500&family=Montserrat:wght@400;500;600;700&display=swap');

:root {
  --gold: #C6A15B;
  --gold-light: #E2C68D;
  --cream: #F7F5F0;
  --text-muted: #8a97a3;
  --radius: 4px;
  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', Times, serif;
  --sans: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
}

html[data-theme="ru"] {
  --bg: #0A2619;
  --bg-deep: #061a11;
  --panel: #0e2f20;
  --panel-2: #123826;
  --text: #F7F5F0;
  --gold: #C6A15B;
  --gold-light: #E2C68D;
  --hero-img: url('assets/img/hero-ship.jpg');
}

html[data-theme="en"] {
  --bg: #102C45;
  --bg-deep: #071C30;
  --panel: #12304a;
  --panel-2: #163752;
  --text: #F7F5F0;
  --gold: #C6A15B;
  --gold-light: #E2C68D;
  --hero-img: url('assets/img/hero-ship.jpg');
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { max-width: 1400px; margin: 0 auto; padding: 0 48px; }

h1, h2, h3 { font-family: var(--serif); font-weight: 600; margin: 0 0 .5em; letter-spacing: 0; }
h1 { font-size: 56px; }
h2 { font-size: 40px; }
h3 { font-size: 28px; font-weight: 500; }
.eyebrow {
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 13px;
  font-family: var(--sans);
  font-weight: 500;
  color: var(--gold);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: linear-gradient(180deg, var(--bg-deep) 0%, rgba(5,15,10,.94) 100%);
  border-bottom: 1px solid rgba(198,161,91,.25);
  backdrop-filter: blur(6px);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  height: 80px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 40px; width: auto; }
.brand-name { font-family: var(--serif); font-weight: 600; font-size: 23px; letter-spacing: .02em; color: var(--gold-light); }
.brand-tag { display: block; font-family: var(--sans); font-size: 9px; letter-spacing: .14em; color: var(--text-muted); text-transform: uppercase; }

.main-nav { display: flex; align-items: center; gap: 32px; }
.main-nav a {
  font-family: var(--sans); font-weight: 500; font-size: 13px;
  letter-spacing: .1em; text-transform: uppercase; color: var(--cream);
  opacity: .88; padding: 4px 0; border-bottom: 1px solid transparent;
  transition: opacity .2s, border-color .2s;
}
.main-nav a:hover, .main-nav a.active { opacity: 1; border-color: var(--gold); color: var(--gold-light); }

.header-actions { display: flex; align-items: center; gap: 18px; }
.lang-switch { display: flex; gap: 6px; font-family: var(--sans); font-size: 12px; font-weight: 500; letter-spacing: .05em; }
.lang-switch a { padding: 4px 8px; border: 1px solid rgba(198,161,91,.4); border-radius: var(--radius); opacity: .7; }
.lang-switch a.active { opacity: 1; background: rgba(198,161,91,.15); border-color: var(--gold); color: var(--gold-light); }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--sans); font-weight: 600; font-size: 14px; letter-spacing: .02em;
  height: 50px; padding: 0 28px; border-radius: var(--radius);
  transition: background-color .22s ease, border-color .22s ease, color .22s ease;
}
.btn-gold { background: var(--gold); color: var(--bg-deep); border: 1px solid var(--gold); }
.btn-gold:hover { background: var(--gold-light); border-color: var(--gold-light); }
.btn-outline { background: transparent; border: 1px solid var(--gold); color: var(--cream); }
.btn-outline:hover { background: rgba(198,161,91,.14); }

.nav-toggle { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: 150px 0 110px;
  min-height: 580px;
  display: flex; align-items: center;
  background: var(--bg-deep);
}
.hero-photo {
  position: absolute; inset: 0;
  background-image: linear-gradient(90deg, rgba(3,10,6,.82) 0%, rgba(3,10,6,.6) 22%, rgba(3,10,6,.22) 38%, transparent 50%), var(--hero-img);
  background-size: cover, cover;
  background-position: left, 55% 40%;
}

.hero .container { max-width: none; margin: 0; padding-left: 80px; padding-right: 80px; }
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr; gap: 50px; align-items: center; }
.hero-grid > div:first-child { max-width: 620px; }
.hero h1 { font-family: var(--serif); font-weight: 600; font-size: 58px; color: var(--cream); margin-top: .3em; line-height: 1.1; }
.hero p.lead { font-family: var(--sans); font-weight: 400; font-size: 17px; color: var(--cream); opacity: .85; max-width: 480px; margin: 0 0 34px; }
.hero-cta { display: flex; gap: 18px; align-items: center; }

.hero-art { display: none; }

/* ---------- Value props ---------- */
.values { padding: 56px 0; background: var(--panel); border-top: 1px solid rgba(198,161,91,.15); border-bottom: 1px solid rgba(198,161,91,.15); }
.values .container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.value-item { display: flex; align-items: center; gap: 14px; }
.value-item svg { width: 30px; height: 30px; flex: none; color: var(--gold); transition: transform .28s ease; }
.value-item:hover svg { transform: scale(1.18) rotate(-6deg); }
.value-item span { font-family: var(--sans); font-weight: 500; font-size: 14px; letter-spacing: .01em; color: var(--text); }

/* ---------- Generic section ---------- */
.section { padding: 90px 0; }
.section-head { max-width: 640px; margin: 0 auto 50px; text-align: center; }
.section-head h2 { font-size: 40px; color: var(--cream); }
.section-head p { font-family: var(--sans); color: var(--cream); opacity: .75; font-size: 16px; }
.section-alt { background: var(--panel); }
.section p, .card p, .step p { font-family: var(--sans); font-weight: 400; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; align-items: center; }

.card {
  background: var(--panel-2); border: 1px solid rgba(198,161,91,.18);
  border-radius: var(--radius); padding: 30px 26px;
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}
.card:hover { transform: translateY(-6px); border-color: var(--gold); box-shadow: 0 16px 34px rgba(0,0,0,.28); }
.card .icon { width: 36px; height: 36px; color: var(--gold); margin-bottom: 16px; transition: transform .28s ease; }
.card:hover .icon { transform: scale(1.15) rotate(-4deg); }
.card h3 { font-size: 20px; color: var(--gold-light); margin-bottom: 10px; }
.card p { font-size: 15px; color: var(--cream); opacity: .75; margin: 0; }

.divider-rule { width: 60px; height: 1px; background: var(--gold); margin: 0 auto 18px; opacity: .6; }

.stat-row { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; text-align: center; margin-top: 50px; }
.stat-row .num { font-family: var(--serif); font-weight: 600; font-size: 32px; color: var(--gold-light); }
.stat-row .label { font-family: var(--sans); font-size: 12px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--cream); opacity: .65; margin-top: 4px; }

.about-media {
  aspect-ratio: 4/3; border-radius: var(--radius); overflow: hidden;
  background: linear-gradient(135deg, var(--panel-2), var(--bg-deep));
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(198,161,91,.18);
}
.about-media svg { width: 65%; }

.logistics-steps { counter-reset: step; }
.logistics-steps .step { display: flex; gap: 20px; padding: 22px 0; border-top: 1px solid rgba(198,161,91,.15); transition: padding-left .25s ease; }
.logistics-steps .step:first-child { border-top: none; }
.logistics-steps .step:hover { padding-left: 10px; }
.logistics-steps .step-num {
  font-family: var(--serif); font-weight: 600; font-size: 24px; color: var(--gold);
  width: 44px; flex: none; transition: color .25s ease;
}
.logistics-steps .step:hover .step-num { color: var(--gold-light); }
.logistics-steps .step h3 { font-size: 18px; color: var(--cream); margin-bottom: 4px; }
.logistics-steps .step p { font-size: 15px; color: var(--cream); opacity: .75; margin: 0; }

.partners-box {
  text-align: center; padding: 50px 40px; border: 1px dashed rgba(198,161,91,.4);
  border-radius: var(--radius); background: var(--panel-2);
}
.partners-box h3 { font-family: var(--serif); font-weight: 600; }
.partners-box p { font-family: var(--sans); color: var(--cream); opacity: .75; max-width: 560px; margin: 14px auto 0; font-size: 16px; }

/* ---------- Contacts ---------- */
.contact-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 50px; }
.contact-list { list-style: none; margin: 30px 0 0; padding: 0; display: flex; flex-direction: column; gap: 20px; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; }
.contact-list svg { width: 22px; height: 22px; color: var(--gold); flex: none; margin-top: 2px; }
.contact-list .label { font-family: var(--sans); font-size: 12px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--cream); opacity: .6; margin-bottom: 2px; }
.contact-list .val { font-family: var(--sans); font-size: 16px; color: var(--cream); }
.contact-list .val a:hover { color: var(--gold-light); }

.contact-form { display: flex; flex-direction: column; gap: 14px; background: var(--panel-2); padding: 34px; border-radius: var(--radius); border: 1px solid rgba(198,161,91,.18); }
.contact-form input, .contact-form textarea {
  width: 100%; background: var(--bg-deep); border: 1px solid rgba(198,161,91,.25);
  border-radius: var(--radius); padding: 12px 14px; color: var(--text); font-family: var(--sans); font-size: 14px;
}
.contact-form textarea { min-height: 110px; resize: vertical; }
.contact-form label { font-family: var(--sans); font-size: 12px; font-weight: 500; letter-spacing: .05em; color: var(--cream); opacity: .65; text-transform: uppercase; }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-deep); padding: 50px 0 28px; border-top: 1px solid rgba(198,161,91,.2); }
.footer-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; flex-wrap: wrap; padding-bottom: 30px; }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand img { height: 34px; }
.footer-brand-name { font-family: var(--serif); font-weight: 600; font-size: 18px; color: var(--gold-light); }
.footer-cols { display: flex; gap: 60px; flex-wrap: wrap; }
.footer-col h4 { font-family: var(--sans); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); margin: 0 0 12px; font-weight: 600; }
.footer-col a, .footer-col span { font-family: var(--sans); display: block; font-size: 13px; color: var(--cream); opacity: .7; margin-bottom: 8px; }
.footer-legal { font-family: var(--sans); border-top: 1px solid rgba(198,161,91,.15); padding-top: 22px; font-size: 12px; color: var(--cream); opacity: .6; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 38px; }
  .hero .container { padding-left: 24px; padding-right: 24px; }
  .values .container { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .main-nav, .lang-switch-desktop { display: none; }
  .stat-row { grid-template-columns: repeat(2,1fr); }
  h1 { font-size: 36px; }
  h2 { font-size: 30px; }
  h3 { font-size: 22px; }
}
