/* =============================================
   AK SURVEYORS & ENGINEERS – style.css
   Dark Black + Orange Theme (as per reference)
   ============================================= */

/* ---- RESET & VARIABLES ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --black:   #0a0a0a;
  --dark:    #111111;
  --card:    #1a1a1a;
  --card2:   #222222;
  --border:  #2a2a2a;
  --orange:  #ff6b00;
  --orange2: #ff8c36;
  --orange-dim: rgba(255,107,0,0.12);
  --white:   #ffffff;
  --offwhite:#f0f0f0;
  --gray:    #888888;
  --lgray:   #333333;
  --text:    #cccccc;

  --shadow:  0 4px 24px rgba(0,0,0,0.5);
  --shadow2: 0 8px 40px rgba(0,0,0,0.7);
  --radius:  14px;
  --radius2: 8px;

  --nav-h: 72px;
  --font: 'Barlow', system-ui, sans-serif;
  --font-display: 'Barlow Condensed', 'Barlow', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--black);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; object-fit: cover; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ---- UTILITY ---- */
.blue   { color: var(--orange); }
.orange { color: var(--orange); }

.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--orange);
  color: white;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1rem;
  border: 2px solid var(--orange);
  cursor: pointer;
  transition: background .22s, transform .18s, box-shadow .22s;
  font-family: var(--font);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.btn-primary:hover {
  background: var(--orange2);
  border-color: var(--orange2);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(255,107,0,0.35);
}
.btn-primary.full-width { width: 100%; justify-content: center; }

.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent;
  color: var(--white);
  padding: 13px 26px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1rem;
  border: 2px solid rgba(255,255,255,0.3);
  cursor: pointer;
  transition: all .22s;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.btn-outline:hover {
  background: rgba(255,255,255,0.08);
  border-color: var(--white);
  transform: translateY(-2px);
}

/* ---- NAVBAR ---- */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--nav-h);
  background: rgba(10,10,10,0.95);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .3s;
}
.navbar.scrolled {
  box-shadow: 0 2px 20px rgba(0,0,0,0.6);
  border-bottom-color: rgba(255,107,0,0.2);
}

.nav-container {
  max-width: 1280px; margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex; align-items: center; gap: 32px;
}

.nav-logo { display: flex; align-items: center; gap: 10px; }
.logo-icon { display: flex; align-items: center; }
/* Recolor SVG logo polygons via filter trick via CSS */
.logo-icon svg polygon:first-child { fill: var(--white); }
.logo-icon svg polygon:last-child  { fill: var(--orange); }
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-main {
  font-family: var(--font-display);
  font-weight: 800; font-size: 1.05rem;
  color: var(--white); letter-spacing: .06em;
}
.logo-sub { font-size: .7rem; font-weight: 600; color: var(--orange); letter-spacing: .06em; }

.nav-links {
  display: flex; align-items: center; gap: 4px;
  margin-left: auto;
}
.nav-link {
  padding: 8px 12px;
  font-weight: 600; font-size: .88rem;
  color: rgba(255,255,255,0.6);
  border-radius: 6px;
  transition: color .2s, background .2s;
  position: relative;
  text-transform: uppercase; letter-spacing: 0.04em;
}
.nav-link:hover, .nav-link.active { color: var(--white); }
.nav-link.active::after {
  content: ''; position: absolute; bottom: 0; left: 12px; right: 12px;
  height: 2px; background: var(--orange); border-radius: 2px;
}

.nav-cta {
  display: flex; align-items: center; gap: 8px;
  background: var(--orange);
  color: white;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 700; font-size: .9rem;
  transition: background .2s;
  white-space: nowrap;
  margin-left: 8px;
  text-transform: uppercase; letter-spacing: 0.04em;
}
.nav-cta:hover { background: var(--orange2); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none; border: none; cursor: pointer;
  padding: 6px; margin-left: auto;
}
.hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--white); border-radius: 2px;
  transition: all .3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---- HERO ---- */
.hero {
  min-height: 100vh;
  padding-top: var(--nav-h);
  background: var(--black);
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; justify-content: center;
}

