/* ============================================================
   Professional Line Marking — Kurumsal Tasarım Sistemi
   Kimlik: belgelerle uyumlu koyu lacivert + beyaz + ince gri
   ============================================================ */

* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --navy: #17243A;
  --navy-2: #1F3252;
  --navy-3: #0D1526;
  --accent: #2E6BE6;
  --accent-soft: #9DB9F0;
  --cta-orange: #C2410C;
  --cta-orange-hover: #9A3412;
  --ink: #1A202C;
  --muted: #5A6678;
  --line: #E3E8EF;
  --bg: #F7F9FC;
  --card: #FFFFFF;
  --radius: 12px;
  --shadow: 0 1px 2px rgba(23, 36, 58, 0.06), 0 8px 24px rgba(23, 36, 58, 0.07);
  --header-height: 72px;
}

html { scroll-behavior: smooth; }

html, body {
  width: 100%;
  min-height: 100%;
  font-family: "Poppins", "Segoe UI", Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
}

body { padding-top: var(--header-height); line-height: 1.6; }

img { max-width: 100%; }

.skip-link {
  position: fixed;
  top: 10px;
  left: 12px;
  z-index: 10000;
  padding: 10px 14px;
  border-radius: 8px;
  color: #fff;
  background: #081426;
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 0.15s ease;
}
.skip-link:focus { transform: translateY(0); }

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid rgba(46, 112, 212, 0.55);
  outline-offset: 3px;
}

/* ============ HEADER ============ */
.site-header {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  padding: 0 clamp(16px, 4vw, 48px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  color: #102a4d;
  text-decoration: none;
}
.logo-link::after {
  content: "PROFESSIONAL\A LINE MARKING";
  white-space: pre;
  color: #102a4d;
  font-size: 0.7rem;
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: 0.035em;
}
.logo-link .site-logo {
  width: 56px;
  height: 56px;
  max-width: none;
  max-height: none;
  display: block;
  object-fit: contain;
  background: transparent;
}

.hamburger {
  display: none;
  background: none;
  border: none;
  font-size: 1.7rem;
  cursor: pointer;
  color: var(--navy);
  z-index: 1001;
  line-height: 1;
}

/* Menü */
.nav-menu { display: flex; align-items: center; }
.nav-menu ul {
  display: flex;
  align-items: center;
  gap: clamp(0.6rem, 1.6vw, 1.5rem);
  list-style: none;
}
.nav-menu ul li { position: relative; }
.nav-menu ul li a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.92rem;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: color 0.15s, border-color 0.15s;
  white-space: nowrap;
}
.nav-menu ul li a:hover { color: var(--accent); }
.nav-menu ul li a.active {
  color: var(--navy);
  border-bottom-color: var(--accent);
  text-decoration: none;
}

/* Belgeler açılır menüsü */
.nav-menu li.has-sub > a::after { content: " ▾"; font-size: 0.7em; }
.nav-menu li.has-sub > ul {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  flex-direction: column;
  gap: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: var(--shadow);
  padding: 6px;
  min-width: 190px;
}
.nav-menu li.has-sub:hover > ul,
.nav-menu li.has-sub:focus-within > ul { display: flex; }
.nav-menu li.has-sub > ul li a {
  display: block;
  padding: 8px 12px;
  border-radius: 8px;
  border-bottom: none;
  font-size: 0.88rem;
}
.nav-menu li.has-sub > ul li a:hover { background: var(--bg); }

/* CTA butonu */
.nav-cta a {
  display: inline-block;
  background: var(--cta-orange);
  color: #fff !important;
  padding: 9px 20px;
  border-radius: 9px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  border: none !important;
  transition: background 0.15s, transform 0.12s;
}
.nav-cta a:hover { background: var(--cta-orange-hover); transform: translateY(-1px); }

/* Dil seçici — global segment */
.lang-selector {
  position: static;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fff;
  box-shadow: 0 3px 12px rgba(23, 36, 58, 0.05);
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--muted);
  flex-shrink: 0;
  order: 3;
}
.lang-selector__icon { display: inline-grid; place-items: center; width: 24px; font-size: 0.86rem; }
.lang-selector a { min-width: 29px; padding: 4px 6px; border-radius: 6px; color: var(--muted); text-align: center; text-decoration: none; line-height: 1.25; }
.lang-selector a:hover { color: var(--navy); background: var(--bg); }
.lang-selector a.active { color: #fff; background: var(--navy); }

.submenu-toggle { display: none; }

/* ============ HERO (ana sayfa) ============ */
.hero {
  position: relative;
  min-height: calc(88vh - var(--header-height));
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--navy-3);
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13, 21, 38, 0.78) 0%, rgba(13, 21, 38, 0.55) 55%, rgba(13, 21, 38, 0.82) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  max-width: 900px;
  padding: 72px 20px;
}
.hero-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent-soft);
  margin-bottom: 18px;
}
.hero-eyebrow .brand-name,
.inner-hero__eyebrow .brand-name { text-transform: none; }
.hero-content h1 {
  font-size: clamp(1.7rem, 4.2vw, 3rem);
  font-weight: 600;
  line-height: 1.25;
  margin-bottom: 18px;
}
.hero-sub {
  font-size: clamp(0.95rem, 1.6vw, 1.15rem);
  color: rgba(255, 255, 255, 0.85);
  max-width: 640px;
  margin: 0 auto 30px auto;
}
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 46px; }
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
  transition: background 0.15s, transform 0.12s, border-color 0.15s;
}
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: #2458c4; transform: translateY(-1px); }
.btn-ghost { border: 1.5px solid rgba(255, 255, 255, 0.55); color: #fff; }
.btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, 0.08); }

/* Sayaçlar */
.counters {
  display: flex;
  justify-content: center;
  gap: clamp(20px, 6vw, 70px);
  flex-wrap: wrap;
}
.counter { text-align: center; color: #fff; }
.counter .count {
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  font-weight: 700;
  display: block;
}
.counter .count::after { content: "+"; color: var(--accent-soft); }
.counter p {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.75);
  margin-top: 2px;
}
.quote { display: none; }

/* ============ SOSYAL BAR ============ */
.social-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  padding: 26px 0;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  margin: 0;
}
.social-bar a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: none;
  transition: transform 0.14s, border-color 0.15s, box-shadow 0.15s;
}
.social-bar img {
  width: 20px;
  height: 20px;
  border: none;
  background: transparent;
  border-radius: 0;
}
.social-bar a:hover {
  transform: translateY(-2px);
  border-color: var(--accent-soft);
  box-shadow: var(--shadow);
}

/* ============ SAYFA BAŞLIKLARI ============ */
.page-title {
  display: block;
  color: var(--navy);
  background: transparent;
  margin: 38px auto 8px auto;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 600;
  padding: 0 16px;
  width: 100%;
  max-width: 1100px;
  box-shadow: none;
  border: none;
  position: relative;
  text-align: center;
}
.page-title::after {
  content: "";
  display: block;
  width: 56px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
  margin: 14px auto 0 auto;
}

/* ============ REFERANS KARTLARI ============ */
.references {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  max-width: 1160px;
  margin: auto;
  padding: 28px 20px 48px 20px;
}
.reference-card {
  background: var(--card);
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  border-top: 3px solid var(--navy);
  text-align: left;
  opacity: 1;
  transform: none;
  transition: all 0.5s ease, transform 0.25s ease, box-shadow 0.2s ease;
}
.reference-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--accent-soft);
  border-top-color: var(--accent);
}
.reference-card h3 { margin: 0 0 6px 0; font-size: 1.05rem; font-weight: 600; color: var(--navy); }
.reference-card p { margin: 6px 0; font-size: 0.92rem; color: var(--muted); }

