/* ESUOR site styles: one file for every page. Sections: 1 Base, 2 Header and footer, 3 Homepage, 4 Inner pages. */

/* ===== 1. BASE ===== */
/* ==========================================================================
   base.css: design tokens, reset, type and shared building blocks.
   Loaded on every page, before components.css and the page's own CSS.
   Colors are the existing ESUOR palette.
   ========================================================================== */
:root {
  --navy: #00417f;
  --teal: #00679c;
  --brand: #03527a;
  --gold: #f5c34f;
  --gold-soft: #ffd36e;
  --ice: #eef4f9;
  --line: #d3e0ea;
  --ink: #212529;
  --muted: #3a4650;
  --soft: #cfe0ec;
  --white: #ffffff;
  --deep: #001f33;
  --deep-line: #304959;

  --font-display: 'Bricolage Grotesque', 'Figtree', system-ui, sans-serif;
  --font-body: 'Figtree', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-logo: 'Montserrat', system-ui, sans-serif;

  --gutter: clamp(20px, 5vw, 80px);
  --wrap: 1240px;
  --section-y: clamp(64px, 4vw, 112px);
  --radius: 24px;

  --grad-navy: linear-gradient(100deg, #00417f 0%, #004d7c 55%, #00679c 100%);
  --header-h: 80px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
/*  font-size: 17px;*/
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: var(--font-display); text-wrap: balance; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; }
.section { padding: var(--section-y) var(--gutter); }
.section--ice { background: var(--ice); }
.surface-navy { background: var(--grad-navy); color: var(--white); }

.h-section {
  font-size: clamp(32px, 4.2vw, 38px);
  line-height: 1.06;
  font-weight: 700;
  letter-spacing: -.015em;
  color: var(--navy);
}
.surface-navy .h-section, .h-section--light { color: var(--white); }
.lead { /*font-size: 18px;*/ line-height: 1.65; color: var(--muted); }
.surface-navy .lead { color: var(--soft); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 28px; border-radius: 999px;
  font-weight: 700; font-size: 16px; cursor: pointer; border: 2px solid transparent;
  transition: background .2s, transform .2s, border-color .2s;
}
.btn--gold { background: var(--gold); color: var(--navy); }
.btn--gold:hover { background: var(--gold-soft); transform: translateY(-2px); }
.btn--ghost { border-color: rgba(255, 255, 255, .55); color: var(--white); font-weight: 600; }
.btn--ghost:hover { background: rgba(255, 255, 255, .14); }

/* Particle canvas: any element with .has-particles gets one via particles.js */
.has-particles { position: relative; overflow: hidden; }
.particles { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; pointer-events: none; }
.has-particles > .wrap { position: relative; z-index: 2; }

/* Brand wordmark, also the fallback when images/logo.png is missing */
.wordmark {
  position: relative; display: inline-block; padding-bottom: 8px;
  font-family: var(--font-logo); font-weight: 800; font-size: 38px; line-height: 1;
  letter-spacing: .02em; color: var(--brand);
}
.wordmark sup { font-size: 11px; vertical-align: top; margin-left: 2px; letter-spacing: 0; }
.wordmark::after {
  content: ''; position: absolute; left: 0; bottom: 0; width: 76%; height: 3px; border-radius: 3px;
  background: linear-gradient(90deg, var(--gold), rgba(245, 195, 79, 0));
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ===== 2. HEADER AND FOOTER ===== */
/* ==========================================================================
   components.css: styles for <esuor-header> and <esuor-footer>.
   Edit here and every page changes.
   ========================================================================== */
esuor-footer { display: block; }

/* ------------------------------ Header ------------------------------ */
/* The <esuor-header> element is the sticky one. It must be, because a sticky
   child can only stick inside its parent, and the parent is only as tall as
   the header. Here the parent is <body>, so the header stays at the top for
   the whole page. */
esuor-header {
  display: block;
  position: sticky; top: 0; z-index: 100;
}
.site-header {
  position: relative;
  background: var(--white);
  transition: box-shadow .25s;
}
.site-header.is-scrolled, .site-header.is-open { box-shadow: 0 2px 14px rgba(0, 65, 127, .16); }
.site-header__bar {
  max-width: 1440px; margin: 0 auto; min-height: var(--header-h);
  padding: 12px var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.logo { display: inline-flex; align-items: center; flex: none; }
.logo img { height: 44px; width: auto; }
.logo .wordmark { font-size: 36px; }

.nav__list { display: flex; align-items: center; gap: 6px 30px; }
.nav__item { position: relative; }
.nav__link {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 0; background: none; border: 0; cursor: pointer;
  font-size: 14px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--ink);
  border-bottom: 2px solid transparent; transition: color .2s;
}
.nav__link:hover { color: var(--teal); }
.nav__item.is-active > .nav__link { border-bottom-color: var(--gold); }
.nav__toggle i { font-size: 10px; transition: transform .2s; }
.has-menu.is-open > .nav__toggle i { transform: rotate(180deg); }

.menu {
  position: absolute; top: 100%; left: -18px; min-width: 330px; padding: 10px;
  background: var(--white); border-radius: 16px; border: 1px solid var(--line);
  box-shadow: 0 24px 48px rgba(0, 65, 127, .18);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .2s, transform .2s, visibility .2s;
}
.has-menu:hover > .menu, .has-menu:focus-within > .menu, .has-menu.is-open > .menu {
  opacity: 1; visibility: visible; transform: none;
}
.menu a {
  display: flex; align-items: center; gap: 14px; padding: 11px 12px; border-radius: 10px;
  font-size: 15px; font-weight: 600; color: var(--ink); transition: background .2s, color .2s;
}
.menu a i { width: 20px; text-align: center; color: var(--navy); transition: color .2s; }
.menu a:hover { background: var(--navy); color: var(--white); }
.menu a:hover i { color: var(--gold); }

/* Menu button: only visible when the nav collapses (1100px and below). */
.burger {
  display: none; flex: none; width: 44px; height: 44px; border-radius: 12px; border: 1.5px solid var(--line);
  background: var(--white); cursor: pointer; padding: 0; position: relative;
}
.burger span {
  position: absolute; left: 11px; right: 11px; height: 2px; border-radius: 2px; background: var(--navy);
  transition: transform .25s, opacity .2s, top .25s;
}
.burger span:nth-child(1) { top: 14px; }
.burger span:nth-child(2) { top: 21px; }
.burger span:nth-child(3) { top: 28px; }
.site-header.is-open .burger span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.site-header.is-open .burger span:nth-child(2) { opacity: 0; }
.site-header.is-open .burger span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

@media (max-width: 1100px) {
  .burger { display: block; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--white); border-top: 1px solid var(--line);
    box-shadow: 0 18px 30px rgba(0, 65, 127, .16);
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
    display: none;
  }
  .site-header.is-open .nav { display: block; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 20px; }
  .nav__item { border-bottom: 1px solid var(--line); }
  .nav__link { width: 100%; justify-content: space-between; padding: 16px 0; border-bottom: 0; font-size: 15px; }
  .nav__item.is-active > .nav__link { color: var(--teal); }
  .menu {
    position: static; min-width: 0; padding: 0 0 10px; border: 0; box-shadow: none; border-radius: 0;
    opacity: 1; visibility: visible; transform: none; display: none;
  }
  .has-menu:hover > .menu, .has-menu:focus-within > .menu { display: none; }
  .has-menu.is-open > .menu { display: block; }
}

/* ---------------------- Header menu: flyouts (Services and Product). Shared header, so it lives in styles.css ---------------------- */
.has-sub { position: relative; }
.menu__sub-toggle {
  width: 100%; display: flex; align-items: center; gap: 14px; padding: 11px 12px;
  border: 0; border-radius: 10px; background: none; cursor: pointer; text-align: left;
  font-size: 15px; font-weight: 600; color: var(--ink); transition: background .2s, color .2s;
}
.menu__sub-toggle > i:first-child { width: 20px; text-align: center; color: var(--navy); transition: color .2s; }
.menu__sub-toggle > span { flex: 1; min-width: 0; }
.sub-arrow { font-size: 11px; transition: transform .2s; }
.has-sub:hover > .menu__sub-toggle,
.has-sub:focus-within > .menu__sub-toggle,
.has-sub.is-open > .menu__sub-toggle { background: var(--gold); color: var(--navy); }
.has-sub:hover > .menu__sub-toggle > i:first-child,
.has-sub:focus-within > .menu__sub-toggle > i:first-child,
.has-sub.is-open > .menu__sub-toggle > i:first-child { color: var(--navy); }

.submenu {
  position: absolute; top: -11px; left: calc(100% + 6px); z-index: 2; min-width: 300px; padding: 10px;
  background: var(--white); border: 1px solid var(--line); border-radius: 16px;
  box-shadow: 0 24px 48px rgba(0, 65, 127, .18);
  display: none;
}
/* Invisible strip so the pointer can cross the gap between menu and flyout. */
.submenu::before { content: ''; position: absolute; top: 0; bottom: 0; left: -10px; width: 10px; }
.has-sub:hover > .submenu, .has-sub:focus-within > .submenu, .has-sub.is-open > .submenu {
  display: block; animation: submenu-in .2s ease-out;
}
@keyframes submenu-in { from { opacity: 0; transform: translateX(8px); } to { opacity: 1; transform: none; } }
.submenu.is-flipped { left: auto; right: calc(100% + 6px); }
.submenu.is-flipped::before { left: auto; right: -10px; }

@media (max-width: 1100px) {
  .submenu {
    position: static; min-width: 0; margin: 2px 0 6px 22px; padding: 0 0 0 12px;
    border: 0; border-left: 2px solid var(--line); border-radius: 0; box-shadow: none;
    display: none; animation: none;
  }
  .submenu::before { display: none; }
  .has-sub:hover > .submenu, .has-sub:focus-within > .submenu { display: none; }
  .has-sub.is-open > .submenu { display: block; animation: none; }
  .has-sub:hover > .menu__sub-toggle, .has-sub:focus-within > .menu__sub-toggle { background: none; color: var(--ink); }
  .has-sub.is-open > .menu__sub-toggle { background: var(--gold); color: var(--navy); }
  .has-sub.is-open > .menu__sub-toggle .sub-arrow { transform: rotate(90deg); }
  .menu__sub-toggle { padding: 13px 12px; }
}

/* ------------------------------ Footer ------------------------------ */
.site-footer { background: var(--deep); color: var(--white); }
.site-footer__main {
  padding: clamp(56px, 7vw, 88px) var(--gutter) clamp(44px, 5vw, 64px);
  max-width: calc(var(--wrap) + 2 * var(--gutter));
  display: grid;
  grid-template-columns: minmax(0, 270px) minmax(0, 2fr) minmax(0, 1.2fr);
  gap: 48px clamp(40px, 6vw, 88px);
}
.footer-title {
  position: relative; padding-bottom: 14px; margin-bottom: 20px;
  font-size: 28px; font-weight: 700; line-height: 1.1;
}
.footer-title::after { content: ''; position: absolute; left: 0; bottom: 0; width: 48px; height: 3px; border-radius: 2px; background: var(--gold); }

.footer-col--brand { display: flex; flex-direction: column; gap: 26px; }
.iso { /*display: flex; align-items: center; gap: 16px;*/ text-align: center; }
.iso img { /*width: 92px; height: 92px;*/ width: 100%; object-fit: contain; flex: none; padding: 0 65px 15px; }
.iso p { /*font-size: 17px; line-height: 1.5; font-weight: 500;*/ font-family: var(--font-display); }
.iso-badge {
  flex: none; width: 92px; height: 92px; border-radius: 50%; display: grid; place-content: center; text-align: center;
  background: radial-gradient(circle at 30% 25%, #fbe694, var(--gold) 55%, #b98a1c);
  color: #5c4208; box-shadow: inset 0 0 0 5px rgba(255, 255, 255, .25);
}
.iso-badge b { font-size: 24px; line-height: 1; font-weight: 800; }
.iso-badge span { font-size: 11px; font-weight: 800; }
.footer-col--brand .wordmark { color: var(--white); }

.social { display: flex; flex-wrap: wrap; gap: 9px; }
.social__link {
  width: 37px; height: 37px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--deep-line); color: var(--white); font-size: 16px;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.social__link:hover { background: var(--gold); border-color: var(--gold); color: var(--navy); transform: translateY(-3px); }

.quick-links {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(5, auto); grid-auto-flow: column; column-gap: 32px;
}
.quick-links a {
  display: flex; align-items: center; gap: 12px; padding: 10px 0;
  font-size: 14px; line-height: 1.35; color: #e6edf2; transition: color .2s, padding .2s;
}
.quick-links a i { color: var(--gold); font-size: 11px; flex: none; }
.quick-links a:hover { color: var(--gold); padding-left: 6px; }

.contact-list { border-top: 1px solid var(--deep-line); }
.contact-list li { display: flex; align-items: center; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--deep-line); font-size: 14px; line-height: 1.55; }
.contact-list__icon {
  flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(245, 195, 79, .12); color: var(--gold); font-size: 14px;
}
.contact-list a:hover { color: var(--gold); }
.contact-list .email { overflow-wrap: anywhere; }

.site-footer__bar { position: relative; z-index: 2; border-top: 1px solid var(--deep-line); padding: 22px var(--gutter); color: #e6edf2; font-size: 14px; }
.site-footer__bar .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 32px; }
.site-footer .sep { margin: 0 8px; color: var(--deep-line); }
.legal { display: inline-flex; flex-wrap: wrap; align-items: center; }
.legal a:hover { color: var(--gold); }

@media (max-width: 980px) {
  .site-footer__main { grid-template-columns: minmax(0, 1fr); }
  .footer-col--brand { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; }
}
@media (max-width: 640px) {
  .quick-links { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; grid-auto-flow: row; }
  .footer-col--brand { flex-direction: column; align-items: flex-start; }
}

/* ===== 3. HOMEPAGE ===== */
/* ==========================================================================
   home.css: styles that only the homepage uses.
   ========================================================================== */

/* ------------------------------- Hero ------------------------------- */
.hero {
  background: linear-gradient(90deg, #00417f 0%, #00467e 25%, #004d7c 50%, #005581 70%, #00679c 100%);
  color: var(--white);
  padding: clamp(56px, 5vw, 96px) var(--gutter) clamp(130px, 5vw, 210px);
}
/* White wedge along the bottom edge. It sits under the particle canvas, so the
   sky-blue network carries on across the diagonal, as in the reference. */

/*.hero::after, .page-hero::after {
  content: ''; position: absolute; z-index: 0; left: 0; right: 0; bottom: -1px;
  height: clamp(44px, 7vw, 110px); background: var(--white);
  clip-path: polygon(0 100%, 100% 100%, 100% 0); pointer-events: none;
}*/
.hero__ring { position: absolute; border: 2px solid rgba(255, 255, 255, .18); }
.hero__ring--a { left: 3%; top: 34px; width: 92px; height: 92px; border-radius: 50%; }
.hero__ring--b { left: 9%; top: 150px; width: 28px; height: 28px; border-radius: 7px; }
.hero__ring--c { right: 6%; top: 40px; width: 46px; height: 46px; border-radius: 50%; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 56px 48px; }
.hero__copy { display: flex; flex-direction: column; gap: 26px; }
.hero h1 { font-size: clamp(46px, 7vw, 96px); line-height: .98; font-weight: 800; letter-spacing: -.025em; }
.hero__sub { font-family: var(--font-display); font-size: clamp(24px, 3vw, 38px); line-height: 1.15; font-weight: 500; color: #e6edf2; }
.hero__text { font-size: 19px; line-height: 1.65; color: var(--soft); max-width: 34em; }
.hero__text strong { color: var(--white); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; padding-top: 6px; }
.hero__art { display: flex; justify-content: center; }
.hero__art img { width: 100%; max-width: 620px; filter: drop-shadow(0 28px 40px rgba(0, 30, 70, .35)); animation: bob 7s ease-in-out infinite alternate; }
@keyframes bob { from { transform: translateY(0); } to { transform: translateY(-14px); } }

/* ---------------------------- Fact strip ---------------------------- */
.facts { padding: 8px var(--gutter) 0; }
.facts__list { display: flex; flex-wrap: wrap; }
.fact { flex: 1 1 240px; min-width: 0; display: flex; flex-direction: column; gap: 4px; padding: 20px 28px; margin: 8px 0; border-left: 3px solid var(--gold); }
.fact span { font-size: 13px; font-weight: 600; color: #4a5a66; }
.fact strong { font-family: var(--font-display); font-size: 21px; font-weight: 700; line-height: 1.25; color: var(--navy); }

/* ------------------------------ About ------------------------------- */
.about__grid { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 56px 80px; }
.about__copy { flex: 1.2 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 26px; }
.about__copy p { color: var(--muted); line-height: 1.75; max-width: 40em; }
.deliver { flex: 1 1 380px; min-width: 0; background: var(--ice); border-radius: var(--radius); padding: clamp(24px, 3vw, 40px); }
.deliver__img { width: 100%; max-width: 520px; margin: 0 auto 12px; }
.deliver h3 { font-size: 22px; font-weight: 700; color: var(--navy); padding-bottom: 12px; }
.deliver li { display: flex; align-items: center; gap: 14px; padding: 13px 0; border-top: 1px solid var(--line); font-size: 17px; font-weight: 600; }
.deliver li::before { content: ''; flex: none; width: 9px; height: 9px; border-radius: 2px; background: var(--gold); }

/* ---------------------------- Innovation ---------------------------- */
.band {
  clip-path: polygon(0 4%, 100% 0, 100% 96%, 0 100%);
  padding: var(--section-y) var(--gutter);
}
.band__grid { display: flex; flex-wrap: wrap; align-items: center; gap: 56px 80px; padding: clamp(16px, 3vw, 40px) 0; }
.band__copy { flex: 1.1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.band__copy h2 { font-size: clamp(30px, 3.8vw, 48px); line-height: 1.08; font-weight: 700; letter-spacing: -.015em; }
.band__copy p { color: var(--soft); line-height: 1.75; max-width: 40em; }
.principles { flex: 1 1 380px; min-width: 0; }
.band__img { width: 100%; /*max-width: 440px;*/ margin: 0 auto 20px; animation: bob 8s ease-in-out infinite alternate; }
.principles > p { color: var(--soft); line-height: 1.7; padding-bottom: 18px; }
.principles li {
  display: flex; align-items: center; gap: 16px; padding: 14px 0; border-top: 1px solid rgba(255, 255, 255, .24);
  font-family: var(--font-display); font-size: 21px; font-weight: 600; line-height: 1.25;
}
.principles li::before { content: ''; flex: none; width: 20px; height: 3px; border-radius: 2px; background: var(--gold); }

/* ----------------------------- Services ----------------------------- */
.services__grid { display: flex; flex-wrap: wrap; align-items: center; gap: 56px clamp(40px, 7vw, 104px); }
.services__art { flex: 1 1 400px; min-width: 0; }
.services__img { width: 100%; max-width: 520px; margin: 0 auto; animation: bob 7s ease-in-out infinite alternate; }
.services__list { flex: 1.15 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.services__list .lead { max-width: 30em; }
.srow-list { margin-top: 14px; border-top: 1px solid var(--line); }
.srow { display: flex; align-items: center; gap: 18px; padding: 10px 4px; border-bottom: 1px solid var(--line); transition: padding .25s; }
.srow__icon { flex: none; width: 30px; text-align: center; /*font-size: 22px;*/ color: var(--navy); }
.srow__name { flex: 1; min-width: 0; font-family: var(--font-display); /*font-size: clamp(18px, 1.7vw, 22px);*/ font-weight: 600; transition: color .25s; }
.srow__arrow { flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--ice); color: var(--navy); font-size: 13px; transition: background .25s, transform .25s; }
.srow:hover { padding-left: 14px; }
.srow:hover .srow__name { color: var(--teal); }
.srow:hover .srow__arrow { background: var(--gold); transform: translateX(4px); }

/* ----------------------------- Partners ----------------------------- */
.partners { background: linear-gradient(120deg, #00417f 0%, #004d7c 60%, #00679c 100%); color: var(--white); padding: var(--section-y) var(--gutter); }
.partners__inner { display: flex; flex-direction: column; gap: 56px; }
.partners__head { display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center; }
.partners__head .h-section { max-width: 16em; font-size: clamp(32px, 4.4vw, 56px); color: var(--white); }
.partners__head .lead { max-width: 34em; color: var(--soft); }
.partners__head hr { width: 72px; height: 4px; border: 0; border-radius: 2px; background: var(--gold); margin: 0; }
.pcards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 20px; }
.pcard {
  display: flex; flex-direction: column; gap: 20px; padding: 32px 28px 28px; border-radius: var(--radius);
  background: rgb(0 90 140); border: 1px solid rgba(255, 255, 255, .24);
  transition: transform .3s, background .3s, border-color .3s;
}
.pcard:hover { transform: translateY(-6px); background: rgba(255, 255, 255, .14); border-color: var(--gold); }
.pcard__icon { flex: none; width: 50px; height: 50px; border-radius: 20px; display: grid; place-items: center; background: var(--gold); color: var(--navy); font-size: 20px; }
.pcard h3 { font-size: 24px; font-weight: 600; line-height: 1.2; }
.pcard p { color: var(--soft); line-height: 1.65; }
.pcard__bar { margin-top: auto; width: 36px; height: 3px; border-radius: 2px; background: var(--gold); transition: width .3s; }
.pcard:hover .pcard__bar { width: 96px; }

/* ------------------------------ Clients ----------------------------- */
.clients { padding: clamp(64px, 8vw, 104px) 0; }
.clients__head { padding: 0 var(--gutter); margin-bottom: 44px; display: flex; flex-direction: column; gap: 12px; }
.clients__head h2 { font-size: clamp(30px, 3.8vw, 46px); line-height: 1.08; font-weight: 700; letter-spacing: -.015em; color: var(--navy); }
.marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track { display: flex; width: max-content; gap: 20px; animation: marquee 36s linear infinite; }
/*.marquee:hover .marquee__track { animation-play-state: paused; }*/
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(calc(-50% - 10px)); } }
.client {
  flex: none; width: 220px; height: 112px; display: flex; align-items: center; justify-content: center; padding: 16px 20px;
  border: 1px solid var(--line); border-radius: 18px; background: var(--white);
}
.client img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }

/* ----------------------------- Startup ------------------------------ */
.startup { padding: clamp(56px, 7vw, 96px) var(--gutter); }
.startup__card {
  position: relative; overflow: hidden; display: flex; flex-wrap: wrap; align-items: center; gap: 40px 64px;
  background: var(--grad-navy); color: var(--white); border-radius: 28px; padding: clamp(32px, 5vw, 72px);
}
.startup__copy { position: relative; z-index: 1; flex: 1.3 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.startup__kicker { font-size: 14px; font-weight: 700; letter-spacing: .06em; color: var(--gold); }
.startup__copy h2 { font-size: clamp(30px, 3.8vw, 48px); line-height: 1.08; font-weight: 700; letter-spacing: -.015em; }
.startup__copy p { color: var(--soft); line-height: 1.75; max-width: 38em; }
.chips { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 6px; }
.chip { display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px 10px 12px; border-radius: 999px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .28); font-weight: 600; font-size: 15px; }
.chip i { flex: none; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: var(--navy); font-size: 11px; }

.startup__badge { position: relative; z-index: 1; flex: 1 1 300px; min-width: 0; display: flex; justify-content: center; }
.startup__img { width: 100%; max-width: 380px; animation: bob 8s ease-in-out infinite alternate; }

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr); }
}

