/* ============================================================
   THEMISARES — Design System
   Brand: Raleway / #004FE0 · Precision Systems aesthetic
   ============================================================ */

/* ---------- Fonts ---------- */
@font-face {
  font-family: 'Raleway';
  src: url('../fonts/Raleway-Light.ttf') format('truetype');
  font-weight: 300; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Raleway';
  src: url('../fonts/Raleway-Regular.ttf') format('truetype');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Raleway';
  src: url('../fonts/Raleway-Medium.ttf') format('truetype');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Raleway';
  src: url('../fonts/Raleway-SemiBold.ttf') format('truetype');
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Raleway';
  src: url('../fonts/Raleway-Bold.ttf') format('truetype');
  font-weight: 700; font-style: normal; font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  /* Brand */
  --blue:        #004FE0;
  --blue-dark:   #003BB8;
  --blue-light:  #F0F4FF;
  --navy:        #1A2E6E;
  --navy-deep:   #0F1B45;
  --teal:        #0D7A8A;

  /* Neutrals */
  --white:       #FFFFFF;
  --off-white:   #F8FAFC;
  --light-gray:  #E9ECF0;
  --mid-gray:    #94A3B8;
  --slate:       #64748B;
  --steel:       #4A5568;
  --dark:        #0A0A0A;

  /* Accent */
  --lime:        #00E08A;

  /* Fonts */
  --font:        'Raleway', system-ui, sans-serif;
  --mono:        'SFMono-Regular', 'Menlo', 'Consolas', 'Liberation Mono', monospace;

  /* Structure */
  --section-py:  clamp(80px, 9vw, 128px);
  --container:   1200px;
  --container-wide: 1320px;
  --gap:         32px;
  --radius:      6px;
  --radius-lg:   14px;

  /* Shadows */
  --shadow-sm:   0 1px 3px rgba(10,20,60,.04), 0 2px 8px rgba(0,79,224,.05);
  --shadow:      0 2px 18px rgba(0,79,224,.09);
  --shadow-md:   0 10px 40px rgba(0,79,224,.14);
  --shadow-lg:   0 20px 60px rgba(0,79,224,.18);

  --transition:  0.22s ease;
  --ease-smooth: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body {
  font-family: var(--font);
  font-weight: 400;
  color: var(--dark);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; color: inherit; }

::selection { background: var(--blue); color: var(--white); }

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

/* ============================================================
   SCROLL PROGRESS BAR
   ============================================================ */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, var(--blue), var(--teal));
  z-index: 200;
  pointer-events: none;
  box-shadow: 0 0 10px rgba(0,79,224,.5);
  transition: width 0.06s linear;
}

/* ============================================================
   HEADER
   ============================================================ */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255,255,255,0.90);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
}
.header--scrolled {
  background: rgba(255,255,255,0.96);
  border-color: var(--light-gray);
  box-shadow: 0 2px 24px rgba(0,0,0,.05);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.logo { display: flex; align-items: center; flex-shrink: 0; }
.logo__img { height: 34px; width: auto; }

.nav-list {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-list a {
  font-size: 14px;
  font-weight: 500;
  color: var(--steel);
  padding: 8px 15px;
  border-radius: var(--radius);
  transition: color var(--transition), background var(--transition);
  letter-spacing: 0.02em;
}
.nav-list a:hover,
.nav-list a.active { color: var(--blue); background: var(--blue-light); }

.nav-cta {
  color: var(--white) !important;
  background: var(--blue) !important;
  padding: 8px 20px !important;
  font-weight: 600 !important;
}
.nav-cta:hover { background: var(--blue-dark) !important; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  font-family: var(--font);
  font-size: 16px;
  font-weight: 600;
  border-radius: var(--radius);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition);
  cursor: pointer;
  border: 1.5px solid transparent;
  position: relative;
}
.btn span { transition: transform var(--transition); }
.btn:hover span { transform: translateX(3px); }

.btn--primary  { background: var(--blue); color: var(--white); border-color: var(--blue); }
.btn--primary:hover { background: var(--blue-dark); border-color: var(--blue-dark); }
.btn--white    { background: var(--white); color: var(--blue); border-color: var(--white); }
.btn--white:hover { background: var(--blue-light); }
.btn--outline-white { background: transparent; color: var(--white); border-color: rgba(255,255,255,.40); }
.btn--outline-white:hover { background: rgba(255,255,255,.08); border-color: var(--white); }
.btn--full { width: 100%; justify-content: center; padding: 16px 28px; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  background:
    radial-gradient(ellipse at 30% 40%, rgba(13, 122, 138, 0.18) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 70%, rgba(26, 46, 110, 0.25) 0%, transparent 60%),
    linear-gradient(180deg, #004FE0 0%, #1A2E6E 100%);
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  opacity: 0.42;
  pointer-events: none;
}

/* Hero scan line */
.hero::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(255,255,255,0.025) 50%,
    transparent 100%
  );
  background-size: 100% 300%;
  animation: hero-scan 16s linear infinite;
  pointer-events: none;
  z-index: 1;
}
@keyframes hero-scan {
  0%   { background-position: 0 -100%; }
  100% { background-position: 0  200%; }
}