/* ============ SERTİFİKA GRID ============ */
.certificates {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  max-width: 1160px;
  margin: auto;
  padding: 28px 20px 48px 20px;
}
.certificate {
  overflow: hidden;
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  cursor: pointer;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.certificate:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.certificate img { width: 100%; display: block; transition: transform 0.3s ease; }
.certificate:hover img { transform: scale(1.04); }

/* ============ LIGHTBOX ============ */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10, 15, 26, 0.9);
  align-items: center;
  justify-content: center;
  z-index: 2000;
}
.lightbox.open { display: flex; }
.lightbox .close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 1.3rem;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: none;
  padding: 6px 12px;
  border-radius: 8px;
  cursor: pointer;
}

/* ============ FOOTER ============ */
.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.85);
  font-weight: 400;
  text-align: left;
  padding: 0;
  margin-top: auto;
}
.footer-grid {
  max-width: 1160px;
  margin: auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr;
  gap: 36px;
  padding: 48px 24px 34px 24px;
}
.footer-brand strong { color: #fff; font-size: 1.05rem; font-weight: 600; display: block; margin-bottom: 6px; }
.footer-brand p { font-size: 0.88rem; color: rgba(255, 255, 255, 0.65); max-width: 320px; }
.footer-col h4 {
  color: #fff;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 600;
  margin-bottom: 14px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.15s;
}
.footer-col a:hover { color: #fff; }
.footer-col p { font-size: 0.9rem; margin-bottom: 8px; color: rgba(255, 255, 255, 0.75); }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.55);
  padding: 16px 24px;
}

/* ============ İLETİŞİM ============ */
.contact-main-container {
  max-width: 940px;
  margin: 30px auto 48px auto;
  display: flex;
  flex-direction: column;
  background: var(--card);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 2.4rem 2.6rem;
  gap: 30px;
  align-items: center;
}
.contact-main-container form {
  width: 100%;
  max-width: 460px;
  display: flex;
  flex-direction: column;
  gap: 1.1em;
  margin: 0 auto;
}
.contact-main-container input,
.contact-main-container textarea {
  padding: 0.75em 0.95em;
  border-radius: 9px;
  border: 1px solid var(--line);
  font-size: 0.95em;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  background: var(--bg);
}
.contact-main-container input:focus,
.contact-main-container textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(46, 107, 230, 0.12);
  background: #fff;
}
.contact-main-container button[type="submit"] {
  padding: 0.75em 1.8em;
  background: var(--navy);
  color: #fff;
  border: none;
  border-radius: 9px;
  font-weight: 600;
  font-size: 1em;
  cursor: pointer;
  transition: background 0.16s;
  margin-top: 4px;
}
.contact-main-container button[type="submit"]:hover { background: var(--accent); }
.contact-info-box {
  width: 100%;
  max-width: 460px;
  margin: 0 auto;
  border-radius: var(--radius);
  background: var(--bg);
  border: 1px solid var(--line);
  padding: 1.7rem 1.4rem 1.2rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.6em;
  align-items: flex-start;
}
.contact-info-box .contact-name {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.5em;
}
.contact-info-box p { margin: 0.1em 0; font-size: 0.94rem; }
.contact-info-box strong { color: var(--navy); }
/* ============ FORM SAYFALARI (belge doğrulama / indirme) ============ */
#verifyMsg[data-type="ok"], #downloadMsg[data-type="ok"] { background: #EFF8F1; border: 1px solid #BFE3C8; }
#verifyMsg[data-type="error"], #downloadMsg[data-type="error"] { background: #FDF1F1; border: 1px solid #F0C9C9; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* ============ RESPONSIVE ============ */
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr; gap: 26px; padding: 36px 20px 26px 20px; }
  .contact-main-container { padding: 1.5rem 1rem; gap: 22px; }
  .contact-main-container form, .contact-info-box { max-width: 99%; }
}

@media (max-width: 768px) {
  :root { --header-height: 62px; }
  .logo-link .site-logo { width: 46px; height: 46px; }
  .logo-link::after { display: none; }
  .hamburger { display: block; }

  .nav-menu ul {
    display: none;
    flex-direction: column;
    align-items: stretch;
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    padding: 10px 18px 16px 18px;
    gap: 2px;
    z-index: 1000;
  }
  .nav-menu.open ul { display: flex; }
  .nav-menu ul li a {
    display: block;
    color: var(--ink);
    padding: 10px 6px;
    border-bottom: 1px solid var(--line);
    font-size: 0.95rem;
  }
  .nav-menu li.has-sub {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }
  .nav-menu li.has-sub > a::after { display: none; }
  .submenu-toggle {
    display: inline-grid;
    place-items: center;
    width: 42px;
    height: 42px;
    margin-right: 2px;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--navy);
    background: var(--bg);
    font: inherit;
    font-weight: 800;
    cursor: pointer;
    transition: transform 0.15s ease, background 0.15s ease;
  }
  .submenu-open > .submenu-toggle { transform: rotate(180deg); background: #eaf0fb; }
  .nav-menu li.has-sub > ul {
    display: none;
    grid-column: 1 / -1;
    position: static;
    transform: none;
    border: none;
    box-shadow: none;
    padding: 0 0 0 14px;
    min-width: 0;
  }
  .nav-menu li.has-sub.submenu-open > ul { display: flex; }
  .nav-cta a { display: block; text-align: center; margin-top: 10px; }

  .hero { min-height: calc(76vh - var(--header-height)); }
  .hero-actions { gap: 10px; }
  .btn { padding: 11px 20px; font-size: 0.92rem; }
}

/* ============================================================
   Premium homepage — index.html / index-en.html
   ============================================================ */
.home-page {
  --home-navy: #081426;
  --home-navy-soft: #10243f;
  --home-blue: #3b82f6;
  --home-blue-light: #a9c7ff;
  --home-coral: #ef6747;
  --home-ice: #eef4fb;
  --home-copy: #354255;
  background: #fff;
}
.home-page [id] { scroll-margin-top: calc(var(--header-height) + 22px); }