/* ===== 4. INNER PAGES (About, Why ESUOR, Contact, Career) ===== */

.btn--navy { background: var(--navy); color: var(--white); min-height: 44px; padding: 0 22px; font-size: 15px; }
.btn--navy:hover { background: var(--teal); transform: translateY(-2px); }
.btn--navy i { font-size: 12px; transition: transform .2s; }
.btn--navy:hover i { transform: translateX(4px); }

/* Page hero: used at the top of every inner page */
.page-hero {
  background: var(--grad-navy); color: var(--white);
  padding: clamp(48px, 6vw, 88px) var(--gutter) clamp(84px, 10vw, 140px);
}
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin-bottom: 18px; font-size: 14px; font-weight: 600; color: var(--soft); }
.crumbs a:hover { color: var(--gold); }
.crumbs i { font-size: 10px; color: var(--gold); }
.page-hero h1 { font-size: clamp(38px, 6vw, 50px); line-height: 1; font-weight: 800; letter-spacing: -.025em; max-width: 14em; }
.page-hero__lead { margin-top: 22px; /*font-size: clamp(17px, 1.6vw, 20px);*/ line-height: 1.65; color: var(--soft); max-width: 40em; }

.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--teal); }
.surface-navy .eyebrow, .section--navy .eyebrow { color: var(--gold); }
.section__head { display: flex; flex-direction: column; gap: 14px; margin-bottom: clamp(32px, 4vw, 52px); 
  max-width: 44em;
   }