/* HUD corners */
.hero-frame {
  position: absolute;
  inset: 28px;
  pointer-events: none;
  z-index: 2;
}
.hero-frame__corner {
  position: absolute;
  width: 24px; height: 24px;
  border-color: rgba(255,255,255,.26);
  border-style: solid;
  opacity: 0;
  animation: hud-appear 0.5s ease 0.7s forwards;
}
.hero-frame__corner--tl { top: 0; left: 0;  border-width: 1px 0 0 1px; }
.hero-frame__corner--tr { top: 0; right: 0; border-width: 1px 1px 0 0; }
.hero-frame__corner--bl { bottom: 0; left: 0;  border-width: 0 0 1px 1px; }
.hero-frame__corner--br { bottom: 0; right: 0; border-width: 0 1px 1px 0; }
@keyframes hud-appear { to { opacity: 1; } }

/* Pulse keyframe (used by contact-meta dot) */
@keyframes dot-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.50; transform: scale(0.72); }
}

/* Readout */
.hero-readout {
  position: absolute;
  bottom: 92px;
  right: 48px;
  z-index: 3;
  text-align: right;
  opacity: 0;
  animation: hud-appear 0.7s ease 1.8s forwards;
}
.hero-readout__line {
  font-family: var(--mono);
  font-size: 9.5px;
  color: rgba(255,255,255,.22);
  letter-spacing: 0.11em;
  line-height: 2.1;
}

/* Hero content */
.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 140px;
  padding-bottom: 130px;
}
.hero-text { max-width: 1040px; }

/* Hero meta tag */
.hero-meta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 40px;
  opacity: 0;
  animation: hero-fade-up 0.7s ease 0.0s forwards;
}
.hero-meta__num {
  font-family: var(--mono);
  font-size: 11px;
  color: rgba(255,255,255,.90);
  font-weight: 500;
  letter-spacing: 0.14em;
}
.hero-meta__sep {
  width: 32px;
  height: 1px;
  background: rgba(255,255,255,.35);
}
.hero-meta__label {
  font-family: var(--mono);
  font-size: 10px;
  color: rgba(255,255,255,.55);
  letter-spacing: 0.20em;
  text-transform: uppercase;
}

/* Headline — massive */
.hero-headline {
  font-size: clamp(52px, 9.6vw, 140px);
  font-weight: 600;
  line-height: 0.96;
  color: var(--white);
  letter-spacing: -0.035em;
  margin-bottom: 0;
}
.hero-headline .hero-line-1,
.hero-headline .hero-line-2,
.hero-headline .hero-line-3 {
  display: inline-block;
  opacity: 0;
  transform: translateY(34px);
  animation: word-slide-up 0.95s var(--ease-smooth) forwards;
}
.hero-headline .hero-line-1 { animation-delay: 0.18s; }
.hero-headline .hero-line-2 { animation-delay: 0.34s; }
.hero-headline .hero-line-3 { animation-delay: 0.50s; color: rgba(255,255,255,.55); }