.hero-bg {
  position: absolute; inset: 0; pointer-events: none;
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,107,0,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,107,0,0.05) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-glow {
  position: absolute; top: 10%; right: 5%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(255,107,0,0.08) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-content {
  max-width: 1280px; margin: 0 auto;
  padding: 60px 24px 32px;
  display: flex; align-items: center; gap: 48px;
  width: 100%;
}

.hero-text { flex: 0 0 480px; max-width: 480px; }
.hero-eyebrow {
  display: inline-block;
  background: var(--orange-dim);
  color: var(--orange);
  font-weight: 700; font-size: .82rem;
  letter-spacing: .1em; text-transform: uppercase;
  padding: 6px 14px; border-radius: 50px;
  border: 1px solid rgba(255,107,0,0.25);
  margin-bottom: 20px;
}
.hero-heading {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4.5vw, 4.2rem);
  font-weight: 900; line-height: 1.05;
  color: var(--white); margin-bottom: 16px;
  text-transform: uppercase; letter-spacing: -0.01em;
}
.hero-sub { font-size: 1.1rem; color: var(--gray); margin-bottom: 32px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-visual {
  flex: 1; display: flex; justify-content: flex-end;
}
.hero-img-wrap {
  position: relative; width: 100%; max-width: 580px;
  height: 380px;
  background: var(--card);
  border-radius: 20px; overflow: visible;
  border: 1px solid var(--border);
}
.hero-img {
  width: 100%; height: 100%; border-radius: 20px; object-fit: cover; opacity: .7;
}
.hero-instrument {
  position: absolute; bottom: -20px; left: 50%; transform: translateX(-50%);
  width: 180px; animation: float 4s ease-in-out infinite;
}
.hero-drone {
  position: absolute; top: 20px; right: 30px;
  width: 110px; animation: float 3.5s ease-in-out infinite .8s;
}
.hero-pin { position: absolute; }
.pin1 { bottom: 60px; right: 80px; animation: bounce 2s ease-in-out infinite; }
.pin2 { bottom: 80px; left: 80px; animation: bounce 2s ease-in-out infinite .5s; }

@keyframes float { 0%,100%{transform:translateX(-50%) translateY(0)} 50%{transform:translateX(-50%) translateY(-12px)} }
@keyframes bounce { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-8px)} }

.hero-stats {
  max-width: 1280px; margin: 0 auto;
  padding: 28px 24px 48px;
  display: flex; align-items: center; gap: 0;
  width: 100%;
  border-top: 1px solid var(--border);
}
.stat-item {
  flex: 1; text-align: center;
  display: flex; flex-direction: column; align-items: center;
}
.stat-num {
  font-family: var(--font-display);
  font-size: 2.4rem; font-weight: 900; color: var(--orange);
  line-height: 1;
}
.stat-plus { font-size: 1.6rem; font-weight: 900; color: var(--orange); margin-left: 2px; }
.stat-label { font-size: .82rem; font-weight: 600; color: var(--gray); margin-top: 4px; text-transform: uppercase; letter-spacing: 0.06em; }
.stat-divider { width: 1px; height: 50px; background: var(--border); flex-shrink: 0; }

/* ---- SECTION COMMON ---- */
.section-container {
  max-width: 1280px; margin: 0 auto;
  padding: 80px 24px;
}
.section-header {
  text-align: center; margin-bottom: 52px;
}
.section-header.with-action {
  display: flex; align-items: flex-end; justify-content: space-between;
  text-align: left; flex-wrap: wrap; gap: 16px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 900; color: var(--white); margin-bottom: 10px;
  text-transform: uppercase; letter-spacing: 0.02em;
}
.section-title.left { text-align: left; }
.section-rule {
  width: 48px; height: 3px;
  background: var(--orange);
  border-radius: 2px; margin: 0 auto 16px;
}
.section-rule.left { margin: 0 0 16px; }
.section-sub { color: var(--gray); font-size: 1.02rem; max-width: 540px; margin: 0 auto; }
.section-eyebrow {
  display: inline-block; color: var(--orange);
  font-weight: 700; font-size: .78rem;
  letter-spacing: .1em; text-transform: uppercase;
  margin-bottom: 10px;
}
.view-all {
  color: var(--orange); font-weight: 700;
  font-size: .9rem; white-space: nowrap;
  transition: color .2s; text-transform: uppercase; letter-spacing: 0.04em;
}
.view-all:hover { color: var(--orange2); }

/* ---- SERVICES ---- */
.services { background: var(--dark); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 16px;
}
.service-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 24px;
  display: flex; align-items: center; gap: 16px;
  border: 1.5px solid var(--border);
  transition: transform .22s, box-shadow .22s, border-color .22s;
  cursor: pointer;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow2);
  border-color: rgba(255,107,0,0.5);
}
.service-icon {
  width: 56px; height: 56px; flex-shrink: 0;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
}
.blue-icon   { background: var(--orange);     color: white; }
.orange-icon { background: rgba(255,107,0,0.15); color: var(--orange); border: 1px solid rgba(255,107,0,0.3); }