.section__head--center { align-items: center; text-align: center; margin-left: auto; margin-right: auto; }
.rule { width: 72px; height: 4px; border: 0; border-radius: 2px; background: var(--gold); margin: 0; }

/* Dark section with glass cards. The homepage Partners section uses the same look. */
.section--navy { background: linear-gradient(120deg, #00417f 0%, #004d7c 60%, #00679c 100%); color: var(--white); }
.section--navy .h-section { color: var(--white); }
.section--navy .lead { color: var(--soft); }

/* Key figures */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 20px; }
.stat { display: flex; flex-direction: column; gap: 6px; padding: 28px 26px; border-radius: 20px; background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--gold); }
.stat strong { font-family: var(--font-display); font-size: clamp(36px, 4vw, 36px); font-weight: 800; line-height: 1; color: var(--navy); letter-spacing: -.02em; }
.stat span { font-weight: 600; color: var(--muted); }

/* Value cards (light) */
.values { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 286px), 1fr)); gap: 20px; }
.value { display: flex; flex-direction: column; gap: 14px; padding: 30px 28px; border-radius: 22px; background: var(--white); border: 1px solid var(--line); transition: transform .3s, box-shadow .3s, border-color .3s; }
.value:hover { transform: translateY(-6px); box-shadow: 0 22px 44px rgba(0, 65, 127, .14); border-color: var(--gold); }
.value__icon { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; font-size: 18px; background: var(--ice); color: var(--navy); transition: background .3s, color .3s; }
.value:hover .value__icon { background: var(--navy); color: var(--gold); }
.value h3 { font-size: 20px; font-weight: 600; line-height: 1.2; color: var(--navy); }
.value p { color: var(--muted); line-height: 1.65; }