/* Accent line */
.hero-accent-line {
  width: 88px;
  height: 2px;
  background: linear-gradient(90deg, rgba(255,255,255,.70), rgba(255,255,255,.10));
  margin: 40px 0 32px;
  transform: scaleX(0);
  transform-origin: left;
  animation: accent-sweep 0.55s ease 0.85s forwards;
}

/* Lead */
.hero-lead {
  font-size: clamp(19px, 2vw, 24px);
  font-weight: 400;
  color: rgba(255,255,255,.82);
  line-height: 1.6;
  max-width: 620px;
  margin-bottom: 36px;
  opacity: 0;
  transform: translateY(10px);
  animation: hero-fade-up 0.70s ease 1.00s forwards;
}

/* Hero tags */
.hero-tags {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 44px;
  opacity: 0;
  transform: translateY(10px);
  animation: hero-fade-up 0.70s ease 1.15s forwards;
}
.hero-tag {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,.72);
  padding: 6px 11px;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 3px;
  background: rgba(255,255,255,.04);
}
.hero-tag-sep {
  width: 4px; height: 4px;
  background: rgba(255,255,255,.35);
  border-radius: 50%;
}

/* CTA group */
.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  opacity: 0;
  transform: translateY(10px);
  animation: hero-fade-up 0.70s ease 1.32s forwards;
}

/* Hero scroll arrow */
.hero-scroll {
  position: absolute;
  bottom: 34px; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: rgba(255,255,255,.55);
  animation: bounce 2.4s ease-in-out infinite;
  transition: color var(--transition);
}
.hero-scroll:hover { color: var(--white); }
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(7px); }
}

/* Hero entrance keyframes */
@keyframes word-slide-up {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes hero-fade-up {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes accent-sweep { to { transform: scaleX(1); } }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .hero-meta,
  .hero-headline .hero-line-1,
  .hero-headline .hero-line-2,
  .hero-headline .hero-line-3,
  .hero-lead, .hero-tags, .hero-cta-group,
  .hero-frame__corner, .hero-readout { opacity: 1; transform: none; animation: none; }
  .hero-headline .hero-line-3 { color: rgba(255,255,255,.55); }
  .hero-accent-line { transform: scaleX(1); animation: none; }
  .hero::after      { animation: none; }
}

/* ============================================================
   STATS BAR
   ============================================================ */
.stats {
  background: var(--white);
  border-top: 1px solid var(--light-gray);
  border-bottom: 1px solid var(--light-gray);
  padding: 48px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
}
.stat {
  position: relative;
  padding: 0 40px;
  text-align: center;
}
.stat + .stat {
  border-left: 1px solid var(--light-gray);
}
.stat__tick { display: none; }
.stat__value {
  font-family: var(--mono);
  font-size: clamp(36px, 4.5vw, 60px);
  font-weight: 500;
  color: var(--dark);
  line-height: 1;
  margin-bottom: 10px;
  letter-spacing: -0.03em;
  display: block;
}
.stat__num { display: inline-block; }
.stat__suffix {
  color: var(--blue);
  font-size: 0.65em;
  margin-left: 1px;
}
.stat__label {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--slate);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ============================================================
   SECTION SHARED
   ============================================================ */
.section { padding: var(--section-py) 0; position: relative; }
.section--white    { background: var(--white); }
.section--offwhite { background: var(--off-white); }
.section--navy     { background: var(--navy); position: relative; overflow: hidden; }
.section--navy::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 20% 0%, rgba(13, 122, 138, 0.20) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 100%, rgba(0, 79, 224, 0.18) 0%, transparent 55%);
  pointer-events: none;
}
.section--navy > * { position: relative; }
.section--blue     { background: var(--blue); position: relative; overflow: hidden; }
.section--blue::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(13, 122, 138, 0.20) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 100%, rgba(26, 46, 110, 0.30) 0%, transparent 60%);
  pointer-events: none;
}
.section--blue > * { position: relative; }