.service-body { flex: 1; }
.service-body h3 { font-weight: 700; font-size: 1.02rem; margin-bottom: 4px; color: var(--white); text-transform: uppercase; letter-spacing: 0.03em; }
.service-body p  { font-size: .87rem; color: var(--gray); line-height: 1.5; }
.service-arrow {
  font-size: 1.2rem; color: var(--orange); font-weight: 700;
  width: 32px; height: 32px; display: flex; align-items: center; justify-content: center;
  border-radius: 50%; transition: background .2s, color .2s;
}
.service-card:hover .service-arrow { background: var(--orange); color: white; }

/* ---- ABOUT ---- */
.about { background: var(--black); }
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px;
  align-items: center;
}
.about-img-frame {
  position: relative; border-radius: 20px; overflow: visible;
}
.about-img-frame img {
  width: 100%; border-radius: 16px;
  box-shadow: var(--shadow2);
  min-height: 320px; object-fit: cover;
  filter: brightness(0.85);
}
.about-badge {
  position: absolute; bottom: -18px; right: -18px;
  background: var(--orange);
  color: white;
  padding: 14px 20px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 6px 24px rgba(255,107,0,0.4);
}
.badge-num { display: block; font-family: var(--font-display); font-size: 1.8rem; font-weight: 900; line-height: 1; }
.badge-txt { font-size: .78rem; font-weight: 600; }

.about-content { padding-left: 8px; }
.about-text { color: var(--gray); margin-bottom: 16px; line-height: 1.7; }
.about-features {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 10px; margin: 24px 0 32px;
}
.about-features li { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: .92rem; color: var(--white); }
.check { color: var(--orange); font-weight: 800; }

/* ---- PROJECTS ---- */
.projects { background: var(--dark); }
.projects .section-header {
  display: flex; align-items: flex-end; justify-content: space-between;
  text-align: left; margin-bottom: 40px;
}
.projects .section-header .section-title { margin-bottom: 8px; }
.projects .section-rule { margin: 0 0 0; }

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}
.project-card {
  background: var(--card); border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: transform .22s, box-shadow .22s, border-color .22s;
}
.project-card:hover { transform: translateY(-5px); box-shadow: var(--shadow2); border-color: rgba(255,107,0,0.4); }
.project-img {
  position: relative; height: 180px; overflow: hidden;
  background: var(--card2);
}
.project-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .4s; filter: brightness(0.8);
}
.project-card:hover .project-img img { transform: scale(1.06); }
.project-tag {
  position: absolute; bottom: 10px; left: 10px;
  padding: 4px 10px; border-radius: 50px;
  font-size: .75rem; font-weight: 700;
}
.project-tag.in-progress { background: rgba(255,107,0,0.2); color: var(--orange2); }
.project-tag.completed   { background: rgba(0,200,100,0.15); color: #4ade80; }
.project-info { padding: 16px; }
.project-info h4 { font-weight: 700; font-size: .97rem; margin-bottom: 6px; color: var(--white); }
.project-loc { font-size: .82rem; color: var(--gray); margin-bottom: 8px; }
.project-type {
  display: inline-block; background: var(--orange-dim);
  color: var(--orange); font-size: .75rem; font-weight: 700;
  padding: 3px 10px; border-radius: 50px;
  border: 1px solid rgba(255,107,0,0.2);
}

/* ---- WHY US ---- */
.why-us {
  background: var(--orange);
  padding: 0;
}
.why-us .section-container { padding: 44px 24px; }
.why-grid {
  display: flex; gap: 0;
  align-items: center;
}
.why-item {
  flex: 1;
  display: flex; flex-direction: column; align-items: center;
  text-align: center;
  padding: 16px 20px;
  border-right: 1px solid rgba(255,255,255,.2);
}
.why-item:last-child { border-right: none; }
.why-icon {
  width: 52px; height: 52px;
  background: rgba(255,255,255,.2);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: white; margin-bottom: 12px;
}
.why-item h4 { color: white; font-weight: 800; font-size: 1rem; margin-bottom: 4px; text-transform: uppercase; }
.why-item p  { color: rgba(255,255,255,.8); font-size: .85rem; }

/* ---- CTA BANNER ---- */
.cta-banner {
  background: var(--card);
  border: 1px solid var(--border);
  padding: 48px 32px;
  border-radius: 20px;
  max-width: 1280px;
  margin: 0 auto 0;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; overflow: hidden; position: relative;
}
.cta-banner::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,107,0,0.08) 0%, transparent 60%);
  pointer-events: none;
}
.cta-content { display: flex; align-items: center; gap: 40px; flex: 1; position: relative; }
.cta-text h2 { color: white; font-family: var(--font-display); font-size: 2rem; font-weight: 900; text-transform: uppercase; }
.cta-text p  { color: rgba(255,255,255,.6); margin-top: 6px; }
.btn-cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--orange); color: white;
  padding: 14px 28px; border-radius: 8px;
  font-weight: 700; font-size: 1rem;
  white-space: nowrap;
  transition: background .2s, transform .2s, box-shadow .2s;
  text-transform: uppercase; letter-spacing: 0.04em; position: relative;
}
.btn-cta:hover { background: var(--orange2); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(255,107,0,0.3); }
.cta-img { width: 110px; opacity: .15; }

