/* =========================================================
   VPN Maritime Group — shared styles
   ========================================================= */
:root {
  --navy:      #0b2751;
  --navy-deep: #081c3b;
  --charcoal:  #2a2a2d;
  --blue:      #0078a3;
  --cyan:      #009da7;
  --steel:     #939598;
  --gray-bg:   #f4f6f8;
  --gray-line: #e3e8ee;
  --ink:       #1c2733;
  --ink-soft:  #50616f;
  --white:     #ffffff;

  --maxw: 1180px;
  --radius: 14px;
  --shadow: 0 18px 50px rgba(11, 39, 81, 0.10);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.eyebrow {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 16px;
}
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; color: var(--navy); font-weight: 700; }
h2 { font-size: clamp(26px, 3.4vw, 38px); }
h3 { font-size: 18px; letter-spacing: -0.01em; }
p.lead { font-size: clamp(16px, 1.6vw, 18px); color: var(--ink-soft); max-width: 62ch; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 14px 26px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: transform .18s ease, background .18s ease, border-color .18s ease, color .18s ease, box-shadow .18s ease;
  white-space: nowrap;
}
.btn svg { width: 17px; height: 17px; flex: none; }
.btn-primary { background: var(--cyan); color: #fff; box-shadow: 0 10px 26px rgba(0,157,167,.28); }
.btn-primary:hover { background: var(--blue); transform: translateY(-2px); box-shadow: 0 14px 32px rgba(0,120,163,.34); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.btn-ghost:hover { background: rgba(255,255,255,.10); border-color: #fff; transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--gray-line); }
.btn-outline:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-2px); }

/* ---------- Header ---------- */
header.site {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.88);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--gray-line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }
.nav .logo img { height: 18px; width: auto; }
.nav ul { list-style: none; display: flex; align-items: center; gap: 28px; }
.nav ul a {
  font-size: 14.5px; font-weight: 500; color: var(--ink-soft);
  transition: color .18s ease; position: relative;
}
.nav ul a:hover { color: var(--navy); }
.nav ul a.active { color: var(--navy); font-weight: 600; }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-cta .btn { padding: 10px 20px; font-size: 14px; }
.burger { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.burger span { width: 22px; height: 2px; background: var(--navy); border-radius: 2px; transition: .25s; }

/* ---------- Home hero ---------- */
.hero {
  position: relative;
  background: var(--navy-deep);
  color: #fff; overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: url('header.webp') center right / cover no-repeat;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(8,28,59,.97) 0%, rgba(8,28,59,.86) 32%, rgba(8,28,59,.46) 62%, rgba(8,28,59,.12) 100%),
    linear-gradient(0deg, rgba(8,28,59,.55), transparent 42%);
}
.hero .container { position: relative; z-index: 1; padding-top: 110px; padding-bottom: 118px; }
.hero-copy { max-width: 620px; }
.hero .eyebrow { color: var(--cyan); }
.hero h1 { color: #fff; font-size: clamp(32px, 5vw, 56px); font-weight: 800; max-width: 16ch; }
.hero p { color: rgba(255,255,255,.78); font-size: clamp(16px, 1.7vw, 18.5px); max-width: 60ch; margin-top: 22px; }
.hero p.sub { color: rgba(255,255,255,.6); font-size: 15.5px; max-width: 58ch; margin-top: 14px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }
.hero-meta { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 10px 26px; font-size: 13.5px; color: rgba(255,255,255,.55); }
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); }