/* Section head block */
.section-head { margin-bottom: 56px; max-width: 760px; }

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
}
.section-tag__num {
  color: var(--blue);
  font-weight: 500;
}
.section-tag__line {
  width: 38px;
  height: 1px;
  background: var(--blue);
  opacity: 0.45;
}
.section-tag__label {
  color: var(--blue);
  font-weight: 700;
  text-transform: uppercase;
}
.section-tag__num--light   { color: rgba(255,255,255,.95); }
.section-tag__line--light  { background: rgba(255,255,255,.45); }
.section-tag__label--light { color: rgba(255,255,255,.78); }

.section-title {
  font-size: clamp(32px, 4.2vw, 54px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.022em;
  color: var(--dark);
  margin-bottom: 18px;
}
.section-title--light { color: var(--white); }

.section-intro {
  font-size: clamp(15px, 1.4vw, 17px);
  color: var(--slate);
  line-height: 1.7;
  max-width: 620px;
  margin-top: 4px;
}

.section-lead {
  font-size: clamp(15px, 1.4vw, 17px);
  color: var(--steel);
  line-height: 1.75;
  max-width: 560px;
  margin-bottom: 28px;
}
.section-lead--light { color: rgba(255,255,255,.82); }

.section-note {
  font-size: 13px;
  color: rgba(255,255,255,.58);
  font-style: italic;
  line-height: 1.65;
  border-left: 2px solid rgba(255,255,255,.30);
  padding-left: 16px;
  margin-top: 18px;
}

.section-inner {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 80px;
  align-items: center;
}
.section-inner--reverse { direction: rtl; }
.section-inner--reverse > * { direction: ltr; }
.section-text { display: flex; flex-direction: column; justify-content: center; }

/* Section image with HUD frame */
.section-image__frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--navy);
}
.section-image__frame img {
  display: block;
  width: 100%;
  aspect-ratio: 16/11;
  object-fit: cover;
  transition: transform 0.8s var(--ease-smooth);
}
.section-image__frame:hover img { transform: scale(1.03); }
.section-image__frame::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(0,79,224,.10) 0%, transparent 55%);
  z-index: 1;
  pointer-events: none;
}
.section-image__hud {
  position: absolute;
  inset: 16px;
  pointer-events: none;
  z-index: 2;
}
.section-image__corner {
  position: absolute;
  width: 16px; height: 16px;
  border-color: rgba(255,255,255,.65);
  border-style: solid;
}
.section-image__corner--tl { top: 0; left: 0;  border-width: 1.5px 0 0 1.5px; }
.section-image__corner--tr { top: 0; right: 0; border-width: 1.5px 1.5px 0 0; }
.section-image__corner--bl { bottom: 0; left: 0;  border-width: 0 0 1.5px 1.5px; }
.section-image__corner--br { bottom: 0; right: 0; border-width: 0 1.5px 1.5px 0; }
.section-image__coord {
  position: absolute;
  top: 12px; left: 12px;
  font-family: var(--mono);
  font-size: 9px;
  color: rgba(255,255,255,.85);
  letter-spacing: 0.18em;
  background: rgba(0,0,0,.35);
  padding: 5px 9px;
  border-radius: 2px;
  backdrop-filter: blur(4px);
}

/* ============================================================
   CARDS (Services)
   ============================================================ */

/* Card photo header */
.card__photo {
  margin: -38px -32px 24px;
  height: 160px;
  overflow: hidden;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-smooth);
}
.card:hover .card__photo img { transform: scale(1.05); }
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: var(--radius-lg);
  padding: 38px 32px 34px;
  transition: box-shadow 0.35s var(--ease-smooth), transform 0.35s var(--ease-smooth), border-color var(--transition);
  overflow: hidden;
}
.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-6px);
  border-color: #c7d7fc;
}
.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--teal));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease-smooth);
}
.card:hover::before { transform: scaleX(1); }

.card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 24px;
}
.card__num {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  color: var(--blue);
  letter-spacing: 0.15em;
  opacity: 0.6;
  padding-top: 15px;
}
.card__icon {
  width: 54px; height: 54px;
  background: var(--blue-light);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  color: var(--blue);
  transition: background var(--transition);
}
.card:hover .card__icon { background: var(--blue); color: var(--white); }
.card__title {
  font-size: 19px;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 12px;
  line-height: 1.3;
}
.card__desc {
  font-size: 14px;
  color: var(--slate);
  line-height: 1.65;
  margin-bottom: 20px;
}
.card__list {
  display: flex; flex-direction: column;
  gap: 9px;
  padding-top: 18px;
  border-top: 1px solid var(--light-gray);
}
.card__list li {
  font-size: 13px;
  color: var(--steel);
  padding-left: 18px;
  position: relative;
  line-height: 1.55;
}
.card__list li::before {
  content: '';
  position: absolute;
  left: 0; top: 8px;
  width: 6px; height: 1px;
  background: var(--blue);
}

