/* =========================================================
   Rio Doce Maritime — Static Site
   Palette: deep navy + ocean cyan + warm cream
   Type: Bricolage Grotesque (display) + Manrope (body)
   ========================================================= */

:root {
  /* Brand */
  --navy: #0A2240;
  --navy-deep: #061528;
  --navy-soft: #14315A;
  --cyan: #5BA4D1;
  --cyan-light: #8FC3E1;
  --cyan-bg: #DDECF5;

  /* Neutrals */
  --cream: #F4F1EB;
  --cream-dark: #ECE7DD;
  --paper: #FBFAF6;
  --ink: #0F1B2D;
  --muted: #5A6678;
  --line: #D9D5CC;
  --line-dark: rgba(255,255,255,0.12);

  /* Effects */
  --shadow-sm: 0 1px 2px rgba(10,34,64,0.06), 0 2px 8px rgba(10,34,64,0.04);
  --shadow-md: 0 4px 12px rgba(10,34,64,0.08), 0 12px 32px rgba(10,34,64,0.08);
  --shadow-lg: 0 12px 40px rgba(10,34,64,0.14), 0 28px 80px rgba(10,34,64,0.12);

  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 20px;
  --r-xl: 28px;

  /* Type */
  --f-display: "Bricolage Grotesque", "Manrope", system-ui, sans-serif;
  --f-body: "Manrope", system-ui, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, monospace;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }
em { font-style: italic; }

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}

/* =================== Typography utilities =================== */
.section-title {
  font-family: var(--f-display);
  font-weight: 600;
  letter-spacing: -0.02em;
  font-size: clamp(28px, 3.6vw, 48px);
  line-height: 1.08;
  color: var(--navy);
  margin: 0;
  text-wrap: balance;
}
.section-sub {
  font-size: clamp(15px, 1.4vw, 18px);
  color: var(--muted);
  max-width: 60ch;
  margin: 16px 0 0;
  line-height: 1.6;
}
.section-eyebrow {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cyan);
  font-weight: 500;
}
.section-index {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--muted);
  margin-right: 14px;
  padding-right: 14px;
  border-right: 1px solid var(--line);
}

