:root {
  --primary: #25376d;
  --primary-dark: #162244;
  --accent: #f59e0b;
  --bg: #f5f7fb;
  --card: #ffffff;
  --text: #111827;
  --muted: #667085;
  --line: #e5e7eb;
  --shadow: 0 24px 70px rgba(15, 23, 42, .12);
  --radius: 24px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: var(--text); background: var(--bg); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92); backdrop-filter: blur(18px); border-bottom: 1px solid rgba(229,231,235,.8); }
.header-inner { height: 82px; display: flex; align-items: center; gap: 28px; }
.brand img { width: 168px; height: 58px; object-fit: contain; }
.site-nav { margin-left: auto; display: flex; align-items: center; gap: 26px; font-size: 15px; font-weight: 600; color: #344054; }
.site-nav a:hover { color: var(--primary); }
.header-cta { padding: 12px 18px; border-radius: 999px; background: var(--primary); color: #fff; font-weight: 700; font-size: 14px; }
.nav-toggle { display: none; border: 0; background: var(--primary); color: #fff; border-radius: 12px; padding: 10px 13px; font-size: 20px; }
.hero { position: relative; min-height: 690px; display: flex; align-items: center; overflow: hidden; color: #fff; }
.hero-bg { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,18,38,.88), rgba(10,18,38,.58), rgba(10,18,38,.16)), url('../img/hero.jpg') center/cover no-repeat; transform: scale(1.02); }
.hero-inner { position: relative; z-index: 1; }
.hero-copy { max-width: 760px; padding: 86px 0; }
.eyebrow, .section-kicker { margin: 0 0 14px; color: var(--accent); font-weight: 800; letter-spacing: .08em; text-transform: uppercase; font-size: 13px; }
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: clamp(42px, 6vw, 78px); line-height: .98; letter-spacing: -0.06em; margin-bottom: 22px; }
.lead { font-size: clamp(18px, 2vw, 24px); line-height: 1.55; color: rgba(255,255,255,.88); max-width: 680px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 15px 22px; border-radius: 999px; font-weight: 800; }
.btn-primary { background: var(--accent); color: #171717; }
.btn-secondary { background: rgba(255,255,255,.12); color: #fff; border: 1px solid rgba(255,255,255,.28); }
.trust-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.trust-row span { padding: 10px 14px; border-radius: 999px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); color: rgba(255,255,255,.9); font-weight: 700; font-size: 14px; }
.section { padding: 94px 0; }
.two-col { display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; align-items: start; }
h2 { font-size: clamp(30px, 4vw, 50px); line-height: 1.05; letter-spacing: -0.045em; margin-bottom: 20px; }
.text-block p, .section-head p, .contact p { color: var(--muted); line-height: 1.75; font-size: 17px; }
.section-head { max-width: 740px; margin-bottom: 42px; }
.services { background: #fff; }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.service-card { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 25px; min-height: 230px; transition: transform .2s ease, box-shadow .2s ease; }
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.service-card span { display: inline-flex; margin-bottom: 24px; color: var(--primary); font-weight: 900; }
.service-card h3 { font-size: 20px; margin-bottom: 12px; letter-spacing: -0.02em; }
.service-card p { color: var(--muted); line-height: 1.65; margin: 0; }
.projects { background: var(--primary-dark); color: #fff; }
.projects .section-head p { color: rgba(255,255,255,.74); }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 230px; gap: 16px; }
.gallery-item { border: 0; padding: 0; border-radius: 22px; overflow: hidden; cursor: pointer; background: #111; box-shadow: 0 20px 50px rgba(0,0,0,.22); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item.wide { grid-column: span 2; }
.gallery-item.tall { grid-row: span 2; }
.why-card { background: #fff; border-radius: 32px; padding: clamp(30px, 5vw, 58px); display: grid; grid-template-columns: .85fr 1.15fr; gap: 50px; box-shadow: var(--shadow); }
.points { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.points div { padding: 22px; background: var(--bg); border-radius: 20px; border: 1px solid var(--line); }
.points strong { display: block; margin-bottom: 8px; color: var(--primary); }
.points span { color: var(--muted); line-height: 1.6; }
.contact { background: #fff; }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; align-items: start; }
.contact-card { background: var(--primary); color: #fff; border-radius: 32px; padding: 30px; display: grid; gap: 14px; box-shadow: var(--shadow); }
.contact-card a, .contact-card p { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); border-radius: 20px; padding: 18px; margin: 0; color: #fff; font-weight: 800; overflow-wrap: anywhere; }
.contact-card span { display: block; color: rgba(255,255,255,.65); font-size: 13px; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 7px; font-weight: 800; }
.site-footer { background: #0f172a; color: rgba(255,255,255,.72); padding: 32px 0; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.footer-inner img { width: 150px; height: 52px; object-fit: contain; background: #fff; border-radius: 10px; padding: 4px; }
.lightbox { position: fixed; inset: 0; background: rgba(2,6,23,.86); z-index: 100; display: none; align-items: center; justify-content: center; padding: 28px; }
.lightbox.is-open { display: flex; }
.lightbox img { max-width: min(1100px, 92vw); max-height: 84vh; object-fit: contain; border-radius: 20px; box-shadow: var(--shadow); }
.lightbox-close { position: fixed; top: 22px; right: 24px; width: 46px; height: 46px; border: 0; border-radius: 50%; background: #fff; color: #111; font-size: 34px; line-height: 1; cursor: pointer; }
@media (max-width: 980px) {
  .header-inner { height: 76px; }
  .nav-toggle { display: block; margin-left: auto; }
  .site-nav { position: absolute; top: 76px; left: 20px; right: 20px; display: none; flex-direction: column; align-items: stretch; gap: 0; background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); padding: 10px; }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 14px; }
  .header-cta { display: none; }
  .two-col, .why-card, .contact-grid { grid-template-columns: 1fr; gap: 34px; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 220px; }
}
@media (max-width: 640px) {
  .container { width: min(100% - 28px, 1160px); }
  .brand img { width: 142px; }
  .hero { min-height: 650px; }
  .hero-copy { padding: 66px 0; }
  .hero-actions .btn { width: 100%; }
  .section { padding: 68px 0; }
  .service-grid, .points { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; grid-auto-rows: 260px; }
  .gallery-item.wide, .gallery-item.tall { grid-column: span 1; grid-row: span 1; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}

/* Accessibility and interaction safeguards */
body.lightbox-open {
  overflow: hidden;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}

.gallery-item:focus-visible {
  outline-color: #ffffff;
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