/* Why page: intro with picture */
.split { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 48px clamp(40px, 7vw, 96px); align-items: center; }
.split__copy { display: flex; flex-direction: column; gap: 22px; }
.split__copy p { color: var(--muted); line-height: 1.75; max-width: 40em; }
.split__art { display: flex; justify-content: center; }
.split__art img { width: 100%; max-width: 460px; margin: 0 auto; animation: bob 7s ease-in-out infinite alternate; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: 28px; padding: clamp(24px, 4vw, 48px); box-shadow: 0 24px 50px rgba(0, 65, 127, .08); }
.form-card h2 { font-size: clamp(26px, 3vw, 36px); font-weight: 700; line-height: 1.1; color: var(--navy); margin-bottom: 8px; }
.form-card > p { color: var(--muted); margin-bottom: 28px; }
.form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 700; color: var(--ink); }
.field label small { font-weight: 500; color: #5a6a76; }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: var(--white);
  border: 1.5px solid #b9cadb; border-radius: 14px; padding: 14px 16px; min-height: 52px;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #7a8a97; }
.field input:hover, .field textarea:hover { border-color: var(--teal); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 4px rgba(0, 103, 156, .18); }
.field.has-error input, .field.has-error textarea { border-color: #c0392b; box-shadow: 0 0 0 4px rgba(192, 57, 43, .12); }
.field__error { min-height: 0; font-size: 13px; font-weight: 600; color: #b03024; }
.form__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 26px; }
.btn--outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn--outline:hover { background: var(--ice); }
.form__status { margin-top: 20px; font-weight: 600; line-height: 1.5; }
.form__status:empty { display: none; }
.form__status.is-success, .form__status.is-error, .form__status.is-info { padding: 14px 18px; border-radius: 14px; }
.form__status.is-success { background: #e6f4ea; color: #1b5e2f; }
.form__status.is-error { background: #fdecea; color: #8e2a20; }
.form__status.is-info { background: var(--ice); color: var(--navy); }

.info-card { position: relative; overflow: hidden; border-radius: 28px; color: var(--white); background: var(--grad-navy); padding: clamp(28px, 4vw, 48px); display: flex; flex-direction: column; gap: 22px; }
.info-card > *:not(.particles) { position: relative; z-index: 1; }
.info-card h2 { font-size: clamp(26px, 3vw, 36px); font-weight: 700; line-height: 1.1; }
.info-card > p { color: var(--soft); line-height: 1.7; }
.info-list { border-top: 1px solid rgba(255, 255, 255, .24); }
.info-list li { display: flex; align-items: flex-start; gap: 16px; padding: 18px 0; border-bottom: 1px solid rgba(255, 255, 255, .24); line-height: 1.55; }
.info-list__icon { flex: none; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: rgba(245, 195, 79, .16); color: var(--gold); font-size: 18px; }
.info-list small { display: block; font-size: 13px; font-weight: 600; color: var(--soft); }
.info-list a:hover { color: var(--gold); }
.info-list span { min-width: 0; overflow-wrap: anywhere; }

/* Career */
.jobs { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 20px; }
.job { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: 28px; border-radius: 22px; background: var(--white); border: 1px solid var(--line); transition: transform .3s, box-shadow .3s, border-color .3s; }
.job:hover { transform: translateY(-6px); box-shadow: 0 22px 44px rgba(0, 65, 127, .14); border-color: var(--gold); }
.job__icon { flex: none; width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; font-size: 18px; background: var(--ice); color: var(--navy); }
.job h3 { font-size: 22px; font-weight: 600; line-height: 1.2; color: var(--navy); }
.job p { color: var(--muted); line-height: 1.65; flex: 1; }

.process { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; counter-reset: step; position: relative; }
.process::before { content: ''; position: absolute; left: 12%; right: 12%; top: 34px; height: 2px; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .45) 0 8px, transparent 8px 16px); }
.step { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; }
.step__num { width: 68px; height: 68px; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: var(--navy); font-family: var(--font-display); font-size: 24px; font-weight: 800; box-shadow: 0 0 0 8px rgba(245, 195, 79, .22); }
.step h3 { font-size: 22px; font-weight: 600; }
.step p { color: var(--soft); line-height: 1.65; max-width: 16em; }


/* ===== 4b. PROFILE CONTENT (homepage + About + Why) ===== */

.who { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 48px clamp(40px, 7vw, 96px); align-items: center; }
.who__art { display: flex; justify-content: center; }
.who__art img { width: 100%; max-width: 460px; animation: bob 7s ease-in-out infinite alternate; }
.who__copy { display: flex; flex-direction: column; gap: 22px; }
.who__copy p { color: var(--muted); line-height: 1.75; max-width: 46em; }
.who__copy p strong { color: var(--navy); }

/* About: journey */
.journey { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; position: relative; }
.journey::before { content: ''; position: absolute; left: 4%; right: 6%; top: 10px; height: 3px; background: var(--gold); }
.journey__item { position: relative; padding-top: 44px; }
.journey__item::before { content: ''; position: absolute; left: 24px; top: 0; width: 22px; height: 22px; border-radius: 50%; background: var(--navy); border: 4px solid var(--white); box-shadow: 0 0 0 2px var(--navy); }
.journey__item:last-child::before { background: var(--gold); box-shadow: 0 0 0 2px var(--gold); }
.journey__card { height: 100%; display: flex; flex-direction: column; gap: 8px; padding: 26px 24px; border-radius: 20px; background: var(--white); border: 1px solid var(--line); }
.journey__item:last-child .journey__card { background: var(--navy); border-color: var(--navy); color: var(--white); }
.journey__year { font-family: var(--font-display); font-size: 36px; font-weight: 800; line-height: 1; color: var(--teal); letter-spacing: -.02em; }
.journey__item:last-child .journey__year { color: var(--gold); }
.journey__card h3 { font-size: 20px; font-weight: 700; line-height: 1.2; color: var(--navy); }
.journey__item:last-child .journey__card h3 { color: var(--white); }
.journey__card p { color: var(--muted); line-height: 1.65; font-size: 16px; }
.journey__item:last-child .journey__card p { color: var(--soft); }

/* About: vision and mission (dark, side by side) */
.vm2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 6vw, 80px); }
.vm2__item { display: flex; flex-direction: column; gap: 16px; padding-top: 22px; border-top: 3px solid var(--gold); }
.vm2__item h3 { font-size: clamp(26px, 3vw, 36px); font-weight: 700; line-height: 1.1; }
.vm2__item p { color: var(--soft); line-height: 1.75; /*font-size: 18px;*/ max-width: 34em; }