.section { padding: clamp(72px, 9vw, 130px) 0; position: relative; }
.section-head { margin-bottom: 56px; max-width: 880px; }
.section-head > div:first-child { margin-bottom: 18px; display: flex; align-items: center; }
.section-head--dark .section-title { color: #fff; }
.section-head--dark .section-eyebrow { color: var(--cyan-light); }
.section-head--dark .section-index { color: rgba(255,255,255,0.5); border-right-color: rgba(255,255,255,0.18); }
.section-head--dark .section-sub { color: rgba(255,255,255,0.7); }

/* =================== Buttons =================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  font-family: var(--f-body);
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: 0.005em;
  border: 1px solid transparent;
  border-radius: 999px;
  transition: transform .25s ease, background .25s ease, color .25s ease, border-color .25s ease, box-shadow .25s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--navy);
  color: #fff;
}
.btn-primary:hover { background: var(--navy-deep); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.4);
}
.btn-ghost:hover { background: rgba(255,255,255,0.1); border-color: #fff; }
.btn-sm { padding: 10px 18px; font-size: 13.5px; }
.btn-block { width: 100%; justify-content: center; }

/* =================== Header =================== */
.site-header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 16px 0;
  transition: background .3s ease, border-color .3s ease, padding .3s ease;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(251,250,246,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: var(--line);
  padding: 12px 0;
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 32px;
}
.logo {
  display: flex; align-items: center; gap: 12px;
  color: var(--navy);
}
.logo-mark { width: 38px; height: 38px; flex: none; object-fit: contain; transition: filter .3s ease; }
.site-header:not(.is-scrolled) .logo-mark,
.footer-brand .logo-mark { filter: brightness(0) invert(1); }
.logo-text {
  display: flex; flex-direction: column;
  font-family: var(--f-display);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1;
}
.logo-name { font-size: 14px; }
.logo-sub { font-size: 10px; letter-spacing: 0.32em; color: var(--cyan); font-weight: 600; margin-top: 3px; }

.site-header:not(.is-scrolled) .logo { color: #fff; }
.site-header:not(.is-scrolled) .logo-sub { color: var(--cyan-light); }

.primary-nav {
  display: flex; gap: 28px;
  margin-left: auto;
}
.primary-nav a {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink);
  position: relative;
  padding: 6px 0;
}
.primary-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--cyan); transform: scaleX(0); transform-origin: left;
  transition: transform .25s ease;
}
.primary-nav a:hover::after { transform: scaleX(1); }
.site-header:not(.is-scrolled) .primary-nav a { color: rgba(255,255,255,0.85); }
.site-header:not(.is-scrolled) .primary-nav a:hover { color: #fff; }

.header-actions { display: flex; align-items: center; gap: 18px; }
.lang-switch {
  display: flex; align-items: center; gap: 6px;
  font-family: var(--f-mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
}
.lang-btn {
  background: none; border: none; padding: 2px 4px;
  color: inherit;
  font: inherit;
  letter-spacing: 0.05em;
  opacity: 0.55;
  transition: opacity .2s ease, color .2s ease;
}
.lang-btn:hover { opacity: 1; }
.lang-btn.is-active { opacity: 1; color: var(--navy); font-weight: 700; }
.site-header:not(.is-scrolled) .lang-switch { color: rgba(255,255,255,0.6); }
.site-header:not(.is-scrolled) .lang-btn.is-active { color: #fff; }
.lang-divider { opacity: 0.35; }

.site-header:not(.is-scrolled) .btn-primary {
  background: #fff; color: var(--navy);
}
.site-header:not(.is-scrolled) .btn-primary:hover { background: var(--cream); }

.menu-toggle {
  display: none;
  background: none; border: none;
  width: 36px; height: 36px;
  flex-direction: column; justify-content: center; gap: 5px;
  padding: 0;
}
.menu-toggle span {
  display: block; height: 1.5px; width: 22px; background: var(--ink); margin: 0 auto;
  transition: transform .25s ease, opacity .25s ease;
}
.site-header:not(.is-scrolled) .menu-toggle span { background: #fff; }

/* =================== Hero =================== */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 180px 0 100px;
  color: #fff;
  overflow: hidden;
  background: var(--navy-deep);
}
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media img {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(0.85) brightness(0.7);
}
.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(135deg, rgba(6,21,40,0.92) 0%, rgba(10,34,64,0.6) 50%, rgba(10,34,64,0.5) 100%),
    linear-gradient(180deg, rgba(6,21,40,0.4) 0%, rgba(6,21,40,0.8) 100%);
}
.hero-content { position: relative; z-index: 2; max-width: 920px; }
.hero-kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-mono); font-size: 11px;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--cyan-light);
  background: rgba(91,164,209,0.1);
  border: 1px solid rgba(91,164,209,0.25);
  padding: 8px 16px; border-radius: 999px;
}
.kicker-dot { width: 6px; height: 6px; background: var(--cyan); border-radius: 50%; box-shadow: 0 0 12px var(--cyan); }
.hero-title {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(36px, 5.6vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  margin: 24px 0 28px;
  text-wrap: balance;
}
.hero-title em {
  font-style: italic; font-weight: 400;
  color: var(--cyan-light);
}
.hero-lead {
  font-size: clamp(15px, 1.5vw, 19px);
  line-height: 1.55;
  color: rgba(255,255,255,0.78);
  max-width: 58ch;
  margin: 0 0 40px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 80px; }
.hero-actions .btn-primary { background: #fff; color: var(--navy); }
.hero-actions .btn-primary:hover { background: var(--cream); }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.15);
  max-width: 820px;
}
.stat-num {
  display: block;
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(32px, 3.8vw, 52px);
  letter-spacing: -0.025em;
  color: #fff;
  line-height: 1;
}
.stat-label {
  display: block;
  margin-top: 10px;
  font-size: 13px;
  color: rgba(255,255,255,0.62);
  line-height: 1.4;
  max-width: 22ch;
}