/* ============================================================
   ABOUT
   ============================================================ */
.about-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  margin-bottom: 72px;
}
.about-desc, .about-team {
  font-size: clamp(15px, 1.3vw, 17px);
  color: var(--steel);
  line-height: 1.8;
}

/* About visual image */
.about-visual {
  margin-bottom: 72px;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.about-visual img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
}

/* Mission / Vision featured pull-quotes */
.mv-featured {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: stretch;
}
.mv-featured__item {
  position: relative;
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: var(--radius-lg);
  padding: 48px 44px 44px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--transition), transform var(--transition);
}
.mv-featured__item:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.mv-featured__text { flex: 1; }
.mv-featured__corner {
  position: absolute;
  width: 24px; height: 24px;
  border-color: var(--blue);
  border-style: solid;
  opacity: 0.45;
}
.mv-featured__corner--tl { top: 14px; left: 14px; border-width: 1.5px 0 0 1.5px; }
.mv-featured__corner--br { bottom: 14px; right: 14px; border-width: 0 1.5px 1.5px 0; }

.mv-featured__head {
  display: flex;
  align-items: flex-start;
  gap: 22px;
  margin-bottom: 24px;
}
.mv-featured__key {
  font-family: var(--font);
  font-size: 68px;
  font-weight: 300;
  color: var(--blue);
  line-height: 0.85;
  letter-spacing: -0.04em;
  flex-shrink: 0;
}
.mv-featured__meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 8px;
}
.mv-featured__num {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--blue);
  letter-spacing: 0.18em;
  opacity: 0.65;
}
.mv-featured__label {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.mv-featured__text {
  font-size: clamp(17px, 1.7vw, 22px);
  font-weight: 500;
  color: var(--dark);
  line-height: 1.5;
  letter-spacing: -0.01em;
}

/* ============================================================
   EXPERTISE LIST
   ============================================================ */
.expertise-list {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-top: 12px;
  border-top: 1px solid var(--light-gray);
}
.expertise-list li {
  display: flex;
  align-items: baseline;
  gap: 20px;
  padding: 14px 0;
  border-bottom: 1px solid var(--light-gray);
  font-size: 15px;
  color: var(--steel);
  line-height: 1.45;
  transition: color var(--transition), padding var(--transition);
}
.expertise-list li:hover {
  color: var(--dark);
  padding-left: 8px;
}
.expertise-list__num {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--blue);
  letter-spacing: 0.12em;
  opacity: 0.7;
  flex-shrink: 0;
  min-width: 22px;
}

/* ============================================================
   VALUES
   ============================================================ */
.values-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--light-gray);
}
.value-row {
  display: grid;
  grid-template-columns: 72px 1fr 48px;
  gap: 36px;
  align-items: flex-start;
  padding: 36px 0;
  border-bottom: 1px solid var(--light-gray);
  transition: background var(--transition), padding var(--transition), margin var(--transition);
  position: relative;
}
.value-row:hover {
  background: var(--off-white);
  padding-left: 28px;
  padding-right: 28px;
  margin: 0 -28px;
  border-radius: var(--radius);
}
.value-row__num {
  font-family: var(--mono);
  font-size: clamp(32px, 3.2vw, 44px);
  font-weight: 300;
  color: var(--blue);
  line-height: 1;
  letter-spacing: -0.02em;
  opacity: 0.9;
  padding-top: 4px;
}
.value-row__body { display: flex; flex-direction: column; gap: 10px; max-width: 760px; }
.value-row__name {
  font-size: clamp(19px, 2vw, 24px);
  font-weight: 600;
  color: var(--blue);
  line-height: 1.3;
  letter-spacing: -0.01em;
}
.value-row__desc {
  font-size: clamp(14px, 1.3vw, 16px);
  color: var(--slate);
  line-height: 1.7;
}
.value-row__mark {
  font-family: var(--mono);
  font-size: 22px;
  color: var(--blue);
  opacity: 0.20;
  transform: rotate(0deg);
  align-self: flex-start;
  padding-top: 8px;
  transition: opacity var(--transition), transform var(--transition);
  text-align: right;
}
.value-row:hover .value-row__mark { opacity: 0.55; transform: rotate(90deg); }

