/* ==========================================================
   DNA CONCEPT & DEVELOPMENT — MAIN STYLESHEET
   ========================================================== */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@500;600;700&family=Inter:wght@400;500;600;700&display=swap');

:root {
  /* Brand colors */
  --dna-blue: #1e5fd9;
  --dna-blue-dark: #164bb0;
  --dna-dark: #071a35;
  --dna-navy: #0c2a52;
  --dna-light: #eaf2fb;
  --dna-white: #ffffff;
  --dna-gray: #5c6b7a;
  --dna-gray-light: #e4e9ef;
  --dna-border: #e2e8f0;

  /* Type */
  --font-heading: 'Poppins', 'Inter', Arial, sans-serif;
  --font-body: 'Inter', Arial, sans-serif;

  /* Layout */
  --max-width: 1280px;
  --header-height: 84px;
  --header-height-mobile: 68px;
  --radius: 4px;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --speed: 0.35s;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body, h1, h2, h3, h4, p, ul, figure { margin: 0; }
ul { padding: 0; list-style: none; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
input, select, textarea { font: inherit; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  font-family: var(--font-body);
  color: var(--dna-dark);
  background: var(--dna-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--dna-navy);
  line-height: 1.2;
  font-weight: 600;
}

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

:focus-visible {
  outline: 2px solid var(--dna-blue);
  outline-offset: 3px;
}

/* Skip link */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--dna-blue);
  color: #fff;
  padding: 10px 18px;
  z-index: 2000;
}
.skip-link:focus { left: 12px; top: 12px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: background var(--speed) var(--ease), color var(--speed) var(--ease), border-color var(--speed) var(--ease), transform var(--speed) var(--ease);
}
.btn svg { width: 16px; height: 16px; transition: transform var(--speed) var(--ease); }
.btn:hover svg { transform: translateX(3px); }

.btn-primary {
  background: var(--dna-blue);
  color: #fff;
}
.btn-primary:hover { background: var(--dna-blue-dark); }