.scroll-cue {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  z-index: 3;
  width: 22px; height: 36px; border: 1px solid rgba(255,255,255,0.4);
  border-radius: 12px;
  display: flex; justify-content: center; padding-top: 6px;
}
.scroll-cue span {
  width: 2px; height: 8px; background: #fff;
  border-radius: 2px;
  animation: scrollPulse 1.8s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(8px); opacity: 0.3; }
}

.hero-diamonds { position: absolute; inset: 0; pointer-events: none; z-index: 2; }
.diamond {
  position: absolute;
  width: 10px; height: 10px;
  background: var(--cyan);
  transform: rotate(45deg);
  box-shadow: 0 0 24px rgba(91,164,209,0.6);
}
.diamond.d1 { top: 18%; right: 12%; }
.diamond.d2 { top: 32%; right: 6%; width: 14px; height: 14px; opacity: 0.7; }
.diamond.d3 { bottom: 22%; right: 18%; width: 6px; height: 6px; opacity: 0.85; }

/* =================== About =================== */
.about { background: var(--cream); }
.about-grid {
  display: grid;
  grid-template-columns: 200px 1fr 380px;
  gap: 60px;
  align-items: start;
}
.about-label {
  display: flex; flex-direction: column; gap: 12px;
  padding-top: 8px;
}
.about-label .section-index { border-right: none; padding-right: 0; margin-right: 0; }
.about-body .section-title { max-width: 22ch; }
.about-text { margin-top: 28px; }
.about-text p { margin: 0 0 18px; font-size: 16.5px; line-height: 1.65; color: var(--ink); max-width: 56ch; }
.about-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.about-pills li {
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  color: var(--navy);
}
.about-figure {
  margin: 0;
  position: relative;
  border-radius: var(--r-xl) var(--r-xl) 50% 50%;
  overflow: hidden;
  aspect-ratio: 3/4;
}
.about-figure img { width: 100%; height: 100%; object-fit: cover; }
.about-figure figcaption {
  position: absolute; left: 16px; bottom: 16px;
  background: rgba(10,34,64,0.85);
  backdrop-filter: blur(8px);
  color: #fff;
  font-family: var(--f-mono); font-size: 10.5px;
  letter-spacing: 0.16em; text-transform: uppercase;
  padding: 8px 14px; border-radius: 999px;
}

/* =================== Solutions Grid =================== */
.solutions { background: var(--paper); }
.solutions .section-head {
  display: grid; grid-template-columns: auto 1fr; gap: 0 60px; align-items: center;
}
.solutions .section-head > div:first-child { margin-bottom: 0; }
.solutions .section-title { max-width: 22ch; }

.sol-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.sol-card {
  position: relative;
  padding: 36px 28px 80px;
  background: var(--paper);
  display: flex; flex-direction: column; gap: 14px;
  transition: background .3s ease, transform .3s ease;
  min-height: 280px;
}
.sol-card:hover { background: var(--cream); }
.sol-num {
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.18em;
  color: var(--cyan); font-weight: 500;
}
.sol-title {
  font-family: var(--f-display); font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.15;
  margin: 4px 0 4px;
  color: var(--navy);
}
.sol-desc { font-size: 14.5px; color: var(--muted); margin: 0; line-height: 1.55; }
.sol-arrow {
  position: absolute; right: 28px; bottom: 28px;
  width: 38px; height: 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--navy);
  transition: background .25s, color .25s, transform .25s, border-color .25s;
}
.sol-card:hover .sol-arrow { background: var(--navy); color: #fff; border-color: var(--navy); transform: translateX(4px); }

/* =================== Solution Detail =================== */
.sol-detail { background: var(--paper); }
.sol-detail--alt { background: var(--cream); }
.sol-detail--dark { background: var(--navy-deep); color: #fff; position: relative; overflow: hidden; }
.sol-detail--dark::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(800px 500px at 80% 20%, rgba(91,164,209,0.18), transparent 60%),
    radial-gradient(600px 400px at 10% 80%, rgba(91,164,209,0.08), transparent 60%);
  pointer-events: none;
}
.sol-detail--dark > .container { position: relative; z-index: 1; }

.detail-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 80px;
  align-items: center;
}
.detail-grid--reverse { grid-template-columns: 1fr 1.05fr; }
.detail-grid--reverse .detail-figure { order: 2; }