.cta-section-wrap { padding: 0 24px 80px; max-width: 1280px; margin: 0 auto; }

/* ---- GALLERY ---- */
.gallery { background: var(--black); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: 220px 220px;
  gap: 12px;
}
.gallery-item { border-radius: 12px; overflow: hidden; background: var(--card); border: 1px solid var(--border); }
.gallery-item img { width:100%; height:100%; object-fit:cover; transition: transform .4s; filter: brightness(0.85); }
.gallery-item:hover img { transform: scale(1.06); filter: brightness(1); }
.gallery-item.tall { grid-row: span 2; }
.gallery-item.wide { grid-column: span 2; }

/* ---- CAREERS ---- */
.careers { background: var(--dark); }
.careers-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: center;
}
.careers-text p { color: var(--gray); margin-bottom: 28px; line-height: 1.7; }
.careers-perks {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
}
.perk {
  background: var(--card); border-radius: 12px; padding: 20px;
  display: flex; align-items: center; gap: 14px;
  font-weight: 600; font-size: .92rem;
  border: 1px solid var(--border);
  transition: transform .2s, border-color .2s; color: var(--white);
}
.perk:hover { transform: translateY(-3px); border-color: rgba(255,107,0,0.4); }
.perk-icon { font-size: 1.5rem; }

/* ---- CONTACT ---- */
.contact { background: var(--black); }
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 56px; align-items: start;
}
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-weight: 700; font-size: .82rem; color: var(--white); text-transform: uppercase; letter-spacing: 0.06em; }
.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-family: var(--font); font-size: .95rem;
  color: var(--white);
  transition: border-color .2s, box-shadow .2s;
  outline: none;
  background: var(--card);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--lgray); }
.form-group select option { background: var(--card); color: var(--white); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(255,107,0,0.12);
}
.form-group textarea { resize: vertical; min-height: 100px; }

.info-card {
  background: var(--card); border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 28px; margin-bottom: 20px;
}
.info-card h3 { font-family: var(--font-display); font-size: 1.3rem; font-weight: 900; margin-bottom: 20px; color: var(--white); text-transform: uppercase; }
.info-item {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 12px 0; border-bottom: 1px solid var(--border);
}
.info-item:last-child { border-bottom: none; }
.info-icon { font-size: 1.2rem; width: 28px; flex-shrink: 0; margin-top: 2px; }
.info-item strong { display: block; font-size: .8rem; color: var(--gray); margin-bottom: 2px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; }
.info-item a, .info-item span:not(.info-icon) {
  font-weight: 600; font-size: .95rem; color: var(--white);
  transition: color .2s;
}
.info-item a:hover { color: var(--orange); }
.map-embed { border-radius: 12px; overflow: hidden; }
.map-embed iframe { filter: invert(0.9) hue-rotate(180deg) brightness(0.85); }

/* ---- FOOTER ---- */
.footer { background: var(--dark); border-top: 1px solid var(--border); }
.footer-top { padding: 60px 24px; }
.footer-container {
  max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: 40px;
}
.footer-brand p {
  color: rgba(255,255,255,.4); font-size: .88rem; line-height: 1.7;
  margin: 16px 0 20px;
}
.social-links { display: flex; gap: 10px; }
.social-link {
  width: 36px; height: 36px; border-radius: 8px;
  background: var(--card2);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.5);
  border: 1px solid var(--border);
  transition: background .2s, color .2s, border-color .2s;
}
.social-link:hover { background: var(--orange); color: white; border-color: var(--orange); }

.footer-col h4 {
  color: white; font-weight: 800; font-size: .9rem;
  margin-bottom: 18px; text-transform: uppercase; letter-spacing: 0.08em;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a, .footer-col ul li span {
  color: rgba(255,255,255,.4); font-size: .88rem;
  transition: color .2s;
}
.footer-col ul li a:hover { color: var(--orange); }
.footer-contact li {
  display: flex; align-items: flex-start; gap: 10px;
}
.footer-contact li span:first-child { flex-shrink: 0; }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 20px 24px;
}
.footer-bottom .footer-container {
  grid-template-columns: 1fr 1fr;
  padding: 0;
}
.footer-bottom p { color: rgba(255,255,255,.3); font-size: .82rem; }
.footer-bottom p:last-child { text-align: right; }