/* About: credentials */
.creds { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.cred { display: flex; flex-direction: column; gap: 10px; padding: 28px 26px; border-radius: 22px; background: var(--white); border: 1px solid var(--line); }
.cred__logo { height: 64px; display: flex; align-items: center; margin-bottom: 8px; }
.cred__logo img { max-height: 100%; width: auto; max-width: 70%; object-fit: contain; }
.cred h3 { font-size: 21px; font-weight: 700; line-height: 1.2; color: var(--navy); }
.cred__id { font-family: var(--font-display); font-weight: 700; font-size: 17px; color: var(--teal); overflow-wrap: anywhere; }
.cred p { color: var(--muted); line-height: 1.65; font-size: 16px; }

/* ===== 5. RESPONSIVE ===== */
@media (max-width: 1100px) {
  .hero__grid { gap: 40px 32px; }
  .creds { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 980px) {
  .who, .vm2 { grid-template-columns: minmax(0, 1fr); }
  .split, .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .process { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 24px; }
  .process::before { display: none; }
}
@media (max-width: 760px) {
  .journey { grid-template-columns: minmax(0, 1fr); gap: 16px; padding-left: 26px; }
  .journey::before { left: 10px; right: auto; top: 12px; bottom: 12px; width: 3px; height: auto; }
  .journey__item { padding-top: 0; }
  .journey__item::before { left: -26px; top: 22px; }
  .site-header__bar { min-height: 68px; }
  :root { --header-h: 68px; }
  .logo img { height: 38px; }
  .logo .wordmark { font-size: 30px; }
  .menu a { padding: 13px 12px; }
}
@media (max-width: 600px) {
  .creds { grid-template-columns: minmax(0, 1fr); }
  body { font-size: 16px; }
  .form__grid { grid-template-columns: minmax(0, 1fr); }
  .fact { flex-basis: 100%; padding: 14px 20px; }
  .hero__actions .btn { width: 100%; }
  .form__actions .btn { flex: 1 1 100%; }
  .hero { padding-bottom: 96px; }
  .band { clip-path: polygon(0 2%, 100% 0, 100% 98%, 0 100%); }
  .client { width: 180px; height: 92px; padding: 12px 14px; }
  .iso { flex-direction: column; align-items: flex-start; }
  .process { grid-template-columns: minmax(0, 1fr); }
  .step { flex-direction: row; text-align: left; align-items: flex-start; gap: 18px; }
  .step > div { min-width: 0; }
  .step p { max-width: none; }
  .step__num { flex: none; width: 56px; height: 56px; font-size: 20px; }
}
@media (max-width: 380px) {
  :root { --gutter: 16px; }
  .btn { padding: 0 20px; }
  .footer-title { font-size: 24px; }
}