.detail-figure {
  margin: 0;
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
  box-shadow: var(--shadow-lg);
}
.detail-figure img { width: 100%; height: 100%; object-fit: cover; }
.figure-corner {
  position: absolute; width: 22px; height: 22px;
  border: 2px solid var(--cyan);
}
.figure-corner--tl { top: 14px; left: 14px; border-right: none; border-bottom: none; }
.figure-corner--br { bottom: 14px; right: 14px; border-left: none; border-top: none; }
.figure-badge {
  position: absolute; top: 18px; right: 18px;
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.12em;
  color: #fff;
  background: rgba(6,21,40,0.85);
  backdrop-filter: blur(8px);
  padding: 7px 12px; border-radius: 999px;
}
.figure-badge--alt { top: auto; bottom: 18px; right: auto; left: 18px; }
.rec-dot {
  width: 8px; height: 8px; background: #ff4757;
  border-radius: 50%;
  animation: blink 1.5s ease-in-out infinite;
}
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }

.detail-body { max-width: 540px; }
.detail-tag {
  display: inline-block;
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cyan); font-weight: 500;
  margin-bottom: 18px;
}
.detail-title {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.08;
  letter-spacing: -0.022em;
  color: var(--navy);
  margin: 0 0 22px;
  text-wrap: balance;
}
.sol-detail--dark .detail-title { color: #fff; }
.detail-lead {
  font-size: 17px; line-height: 1.6; color: var(--muted);
  margin: 0 0 36px;
  max-width: 54ch;
}
.detail-quote {
  font-size: 17px; line-height: 1.6;
  margin: 0 0 36px;
  padding-left: 18px;
  border-left: 2px solid var(--cyan);
  color: var(--navy);
  max-width: 54ch;
}

.feature-list {
  display: grid; gap: 22px;
}
.feature-list li {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 16px; align-items: start;
}
.feat-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: rgba(91,164,209,0.15);
  color: var(--navy);
  display: flex; align-items: center; justify-content: center;
}
.feature-list h4 {
  font-family: var(--f-display); font-size: 16px;
  font-weight: 600;
  margin: 4px 0 4px;
  color: var(--navy);
}
.feature-list p {
  font-size: 14.5px; color: var(--muted); margin: 0; line-height: 1.5;
}

/* === Solution 2 dual layer === */
.dual-layer {
  display: grid; grid-template-columns: 1fr 1fr; gap: 28px;
  margin-bottom: 56px;
}
.layer-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--r-lg);
  padding: 32px;
  display: flex; flex-direction: column; gap: 20px;
}
.layer-num {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.18em;
  color: var(--cyan-light);
}
.layer-line { flex: 1; height: 1px; background: rgba(255,255,255,0.15); }
.layer-title {
  font-family: var(--f-display); font-size: 28px;
  font-weight: 500; letter-spacing: -0.015em;
  margin: 0; color: #fff;
}
.layer-desc {
  font-size: 15px; line-height: 1.6;
  color: rgba(255,255,255,0.72);
  margin: 0;
}
.layer-figure {
  margin: 0; position: relative;
  border-radius: var(--r-md);
  overflow: hidden;
  aspect-ratio: 16/10;
}
.layer-figure img {
  width: 100%; height: 100%; object-fit: cover;
}
.cam-overlay {
  position: absolute; inset: 0;
  padding: 14px;
  display: flex; justify-content: space-between; align-items: flex-start;
  background: linear-gradient(180deg, rgba(0,0,0,0.45) 0%, transparent 30%, transparent 70%, rgba(0,0,0,0.4) 100%);
  pointer-events: none;
}
.cam-overlay--rov { background: linear-gradient(180deg, rgba(0,40,80,0.35) 0%, transparent 30%, transparent 70%, rgba(0,40,80,0.45) 100%); }
.cam-meta {
  font-family: var(--f-mono); font-size: 10.5px; letter-spacing: 0.12em;
  color: #fff; text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}
.cam-rec {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--f-mono); font-size: 10.5px; color: #fff;
  text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}