.btn-outline-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.55);
}
.btn-outline-light:hover { background: rgba(255,255,255,0.12); border-color: #fff; }

.btn-outline {
  background: transparent;
  color: var(--dna-blue);
  border-color: var(--dna-blue);
}
.btn-outline:hover { background: var(--dna-blue); color: #fff; }

/* ==========================================================
   HEADER
   ========================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: #fff;
  border-bottom: 1px solid var(--dna-border);
  height: var(--header-height);
  display: flex;
  align-items: center;
  transition: box-shadow var(--speed) var(--ease);
}
.site-header.is-scrolled { box-shadow: 0 4px 16px rgba(7, 26, 53, 0.08); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.logo-link { display: flex; align-items: center; }
.logo-link img { height: 44px; width: auto; }

.main-nav { display: none; }

@media (min-width: 1024px) {
  .main-nav {
    display: flex;
    align-items: center;
    gap: 36px;
  }
  .main-nav a {
    position: relative;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.3px;
    color: var(--dna-navy);
    padding: 8px 2px;
  }
  .main-nav a::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: -2px;
    height: 2px;
    background: var(--dna-blue);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--speed) var(--ease);
  }
  .main-nav a:hover::after,
  .main-nav a[aria-current="page"]::after { transform: scaleX(1); }
  .main-nav a[aria-current="page"] { color: var(--dna-blue); }
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.lang-switch { display: none; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--dna-gray); }
.lang-switch button {
  background: none; border: none; color: var(--dna-gray); padding: 4px;
}
.lang-switch button.active { color: var(--dna-blue); }
.lang-switch .divider { color: var(--dna-border); }

@media (min-width: 1024px) { .lang-switch { display: flex; } }

.icon-btn {
  background: none;
  border: none;
  color: var(--dna-navy);
  width: 36px; height: 36px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  transition: background var(--speed) var(--ease);
}
.icon-btn:hover { background: var(--dna-light); }
.icon-btn svg { width: 19px; height: 19px; }

.hamburger {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px; height: 40px;
  background: none; border: none;
}
.hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--dna-navy);
  margin: 0 auto;
  transition: transform var(--speed) var(--ease), opacity var(--speed) var(--ease);
}
.hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (min-width: 1024px) { .hamburger { display: none; } }

/* Mobile nav panel */
.mobile-nav {
  position: fixed;
  inset: 0;
  background: var(--dna-navy);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  padding: 24px 28px 40px;
  transform: translateX(100%);
  transition: transform var(--speed) var(--ease);
}
.mobile-nav.is-open { transform: translateX(0); }
.mobile-nav-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 40px; }
.mobile-nav-top img { height: 36px; }
.mobile-nav-close { background: none; border: none; color: #fff; width: 40px; height: 40px; }
.mobile-nav-close svg { width: 22px; height: 22px; }

.mobile-nav-links { display: flex; flex-direction: column; gap: 6px; margin-bottom: auto; }
.mobile-nav-links a {
  color: #fff;
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 600;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.mobile-nav-links a[aria-current="page"] { color: #7fa6f0; }

.mobile-nav-bottom { padding-top: 28px; display: flex; flex-direction: column; gap: 20px; }
.mobile-lang { display: flex; gap: 14px; }
.mobile-lang button {
  background: none; border: 1px solid rgba(255,255,255,0.3); color: #fff;
  padding: 6px 16px; border-radius: 20px; font-weight: 600; font-size: 13px;
}
.mobile-lang button.active { background: #fff; color: var(--dna-navy); border-color: #fff; }

body.nav-open { overflow: hidden; }

/* ==========================================================
   HERO
   ========================================================== */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-height));
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(120deg, var(--dna-dark) 0%, var(--dna-navy) 55%, var(--dna-blue-dark) 100%);
}
.hero-media {
  position: absolute; inset: 0;
  z-index: 0;
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; opacity: 0.55; }
.hero-media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(7,26,53,0.92) 15%, rgba(7,26,53,0.55) 55%, rgba(30,95,217,0.35) 100%);
}
.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 640px;
  padding: 120px 0 90px;
}
.hero-eyebrow {
  color: #9fc0f7;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 22px;
  display: block;
}
.hero-title {
  color: #fff;
  font-size: clamp(34px, 5vw, 56px);
  font-weight: 700;
  margin-bottom: 22px;
}
.hero-subtitle {
  color: rgba(255,255,255,0.85);
  font-size: 18px;
  max-width: 460px;
  margin-bottom: 36px;
}
.hero-scroll {
  position: absolute;
  bottom: 28px; left: 0; right: 0;
  z-index: 1;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  color: rgba(255,255,255,0.7);
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.hero-scroll svg { width: 16px; height: 16px; animation: bob 2s ease-in-out infinite; }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(6px); } }

/* ==========================================================
   SERVICES STRIP
   ========================================================== */
.services {
  border-bottom: 1px solid var(--dna-border);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
}
@media (min-width: 768px) {
  .services-grid { grid-template-columns: repeat(4, 1fr); }
}
.service-item {
  padding: 48px 28px;
  text-align: center;
  border-top: 1px solid var(--dna-border);
  position: relative;
  transition: background var(--speed) var(--ease);
}
.service-item:hover { background: var(--dna-light); }
@media (min-width: 768px) {
  .service-item { border-top: none; border-left: 1px solid var(--dna-border); }
  .service-item:first-child { border-left: none; }
}
.service-icon {
  width: 44px; height: 44px;
  margin: 0 auto 18px;
  color: var(--dna-blue);
}
.service-icon svg { width: 100%; height: 100%; }
.service-item h3 { font-size: 15px; font-weight: 700; margin-bottom: 10px; letter-spacing: 0.3px; }
.service-item p { font-size: 14px; color: var(--dna-gray); }

/* ==========================================================
   ABOUT (editorial split)
   ========================================================== */
.about-section { display: grid; grid-template-columns: 1fr; }
@media (min-width: 900px) { .about-section { grid-template-columns: 1fr 1fr; } }

.about-copy {
  background: var(--dna-navy);
  color: #fff;
  padding: 90px 32px;
  display: flex;
  align-items: center;
}
.about-copy-inner { max-width: 460px; margin-left: auto; margin-right: 0; }
@media (min-width: 900px) { .about-copy-inner { margin: 0 auto 0 56px; } }