/* ============================================================
   OPERATIONS FLOW
   ============================================================ */
.operate-flow {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 0;
  align-items: stretch;
  margin-top: 16px;
}
.operate-node {
  position: relative;
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: var(--radius-lg);
  padding: 38px 30px 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
  overflow: hidden;
}
.operate-node::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--teal));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease-smooth);
}
.operate-node:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-color: #c7d7fc;
}
.operate-node:hover::after { transform: scaleX(1); }

/* Operate node photo header */
.operate-node__photo {
  margin: -38px -30px 20px;
  height: 130px;
  overflow: hidden;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.operate-node__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.operate-node__tag {
  width: 54px; height: 54px;
  background: var(--blue);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  border-radius: 10px;
  font-family: var(--mono);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
  box-shadow: 0 4px 14px rgba(0,79,224,.25);
}
.operate-node__title {
  font-size: 17px;
  font-weight: 600;
  color: var(--dark);
  line-height: 1.35;
  margin-top: 4px;
}
.operate-node__text {
  font-size: 13.5px;
  color: var(--slate);
  line-height: 1.65;
}
.operate-node__meta {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--blue);
  letter-spacing: 0.18em;
  opacity: 0.6;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--light-gray);
}

.operate-connector {
  display: flex;
  align-items: center;
  padding: 0 8px;
  position: relative;
}
.operate-connector__line {
  width: 28px;
  height: 1px;
  background: repeating-linear-gradient(90deg, var(--blue) 0 4px, transparent 4px 8px);
  opacity: 0.5;
}
.operate-connector__dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--blue);
  margin-left: -3px;
  animation: flow-pulse 2.5s ease-in-out infinite;
}
@keyframes flow-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.7); }
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 84px;
  align-items: start;
}
.contact-text { padding-top: 6px; }
.contact-lead {
  font-size: 16px;
  color: rgba(255,255,255,.78);
  line-height: 1.7;
  margin-top: 6px;
  max-width: 400px;
}
.contact-meta {
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,.18);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.contact-meta__row {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 18px;
  align-items: center;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
}
.contact-meta__key {
  color: rgba(255,255,255,.50);
  text-transform: uppercase;
}
.contact-meta__val {
  color: rgba(255,255,255,.85);
  display: flex;
  align-items: center;
  gap: 8px;
}
.contact-meta__dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 8px rgba(0,224,138,.6);
  animation: dot-pulse 2.6s ease-in-out infinite;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  background: rgba(255,255,255,.11);
  padding: 40px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,.22);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 7px; }