.rov-specs {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.rov-spec {
  padding: 32px 28px;
  border-right: 1px solid rgba(255,255,255,0.15);
}
.rov-spec:last-child { border-right: none; }
.rov-spec-val {
  display: block;
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 48px; letter-spacing: -0.025em;
  color: var(--cyan-light);
  line-height: 1; margin-bottom: 12px;
}
.rov-spec-val--alt { font-size: 24px; line-height: 1.2; }
.rov-spec-label {
  font-size: 13.5px; color: rgba(255,255,255,0.7);
  line-height: 1.5; display: block;
}

/* Metric row for crane */
.metric-row {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 36px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.metric-val {
  display: block;
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 36px; letter-spacing: -0.025em;
  color: var(--navy);
  line-height: 1; margin-bottom: 8px;
}
.metric-lbl {
  font-size: 13px; color: var(--muted); line-height: 1.4; display: block;
}

/* =================== Surveillance =================== */
.surveillance { background: var(--cream); position: relative; }
.surv-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
  margin-bottom: 64px;
}
.surv-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 32px;
  display: flex; flex-direction: column; gap: 16px;
  transition: transform .3s, box-shadow .3s;
  position: relative;
}
.surv-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.surv-card--accent {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}
.surv-icon {
  width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  color: var(--navy);
}
.surv-card--accent .surv-icon { color: var(--cyan-light); }
.surv-title {
  font-family: var(--f-display); font-size: 26px;
  font-weight: 500; letter-spacing: -0.015em;
  margin: 0; color: var(--navy);
}
.surv-card--accent .surv-title { color: #fff; }
.surv-card p {
  font-size: 14.5px; color: var(--muted); line-height: 1.6;
  margin: 0; flex: 1;
}
.surv-card--accent p { color: rgba(255,255,255,0.75); }
.surv-tag {
  font-family: var(--f-mono); font-size: 10.5px;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--cyan);
}
.surv-card--accent .surv-tag { color: var(--cyan-light); }

/* Dashboard preview */
.dash-preview {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--navy-deep);
  box-shadow: var(--shadow-lg);
}
.dash-chrome {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 18px;
  background: var(--navy);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.dash-dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.2); }
.dash-dot + .dash-dot { background: rgba(255,255,255,0.2); }
.dash-title {
  margin-left: 14px;
  font-family: var(--f-mono); font-size: 12px;
  color: rgba(255,255,255,0.75);
  letter-spacing: 0.05em;
}
.dash-status {
  margin-left: auto;
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--f-mono); font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--cyan-light);
}
.dash-body {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.06);
}
.dash-cell {
  position: relative;
  aspect-ratio: 16/10;
  background: var(--navy-deep);
  overflow: hidden;
}
.dash-cell img {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(0.85) brightness(0.8);
}
.dash-cell--rov img { filter: hue-rotate(160deg) saturate(0.6) brightness(0.7); }
.cell-tag {
  position: absolute; top: 10px; left: 10px;
  font-family: var(--f-mono); font-size: 10px;
  letter-spacing: 0.1em;
  color: #fff;
  background: rgba(6,21,40,0.7);
  padding: 4px 8px;
  border-radius: 4px;
  backdrop-filter: blur(4px);
}