.eyebrow {
  display: block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--dna-blue);
  margin-bottom: 16px;
}
.about-copy .eyebrow { color: #7fa6f0; }

.about-copy h2 { color: #fff; font-size: clamp(26px, 3vw, 34px); margin-bottom: 22px; }
.about-copy p { color: rgba(255,255,255,0.82); margin-bottom: 16px; font-size: 15.5px; }
.about-copy .btn { margin-top: 14px; }

.about-media {
  position: relative;
  min-height: 320px;
  overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 8% 100%);
}
@media (min-width: 900px) {
  .about-media { clip-path: polygon(6% 0, 100% 0, 100% 100%, 0 100%); }
}
.about-media img { width: 100%; height: 100%; object-fit: cover; min-height: 320px; }

/* ==========================================================
   ACHIEVEMENTS / WORK PREVIEW
   ========================================================== */
.work-preview { padding: 96px 0; }
.section-head { display: flex; flex-direction: column; gap: 16px; margin-bottom: 44px; max-width: 640px; }
.section-head h2 { font-size: clamp(26px, 3vw, 34px); }
.section-head p { color: var(--dna-gray); font-size: 15.5px; }

.work-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 700px) { .work-grid { grid-template-columns: 1.3fr 1fr 1fr; } }

.work-tile {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  min-height: 320px;
}
.work-tile:first-child { min-height: 420px; }
@media (min-width: 700px) { .work-tile:first-child { min-height: 100%; } }
.work-tile img {
  width: 100%; height: 100%; object-fit: cover;
  position: absolute; inset: 0;
  transition: transform 0.6s var(--ease);
}
.work-tile:hover img { transform: scale(1.05); }
.work-tile::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(7,26,53,0.75) 0%, rgba(7,26,53,0) 45%);
}
.work-tile-label {
  position: absolute; left: 20px; bottom: 18px; z-index: 1;
  color: #fff; font-weight: 600; font-size: 15px;
}

/* ==========================================================
   GLOBAL PRESENCE
   ========================================================== */
.global-section {
  background: var(--dna-light);
  padding: 96px 0;
}
.global-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}
@media (min-width: 900px) { .global-grid { grid-template-columns: 1.1fr 0.9fr; } }
.global-map img { width: 100%; height: auto; }
.global-copy h2 { font-size: clamp(26px, 3vw, 34px); margin-bottom: 18px; }
.global-copy p { color: var(--dna-gray); margin-bottom: 26px; font-size: 15.5px; max-width: 480px; }

/* ==========================================================
   PARTNERS
   ========================================================== */
.partners-section { padding: 96px 0; text-align: center; }
.partners-section .section-head { margin-left: auto; margin-right: auto; text-align: center; align-items: center; }
.partners-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--dna-border);
  border: 1px solid var(--dna-border);
  margin-top: 40px;
}
@media (min-width: 700px) { .partners-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .partners-grid { grid-template-columns: repeat(6, 1fr); } }
.partner-logo {
  background: #fff;
  padding: 28px 16px;
  display: flex; align-items: center; justify-content: center;
  filter: grayscale(1);
  opacity: 0.65;
  transition: opacity var(--speed) var(--ease), filter var(--speed) var(--ease);
}
.partner-logo:hover { filter: grayscale(0); opacity: 1; }
.partner-logo img { max-height: 34px; width: auto; }

/* ==========================================================
   CONTACT CTA (homepage)
   ========================================================== */
