/* ═══════════════════════════════════════════════════════════
   PASTOR · Operaciones — hoja de estilo compartida
   Tokens y cromo heredados de transportespastor.es (deploy v105)
   ═══════════════════════════════════════════════════════════ */

:root {
  --navy: #0B1D3A;
  --navy-2: #0A182D;
  --navy-3: #060F1F;
  --amber: #D4A854;
  --amber-2: #B78D3E;
  --bone: #F3ECDF;
  --bone-2: #E7DEC9;
  --rust: #C4572A;
  --ink: #0B1D3A;
  --sans: "Archivo", -apple-system, system-ui, sans-serif;
  --display: "Space Grotesk", -apple-system, system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  padding: 0;
  background: var(--bone);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
em { font-style: italic; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ═══════════ UTILITIES ═══════════ */
.container { max-width: 1320px; margin: 0 auto; padding: 0 40px; }
.mono { font-family: var(--mono); font-feature-settings: "tnum" 1; }
.caps { text-transform: uppercase; letter-spacing: 0.18em; }
.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--rust);
  margin-bottom: 20px;
  display: inline-block;
}
.eyebrow-amber { color: var(--amber); }

/* ═══════════ HEADER / NAV ═══════════ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(11, 29, 58, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(243, 236, 223, 0.08);
  transition: background 0.3s ease;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  padding-bottom: 18px;
}
.logo { display: flex; align-items: center; gap: 14px; color: var(--bone); }
.logo-svg { width: 32px; height: 32px; flex-shrink: 0; }
.logo-text {
  font-family: var(--display);
  font-weight: 500;
  font-size: 20px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--bone);
}
.logo-sub {
  white-space: nowrap;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--amber);
  display: block;
  margin-top: 2px;
}
.nav {
  display: flex;
  align-items: center;
  gap: 32px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.nav a { white-space: nowrap; color: rgba(243, 236, 223, 0.7); transition: color 0.2s; position: relative; padding: 8px 0; }
.nav a:hover, .nav a.active { color: var(--amber); }
.header-right { display: flex; align-items: center; gap: 24px; }
.lang-switch {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--amber);
  display: flex;
  gap: 6px;
}
.lang-switch button {
  color: var(--amber);
  font-family: inherit; font-size: inherit; letter-spacing: inherit;
  text-transform: uppercase;
  padding: 4px 6px;
  transition: color 0.2s;
}
.lang-switch button.active { color: var(--amber); font-weight: 600; }
.lang-switch button:hover { color: var(--bone); }
.lang-sep { opacity: 0.4; }

.btn {
  display: inline-block;
  padding: 14px 24px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  transition: all 0.2s;
  cursor: pointer;
  border: 1px solid transparent;
}
.btn-primary { background: var(--amber); color: var(--navy); }
.btn-primary:hover { background: var(--bone); }
.btn-ghost { background: transparent; color: var(--bone); border-color: rgba(243, 236, 223, 0.3); }
.btn-ghost:hover { border-color: var(--amber); color: var(--amber); }
.btn-dark { background: var(--navy); color: var(--bone); }
.btn-dark:hover { background: var(--navy-2); }
.nav-toggle { display: none; color: var(--bone); font-size: 22px; }

/* ═══════════ SECTIONS ═══════════ */
section { padding: 120px 0; position: relative; }
.section-title {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(48px, 6vw, 96px);
  line-height: 0.95;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  margin: 0;
}
.section-title .amber { color: var(--amber); font-style: italic; font-weight: 400; }
.section-title .rust { color: var(--rust); font-style: italic; font-weight: 400; }
.section-intro {
  font-family: var(--display);
  font-weight: 400;
  font-size: 20px;
  line-height: 1.5;
  color: rgba(11, 29, 58, 0.75);
  max-width: 540px;
}

/* Route divider band */
.route-divider-band { padding: 72px 0; }
.route-divider-band.dark { background: var(--navy-2); }
.route-divider-band.light { background: var(--bone); }
.route-divider {
  display: flex; align-items: center; gap: 12px;
  max-width: 1320px; margin: 0 auto; padding: 0 40px; box-sizing: border-box;
}
.route-divider .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--amber); flex-shrink: 0; }
.route-divider .line { flex: 1; height: 1px; background: var(--amber); opacity: 0.6; }
.route-divider .label {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.3em;
  text-transform: uppercase; color: var(--amber);
}
.route-divider-band.light .dot, .route-divider-band.light .line { background: var(--rust); }
.route-divider-band.light .label { color: var(--rust); }

/* ═══════════ STRIPED PLACEHOLDER (imagery) ═══════════ */
.ph {
  position: relative;
  background-color: var(--navy-2);
  background-image: repeating-linear-gradient(
    -45deg,
    rgba(243, 236, 223, 0.05) 0,
    rgba(243, 236, 223, 0.05) 1px,
    transparent 1px,
    transparent 11px
  );
  border: 1px solid rgba(243, 236, 223, 0.12);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
  color: var(--amber);
  overflow: hidden;
}
.ph .ph-tag {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--amber);
}
.ph .ph-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: rgba(243, 236, 223, 0.6);
  max-width: 80%;
  line-height: 1.5;
}
.ph .ph-dim {
  position: absolute;
  bottom: 12px; right: 14px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.18em;
  color: rgba(243, 236, 223, 0.4);
}
.ph.light {
  background-color: var(--bone-2);
  background-image: repeating-linear-gradient(
    -45deg,
    rgba(11, 29, 58, 0.05) 0,
    rgba(11, 29, 58, 0.05) 1px,
    transparent 1px,
    transparent 11px
  );
  border-color: rgba(11, 29, 58, 0.14);
}
.ph.light .ph-label { color: rgba(11, 29, 58, 0.6); }
.ph.light .ph-dim { color: rgba(11, 29, 58, 0.4); }