/* =================== Tech strip =================== */
.tech-strip { background: var(--navy); color: #fff; }
.tech-strip .section-head { margin-bottom: 56px; }
.tech-strip .section-title { color: #fff; }
.tech-strip .section-eyebrow { color: var(--cyan-light); }
.tech-strip .section-index { color: rgba(255,255,255,0.5); border-right-color: rgba(255,255,255,0.18); }

.tech-list {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.tech-list li {
  background: var(--navy);
  padding: 36px 28px;
  display: flex; flex-direction: column; gap: 10px;
  min-height: 220px;
}
.tech-num {
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.18em;
  color: var(--cyan-light); margin-bottom: 10px;
}
.tech-list h4 {
  font-family: var(--f-display); font-size: 19px;
  font-weight: 600; letter-spacing: -0.01em;
  margin: 0; color: #fff;
  line-height: 1.2;
}
.tech-list p {
  font-size: 14px; line-height: 1.55;
  color: rgba(255,255,255,0.65); margin: 0;
}

/* =================== Cases =================== */
.cases { background: var(--paper); }
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.case-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .3s, box-shadow .3s;
}
.case-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.case-figure {
  margin: 0; aspect-ratio: 4/3; overflow: hidden;
  position: relative;
}
.case-figure img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s ease;
}
.case-card:hover .case-figure img { transform: scale(1.04); }
.case-body { padding: 28px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.case-loc {
  font-family: var(--f-mono); font-size: 10.5px;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--cyan);
}
.case-title {
  font-family: var(--f-display);
  font-size: 22px; font-weight: 600;
  letter-spacing: -0.015em;
  margin: 0; color: var(--navy);
  line-height: 1.15;
}
.case-card p { font-size: 14.5px; color: var(--muted); margin: 0; line-height: 1.55; flex: 1; }
.case-meta {
  display: flex; flex-direction: column; gap: 2px;
  margin-top: 16px; padding-top: 16px;
  border-top: 1px solid var(--line);
}
.case-meta-lbl {
  font-family: var(--f-mono); font-size: 10px;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--muted);
}
.case-meta-val { font-weight: 600; font-size: 15px; color: var(--navy); }