.form-label {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  color: rgba(255,255,255,.65);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.form-input {
  font-family: var(--font);
  font-size: 15px;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.28);
  border-radius: var(--radius);
  padding: 13px 16px;
  color: var(--white);
  transition: border-color var(--transition), background var(--transition);
  outline: none;
  width: 100%;
}
.form-input::placeholder { color: rgba(255,255,255,.35); }
.form-input:focus {
  border-color: var(--white);
  background: rgba(255,255,255,.14);
}
.form-textarea { resize: vertical; min-height: 120px; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--navy);
  padding: 56px 0;
  position: relative;
  overflow: hidden;
}
.footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.18), transparent);
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.footer-logo {
  height: 32px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: .92;
  margin-bottom: 10px;
}
.footer-tagline {
  font-family: var(--mono);
  font-size: 11px;
  color: rgba(255,255,255,.42);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.footer-meta { text-align: right; }
.footer-legal {
  font-family: var(--mono);
  font-size: 11px;
  color: rgba(255,255,255,.65);
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}
.footer-location {
  font-size: 13px;
  color: rgba(255,255,255,.55);
  margin-bottom: 4px;
}
.footer-contact {
  font-size: 13px;
  color: rgba(255,255,255,.50);
  margin-bottom: 6px;
}
.footer-contact a {
  color: rgba(255,255,255,.65);
  transition: color var(--transition);
}
.footer-contact a:hover { color: var(--white); }
.footer-copy {
  font-family: var(--mono);
  font-size: 11px;
  color: rgba(255,255,255,.32);
  letter-spacing: 0.06em;
}

/* ============================================================
   HERO WING
   ============================================================ */
.hero-wing {
  position: absolute;
  right: -6%;
  top: 50%;
  transform: translateY(-52%);
  width: min(52vw, 760px);
  pointer-events: none;
  z-index: 1;
  opacity: 0;
  animation: hud-appear 1.2s ease 0.9s forwards;
}
.hero-wing img {
  width: 100%;
  filter: brightness(0) invert(1);
  opacity: 0.12;
}

/* ============================================================
   PEEK SLIDER — shared
   ============================================================ */
.slider-outer {
  overflow: hidden;
  padding-left: max(28px, calc((100vw - var(--container)) / 2 + 28px));
}
.slider-track {
  display: flex;
  gap: 20px;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}
.slider-nav {
  display: flex;
  gap: 10px;
  margin-top: 24px;
}
.slider-btn {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--light-gray);
  background: var(--white);
  color: var(--dark);
  display: flex; align-items: center; justify-content: center;
  transition: background var(--transition), border-color var(--transition), color var(--transition);
  cursor: pointer;
}
.slider-btn:hover:not(:disabled) {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
}
.slider-btn:disabled { opacity: 0.32; cursor: default; }

/* ============================================================
   SERVICES SLIDES (01)
   ============================================================ */
.services-slide {
  flex: 0 0 min(82vw, 920px);
  height: 520px;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
}
.services-slide__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.8s var(--ease-smooth);
}
.services-slide:hover .services-slide__bg { transform: scale(1.03); }
.services-slide__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg,
    rgba(10,18,55,.88) 0%,
    rgba(10,18,55,.70) 55%,
    rgba(10,18,55,.32) 100%);
}
.services-slide__inner {
  position: relative;
  z-index: 1;
  padding: 52px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  max-width: 700px;
}
.services-slide__title {
  font-size: clamp(26px, 3.2vw, 44px);
  font-weight: 600;
  color: var(--white);
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin-bottom: 16px;
}
.services-slide__desc {
  font-size: clamp(14px, 1.4vw, 17px);
  color: rgba(255,255,255,.78);
  line-height: 1.7;
  margin-bottom: 24px;
  max-width: 520px;
}
.services-slide__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.services-slide__list li {
  font-size: 16px;
  color: rgba(255,255,255,.65);
  padding-left: 20px;
  position: relative;
  line-height: 1.55;
}
.services-slide__list li::before {
  content: '';
  position: absolute;
  left: 0; top: 9px;
  width: 8px; height: 1.5px;
  background: var(--blue);
}

/* ============================================================
   SECTION-BLOCK (merged section helper)
   ============================================================ */
.section-block {
  padding: var(--section-py) 0;
  position: relative;
  overflow: hidden;
}
.section-block.section--navy > * { position: relative; }
.section-block.section--navy::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 20% 0%, rgba(13,122,138,.20) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 100%, rgba(0,79,224,.18) 0%, transparent 55%);
  pointer-events: none;
}

/* ============================================================
   NOTE CALLOUT
   ============================================================ */
.note-callout {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-left: 3px solid rgba(0,79,224,.75);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 18px 22px;
  margin-top: 28px;
}
.note-callout__icon {
  color: rgba(0,79,224,.9);
  flex-shrink: 0;
  margin-top: 1px;
}
.note-callout p {
  font-size: 14px;
  color: rgba(255,255,255,.68);
  line-height: 1.65;
}

/* ============================================================
   OPERATIONS SLIDES (06)
   ============================================================ */