/* ---- MOBILE BOTTOM BAR ---- */
.mobile-bottom-bar {
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 999;
  background: var(--dark);
  padding: 8px 0;
  border-top: 1px solid var(--border);
}
.mbb-item {
  flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px;
  color: rgba(255,255,255,.5); font-size: .65rem; font-weight: 600;
  padding: 6px 4px;
}
.mbb-item svg { color: rgba(255,255,255,.5); }
.mbb-primary { color: var(--orange); }
.mbb-primary svg { color: var(--orange); }

/* =============================================
   RESPONSIVE – TABLET
   ============================================= */
@media (max-width: 1024px) {
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .hamburger { display: flex; }

  .hero-content { flex-direction: column; padding-top: 40px; }
  .hero-text { flex: none; max-width: 100%; text-align: center; }
  .hero-actions { justify-content: center; }
  .hero-visual { justify-content: center; }
  .hero-img-wrap { max-width: 440px; height: 280px; }

  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .about-visual { order: 2; }
  .about-content { order: 1; }
  .about-badge { right: 0; }

  .contact-grid { grid-template-columns: 1fr; }
  .footer-container { grid-template-columns: 1fr 1fr; }
  .careers-inner { grid-template-columns: 1fr; gap: 32px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item.tall { grid-row: auto; }
  .gallery-item.wide { grid-column: auto; }
  .why-grid { flex-wrap: wrap; }
  .why-item { flex: 0 0 48%; border-right: none; border-bottom: 1px solid rgba(255,255,255,.15); }
  .why-item:nth-child(3), .why-item:nth-child(4) { border-bottom: none; }
}

/* =============================================
   RESPONSIVE – MOBILE
   ============================================= */
@media (max-width: 640px) {
  :root { --nav-h: 60px; }

  .nav-container { padding: 0 16px; }

  .nav-links {
    display: flex; flex-direction: column;
    position: fixed; top: var(--nav-h); left: 0; right: 0;
    background: var(--dark);
    padding: 16px;
    gap: 4px;
    border-bottom: 1px solid var(--border);
    transform: translateY(-200%);
    opacity: 0;
    transition: transform .3s, opacity .3s;
    z-index: 999;
    pointer-events: none;
  }
  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }
  .nav-link { font-size: 1rem; padding: 12px 14px; }

  .hero-content { padding: 20px 16px 0; gap: 24px; }
  .hero-text { max-width: 100%; }
  .hero-heading { font-size: 2.2rem; }
  .hero-visual { width: 100%; }
  .hero-img-wrap { height: 220px; max-width: 100%; }
  .hero-stats {
    padding: 20px 16px 80px;
    flex-wrap: wrap; gap: 12px;
  }
  .stat-item { flex: 0 0 42%; }
  .stat-divider { display: none; }
  .stat-num { font-size: 1.8rem; }

  .section-container { padding: 52px 16px; }

  .services-grid { grid-template-columns: 1fr; }
  .service-card { padding: 16px; }

  .about-features { grid-template-columns: 1fr; }

  .projects .section-header { flex-direction: column; align-items: flex-start; gap: 8px; }
  .projects-grid { grid-template-columns: 1fr; }

  .why-grid { flex-direction: column; gap: 0; }
  .why-item { flex: none; width: 100%; border-right: none; border-bottom: 1px solid rgba(255,255,255,.1); padding: 20px 24px; }
  .why-item:last-child { border-bottom: none; }
  .why-item { flex-direction: row; align-items: center; gap: 16px; }
  .why-icon { flex-shrink: 0; margin-bottom: 0; }
  .why-item h4, .why-item p { text-align: left; }

  .cta-banner { flex-direction: column; padding: 28px 20px; text-align: center; }
  .cta-content { flex-direction: column; gap: 20px; align-items: center; }
  .cta-img { display: none; }

  .gallery-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }

  .careers-inner { grid-template-columns: 1fr; gap: 28px; }
  .careers-perks { grid-template-columns: 1fr; }

  .form-row { grid-template-columns: 1fr; }

  .footer-container { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-brand { grid-column: span 2; }
  .footer-bottom .footer-container { grid-template-columns: 1fr; }
  .footer-bottom p:last-child { text-align: left; }

  .mobile-bottom-bar { display: flex; }
}

section[id] { scroll-margin-top: calc(var(--nav-h) + 8px); }