.home-page .site-header {
  border-bottom-color: rgba(16, 36, 63, 0.09);
  box-shadow: 0 10px 35px rgba(8, 20, 38, 0.055);
}
.home-page .logo-link .site-logo { width: 60px; height: 60px; }
.home-page .nav-menu ul li a { font-weight: 600; font-size: 0.86rem; letter-spacing: -0.01em; }
.home-page .nav-cta a { padding: 10px 18px; box-shadow: 0 9px 24px rgba(194, 65, 12, 0.26); }
.home-page main { width: 100%; background: #fff; }
.home-shell { width: min(1240px, calc(100% - 48px)); margin-inline: auto; }
.home-section { padding: 112px 0; }

.home-page a:focus-visible,
.home-page button:focus-visible {
  outline: 3px solid rgba(59, 130, 246, 0.55);
  outline-offset: 4px;
}

@media (max-width: 1180px) {
  .logo-link::after { display: none; }
}

/* Shared action and section styles */
.section-kicker {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 20px;
  color: var(--home-blue-light);
  font-size: 0.75rem;
  line-height: 1.4;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.home-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 52px;
  padding: 0 23px;
  border-radius: 8px;
  color: #fff;
  text-decoration: none;
  font-size: 0.91rem;
  font-weight: 700;
  transition: transform 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}
.home-btn--primary { background: var(--cta-orange); box-shadow: 0 12px 32px rgba(194, 65, 12, 0.28); }
.home-btn--primary:hover { background: var(--cta-orange-hover); transform: translateY(-2px); box-shadow: 0 16px 36px rgba(154, 52, 18, 0.34); }
.home-btn--glass { color: var(--home-navy); border: 1px solid rgba(8, 20, 38, 0.22); background: rgba(255, 255, 255, 0.68); backdrop-filter: blur(12px); }
.home-btn--glass:hover { background: #fff; border-color: rgba(8, 20, 38, 0.42); }
/* Shared homepage headings */
.section-kicker { color: var(--home-blue); margin-bottom: 16px; }
.section-heading h2,
.home-certificates h2,
.home-cta h2 {
  color: var(--home-navy);
  font-size: clamp(2rem, 3.7vw, 3.45rem);
  line-height: 1.12;
  letter-spacing: -0.045em;
  text-wrap: balance;
}
.section-heading--split { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr); gap: 80px; align-items: end; margin-bottom: 48px; }
.section-heading--split > p { color: var(--home-copy); font-size: 0.98rem; line-height: 1.75; }
.text-link { display: inline-flex; align-items: center; gap: 10px; color: var(--home-navy); text-decoration: none; font-size: 0.86rem; font-weight: 700; }
.text-link:hover { color: var(--home-blue); }

/* Services */
.home-services { background: linear-gradient(180deg, #f4f7fb 0%, #eef3f9 100%); }
.service-feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.service-feature-card { position: relative; min-height: 390px; display: flex; flex-direction: column; padding: 36px 34px 31px; overflow: hidden; background: #fff; border: 1px solid #dfe7f0; transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease; }
.service-feature-card::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--home-blue); transform: scaleX(0); transform-origin: left; transition: transform 0.22s ease; }
.service-feature-card:hover { transform: translateY(-7px); border-color: #cbd9e9; box-shadow: 0 22px 55px rgba(8, 20, 38, 0.12); }
.service-feature-card:hover::after { transform: scaleX(1); }
.service-feature-card--featured { background: linear-gradient(145deg, #174c86 0%, #256bb9 100%); border-color: #245f9f; color: #fff; }
.service-feature-card__number { position: absolute; top: 25px; right: 29px; color: rgba(31, 74, 130, 0.14); font-size: 4.4rem; line-height: 1; font-weight: 800; letter-spacing: -0.08em; }
.service-feature-card--featured .service-feature-card__number { color: rgba(255, 255, 255, 0.09); }
.service-feature-card__eyebrow { position: relative; color: var(--home-blue); font-size: 0.68rem; font-weight: 800; letter-spacing: 0.14em; }
.service-feature-card h3 { position: relative; max-width: 260px; margin: 86px 0 17px; color: var(--home-navy); font-size: 1.5rem; line-height: 1.28; letter-spacing: -0.03em; }
.service-feature-card > p:not(.service-feature-card__eyebrow) { color: #667286; font-size: 0.89rem; line-height: 1.74; }
.service-feature-card a { display: inline-flex; justify-content: space-between; gap: 20px; margin-top: auto; padding-top: 28px; color: var(--home-navy); border-top: 1px solid #e5ebf2; text-decoration: none; font-size: 0.82rem; font-weight: 700; }
.service-feature-card--featured h3,
.service-feature-card--featured a { color: #fff; }
.service-feature-card--featured > p:not(.service-feature-card__eyebrow) { color: rgba(255, 255, 255, 0.66); }
.service-feature-card--featured a { border-top-color: rgba(255, 255, 255, 0.16); }

/* Process */
.home-process { position: relative; color: var(--home-navy); background: linear-gradient(145deg, #f7faff 0%, #e9f2fd 100%); overflow: hidden; border-block: 1px solid #dbe7f5; }
.home-process::before { content: ""; position: absolute; width: 520px; height: 520px; border: 1px solid rgba(46, 112, 212, 0.12); border-radius: 50%; top: -260px; right: -120px; box-shadow: 0 0 0 80px rgba(46, 112, 212, 0.025), 0 0 0 160px rgba(46, 112, 212, 0.018); }
.section-heading--light { max-width: 790px; margin-bottom: 58px; }
.section-heading--light h2 { color: var(--home-navy); }
.process-grid { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); list-style: none; }
.process-grid::before { content: ""; position: absolute; left: 4%; right: 4%; top: 21px; height: 1px; background: linear-gradient(90deg, var(--home-blue), rgba(169, 199, 255, 0.22)); }
.process-grid li { position: relative; padding: 0 30px 0 0; }
.process-grid li + li { padding-left: 30px; border-left: 1px solid #d2dfef; }
.process-grid li > span { position: relative; z-index: 1; width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid #abc6e7; border-radius: 50%; background: #fff; color: var(--home-blue); font-size: 0.68rem; font-weight: 800; box-shadow: 0 8px 22px rgba(46, 112, 212, 0.1); }
.process-grid h3 { margin: 25px 0 11px; color: var(--home-navy); font-size: 1.15rem; }
.process-grid p { color: #5f6f83; font-size: 0.83rem; line-height: 1.75; }

/* Project showcase */
.project-showcase { background: #fff; }
.project-showcase .section-heading--split { align-items: end; }
.project-showcase .section-heading--split > .text-link { justify-self: end; }
.project-mosaic { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: 320px; gap: 16px; }
.project-shot { position: relative; display: block; overflow: hidden; background: var(--home-navy); }
.project-shot--wide { grid-row: auto; }
.project-shot::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 46%, rgba(4, 13, 26, 0.88) 100%); }
.project-shot img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform 0.5s ease, filter 0.4s ease; }
.project-shot:hover img { transform: scale(1.035); filter: saturate(1.08); }
.project-shot > span { position: absolute; left: 26px; right: 24px; bottom: 23px; z-index: 1; color: #fff; font-size: 0.98rem; font-weight: 600; line-height: 1.45; }
.project-shot small { display: block; margin-bottom: 6px; color: var(--home-blue-light); font-size: 0.62rem; letter-spacing: 0.16em; font-weight: 800; }
.reference-evidence-grid { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 18px; border: 1px solid #dfe7f0; background: #f8fafc; }
.reference-evidence-grid article { min-width: 0; padding: 25px 27px 27px; }
.reference-evidence-grid article + article { border-left: 1px solid #dfe7f0; }
.reference-evidence-grid span { color: var(--home-blue); font-size: 0.63rem; line-height: 1.4; font-weight: 800; letter-spacing: 0.13em; }
.reference-evidence-grid h3 { margin: 11px 0 7px; color: var(--home-navy); font-size: 1rem; line-height: 1.35; }
.reference-evidence-grid p { color: #647287; font-size: 0.79rem; line-height: 1.6; }

/* Certificates */
.home-certificates { padding: 94px 0 78px; background: #f4f7fb; border-top: 1px solid #e1e8f1; }
.home-certificates__heading { display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 80px; align-items: end; margin-bottom: 42px; }
.home-certificates__heading > p { color: var(--home-copy); font-size: 0.92rem; line-height: 1.75; }
.certificate-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding-bottom: 4px; }
.certificate-proof-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.certificate-proof-grid a { display: flex; flex-direction: column; overflow: hidden; color: inherit; text-decoration: none; border: 1px solid #dbe4ef; border-radius: 8px; background: #fff; box-shadow: 0 14px 35px rgba(8, 20, 38, 0.07); transition: transform 0.2s ease, box-shadow 0.2s ease; }
.certificate-proof-grid a:hover { transform: translateY(-4px); box-shadow: 0 20px 44px rgba(8, 20, 38, 0.11); }
.certificate-proof-grid img { width: 100%; height: auto; display: block; object-fit: contain; object-position: center; background: #fff; border-bottom: 1px solid #e4eaf2; }
.certificate-proof-card__body { display: flex; flex: 1; flex-direction: column; padding: 19px 19px 22px; }
.certificate-proof-card__eyebrow { color: var(--home-blue); font-size: 0.61rem; line-height: 1.45; font-weight: 800; letter-spacing: 0.12em; }
.certificate-proof-card h3 { min-height: 2.8em; margin: 9px 0 8px; color: var(--home-navy); font-size: 0.96rem; line-height: 1.4; letter-spacing: -0.02em; }
.certificate-proof-card__meta { padding-bottom: 13px; color: #52647a; border-bottom: 1px solid #e6ebf2; font-size: 0.7rem; line-height: 1.55; font-weight: 600; }
.certificate-proof-card__body > p:last-child { margin-top: 13px; color: #68778a; font-size: 0.75rem; line-height: 1.65; }
.certificate-note { margin-top: 22px; color: #68778a; font-size: 0.76rem; line-height: 1.65; }

/* Certificate source and official verification actions */
#certificates-container .certificate { cursor: default; }
.certificate__media {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  background: #fff;
  cursor: zoom-in;
}
.certificate__media img { transition: transform 0.25s ease; }
.certificate__media:hover img { transform: scale(1.018); }
.certificate__actions,
.lb-actions { display: flex; flex-wrap: wrap; gap: 9px; }
.certificate__actions { margin-top: auto; padding-top: 16px; }
.certificate__action,
.lb-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid #cbd8e8;
  border-radius: 8px;
  color: #17375f;
  background: #f7faff;
  text-decoration: none;
  font-size: 0.72rem;
  line-height: 1.25;
  font-weight: 700;
  transition: transform 0.16s ease, border-color 0.16s ease, background 0.16s ease;
}
.certificate__action:hover,
.lb-actions a:hover { transform: translateY(-1px); border-color: #8aa9d0; background: #edf5ff; }
.certificate__action--primary,
.lb-actions a:first-child { color: #fff; border-color: var(--cta-orange); background: var(--cta-orange); }
.certificate__action--primary:hover,
.lb-actions a:first-child:hover { border-color: var(--cta-orange-hover); background: var(--cta-orange-hover); }
.lb-actions { justify-content: center; }
.lb-actions a { min-height: 42px; color: #fff; border-color: rgba(255, 255, 255, 0.3); background: rgba(15, 35, 62, 0.88); font-size: 0.8rem; }
.lb-actions a:hover { color: #fff; background: #17375f; }

/* Frequently asked questions */
.home-faq { background: #fff; }
.faq-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.faq-grid details { border: 1px solid #dfe7f0; border-radius: 10px; background: #fbfcfe; padding: 22px 23px; }
.faq-grid details[open] { border-color: #bfd3eb; background: #f5f9ff; }
.faq-grid summary { display: flex; justify-content: space-between; gap: 16px; color: var(--home-navy); cursor: pointer; list-style: none; font-size: 0.93rem; line-height: 1.5; font-weight: 700; }
.faq-grid summary::-webkit-details-marker { display: none; }
.faq-grid summary::after { content: "+"; flex: 0 0 auto; color: var(--home-blue); font-size: 1.15rem; font-weight: 500; }
.faq-grid details[open] summary::after { content: "−"; }
.faq-grid p { margin-top: 17px; color: #607085; font-size: 0.82rem; line-height: 1.72; }

/* CTA */
.home-cta { background: #f4f7fb; padding-top: 86px; }
.home-cta__card { position: relative; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.55fr); gap: 70px; align-items: center; overflow: hidden; padding: 66px clamp(34px, 6vw, 78px); color: #fff; background: linear-gradient(120deg, #1c5797 0%, #2d73bd 72%, #3c86d2 100%); box-shadow: 0 28px 70px rgba(26, 82, 145, 0.2); }
.home-cta__card::after { content: ""; position: absolute; width: 360px; height: 360px; border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 50%; right: -160px; top: -190px; box-shadow: 0 0 0 55px rgba(255, 255, 255, 0.025), 0 0 0 110px rgba(255, 255, 255, 0.02); }
.home-cta h2 { max-width: 760px; color: #fff; font-size: clamp(2rem, 3.5vw, 3.2rem); }
.home-cta__actions { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: stretch; gap: 15px; }
.home-cta__actions > a:last-child { color: rgba(255, 255, 255, 0.68); text-decoration: none; text-align: center; font-size: 0.85rem; letter-spacing: 0.05em; }
.home-cta__actions > a:last-child:hover { color: #fff; }
@media (max-width: 1080px) {
  .service-feature-card { padding-inline: 27px; }
}

@media (max-width: 900px) {
  .home-section { padding: 84px 0; }
  .service-feature-grid { grid-template-columns: 1fr; }
  .service-feature-card { min-height: 310px; }
  .service-feature-card h3 { margin-top: 55px; }
  .process-grid { grid-template-columns: repeat(2, 1fr); gap: 42px 0; }
  .process-grid::before { display: none; }
  .process-grid li:nth-child(3) { padding-left: 0; border-left: none; }
  .section-heading--split,
  .home-certificates__heading,
  .home-cta__card { grid-template-columns: 1fr; gap: 28px; }
  .project-showcase .section-heading--split > .text-link { justify-self: start; }
  .reference-evidence-grid { grid-template-columns: 1fr; }
  .reference-evidence-grid article + article { border-left: 0; border-top: 1px solid #dfe7f0; }
  .certificate-proof-grid { grid-template-columns: repeat(2, 1fr); }
  .faq-grid { grid-template-columns: 1fr; }
  .home-cta__actions { align-items: flex-start; }
}

@media (max-width: 768px) {
  .home-page .logo-link .site-logo { width: 48px; height: 48px; }
  .home-shell { width: min(100% - 34px, 1240px); }
  .home-btn { min-height: 50px; padding-inline: 18px; }
  .section-heading h2,
  .home-certificates h2,
  .home-cta h2 { font-size: clamp(1.85rem, 8vw, 2.55rem); }
  .home-services .section-heading--split { margin-bottom: 35px; }
  .service-feature-card { min-height: 330px; }
  .process-grid { grid-template-columns: 1fr; gap: 32px; }
  .process-grid li,
  .process-grid li + li { padding: 0; border-left: 0; }
  .project-mosaic { grid-template-columns: 1fr; grid-template-rows: repeat(3, 260px); }
  .project-shot--wide { grid-row: auto; }
  .home-certificates { padding-top: 76px; }
  .home-cta { padding-top: 66px; }
  .home-cta__card { width: min(100% - 24px, 1240px); padding: 46px 26px; }
}

@media (max-width: 520px) {
  .section-kicker { font-size: 0.65rem; letter-spacing: 0.13em; }
  .home-btn { width: 100%; }
  .service-feature-card { padding: 29px 24px 25px; }
  .project-mosaic { grid-template-rows: repeat(3, 230px); }
  .reference-evidence-grid article { padding: 21px 20px; }
  .certificate-proof-grid { grid-template-columns: 1fr; gap: 14px; }
  .certificate-proof-card h3 { min-height: 0; }
  .faq-grid details { padding: 20px; }
  .home-cta__actions { align-items: stretch; }
}

@media (prefers-reduced-motion: reduce) {
  .home-page *,
  .home-page *::before,
  .home-page *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; }
}

/* ============ INNER PAGE SYSTEM ============ */
body.inner-page {
  --inner-navy: #081426;
  --inner-blue: #2e70d4;
  --inner-copy: #425168;
  background: #fff;
}

.inner-page main.inner-main {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0 0 92px;
  background: #fff;
}

.inner-page a:focus-visible,
.inner-page button:focus-visible,
.inner-page input:focus-visible,
.inner-page textarea:focus-visible,
.inner-page [tabindex]:focus-visible {
  outline: 3px solid rgba(59, 130, 246, 0.58);
  outline-offset: 4px;
}

.inner-hero {
  position: relative;
  min-height: 470px;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  color: #fff;
  background: var(--inner-navy);
}

.inner-hero::before,
.inner-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
}

.inner-hero::before {
  background-position: center;
  background-size: cover;
  transform: scale(1.015);
}

.inner-hero::after {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(8, 20, 38, 0.97) 0%, rgba(8, 20, 38, 0.88) 47%, rgba(8, 20, 38, 0.48) 100%),
    linear-gradient(180deg, rgba(8, 20, 38, 0.12), rgba(8, 20, 38, 0.52));
}

.inner-hero--about::before { background-image: url("assets/galeri/hoima-city-stadium-aerial.webp"); background-position: center 52%; }
.inner-hero--services::before { background-image: url("assets/hero.jpg"); background-position: center 52%; }
.inner-hero--references::before { background-image: url("assets/galeri/general-basri-saran-stadium-aerial.webp"); background-position: center 50%; }
.inner-hero--certificates::before { background-image: url("assets/galeri/gaborone-national-stadium-overview.webp"); background-position: center 58%; }
.inner-hero--gallery::before { background-image: url("assets/galeri/loro-borici-stadium-overview.webp"); background-position: center 52%; }
.inner-hero--contact::before { background-image: url("assets/galeri/benghazi-line-application.webp"); background-position: center 42%; }

.inner-hero__shell {
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
  padding: 86px 0 96px;
}

.inner-hero__eyebrow,
.inner-section-heading .section-kicker {
  margin: 0 0 18px;
  color: #a9c7ff;
  font-size: 0.72rem;
  line-height: 1.4;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.inner-hero h1 {
  max-width: 850px;
  margin: 0;
  color: #fff;
  font-size: clamp(2.65rem, 5.4vw, 5rem);
  line-height: 1.02;
  font-weight: 800;
  letter-spacing: -0.055em;
}

.inner-hero__lead {
  max-width: 760px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  line-height: 1.78;
}

.inner-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 34px;
}

.inner-hero .home-btn--glass {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.38);
  background: rgba(255, 255, 255, 0.1);
}
.inner-hero .home-btn--glass:hover { color: var(--inner-navy); background: #fff; }

.inner-proof {
  position: relative;
  z-index: 4;
  width: min(1100px, calc(100% - 48px));
  margin: -46px auto 0;
  border: 1px solid #dce5f0;
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 22px 55px rgba(8, 20, 38, 0.12);
}

.inner-proof__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.inner-proof__grid > div {
  min-height: 118px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 22px;
  text-align: center;
  border-right: 1px solid #e1e8f1;
}
.inner-proof__grid > div:last-child { border-right: 0; }
.inner-proof strong { display: inline-flex; flex-wrap: nowrap; white-space: nowrap; color: var(--inner-navy); font-size: clamp(1.8rem, 3vw, 2.6rem); line-height: 1; letter-spacing: -0.04em; }
.inner-proof__grid > div > span:last-child { color: #637187; font-size: 0.78rem; font-weight: 600; }

.inner-section-heading {
  width: min(1020px, calc(100% - 48px));
  margin: 0 auto;
  padding: 100px 0 42px;
  text-align: center;
}
.inner-section-heading .section-kicker { color: var(--inner-blue); }
.inner-section-heading h2 {
  max-width: 850px;
  margin: 0 auto;
  color: var(--inner-navy);
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.08;
  letter-spacing: -0.045em;
}
.inner-section-heading > p:last-child {
  max-width: 760px;
  margin: 22px auto 0;
  color: var(--inner-copy);
  font-size: 1rem;
  line-height: 1.8;
}

.inner-page .about-card,
.inner-page .services-box,
.inner-page .ref-toolbar,
.inner-page .references,
.inner-page #certificates-container,
.inner-page #gallery,
.inner-page .contact-main-container,
.inner-page .contact-main {
  width: min(1180px, calc(100% - 48px));
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
}

.inner-page .about-card {
  padding: clamp(28px, 4vw, 58px);
  border: 1px solid #dfe7f1;
  border-radius: 14px;
  box-shadow: 0 18px 50px rgba(8, 20, 38, 0.08);
}
.inner-page .about-card h2 {
  margin-top: 30px;
  color: var(--inner-navy);
  font-size: 1.18rem;
  letter-spacing: -0.02em;
}
.inner-page .about-card h2::before {
  content: "";
  display: inline-block;
  width: 9px;
  height: 9px;
  margin-right: 10px;
  border-radius: 50%;
  background: var(--cta-orange);
  vertical-align: 0.08em;
}
.founder-profile { display: grid; grid-template-columns: minmax(220px, 0.7fr) minmax(0, 1.6fr); gap: 28px; align-items: center; margin: 30px 0; padding: 28px; border: 1px solid #dbe4f0; border-radius: 14px; background: linear-gradient(135deg, #f7faff, #fff); }
.founder-profile h2 { margin: 4px 0 2px !important; color: var(--inner-navy) !important; }
.founder-profile h2::before { display: none !important; }
.founder-profile p { margin: 0; }
.founder-profile__role { color: var(--cta-orange); font-weight: 700; }

.inner-page .services-box {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding: 0;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}
.inner-page .services-box .card {
  min-height: 230px;
  margin: 0;
  padding: 30px 27px;
  border: 1px solid #dfe6ef;
  border-top: 3px solid #bcc9da;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 14px 36px rgba(8, 20, 38, 0.06);
}
.inner-page .services-box .card:nth-child(-n+3) {
  border-top-color: var(--inner-blue);
  background: linear-gradient(180deg, #fff, #f7faff);
}
.inner-page .services-box .card h2 { color: var(--inner-navy); font-size: 1.08rem; line-height: 1.42; }
.inner-page .services-box .card p { color: #58677b; font-size: 0.88rem; line-height: 1.72; }
.inner-page .services-box .card:hover { transform: translateY(-4px); box-shadow: 0 20px 44px rgba(8, 20, 38, 0.11); }

.service-scope {
  position: relative;
  z-index: 2;
  width: min(1060px, calc(100% - 48px));
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: -38px auto 72px;
  overflow: hidden;
  border: 1px solid #dce6f1;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(8, 20, 38, 0.1);
}
.service-scope > div { min-width: 0; min-height: 145px; display: grid; grid-template-columns: auto 1fr; align-content: center; gap: 7px 14px; padding: 26px 28px; }
.service-scope > div + div { border-left: 1px solid #e1e8f1; }
.service-scope span { grid-row: 1 / 3; align-self: start; color: #2e70d4; font-size: 0.68rem; font-weight: 800; letter-spacing: 0.08em; }
.service-scope strong { color: #102a4d; font-size: 0.94rem; line-height: 1.4; }
.service-scope small { color: #637187; font-size: 0.72rem; line-height: 1.58; }
.service-group-heading { width: min(1180px, calc(100% - 48px)); margin: 0 auto 22px; }
.service-group-heading--support { margin-top: 72px; }
.service-group-heading > span { color: #2f6fbd; font-size: 0.67rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }
.service-group-heading h3 { margin-top: 8px; color: #102a4d; font-size: clamp(1.25rem, 2.4vw, 1.85rem); line-height: 1.3; letter-spacing: -0.03em; }
.inner-page .services-box--core .card { min-height: 300px; border-top-color: var(--cta-orange); background: linear-gradient(180deg, #fff, #fbfcfe); }
.inner-page .services-box--core .card h2 { font-size: 1.16rem; }
.inner-page .services-box--support { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.inner-page .services-box--support .card { min-height: 250px; padding: 25px 23px; }
.inner-page .services-box--support .card h2 { font-size: 0.98rem; }

@media (max-width: 980px) {
  .inner-page .services-box--support { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .service-scope { width: calc(100% - 32px); grid-template-columns: 1fr; margin-top: -24px; }
  .service-scope > div { min-height: 112px; }
  .service-scope > div + div { border-left: 0; border-top: 1px solid #e1e8f1; }
  .service-group-heading { width: calc(100% - 32px); }
  .inner-page .services-box--support { grid-template-columns: 1fr; }
}

.inner-page .ref-toolbar {
  margin-bottom: 24px;
  padding: 18px;
  border: 1px solid #dfe7f1;
  box-shadow: 0 12px 34px rgba(8, 20, 38, 0.06);
}
.inner-page .ref-search input { min-height: 48px; }
.inner-page .references {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding: 0;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}
.inner-page .reference-card {
  width: auto;
  min-height: 180px;
  padding: 26px;
  border: 1px solid #dfe7f1;
  border-top: 3px solid var(--inner-blue);
  border-radius: 11px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(8, 20, 38, 0.055);
}
.inner-page .reference-card[data-evidence="archive"] { border-top-color: #8a99ac; }
.reference-card__meta {
  display: block;
  margin-bottom: 12px;
  color: #2d6db8;
  font-size: 0.62rem;
  line-height: 1.45;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.reference-card[data-evidence="archive"] .reference-card__meta { color: #617086; }
.inner-page .reference-card h3 { margin-bottom: 9px; line-height: 1.42; }
.inner-page .reference-card p { font-size: 0.82rem; line-height: 1.68; }

.inner-page #certificates-container {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  padding: 0;
}
.inner-page #certificates-container .certificate { border-radius: 11px; box-shadow: 0 14px 34px rgba(8, 20, 38, 0.07); }
.inner-page #certificates-container .certificate[hidden] { display: none; }

.certificate-toolbar {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto 28px;
  display: grid;
  grid-template-columns: minmax(240px, 1.6fr) repeat(4, minmax(120px, 0.7fr));
  gap: 12px;
  align-items: end;
  padding: 20px;
  border: 1px solid #dfe7f1;
  border-radius: 12px;
  background: #f7f9fc;
}
.certificate-filter { display: grid; gap: 7px; color: #53637a; font-size: 0.72rem; font-weight: 700; }
.certificate-filter input,
.certificate-filter select {
  width: 100%;
  min-height: 46px;
  padding: 0 13px;
  border: 1px solid #ccd7e4;
  border-radius: 8px;
  color: var(--inner-navy);
  background: #fff;
  font: inherit;
  font-size: 0.82rem;
}
.certificate-count { grid-column: 1 / -1; margin: 2px 0 0; color: #66758a; font-size: 0.76rem; }
.certificate__status {
  align-self: flex-start;
  padding: 5px 9px;
  border-radius: 999px;
  font-size: 0.65rem;
  line-height: 1.2;
  font-weight: 800;
}
.certificate__status--current { color: #166534; background: #dcfce7; }
.certificate__status--expired { color: #9f1239; background: #ffe4e6; }
.certificate__status--archive { color: #475569; background: #e2e8f0; }

.inner-page #gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding: 0;
}
.inner-page #gallery .g-item {
  overflow: hidden;
  border: 1px solid #dfe7f1;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(8, 20, 38, 0.07);
}
.inner-page #gallery .g-item img { height: 250px; border-radius: 0; }
.inner-page #gallery .g-item figcaption { padding: 18px 20px 22px; }

.inner-page .contact-subtitle { display: none; }
.inner-page .contact-main-container,
.inner-page .contact-main {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(310px, 0.85fr);
  align-items: start;
  gap: 42px;
  padding: clamp(28px, 4vw, 52px);
  border: 1px solid #dfe7f1;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(8, 20, 38, 0.08);
}
.inner-page .contact-main-container form,
.inner-page .contact-main-container .contact-info-box,
.inner-page .contact-main .contact-form,
.inner-page .contact-main .contact-info { width: 100%; max-width: none; margin: 0; }
.inner-page .contact-main-container button[type="submit"],
.inner-page .contact-main button[type="submit"] { min-height: 48px; background: var(--cta-orange); }
.inner-page .contact-info-box h2,
.inner-page .contact-info h2 { margin: 0 0 12px; color: var(--inner-navy); font-size: 1.35rem; }
.inner-page .privacy-consent {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 10px;
  align-items: start;
  color: #5b6a7e;
  font-size: 0.76rem;
  line-height: 1.6;
}
.inner-page .privacy-consent input { width: 18px; height: 18px; margin-top: 2px; }
.inner-page .privacy-consent a { color: var(--inner-blue); }
.inner-page .form-status { min-height: 1.5em; margin: 0; font-size: 0.82rem; font-weight: 600; }
.inner-page .form-status[data-type="error"] { color: #b42318; }
.inner-page .form-status[data-type="ok"] { color: #067647; }
.turnstile-widget { min-height: 67px; display: flex; align-items: center; overflow: hidden; }
.form-security-note { margin: -2px 0 2px; color: #68768a; font-size: 0.75rem; line-height: 1.55; }
.contact-page .inner-section-heading { padding-top: 78px; }
.inner-page .contact-main button[type="submit"]:disabled,
.inner-page .contact-main-container button[type="submit"]:disabled { opacity: 0.58; cursor: not-allowed; transform: none; }

.inner-final-cta {
  width: min(1180px, calc(100% - 48px));
  margin: 86px auto 0;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 44px;
  align-items: center;
  padding: clamp(32px, 5vw, 62px);
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(135deg, #081426, #14345b);
  box-shadow: 0 22px 58px rgba(8, 20, 38, 0.18);
}
.inner-final-cta .section-kicker { color: #a9c7ff; }
.inner-final-cta h2 { margin: 8px 0 0; color: #fff; font-size: clamp(1.8rem, 3.5vw, 3rem); line-height: 1.12; letter-spacing: -0.04em; }
.inner-final-cta__actions { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.inner-final-cta__actions > a:not(.home-btn) { color: rgba(255,255,255,.8); text-decoration: none; font-weight: 600; }

@media (max-width: 980px) {
  .inner-page .services-box,
  .inner-page .references,
  .inner-page #certificates-container,
  .inner-page #gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .inner-page .contact-main-container,
  .inner-page .contact-main,
  .inner-final-cta { grid-template-columns: 1fr; }
  .certificate-toolbar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .inner-page main.inner-main { padding-bottom: 70px; }
  .inner-hero { min-height: 430px; }
  .inner-hero::after { background: linear-gradient(90deg, rgba(8, 20, 38, 0.96), rgba(8, 20, 38, 0.72)); }
  .inner-hero__shell { width: min(100% - 32px, 1240px); padding: 70px 0 82px; }
  .inner-hero h1 { font-size: clamp(2.3rem, 13vw, 3.5rem); }
  .inner-hero__lead { font-size: 0.95rem; line-height: 1.7; }
  .inner-hero__actions { display: grid; }
  .inner-hero__actions .home-btn { width: 100%; }
  .inner-proof { width: calc(100% - 32px); margin-top: -30px; }
  .inner-proof__grid { grid-template-columns: 1fr; }
  .inner-proof__grid > div { min-height: 94px; border-right: 0; border-bottom: 1px solid #e1e8f1; }
  .inner-proof__grid > div:last-child { border-bottom: 0; }
  .inner-section-heading { width: calc(100% - 32px); padding: 76px 0 34px; text-align: left; }
  .inner-section-heading h2 { font-size: clamp(1.85rem, 9vw, 2.65rem); }
  .inner-section-heading > p:last-child { margin-left: 0; }
  .inner-page .about-card,
  .inner-page .services-box,
  .inner-page .ref-toolbar,
  .inner-page .references,
  .inner-page #certificates-container,
  .inner-page #gallery,
  .inner-page .contact-main-container,
  .inner-page .contact-main,
  .certificate-toolbar,
  .inner-final-cta { width: calc(100% - 32px); }
  .inner-page .services-box,
  .inner-page .references,
  .inner-page #certificates-container,
  .inner-page #gallery { grid-template-columns: 1fr; }
  .certificate-toolbar { grid-template-columns: 1fr; padding: 16px; }
  .inner-page .services-box .card { min-height: 0; }
  .inner-page #gallery .g-item img { height: 220px; }
  .founder-profile { grid-template-columns: 1fr; gap: 14px; padding: 22px; }
  .inner-final-cta { margin-top: 66px; padding: 30px 24px; }
}

/* ============ DOCUMENT & LEGAL PAGES ============ */
body.utility-page {
  background:
    radial-gradient(circle at 15% 15%, rgba(46, 112, 212, 0.12), transparent 34%),
    linear-gradient(180deg, #eef3f9, #f8fafc);
}
.utility-page main.box,
.utility-page main.dl-wrap {
  width: min(760px, calc(100% - 32px));
  margin: clamp(54px, 9vw, 100px) auto;
  padding: clamp(30px, 5vw, 54px);
  border: 1px solid #d9e3ee;
  border-top: 4px solid var(--cta-orange);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 24px 65px rgba(8, 20, 38, 0.13);
}
.utility-page main.dl-wrap .dl-card { padding: 0; border: 0; box-shadow: none; }
.utility-page main h1 { margin: 0 0 12px; color: #081426; font-size: clamp(2rem, 5vw, 3.2rem); line-height: 1.1; letter-spacing: -0.045em; }
.utility-page main > p,
.utility-page .dl-sub { color: #5c6b7e; line-height: 1.7; }
.utility-page form { margin-top: 28px; }
.utility-page form .row,
.utility-page .dl-form { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: end; }
.utility-page .field-label { grid-column: 1 / -1; color: #34445a; font-size: 0.78rem; font-weight: 700; }
.utility-page input { min-height: 50px; border: 1px solid #cbd7e5; border-radius: 9px; padding: 0 15px; font: inherit; }
.utility-page button[type="submit"] { min-height: 50px; padding: 0 24px; border: 0; border-radius: 9px; color: #fff; background: var(--cta-orange); font: inherit; font-weight: 700; cursor: pointer; }
.utility-page button[type="submit"]:hover { background: var(--cta-orange-hover); }
.utility-page button[type="submit"]:disabled { opacity: 0.58; cursor: not-allowed; transform: none; }
.utility-page #verifyMsg,
.utility-page #downloadMsg { font-size: 0.88rem; line-height: 1.6; }

/* ============ DOCUMENT VERIFICATION ============ */
.verification-shell { position: relative; overflow: hidden; }
.verification-shell::after {
  content: "";
  position: absolute;
  top: -95px;
  right: -85px;
  width: 220px;
  height: 220px;
  border: 42px solid rgba(46, 112, 212, 0.06);
  border-radius: 50%;
  pointer-events: none;
}
.utility-page main > .verification-eyebrow {
  position: relative;
  z-index: 1;
  margin: 0 0 14px;
  color: var(--cta-orange);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  line-height: 1.4;
  text-transform: uppercase;
}
.verification-shell > h1,
.verification-shell > p,
.verification-shell > form { position: relative; z-index: 1; }
.verification-hint { margin: 10px 0 0; color: #66758a; font-size: 0.76rem; line-height: 1.55; }
.verification-hint strong { color: #34445a; letter-spacing: 0.025em; }
.verification-turnstile { margin-top: 20px; }
.verification-privacy,
.verification-security-note { color: #68768a; font-size: 0.75rem; line-height: 1.6; }
.verification-privacy { margin: 14px 0 5px; }
.verification-security-note { min-height: 1.2em; margin: 0; }
.verification-privacy a { color: var(--accent); font-weight: 700; }
.verification-result {
  margin-top: 22px;
  padding: 20px;
  border: 1px solid #d7e1ed;
  border-radius: 12px;
  background: #f7f9fc;
}
.verification-result[hidden] { display: none; }
.utility-page #verifyMsg[data-type="info"],
.utility-page #downloadMsg[data-type="info"] { border-color: #d7e1ed; background: #f7f9fc; }
.utility-page #verifyMsg[data-type="error"],
.utility-page #downloadMsg[data-type="error"] { border-color: #efc9c9; background: #fff4f3; color: #9b2c2c; }
.utility-page #verifyMsg[data-type="ok"],
.utility-page #downloadMsg[data-type="ok"] { padding: 0; overflow: hidden; border-color: #b8ddc5; background: #fff; color: #182a42; }
.verification-result__message { margin: 0; font-weight: 600; }
.verification-result__header {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 13px;
  align-items: center;
  padding: 20px;
  border-bottom: 1px solid #dce9e0;
  background: linear-gradient(135deg, #eef9f2, #f8fcf9);
}
.verification-result__check {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: #fff;
  background: #16834f;
  font-size: 1.35rem;
  font-weight: 800;
}
.verification-result__heading-copy h2 { margin: 0 0 3px; color: #10233d; font-size: 1.08rem; letter-spacing: -0.02em; }
.verification-result__heading-copy p { margin: 0; color: #5a6b7f; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.025em; }
.verification-result__badge { padding: 6px 9px; border: 1px solid #a8d7b9; border-radius: 999px; color: #0e6b3e; background: #fff; font-size: 0.69rem; font-weight: 800; white-space: nowrap; }
.verification-result__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; padding: 8px 20px 14px; }
.verification-result__item { min-width: 0; padding: 14px 10px 10px 0; border-bottom: 1px solid #e8edf3; }
.verification-result__item:nth-child(even) { padding-left: 16px; border-left: 1px solid #e8edf3; }
.verification-result__item dt { margin-bottom: 4px; color: #718096; font-size: 0.68rem; font-weight: 800; letter-spacing: 0.07em; text-transform: uppercase; }
.verification-result__item dd { overflow-wrap: anywhere; margin: 0; color: #1c304a; font-size: 0.86rem; font-weight: 700; }
.verification-result__fingerprint dd { color: #53647a; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 0.74rem; }
.verification-result__note { margin: 0; padding: 15px 20px 18px; color: #617186; font-size: 0.73rem; line-height: 1.6; }

.site-footer .footer-social.social-bar { justify-content: flex-start; gap: 9px; padding: 13px 0 0; }
.site-footer .footer-social.social-bar a { width: 36px; height: 36px; border-color: rgba(255, 255, 255, 0.2); background: rgba(255, 255, 255, 0.09); }
.site-footer .footer-social.social-bar a:hover { border-color: rgba(255, 255, 255, 0.6); background: rgba(255, 255, 255, 0.16); box-shadow: none; }
.site-footer .footer-social.social-bar img { width: 18px; height: 18px; }

/* CONSENT */
.consent-banner {
  position: fixed;
  left: max(16px, env(safe-area-inset-left));
  right: max(16px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  max-width: 1120px;
  margin: 0 auto;
  padding: 18px 20px;
  color: #fff;
  background: rgba(13, 21, 38, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 16px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.32);
}
.consent-banner[hidden] { display: none; }
.consent-banner__copy strong { display: block; margin-bottom: 4px; font-size: 1rem; }
.consent-banner__copy p { margin: 0; max-width: 760px; color: rgba(255, 255, 255, 0.78); font-size: 0.85rem; line-height: 1.55; }
.consent-banner__copy a { color: #fff; text-underline-offset: 3px; }
.consent-banner__actions { display: flex; flex: 0 0 auto; gap: 9px; }
.consent-banner button,
.consent-settings {
  font: inherit;
  cursor: pointer;
}
.consent-banner button { min-height: 42px; padding: 9px 14px; border-radius: 10px; font-size: 0.8rem; font-weight: 700; }
.consent-banner__reject { color: #fff; background: transparent; border: 1px solid rgba(255, 255, 255, 0.55); }
.consent-banner__accept { color: #fff; background: var(--cta-orange); border: 1px solid var(--cta-orange); }
.consent-settings { margin-left: 12px; padding: 0; color: inherit; background: none; border: 0; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 720px) {
  .consent-banner { align-items: stretch; flex-direction: column; padding: 16px; }
  .consent-banner__actions { display: grid; grid-template-columns: 1fr; }
  .consent-settings { display: block; margin: 7px auto 0; }
}

body.legal-page { background: #f4f7fb; }
.legal-page main { width: min(980px, calc(100% - 32px)); margin: 0 auto; padding: 70px 0 90px; }
.legal-page .page-title {
  max-width: 900px;
  margin: 0 auto 38px;
  color: #081426;
  font-size: clamp(2.1rem, 5vw, 3.7rem);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.05em;
}
.legal-page main section {
  max-width: 900px !important;
  margin: 0 auto !important;
  padding: clamp(28px, 5vw, 52px) !important;
  border: 1px solid #dfe7f1;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 18px 48px rgba(8, 20, 38, 0.07);
}
.legal-page main section h2 { margin-top: 30px; color: #142a48; }
.legal-page main section p { color: #526177; line-height: 1.8; }
.legal-page main section ul { margin: 14px 0 0 22px; color: #526177; }
.legal-page main section li { margin: 9px 0; line-height: 1.75; }
.legal-page main section a { color: var(--accent); font-weight: 600; }
.legal-updated { color: #748196 !important; font-size: 0.84rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; }
.legal-callout { margin: 18px 0 32px; padding: 20px 22px; border-left: 4px solid var(--cta-orange); border-radius: 0 10px 10px 0; color: #233854 !important; background: #f3f7fc; }

@media (max-width: 640px) {
  .utility-page form .row,
  .utility-page .dl-form { grid-template-columns: 1fr; }
  .utility-page button[type="submit"] { width: 100%; }
  .verification-result__header { grid-template-columns: auto 1fr; }
  .verification-result__badge { grid-column: 2; justify-self: start; }
  .verification-result__grid { grid-template-columns: 1fr; }
  .verification-result__item:nth-child(even) { padding-left: 0; border-left: 0; }
  .legal-page main { padding-top: 52px; }
}

/* ============ CURATED PROJECT GALLERY ============ */
.gallery-facts {
  position: relative;
  z-index: 2;
  width: min(920px, calc(100% - 48px));
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: -36px auto 64px;
  border: 1px solid #dfe7f1;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 18px 48px rgba(8, 20, 38, 0.1);
}
.gallery-facts p {
  min-height: 108px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0;
  padding: 20px;
  text-align: center;
}
.gallery-facts p + p { border-left: 1px solid #e1e8f1; }
.gallery-facts strong { color: #102a4d; font-size: clamp(1.45rem, 3vw, 2.15rem); line-height: 1; letter-spacing: -0.04em; }
.gallery-facts span { color: #5d6d82; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }

.inner-page #gallery.project-gallery {
  width: min(1240px, calc(100% - 48px));
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: 20px;
  margin: 0 auto;
}
.inner-page #gallery .g-item {
  min-width: 0;
  display: flex;
  flex-direction: column;
  margin: 0;
  cursor: zoom-in;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.inner-page #gallery .g-item:hover,
.inner-page #gallery .g-item:focus-visible {
  transform: translateY(-4px);
  border-color: #b9cbe0;
  box-shadow: 0 20px 44px rgba(8, 20, 38, 0.12);
}
.inner-page #gallery .g-item:focus-visible { outline: 3px solid rgba(59, 130, 246, 0.42); outline-offset: 3px; }
.inner-page #gallery .g-item--wide { grid-column: auto; }
.inner-page #gallery .g-item img {
  width: 100%;
  height: 260px;
  display: block;
  object-fit: cover;
  object-position: center;
  background: #e8edf4;
}
.inner-page #gallery .g-item--wide img { height: 260px; }
.inner-page #gallery .g-item figcaption {
  flex: 1;
  min-height: 178px;
  padding: 20px 22px 24px;
  color: #5b697c;
  font-size: 0.79rem;
  line-height: 1.65;
}
.inner-page #gallery .g-item figcaption > span {
  display: block;
  margin-bottom: 8px;
  color: #2f6fbd;
  font-size: 0.63rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}
.inner-page #gallery .g-item figcaption strong {
  display: block;
  margin-bottom: 7px;
  color: #122a49;
  font-size: 0.97rem;
  line-height: 1.38;
}

body.lightbox-open { overflow: hidden; }
.gallery-page .lightbox { padding: 28px 74px; background: rgba(4, 11, 22, 0.94); }
.gallery-page .lb-wrap { width: min(1180px, 92vw); display: flex; flex-direction: column; align-items: center; gap: 14px; }
.gallery-page .lightbox img { width: 100%; max-height: 80vh; display: block; object-fit: contain; border-radius: 10px; background: rgba(255, 255, 255, 0.04); }
.gallery-page .lb-cap { max-width: 900px; color: #fff; font-size: 0.84rem; line-height: 1.6; text-align: center; white-space: pre-line; }
.gallery-page .lightbox button {
  position: absolute;
  min-width: 48px;
  min-height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  color: #fff;
  background: rgba(18, 42, 73, 0.82);
  cursor: pointer;
  font-size: 1.35rem;
}
.gallery-page .lightbox button:hover { background: #245f9f; }
.gallery-page .prev-btn { left: 18px; top: 50%; transform: translateY(-50%); }
.gallery-page .next-btn { right: 18px; top: 50%; transform: translateY(-50%); }
.gallery-page .lightbox .close-btn { top: 18px; right: 18px; padding: 0; font-size: 1.45rem; }

@media (max-width: 900px) {
  .inner-page #gallery.project-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .inner-page #gallery .g-item--wide { grid-column: auto; }
}

@media (max-width: 640px) {
  .gallery-facts { width: calc(100% - 32px); grid-template-columns: 1fr; margin-top: -24px; }
  .gallery-facts p { min-height: 82px; }
  .gallery-facts p + p { border-left: 0; border-top: 1px solid #e1e8f1; }
  .inner-page #gallery.project-gallery { width: calc(100% - 32px); grid-template-columns: 1fr; }
  .inner-page #gallery .g-item--wide { grid-column: auto; }
  .inner-page #gallery .g-item img,
  .inner-page #gallery .g-item--wide img { height: 235px; }
  .inner-page #gallery .g-item figcaption { min-height: 0; }
  .gallery-page .lightbox { padding: 66px 12px 88px; }
  .gallery-page .lb-wrap { width: 100%; }
  .gallery-page .prev-btn { left: 18px; top: auto; bottom: 22px; transform: none; }
  .gallery-page .next-btn { right: 18px; top: auto; bottom: 22px; transform: none; }
}