/* ═══════════ FOOTER ═══════════ */
.footer { background: var(--navy-3); color: var(--bone); padding: 80px 0 40px; }
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  margin-bottom: 32px;
  border-bottom: 1px solid rgba(243, 236, 223, 0.1);
}
.footer-brand .logo { margin-bottom: 20px; }
.footer-brand p {
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.7;
  color: rgba(243, 236, 223, 0.6);
  max-width: 320px;
  margin: 0;
}
.footer-col h5 {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--amber);
  margin: 0 0 18px;
  font-weight: 500;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; font-size: 14px; line-height: 2; }
.footer-col a { color: rgba(243, 236, 223, 0.65); transition: color 0.2s; }
.footer-col a:hover { color: var(--amber); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: rgba(243, 236, 223, 0.5);
}
.footer-bottom .tag { color: var(--amber); }

/* ═══════════ RESPONSIVE (shared) ═══════════ */
@media (max-width: 980px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 720px) {
  .container { padding: 0 22px; }
  section { padding: 80px 0; }
  .nav { display: none; }
  .nav-toggle { display: block; }
  .header-right .btn { display: none; }
  .route-divider { padding: 0 22px; }
  .footer-top { grid-template-columns: 1fr; }
  .logo-text { font-size: 18px; }
}


/* ═══ Операції: спільні компоненти карток + CTA (перенесено з inline хаба) ═══
/* ═══════════ HUB · cards ═══════════ */
  .ops-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
.op-card {
    display: flex;
    flex-direction: column;
    background: var(--navy);
    border: 1px solid rgba(243, 236, 223, 0.1);
    transition: border-color 0.25s, transform 0.25s;
    overflow: hidden;
  }
.op-card:hover { border-color: rgba(212, 168, 84, 0.45); transform: translateY(-3px); }
.op-card.hidden { display: none; }
.op-thumb { aspect-ratio: 4 / 3; width: 100%; }
.op-thumb .ph-tag { font-size: 9px; }
.op-body { padding: 28px 28px 30px; display: flex; flex-direction: column; flex: 1; }
.op-card-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
  }
.op-card-num { font-family: var(--mono); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--amber); }
.op-card-year { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; color: rgba(243, 236, 223, 0.5); }
.op-industry {
    font-family: var(--mono);
    font-size: 9px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(243, 236, 223, 0.55);
    border: 1px solid rgba(243, 236, 223, 0.18);
    padding: 4px 9px;
    align-self: flex-start;
    margin-bottom: 16px;
  }
.op-card h3 {
    font-family: var(--display);
    font-weight: 500;
    font-size: 25px;
    line-height: 1.12;
    letter-spacing: -0.015em;
    margin: 0 0 12px;
    color: var(--bone);
  }
.op-card p {
    font-family: var(--sans);
    font-size: 14px;
    line-height: 1.6;
    color: rgba(243, 236, 223, 0.65);
    margin: 0 0 24px;
  }
/* ═══════════ HUB · CTA ═══════════ */
  .ops-cta { background: var(--bone); color: var(--ink); text-align: center; }
.ops-cta h2 {
    font-family: var(--display); font-weight: 500;
    font-size: clamp(36px, 4.5vw, 64px); line-height: 1; letter-spacing: -0.03em;
    text-transform: uppercase; margin: 0 0 20px;
  }
.ops-cta h2 .rust { color: var(--rust); font-style: italic; font-weight: 400; }
.ops-cta p { font-family: var(--display); font-size: 19px; color: rgba(11,29,58,0.7); max-width: 480px; margin: 0 auto 36px; }

@media (max-width: 980px) {
    .ops-grid { grid-template-columns: repeat(2, 1fr); }
    .ops-hero-grid { grid-template-columns: 1fr; gap: 48px; }
    .ops-hero .coord { display: none; }
  }
@media (max-width: 640px) {
    .ops-grid { grid-template-columns: 1fr; }
    .ops-hero { padding: 140px 0 72px; }
  }


/* ═══ Брендова фото-заглушка ═══ */
.op-ph{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;background:var(--navy-2);border:1px solid rgba(212,168,84,.14);overflow:hidden;}
.op-ph::before{content:"";position:absolute;inset:0;background-image:repeating-linear-gradient(135deg,transparent 0 9px,rgba(243,236,223,.03) 9px 10px);pointer-events:none;}
.op-ph svg{width:54px;height:54px;position:relative;opacity:.92;}
.op-ph .op-ph-cap{position:relative;font-family:var(--mono);font-size:9px;letter-spacing:.26em;text-transform:uppercase;color:rgba(243,236,223,.42);}
.op-hero-photo.op-ph svg{width:76px;height:76px;}