.contact-cta {
  background: linear-gradient(120deg, var(--dna-dark), var(--dna-navy));
  color: #fff;
  padding: 90px 0;
  text-align: center;
}
.contact-cta h2 { color: #fff; font-size: clamp(26px, 3.4vw, 38px); margin-bottom: 16px; }
.contact-cta p { max-width: 560px; margin: 0 auto 32px; color: rgba(255,255,255,0.82); }

/* ==========================================================
   FOOTER
   ========================================================== */
.site-footer { background: var(--dna-navy); color: rgba(255,255,255,0.82); }
.footer-main {
  padding: 64px 0 40px;
  display: grid;
  gap: 40px;
  grid-template-columns: 1fr;
}
@media (min-width: 800px) { .footer-main { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer-brand img { height: 40px; margin-bottom: 16px; }
.footer-brand p { font-size: 14px; color: rgba(255,255,255,0.6); max-width: 280px; }
.footer-col h4 { color: #fff; font-size: 14px; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 18px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 14px; color: rgba(255,255,255,0.75); transition: color var(--speed) var(--ease); }
.footer-col a:hover { color: #fff; }
.footer-social { display: flex; gap: 12px; margin-top: 18px; }
.footer-social a {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.25);
  display: flex; align-items: center; justify-content: center;
}
.footer-social svg { width: 16px; height: 16px; }
.footer-social a:hover { background: rgba(255,255,255,0.1); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding: 20px 0;
  display: flex; flex-wrap: wrap; gap: 12px;
  justify-content: space-between;
  font-size: 13px;
  color: rgba(255,255,255,0.55);
}

/* ==========================================================
   INITIAL LANGUAGE LANDING OVERLAY
   Fixed, full-viewport overlay shown above the entire website
   (header + hero + all sections) on first visit only. Fades
   out and unblocks scrolling once a language is chosen.
   ========================================================== */
body.lang-open { overflow: hidden; }

.lang-landing {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100vh;
  z-index: 9999;
  background: linear-gradient(120deg, var(--dna-dark), var(--dna-navy) 60%, var(--dna-blue-dark));
  color: #fff;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
.lang-landing.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.lang-landing-media { position: absolute; inset: 0; z-index: 0; }
.lang-landing-media img { width: 100%; height: 100%; object-fit: cover; opacity: 0.55; }
.lang-landing-media::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 15% 45%, rgba(30,95,217,0.22), transparent 55%);
}

/* Centered logo / tagline / language cards */
.lang-landing-content {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
  padding: 40px 24px 0;
}
.lang-landing-logo img { height: 74px; margin: 0 auto 32px; }
.lang-landing-content h1 { color: #fff; font-size: clamp(22px, 3.4vw, 32px); letter-spacing: 0.5px; margin-bottom: 8px; }
.lang-landing-content h1 strong { display: block; font-size: 1.15em; }
.lang-landing-categories { color: #a9c3ef; font-size: 14px; margin: 18px 0 40px; letter-spacing: 0.3px; }

.lang-choices { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }
.lang-choice {
  width: 220px;
  background: rgba(7, 26, 53, 0.72);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 4px;
  padding: 26px 20px;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  transition: transform var(--speed) var(--ease), background var(--speed) var(--ease), border-color var(--speed) var(--ease);
}
.lang-choice:hover { transform: translateY(-4px); background: rgba(30,95,217,0.24); border-color: rgba(255,255,255,0.4); }
.lang-choice .flag-image {
  width: 42px;
  height: 28px;
  object-fit: cover;
  border-radius: 2px;
  border: 1px solid rgba(255,255,255,0.25);
}
.lang-choice span.label { font-weight: 700; font-size: 15px; letter-spacing: 1px; }
.lang-choice .arrow-circle {
  width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.4);
  display: flex; align-items: center; justify-content: center;
  transition: border-color var(--speed) var(--ease);
}
.lang-choice:hover .arrow-circle { border-color: rgba(255,255,255,0.7); }
.lang-choice .arrow-circle svg { width: 15px; height: 15px; }

/* Bottom service strip — dedicated classes, independent from the
   normal website's .services / .service-item so the two never collide */
.landing-services {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(255,255,255,0.14);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.landing-service {
  padding: 26px 16px;
  text-align: center;
  border-left: 1px solid rgba(255,255,255,0.14);
}
.landing-service:first-child { border-left: none; }
.landing-service-icon { width: 30px; height: 30px; margin: 0 auto 12px; color: #cfe0fb; }
.landing-service-icon svg { width: 100%; height: 100%; }
.landing-service span { display: block; font-size: 12px; font-weight: 700; letter-spacing: 0.6px; text-transform: uppercase; color: #eef4fd; }

.landing-scroll {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 14px 0 22px;
  color: rgba(255,255,255,0.6);
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.landing-scroll svg { width: 14px; height: 14px; animation: bob 2s ease-in-out infinite; }

/* ==========================================================
   PAGE HERO (interior pages)
   ========================================================== */
.page-hero {
  background: linear-gradient(120deg, var(--dna-dark), var(--dna-navy));
  color: #fff;
  padding: 76px 0 64px;
}
.page-hero .eyebrow { color: #7fa6f0; }
.page-hero h1 { color: #fff; font-size: clamp(28px, 4vw, 42px); max-width: 700px; }
.page-hero p { color: rgba(255,255,255,0.8); max-width: 620px; margin-top: 16px; font-size: 16px; }

/* ==========================================================
   EXPERTISE PAGE
   ========================================================== */
.expertise-block {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  padding: 64px 0;
  border-top: 1px solid var(--dna-border);
  align-items: center;
}
@media (min-width: 900px) { .expertise-block { grid-template-columns: 1fr 1fr; gap: 64px; } }
.expertise-block:nth-child(even) .expertise-media { order: -1; }
.expertise-media { border-radius: var(--radius); overflow: hidden; }
.expertise-media img { width: 100%; height: 340px; object-fit: cover; }
.expertise-copy .eyebrow { color: var(--dna-blue); }
.expertise-copy h2 { font-size: clamp(22px, 2.6vw, 28px); margin-bottom: 14px; }
.expertise-copy p { color: var(--dna-gray); margin-bottom: 20px; }
.expertise-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.expertise-list li {
  font-size: 14px; color: var(--dna-navy); font-weight: 500;
  padding: 8px 0; border-bottom: 1px solid var(--dna-border);
  display: flex; align-items: center; gap: 8px;
}
.expertise-list li::before { content: ""; width: 5px; height: 5px; background: var(--dna-blue); border-radius: 50%; flex: none; }

/* ==========================================================
   REALISATIONS PAGE
   ========================================================== */
.filters {
  display: flex; flex-wrap: wrap; gap: 10px;
  padding: 40px 0 8px;
}
.filter-btn {
  background: #fff;
  border: 1px solid var(--dna-border);
  color: var(--dna-navy);
  padding: 9px 18px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 600;
  transition: all var(--speed) var(--ease);
}
.filter-btn:hover { border-color: var(--dna-blue); }
.filter-btn.active { background: var(--dna-navy); border-color: var(--dna-navy); color: #fff; }

.project-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  padding: 40px 0 96px;
}
@media (min-width: 700px) { .project-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .project-grid { grid-template-columns: repeat(3, 1fr); } }

.project-card {
  cursor: pointer;
  border: none;
  background: none;
  text-align: left;
  display: block;
  width: 100%;
}
.project-card-media { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3; margin-bottom: 16px; }
.project-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.project-card:hover .project-card-media img { transform: scale(1.06); }
.project-card-tag {
  position: absolute; top: 14px; left: 14px;
  background: rgba(7,26,53,0.75);
  color: #fff; font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
  padding: 6px 12px; border-radius: 20px;
}
.project-card h3 { font-size: 17px; margin-bottom: 6px; }
.project-card .meta { font-size: 13px; color: var(--dna-gray); }

.no-results { padding: 60px 0; text-align: center; color: var(--dna-gray); display: none; }
.no-results.is-visible { display: block; }

/* ---------- Project detail modal ---------- */
.project-modal {
  position: fixed; inset: 0; z-index: 1500;
  background: rgba(7,26,53,0.72);
  display: none;
  align-items: flex-start;
  justify-content: center;
  overflow-y: auto;
  padding: 40px 16px;
}
.project-modal.is-open { display: flex; }
.project-modal-panel {
  background: #fff; border-radius: 6px; max-width: 920px; width: 100%;
  padding: 0 0 40px; position: relative;
  animation: modalIn 0.35s var(--ease);
}
@keyframes modalIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
.project-modal-close {
  position: absolute; top: 18px; right: 18px; z-index: 2;
  background: rgba(7,26,53,0.6); color: #fff;
  width: 38px; height: 38px; border-radius: 50%; border: none;
  display: flex; align-items: center; justify-content: center;
}
.project-modal-close svg { width: 18px; height: 18px; }
.project-modal-hero { aspect-ratio: 16/8; overflow: hidden; border-radius: 6px 6px 0 0; }
.project-modal-hero img { width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; }
.project-modal-body { padding: 36px 40px 0; }
.project-modal-body .project-card-tag { position: static; display: inline-block; background: var(--dna-light); color: var(--dna-blue); margin-bottom: 16px; }
.project-modal-body h2 { font-size: clamp(22px, 3vw, 30px); margin-bottom: 18px; }
.project-meta-row { display: flex; flex-wrap: wrap; gap: 28px; margin-bottom: 24px; padding-bottom: 24px; border-bottom: 1px solid var(--dna-border); }
.project-meta-item span { display: block; }
.project-meta-item .label { font-size: 11px; text-transform: uppercase; letter-spacing: 1px; color: var(--dna-gray); margin-bottom: 4px; }
.project-meta-item .value { font-weight: 600; color: var(--dna-navy); }
.project-modal-body p.description { color: var(--dna-gray); margin-bottom: 28px; max-width: 640px; }
.project-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.project-gallery img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 4px; cursor: zoom-in; }
.back-link { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--dna-blue); margin-top: 8px; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 2200;
  background: rgba(4,12,24,0.92);
  display: none; align-items: center; justify-content: center;
}
.lightbox.is-open { display: flex; }
.lightbox img { max-width: 90vw; max-height: 82vh; object-fit: contain; }
.lightbox-close, .lightbox-prev, .lightbox-next {
  position: absolute; background: rgba(255,255,255,0.1); border: none; color: #fff;
  width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
}
.lightbox-close svg, .lightbox-prev svg, .lightbox-next svg { width: 20px; height: 20px; }
.lightbox-close { top: 20px; right: 20px; }
.lightbox-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 20px; top: 50%; transform: translateY(-50%); }
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { background: rgba(255,255,255,0.22); }

/* ==========================================================
   CONTACT PAGE
   ========================================================== */
.contact-layout {
  display: grid; grid-template-columns: 1fr; gap: 48px;
  padding: 64px 0 100px;
}
@media (min-width: 900px) { .contact-layout { grid-template-columns: 1.3fr 0.9fr; } }
.contact-form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr; gap: 18px; }
@media (min-width: 560px) { .form-row.two { grid-template-columns: 1fr 1fr; } }
.field label { display: block; font-size: 13px; font-weight: 600; color: var(--dna-navy); margin-bottom: 8px; }
.field input, .field select, .field textarea {
  width: 100%; border: 1px solid var(--dna-border); border-radius: 4px;
  padding: 13px 14px; font-size: 14.5px; color: var(--dna-dark); background: #fff;
  transition: border-color var(--speed) var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--dna-blue); }
.field textarea { resize: vertical; min-height: 130px; }
.form-note { font-size: 13px; color: var(--dna-gray); margin-top: 4px; }

.contact-info {
  background: var(--dna-navy);
  color: #fff;
  border-radius: 6px;
  padding: 40px 34px;
  height: fit-content;
}
.contact-info h3 { color: #fff; font-size: 18px; margin-bottom: 24px; }
.contact-info-item { display: flex; gap: 14px; margin-bottom: 22px; }
.contact-info-item svg { width: 20px; height: 20px; color: #7fa6f0; flex: none; margin-top: 2px; }
.contact-info-item .label { font-size: 12px; text-transform: uppercase; letter-spacing: 1px; color: #9fc0f7; margin-bottom: 4px; }
.contact-info-item .value { font-size: 14.5px; color: rgba(255,255,255,0.9); }

/* ==========================================================
   SEARCH OVERLAY
   ========================================================== */
.search-overlay {
  position: fixed; inset: 0; z-index: 1800;
  background: rgba(7,26,53,0.55);
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 90px 20px 20px;
}
.search-overlay.is-open { display: flex; }
.search-panel { background: #fff; width: 100%; max-width: 640px; border-radius: 8px; overflow: hidden; box-shadow: 0 24px 60px rgba(0,0,0,0.25); }
.search-input-row { display: flex; align-items: center; gap: 12px; padding: 18px 22px; border-bottom: 1px solid var(--dna-border); }
.search-input-row svg { width: 20px; height: 20px; color: var(--dna-gray); flex: none; }
.search-input-row input { flex: 1; border: none; font-size: 16px; outline: none; }
.search-input-row .icon-btn { flex: none; }
.search-results { max-height: 60vh; overflow-y: auto; padding: 10px; }
.search-result-item { display: block; padding: 14px 12px; border-radius: 6px; }
.search-result-item:hover { background: var(--dna-light); }
.search-result-item .type { font-size: 11px; text-transform: uppercase; letter-spacing: 1px; color: var(--dna-blue); font-weight: 700; margin-bottom: 4px; }
.search-result-item .title { font-weight: 600; color: var(--dna-navy); }
.search-empty { padding: 40px 20px; text-align: center; color: var(--dna-gray); }

/* ==========================================================
   404 helper
   ========================================================== */
.error-page { padding: 140px 0; text-align: center; }