/* ---------- Subpage hero ---------- */
.page-hero { position: relative; background: var(--navy-deep); color: #fff; overflow: hidden; }
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background: var(--hero-bg, none) center / cover no-repeat;
}
.page-hero::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(8,28,59,.95) 0%, rgba(8,28,59,.82) 38%, rgba(8,28,59,.45) 70%, rgba(8,28,59,.22) 100%),
    linear-gradient(0deg, rgba(8,28,59,.45), transparent 45%);
}
.page-hero .container > * { max-width: 640px; }
.page-hero .container { position: relative; z-index: 1; padding: 90px 0 78px; }
.page-hero .eyebrow { color: var(--cyan); }
.page-hero h1 { color: #fff; font-size: clamp(30px, 4.4vw, 46px); font-weight: 800; max-width: 20ch; }
.page-hero p { color: rgba(255,255,255,.80); margin-top: 18px; max-width: 62ch; font-size: clamp(15px, 1.6vw, 17.5px); }

/* ---------- Sections ---------- */
section { padding: 92px 0; }
section.alt { background: var(--gray-bg); }
.sec-head { max-width: 64ch; margin-bottom: 48px; }

/* ---------- Card grids ---------- */
.grid { display: grid; gap: 18px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: #fff; border: 1px solid var(--gray-line); border-radius: var(--radius);
  padding: 26px 24px; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #d3dce6; }
.card .ico {
  width: 46px; height: 46px; border-radius: 11px; display: grid; place-items: center;
  background: rgba(0,120,163,.09); color: var(--blue); margin-bottom: 18px;
}
.card .ico svg { width: 24px; height: 24px; }
.ico-img { width: 58px; height: 58px; }
.ico-img img { width: 58px; height: 58px; object-fit: contain; }
.ico-box {
  width: 52px; height: 52px; border-radius: 12px;
  display: grid; place-items: center; background: rgba(0,120,163,.09);
}
.ico-box img { width: 30px; height: 30px; object-fit: contain; }
.card .ico-img, .card .ico-box { margin-bottom: 18px; }
.card h3 { margin-bottom: 8px; }
.card p { font-size: 14.5px; color: var(--ink-soft); }
.card p:last-child { margin-bottom: 0; }
section.alt .card { background: #fff; }

/* ---------- Split (text + aside) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split .copy p { color: var(--ink-soft); margin-top: 16px; max-width: 52ch; }

/* ---------- Steps / workflow ---------- */
.steps { display: flex; flex-direction: column; gap: 14px; }
.step {
  display: flex; gap: 16px; align-items: flex-start;
  background: #fff; border: 1px solid var(--gray-line); border-radius: 12px; padding: 18px 20px;
}
.step .n {
  flex: none; width: 34px; height: 34px; border-radius: 9px; background: var(--navy); color: #fff;
  display: grid; place-items: center; font-weight: 700; font-size: 14px;
}
.step h4 { font-size: 15.5px; color: var(--navy); font-weight: 600; margin-bottom: 3px; }
.step p { font-size: 13.5px; color: var(--ink-soft); line-height: 1.5; }

/* ---------- Benefits / priorities grid ---------- */
.benefits { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.benefit {
  background: #fff; border: 1px solid var(--gray-line); border-radius: 12px; padding: 22px 20px;
  display: flex; gap: 12px; align-items: flex-start; font-weight: 600; color: var(--navy); font-size: 15px; line-height: 1.35;
}
.benefit svg { width: 20px; height: 20px; color: var(--cyan); flex: none; margin-top: 1px; }

/* ---------- Service blocks (Services page) ---------- */
.service-block { padding: 46px 0; }
.service-block:first-child { padding-top: 0; }
.service-block:last-child { padding-bottom: 0; }
.service-block + .service-block { border-top: 1px solid var(--gray-line); }
.service-head { display: flex; gap: 18px; align-items: flex-start; margin-bottom: 24px; }
/* Align scope lists with the heading text (offset by icon width + gap), not the icon */
.service-block .scope-grid,
.service-block .scope.cols { margin-left: 76px; }
.service-head .ico-box, .service-head .ico-img { flex: none; }
.service-head h2 { font-size: 23px; }
.service-head .sub { color: var(--ink-soft); font-size: 15px; margin-top: 5px; max-width: 60ch; }
.scope-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.scope h4 { font-size: 12px; text-transform: uppercase; letter-spacing: .14em; color: var(--blue); margin-bottom: 14px; }
.scope ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.scope li { position: relative; padding-left: 20px; font-size: 14.5px; color: var(--ink); }
.scope li::before { content: ""; position: absolute; left: 0; top: 8px; width: 7px; height: 7px; border-radius: 2px; background: var(--cyan); }
.scope.cols ul { column-count: 2; column-gap: 34px; }
.scope.cols li { break-inside: avoid; }

/* ---------- Tags (expertise list) ---------- */
.tags { display: flex; flex-wrap: wrap; gap: 10px; }
.tag-item {
  background: #fff; border: 1px solid var(--gray-line); border-radius: 999px;
  padding: 9px 16px; font-size: 14px; font-weight: 500; color: var(--navy);
}

/* ---------- Dark band (Why / role) ---------- */
.why { position: relative; color: #fff; background: var(--navy); }
.why.with-photo {
  background:
    linear-gradient(180deg, rgba(11,39,81,.90) 0%, rgba(8,28,59,.94) 100%),
    url('photo3.webp') center/cover no-repeat;
}
.why h2 { color: #fff; }
.why .eyebrow { color: var(--cyan); }
.why p { color: rgba(255,255,255,.78); max-width: 62ch; margin-top: 18px; font-size: 16.5px; }

/* ---------- Full-width image band ---------- */
.band {
  position: relative; color: #fff; text-align: center; overflow: hidden;
  background: var(--navy-deep); min-height: 460px; display: flex; align-items: center;
}
.band::before {
  content: ""; position: absolute; inset: 0;
  background: var(--band-bg, none) var(--band-pos, center) / cover no-repeat;
}
.band::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(8,28,59,.80) 0%, rgba(11,39,81,.86) 100%);
}
/* lighter overlay for dark brand graphics (so the artwork stays visible) */
.band.graphic::after { background: linear-gradient(180deg, rgba(8,28,59,.18) 0%, rgba(11,39,81,.32) 100%); }
.band.mid::after { background: linear-gradient(180deg, rgba(8,28,59,.55) 0%, rgba(11,39,81,.68) 100%); }
.band .container { position: relative; z-index: 1; padding: 88px 0; }
.band .eyebrow { color: var(--cyan); }
.band h2 { color: #fff; max-width: 22ch; margin: 0 auto; }
.band p { color: rgba(255,255,255,.82); max-width: 60ch; margin: 14px auto 0; font-size: 16.5px; }

/* ---------- Final CTA band ---------- */
.cta-band { background: var(--gray-bg); text-align: center; }
.cta-band .container { max-width: 760px; }
.cta-band p { color: var(--ink-soft); margin: 16px auto 30px; font-size: 17px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.cta-contactline { margin-top: 26px; font-size: 14px; color: var(--ink-soft); }
.cta-contactline a { color: var(--blue); font-weight: 600; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: start; }
.form { display: flex; flex-direction: column; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 13.5px; font-weight: 600; color: var(--navy); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 15px; padding: 12px 14px; border: 1px solid var(--gray-line);
  border-radius: 10px; background: #fff; color: var(--ink); width: 100%;
  transition: border-color .18s, box-shadow .18s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0,120,163,.12);
}
.field textarea { min-height: 150px; resize: vertical; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--ink-soft); line-height: 1.5; }
.consent input { width: 18px; height: 18px; margin-top: 2px; flex: none; }
.form-status { padding: 12px 16px; border-radius: 10px; font-size: 14px; background: rgba(0,157,167,.10); color: var(--cyan); border: 1px solid rgba(0,157,167,.3); }
.form-status.is-error { background: rgba(200,50,50,.08); color: #b03030; border-color: rgba(200,50,50,.3); }
.contact-aside { background: var(--gray-bg); border: 1px solid var(--gray-line); border-radius: var(--radius); padding: 30px; }
.contact-aside h3 { margin-bottom: 6px; }
.contact-aside > p { font-size: 14.5px; color: var(--ink-soft); }
.contact-aside .row { display: flex; gap: 12px; align-items: flex-start; margin-top: 20px; font-size: 14.5px; color: var(--ink-soft); }
.contact-aside .row svg { width: 20px; height: 20px; color: var(--blue); flex: none; margin-top: 2px; }
.contact-aside .row a { color: var(--blue); font-weight: 600; }
.contact-aside .row strong { color: var(--navy); display: block; font-weight: 600; margin-bottom: 2px; }

/* ---------- Careers placeholder ---------- */
.careers-empty { text-align: center; max-width: 640px; margin: 0 auto; }
.careers-empty .badge {
  display: inline-block; background: rgba(0,120,163,.09); color: var(--blue);
  font-size: 12.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  padding: 7px 14px; border-radius: 999px; margin-bottom: 24px;
}
.careers-empty p { color: var(--ink-soft); font-size: 17px; margin: 0 auto 28px; max-width: 52ch; }

/* ---------- Prose (legal) ---------- */
.prose { max-width: 780px; }
.prose h2 { font-size: 22px; margin: 34px 0 12px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 17px; margin: 22px 0 8px; }
.prose p { color: var(--ink-soft); margin-bottom: 12px; font-size: 15.5px; }
.prose ul { color: var(--ink-soft); margin: 0 0 14px 20px; font-size: 15.5px; }
.prose li { margin-bottom: 6px; }
.prose a { color: var(--blue); font-weight: 500; }
.prose .updated { font-size: 13px; color: var(--steel); margin-bottom: 26px; }
.legal-note {
  background: var(--gray-bg); border: 1px solid var(--gray-line); border-left: 3px solid var(--cyan);
  border-radius: 10px; padding: 14px 18px; font-size: 14px; color: var(--ink-soft); margin: 18px 0;
}

/* ---------- Footer ---------- */
footer.site { background: var(--navy-deep); color: rgba(255,255,255,.7); padding: 64px 0 30px; }
.foot-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.foot-brand img { height: 30px; margin-bottom: 18px; }
.foot-brand p { font-size: 14px; max-width: 38ch; color: rgba(255,255,255,.6); }
.foot-brand .tag { color: #fff; font-weight: 600; margin-bottom: 8px; font-size: 14.5px; }
.foot-meta { margin-top: 18px; font-size: 13.5px; line-height: 1.9; }
.foot-meta a { color: var(--cyan); }
.foot-col h4 { color: #fff; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 16px; font-weight: 600; }
.foot-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.foot-col a { font-size: 14px; color: rgba(255,255,255,.65); transition: color .18s; }
.foot-col a:hover { color: #fff; }
.foot-bottom {
  margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.10);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 12.5px; color: rgba(255,255,255,.5);
}
.foot-reg { margin-top: 14px; font-size: 11.5px; line-height: 1.7; color: rgba(255,255,255,.4); }
.foot-credit a { color: rgba(255,255,255,.55); transition: color .18s; }
.foot-credit a:hover { color: #fff; }

/* ---------- Cookie banner ---------- */
.cookie-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 100; max-width: 640px; margin: 0 auto;
  background: var(--navy); color: #fff; border-radius: 14px; padding: 20px 22px;
  box-shadow: 0 20px 50px rgba(0,0,0,.35); display: none;
}
.cookie-banner.show { display: block; }
.cookie-banner p { font-size: 13.5px; color: rgba(255,255,255,.82); line-height: 1.55; margin-bottom: 14px; }
.cookie-banner p a { color: var(--cyan); }
.cookie-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie-actions .btn { padding: 10px 18px; font-size: 13.5px; }
.btn-line {
  background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.4);
  border-radius: 999px; padding: 10px 18px; font-size: 13.5px; font-weight: 600; cursor: pointer;
  transition: border-color .18s;
}
.btn-line:hover { border-color: #fff; }

/* ---------- Cookie preferences modal ---------- */
.cookie-modal {
  position: fixed; inset: 0; z-index: 120; display: none;
  align-items: center; justify-content: center; padding: 20px;
}
.cookie-modal.show { display: flex; }
.cookie-modal__backdrop { position: absolute; inset: 0; background: rgba(8,28,59,.55); }
.cookie-modal__panel {
  position: relative; z-index: 1; background: #fff; color: var(--ink);
  border-radius: 16px; max-width: 560px; width: 100%; max-height: 90vh; overflow: auto;
  padding: 30px; box-shadow: 0 30px 70px rgba(0,0,0,.35);
}
.cookie-modal__panel h3 { margin-bottom: 6px; }
.cookie-modal__intro { font-size: 14px; color: var(--ink-soft); margin-bottom: 8px; }
.cookie-modal__intro a { color: var(--blue); font-weight: 600; }
.cookie-cat { display: flex; justify-content: space-between; align-items: flex-start; gap: 18px; padding: 18px 0; border-top: 1px solid var(--gray-line); }
.cookie-cat h4 { font-size: 15px; color: var(--navy); margin-bottom: 4px; }
.cookie-cat p { font-size: 13px; color: var(--ink-soft); line-height: 1.5; }
.switch { position: relative; width: 44px; height: 24px; flex: none; margin-top: 2px; }
.switch input { opacity: 0; width: 0; height: 0; }
.switch .slider { position: absolute; inset: 0; background: #cbd5e0; border-radius: 999px; transition: .2s; cursor: pointer; }
.switch .slider::before { content: ""; position: absolute; width: 18px; height: 18px; left: 3px; top: 3px; background: #fff; border-radius: 50%; transition: .2s; }
.switch input:checked + .slider { background: var(--cyan); }
.switch input:checked + .slider::before { transform: translateX(20px); }
.switch input:disabled + .slider { background: var(--blue); opacity: .5; cursor: not-allowed; }
.cookie-modal__actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 24px; }
.cookie-modal__actions .btn, .cookie-modal__actions .btn-dark { flex: 1 1 auto; justify-content: center; }
.btn-dark {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--navy); color: #fff; border: 1.5px solid var(--navy); border-radius: 999px;
  padding: 12px 20px; font-size: 14px; font-weight: 600; cursor: pointer; transition: background .18s;
}
.btn-dark:hover { background: var(--navy-deep); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .benefits { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .contact-grid { grid-template-columns: 1fr; gap: 34px; }
  .foot-top { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 680px) {
  .nav ul, .nav-cta .btn { display: none; }
  .burger { display: flex; }
  .nav ul.open {
    display: flex; flex-direction: column; position: absolute; top: 72px; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--gray-line); padding: 18px 24px; gap: 18px;
  }
  .grid-4, .grid-3, .grid-2, .benefits { grid-template-columns: 1fr; }
  .scope-grid { grid-template-columns: 1fr; gap: 22px; }
  .form-row { grid-template-columns: 1fr; }
  .service-block { padding: 34px 0; }
  .service-block .scope-grid, .service-block .scope.cols { margin-left: 0; }
  section { padding: 64px 0; }
  .foot-top { grid-template-columns: 1fr; }
}
