/* GEM USA Consulting — corporate static site */
:root {
  --navy: #0B1F3A;
  --navy-2: #14305a;
  --accent: #C41E3A;
  --accent-soft: #e8eef6;
  --gray: #f4f6f9;
  --gray-2: #e6ebf2;
  --text: #1a2438;
  --muted: #5a6a82;
  --white: #ffffff;
  --radius: 12px;
  --shadow: 0 8px 28px rgba(11, 31, 58, 0.08);
  --max: 1120px;
  --header-h: 72px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--accent); }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 22px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--gray-2);
  box-shadow: 0 1px 0 rgba(11,31,58,0.04);
}
.header-inner {
  display: flex; align-items: center; gap: 18px;
  min-height: var(--header-h);
}
.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand img { height: 48px; width: auto; }
.brand-text { display: none; }
.nav {
  margin-left: auto;
  display: flex; align-items: center; gap: 4px;
}
.nav a {
  color: var(--navy);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 8px 12px;
  border-radius: 8px;
}
.nav a:hover, .nav a.active { background: var(--accent-soft); color: var(--navy); }
.nav a.cta-nav {
  background: var(--navy); color: #fff !important;
  margin-left: 6px;
}
.nav a.cta-nav:hover { background: var(--navy-2); }
.lang-toggle {
  display: inline-flex; border: 1px solid var(--gray-2);
  border-radius: 8px; overflow: hidden; margin-left: 8px;
}
.lang-toggle button {
  border: 0; background: transparent; padding: 7px 11px;
  font-weight: 700; font-size: 0.8rem; cursor: pointer; color: var(--muted);
  font-family: inherit;
}
.lang-toggle button.active { background: var(--navy); color: #fff; }
.hamburger {
  display: none; margin-left: auto;
  width: 44px; height: 44px; border: 1px solid var(--gray-2);
  border-radius: 8px; background: #fff; cursor: pointer;
  align-items: center; justify-content: center; flex-direction: column; gap: 5px;
}
.hamburger span {
  display: block; width: 20px; height: 2px; background: var(--navy); border-radius: 1px;
}

/* Hero */
.hero {
  position: relative;
  color: #fff;
  min-height: 480px;
  display: flex; align-items: center;
  background: var(--navy);
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0.45;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(11,31,58,0.92) 0%, rgba(11,31,58,0.72) 55%, rgba(11,31,58,0.45) 100%);
}
.hero .wrap { position: relative; z-index: 1; padding: 72px 22px; }
.eyebrow {
  display: inline-block;
  color: #9ec0ef;
  font-weight: 700; font-size: 0.8rem;
  letter-spacing: 0.12em; text-transform: uppercase;
  margin: 0 0 12px;
}
.hero h1 {
  font-size: clamp(1.85rem, 4.2vw, 2.85rem);
  line-height: 1.18; margin: 0 0 16px; max-width: 720px;
  font-weight: 800;
}
.hero .lead {
  font-size: 1.12rem; color: #d5e2f5; max-width: 640px; margin: 0 0 28px;
}
.tagline {
  color: #a8c4e8; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; font-size: 0.78rem; margin-bottom: 22px;
}
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Buttons */
.btn {
  display: inline-block;
  background: var(--accent); color: #fff !important;
  padding: 13px 24px; border-radius: 8px;
  font-weight: 700; border: 0; cursor: pointer;
  font-size: 1rem; font-family: inherit;
  text-decoration: none;
}
.btn:hover { filter: brightness(1.08); color: #fff !important; }
.btn-navy { background: var(--navy); }
.btn-ghost {
  background: transparent; border: 2px solid rgba(255,255,255,0.65);
  color: #fff !important;
}
.btn-ghost:hover { background: rgba(255,255,255,0.1); }
.btn-outline {
  background: transparent; border: 2px solid var(--navy); color: var(--navy) !important;
}
.btn-outline:hover { background: var(--navy); color: #fff !important; }

/* Sections */
.sec { padding: 72px 0; }
.sec h2 {
  font-size: clamp(1.55rem, 3vw, 2.1rem);
  color: var(--navy); margin: 0 0 12px; font-weight: 800;
}
.sec .intro { color: var(--muted); max-width: 720px; margin: 0 0 36px; font-size: 1.05rem; }
.band { background: var(--gray); }
.section-label {
  color: var(--accent); font-weight: 700; font-size: 0.78rem;
  letter-spacing: 0.1em; text-transform: uppercase; margin: 0 0 8px;
}

/* Cards / grids */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: #fff; border: 1px solid var(--gray-2);
  border-radius: var(--radius); padding: 26px;
  box-shadow: var(--shadow);
}
.card h3 { margin: 0 0 10px; color: var(--navy); font-size: 1.15rem; }
.card p { margin: 0; color: var(--muted); }
.card .ic {
  width: 46px; height: 46px; border-radius: 10px;
  background: var(--accent-soft); color: var(--navy);
  display: grid; place-items: center; font-size: 1.35rem; margin-bottom: 14px;
  font-weight: 700;
}
.card-img {
  overflow: hidden; border-radius: var(--radius);
  border: 1px solid var(--gray-2); box-shadow: var(--shadow);
}
.card-img img { width: 100%; height: 220px; object-fit: cover; }
.card-img .cap { padding: 16px 18px; background: #fff; }
.card-img .cap h3 { margin: 0 0 6px; color: var(--navy); font-size: 1.1rem; }
.card-img .cap p { margin: 0; color: var(--muted); font-size: 0.95rem; }

/* Split */
.split {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 40px; align-items: center;
}
.split img {
  width: 100%; border-radius: var(--radius); box-shadow: var(--shadow);
  object-fit: cover; max-height: 420px;
}
.split.reverse { direction: rtl; }
.split.reverse > * { direction: ltr; }

/* Checklist */
.check { list-style: none; padding: 0; margin: 0; }
.check li {
  position: relative; padding: 10px 0 10px 34px;
  border-bottom: 1px solid var(--gray-2); color: var(--text);
}
.check li:last-child { border-bottom: 0; }
.check li::before {
  content: ""; position: absolute; left: 0; top: 14px;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--navy) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='2' d='M3 8l3.5 3.5L13 5'/%3E%3C/svg%3E") center/12px no-repeat;
}

/* Steps */
.steps {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: step;
}
.steps li {
  background: #fff; border-radius: var(--radius); padding: 28px 24px;
  border: 1px solid var(--gray-2); box-shadow: var(--shadow);
  position: relative;
}
.steps .num {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--navy); color: #fff;
  display: grid; place-items: center; font-weight: 800; margin-bottom: 14px;
}
.steps h3 { margin: 0 0 8px; color: var(--navy); }
.steps p { margin: 0; color: var(--muted); }