/* =================== Contact =================== */
.contact { background: var(--navy-deep); color: #fff; position: relative; overflow: hidden; }
.contact::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(900px 600px at 100% 0%, rgba(91,164,209,0.18), transparent 60%);
}
.contact-grid {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 80px;
  position: relative; z-index: 1;
  align-items: start;
}
.contact-eyebrow { color: var(--cyan-light); display: block; margin-bottom: 16px; }
.contact-title {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(32px, 4vw, 52px);
  letter-spacing: -0.022em;
  line-height: 1.05;
  margin: 0 0 24px;
  color: #fff;
  text-wrap: balance;
}
.contact-lead {
  font-size: 17px; line-height: 1.6;
  color: rgba(255,255,255,0.72);
  margin: 0 0 40px;
  max-width: 50ch;
}
.contact-list { display: flex; flex-direction: column; gap: 18px; }
.contact-list li {
  display: flex; flex-direction: column; gap: 4px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.contact-list li:last-child { border-bottom: none; padding-bottom: 0; }
.contact-lbl {
  font-family: var(--f-mono); font-size: 10.5px;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}
.contact-list a { color: var(--cyan-light); font-size: 16px; font-weight: 500; }
.contact-list a:hover { color: #fff; }
.contact-list li > span:not(.contact-lbl) { font-size: 15px; color: rgba(255,255,255,0.85); }

.contact-form {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--r-lg);
  padding: 36px;
  display: flex; flex-direction: column; gap: 18px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-form label, .contact-form .form-full {
  display: flex; flex-direction: column; gap: 8px;
}
.contact-form span {
  font-family: var(--f-mono); font-size: 10.5px;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(255,255,255,0.6);
}
.contact-form input, .contact-form select, .contact-form textarea {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 10px;
  padding: 12px 14px;
  color: #fff;
  font-family: var(--f-body);
  font-size: 14.5px;
  transition: border-color .25s, background .25s;
  resize: vertical;
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
  outline: none; border-color: var(--cyan);
  background: rgba(255,255,255,0.08);
}
.contact-form select { color: rgba(255,255,255,0.9); }
.contact-form select option { background: var(--navy-deep); }
.contact-form .btn-primary {
  margin-top: 8px;
  background: var(--cyan);
  color: var(--navy);
}
.contact-form .btn-primary:hover { background: var(--cyan-light); }
.form-note {
  font-family: var(--f-mono); font-size: 11px;
  letter-spacing: 0.05em;
  color: rgba(255,255,255,0.45);
  margin: 0;
  text-align: center;
}

/* =================== Footer =================== */
.site-footer {
  background: #050E1B;
  color: rgba(255,255,255,0.7);
  padding: 80px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand .logo { color: #fff; margin-bottom: 20px; }
.footer-brand .logo-sub { color: var(--cyan-light); }
.footer-tag {
  font-size: 14.5px;
  color: rgba(255,255,255,0.5);
  margin: 0;
  max-width: 32ch;
  line-height: 1.55;
}
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col h5 {
  font-family: var(--f-mono); font-size: 11px;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin: 0 0 8px;
  font-weight: 500;
}
.footer-col a, .footer-col span {
  font-size: 14px;
  color: rgba(255,255,255,0.75);
  transition: color .2s;
}
.footer-col a:hover { color: var(--cyan-light); }

.footer-base {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 32px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.4);
}

/* =================== Reveal animation =================== */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .8s ease, transform .8s ease;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* =================== Responsive =================== */
@media (max-width: 1100px) {
  .about-grid { grid-template-columns: 1fr 360px; }
  .about-label { grid-column: 1 / -1; flex-direction: row; align-items: center; }
  .sol-grid { grid-template-columns: repeat(2, 1fr); }
  .tech-list { grid-template-columns: repeat(2, 1fr); }
  .case-grid { grid-template-columns: repeat(2, 1fr); }
  .surv-grid { grid-template-columns: 1fr; }
  .dash-body { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; gap: 50px; }
  .dual-layer { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
  .container { padding: 0 22px; }
  .primary-nav { display: none; }
  .menu-toggle { display: flex; }
  .header-actions .btn { display: none; }

  .primary-nav.is-open {
    display: flex;
    position: fixed; inset: 70px 0 auto; flex-direction: column;
    background: var(--paper);
    padding: 24px;
    border-bottom: 1px solid var(--line);
    gap: 20px;
  }
  .site-header.is-scrolled .primary-nav.is-open a { color: var(--ink); }

  .hero { padding: 140px 0 80px; min-height: auto; }
  .hero-stats { grid-template-columns: 1fr; gap: 24px; }
  .about-grid { grid-template-columns: 1fr; gap: 36px; }
  .about-figure { max-width: 380px; }
  .solutions .section-head { grid-template-columns: 1fr; }
  .sol-grid { grid-template-columns: 1fr; }
  .detail-grid, .detail-grid--reverse { grid-template-columns: 1fr; gap: 48px; }
  .detail-grid--reverse .detail-figure { order: 0; }
  .rov-specs { grid-template-columns: 1fr; }
  .rov-spec { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.15); }
  .rov-spec:last-child { border-bottom: none; }
  .tech-list { grid-template-columns: 1fr; }
  .case-grid { grid-template-columns: 1fr; }
  .dash-body { grid-template-columns: 1fr; }
  .metric-row { grid-template-columns: 1fr; gap: 24px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer-base { flex-direction: column; gap: 12px; text-align: center; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero-title { font-size: 34px; }
  .section-title { font-size: 28px; }
}