.op-slide {
  flex: 0 0 min(82vw, 860px);
  height: 440px;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
}
.op-slide__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.8s var(--ease-smooth);
}
.op-slide:hover .op-slide__bg { transform: scale(1.03); }
.op-slide__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg,
    rgba(10,18,55,.92) 0%,
    rgba(10,18,55,.75) 50%,
    rgba(10,18,55,.38) 100%);
}
.op-slide__inner {
  position: relative;
  z-index: 1;
  padding: 48px 52px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 14px;
}
.op-slide__title {
  font-size: clamp(22px, 2.8vw, 36px);
  font-weight: 600;
  color: var(--white);
  line-height: 1.2;
  letter-spacing: -0.02em;
  max-width: 640px;
}
.op-slide__text {
  font-size: 15px;
  color: rgba(255,255,255,.72);
  line-height: 1.7;
  max-width: 560px;
}
.op-slide__meta {
  font-family: var(--mono);
  font-size: 10px;
  color: rgba(255,255,255,.55);
  letter-spacing: 0.20em;
}

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease-smooth), transform 0.7s var(--ease-smooth);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .operate-flow {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 18px;
  }
  .operate-connector { display: none; }
}

@media (max-width: 1024px) {
  .section-inner { grid-template-columns: 1fr; gap: 48px; }
  .section-inner--reverse { direction: ltr; }
  .section-inner--reverse .section-image { order: -1; }
  .cards-grid { grid-template-columns: 1fr 1fr; }
  .contact-inner { grid-template-columns: 1fr; gap: 40px; }
  .about-intro { grid-template-columns: 1fr; gap: 22px; }
  .mv-featured { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 28px 32px; }
}

@media (max-width: 768px) {
  .hero-wing { width: 80vw; right: -22%; opacity: 0; animation: hud-appear 1.2s ease 0.9s forwards; }
  .services-slide { height: 420px; }
  .services-slide__inner { padding: 32px; }
  .op-slide { height: 360px; }
  .op-slide__inner { padding: 32px; }
}

@media (max-width: 768px) {
  :root { --section-py: 72px; }

  .nav-toggle { display: flex; }
  .nav {
    display: none;
    position: absolute; top: 76px; left: 0; right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--light-gray);
    box-shadow: 0 8px 24px rgba(0,0,0,.08);
    padding: 16px 24px 24px;
  }
  .nav.open { display: block; }
  .nav-list { flex-direction: column; align-items: flex-start; gap: 2px; }
  .nav-list a { padding: 10px 16px; width: 100%; display: block; font-size: 15px; }
  .nav-cta { margin-top: 8px; display: inline-block; width: auto !important; }

  .hero-frame   { inset: 14px; }
  .hero-frame__corner { width: 14px; height: 14px; }
  .hero-readout { display: none; }
  .hero-cta-group { flex-direction: column; align-items: stretch; }
  .hero-cta-group .btn { justify-content: center; }
  .hero-tags { flex-wrap: wrap; }
  .hero-content { padding-top: 120px; padding-bottom: 90px; }

  .cards-grid { grid-template-columns: 1fr; }
  .operate-flow { grid-template-columns: 1fr; gap: 14px; }

  .stats-grid { grid-template-columns: 1fr 1fr; gap: 32px 24px; }

  .value-row {
    grid-template-columns: 48px 1fr;
    gap: 20px;
    padding: 28px 0;
  }
  .value-row:hover { padding-left: 0; padding-right: 0; margin: 0; }
  .value-row__num { font-size: 28px; }
  .value-row__mark { display: none; }

  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 28px; }

  .footer-inner { flex-direction: column; align-items: flex-start; text-align: left; }
  .footer-meta  { text-align: left; }
}

@media (max-width: 480px) {
  .container { padding: 0 18px; }
  .hero-headline { font-size: 48px; line-height: 0.98; }
  .section-title { font-size: 28px; }
  .mv-featured__item { padding: 32px 24px 28px; }
  .mv-featured__key { font-size: 54px; }
  .mv-featured__text { font-size: 17px; }
  .card { padding: 30px 24px 26px; }
  .stats { padding: 36px 0; }
  .stat__value { font-size: 28px; }
}