/* Timeline (how it works page) */
.timeline { list-style: none; padding: 0; margin: 0; max-width: 760px; }
.timeline li {
  position: relative; padding: 0 0 36px 64px;
  border-left: 2px solid var(--gray-2); margin-left: 21px;
}
.timeline li:last-child { border-left-color: transparent; padding-bottom: 0; }
.timeline .num {
  position: absolute; left: -22px; top: 0;
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--navy); color: #fff;
  display: grid; place-items: center; font-weight: 800;
}
.timeline h3 { margin: 6px 0 8px; color: var(--navy); }
.timeline p { margin: 0; color: var(--muted); }

/* Form */
.form-wrap {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: start;
}
.form {
  background: #fff; padding: 28px; border-radius: var(--radius);
  box-shadow: var(--shadow); border: 1px solid var(--gray-2);
  display: grid; gap: 14px;
}
.form label { display: grid; gap: 6px; font-weight: 600; color: var(--navy); font-size: 0.92rem; }
.form input, .form textarea {
  font: inherit; padding: 12px 14px; border: 1px solid #c9d4ea;
  border-radius: 8px; color: var(--text); background: #fff;
}
.form input:focus, .form textarea:focus {
  outline: 2px solid rgba(11,31,58,0.25); border-color: var(--navy);
}
.contact-aside p { color: var(--muted); }
.contact-aside a.email-link {
  display: inline-block; margin-top: 8px;
  font-size: 1.15rem; font-weight: 700; color: var(--navy);
}

/* Page hero (inner) */
.page-hero {
  background: var(--gray); border-bottom: 1px solid var(--gray-2);
  padding: 48px 0;
}
.page-hero h1 {
  margin: 0 0 10px; color: var(--navy);
  font-size: clamp(1.7rem, 3.5vw, 2.4rem); font-weight: 800;
}
.page-hero p { margin: 0; color: var(--muted); max-width: 680px; font-size: 1.08rem; }

/* Footer */
.site-footer {
  background: var(--navy); color: #c9d8ef; padding: 48px 0 28px; margin-top: 0;
}
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; margin-bottom: 28px;
}
.site-footer .brand img { height: 44px; filter: brightness(1.05); background: #fff; border-radius: 6px; padding: 4px 8px; }
.site-footer h4 { color: #fff; margin: 0 0 12px; font-size: 0.95rem; }
.site-footer a { color: #c9d8ef; }
.site-footer a:hover { color: #fff; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.disclaimer {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 20px; font-size: 0.82rem; color: #9fb2d1; line-height: 1.55;
}
.copyright { margin-top: 14px; font-size: 0.85rem; color: #8ea3c4; }

/* Utilities */
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.muted { color: var(--muted); }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0;
}

/* Responsive */
@media (max-width: 980px) {
  .hamburger { display: flex; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: var(--header-h);
    background: #fff; flex-direction: column; align-items: stretch;
    padding: 12px 16px 20px; border-bottom: 1px solid var(--gray-2);
    box-shadow: 0 12px 24px rgba(11,31,58,0.1); gap: 4px;
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 14px; }
  .nav a.cta-nav { margin: 8px 0 0; text-align: center; }
  .lang-toggle { margin-left: 0; }
  .header-inner { position: relative; }
  .brand img { height: 40px; }
  .grid-4, .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .split, .split.reverse { grid-template-columns: 1fr; direction: ltr; }
  .form-wrap { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero { min-height: 420px; }
  .hero .wrap { padding: 56px 22px; }
  .sec { padding: 56px 0; }
}
@media (max-width: 760px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .card-img img { height: 200px; }
  .sec { padding: 48px 0; }
}
@media (max-width: 420px) {
  .brand img { height: 36px; }
  .cta-row .btn { width: 100%; text-align: center; }
}

.side-layout { display:grid; grid-template-columns:1fr 0.9fr; gap:48px; align-items:start; }
@media (max-width:760px){ .side-layout { grid-template-columns:1fr; } }
.logo-stack { display:flex; gap:16px; flex-wrap:wrap; justify-content:center; align-items:center; }
.logo-stack img { max-height:120px; width:auto; border-radius:8px; border:1px solid var(--gray-2); background:#fff; padding:8px; }
.gallery { display:grid; grid-template-columns:repeat(3,1fr); gap:16px; }
.gallery img { width:100%; height:180px; object-fit:cover; border-radius:var(--radius); box-shadow:var(--shadow); }
@media (max-width:760px){ .gallery { grid-template-columns:1fr; } .gallery img { height:200px; } }
