/* =========================================================
   MjV Interior Systems Inc — Shared Stylesheet
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:       #0B1F3A;
  --navy-mid:   #122848;
  --navy-light: #1A3660;
  --blue:       #1565C0;
  --blue-mid:   #1976D2;
  --blue-light: #2196F3;
  --sky:        #E3F2FD;
  --sky-mid:    #BBDEFB;
  --white:      #FFFFFF;
  --off-white:  #F5F7FA;
  --gray-100:   #EEF2F7;
  --gray-300:   #CBD5E1;
  --gray-500:   #64748B;
  --gray-700:   #334155;
  --accent:     #F59E0B;
  --accent-light: #FEF3C7;
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Open Sans', sans-serif;
  background: var(--white);
  color: var(--gray-700);
  overflow-x: hidden;
  font-size: 16px;
  line-height: 1.6;
}

img { max-width: 100%; height: auto; }

/* ─── TOPBAR ─── */
.topbar {
  background: var(--navy);
  padding: 8px 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.topbar-left {
  font-size: 13px;
  color: var(--sky-mid);
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.topbar-left a { color: var(--sky-mid); text-decoration: none; }
.topbar-left a:hover { color: var(--white); }
.topbar-right { font-size: 13px; color: var(--sky-mid); }

/* ─── NAV ─── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  box-shadow: 0 2px 12px rgba(11,31,58,0.12);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
  height: 76px;
}

.nav-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.nav-logo-icon {
  width: 48px; height: 48px;
  background: var(--blue);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800; font-size: 18px;
  color: var(--white); letter-spacing: -1px;
  flex-shrink: 0;
}
.nav-logo-text { line-height: 1.2; }
.nav-logo-text strong {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 16px; font-weight: 700;
  color: var(--navy); letter-spacing: 0.5px;
}
.nav-logo-text span {
  font-size: 12px; color: var(--gray-500);
  font-weight: 500; letter-spacing: 1px; text-transform: uppercase;
}

.nav-links { display: flex; gap: 8px; list-style: none; align-items: center; }
.nav-links a {
  text-decoration: none;
  font-size: 14px; font-weight: 600;
  color: var(--gray-700);
  padding: 8px 14px; border-radius: 6px;
  transition: background 0.2s, color 0.2s;
  font-family: 'Montserrat', sans-serif;
  letter-spacing: 0.3px;
}
.nav-links a:hover, .nav-links a.active { background: var(--sky); color: var(--blue); }
.nav-cta { background: var(--blue) !important; color: var(--white) !important; padding: 10px 24px !important; }
.nav-cta:hover { background: var(--navy) !important; color: var(--white) !important; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 10px;
  z-index: 101;
}
.hamburger span { display: block; width: 24px; height: 2px; background: var(--navy); transition: all 0.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); }

/* ─── PAGE HERO (for sub-pages) ─── */
.page-hero {
  background: linear-gradient(135deg, rgba(11,31,58,0.92) 0%, rgba(21,101,192,0.82) 100%),
              url('https://images.unsplash.com/photo-1504307651254-35680f356dfd?w=1800&q=80') center/cover no-repeat;
  padding: 64px 5% 56px;
  text-align: center;
}
.page-hero h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(28px, 5vw, 46px);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.5px;
  margin-bottom: 14px;
}
.page-hero p {
  font-size: 16px;
  color: rgba(255,255,255,0.78);
  max-width: 560px;
  margin: 0 auto;
  font-weight: 300;
}
.breadcrumb {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 18px;
}
.breadcrumb a { color: rgba(255,255,255,0.8); text-decoration: none; }
.breadcrumb a:hover { color: var(--white); }

/* ─── HERO (homepage only) ─── */
.hero {
  min-height: 92vh;
  background:
    linear-gradient(135deg, rgba(11,31,58,0.88) 0%, rgba(21,101,192,0.75) 100%),
    url('https://images.unsplash.com/photo-1504307651254-35680f356dfd?w=1800&q=80') center/cover no-repeat;
  display: flex;
  align-items: center;
  padding: 72px 5% 64px;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 80px;
  background: linear-gradient(to top, var(--white), transparent);
}
.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  padding: 8px 18px;
  border-radius: 50px;
  color: var(--sky-mid);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.hero-badge::before { content: '✓'; color: #4FC3F7; font-size: 14px; }
.hero h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(34px, 5.5vw, 68px);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -1px;
}
.hero h1 span { color: #90CAF9; }
.hero-sub {
  font-size: 17px;
  color: rgba(255,255,255,0.8);
  line-height: 1.75;
  max-width: 520px;
  margin-bottom: 40px;
  font-weight: 300;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-primary {
  display: inline-block;
  background: var(--blue-light);
  color: var(--white);
  text-decoration: none;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 16px 36px;
  border-radius: 8px;
  transition: background 0.2s, transform 0.15s;
  box-shadow: 0 4px 16px rgba(33,150,243,0.4);
  border: none;
  cursor: pointer;
}
.btn-primary:hover { background: var(--blue); transform: translateY(-2px); }
.btn-outline {
  display: inline-block;
  color: var(--white);
  text-decoration: none;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 16px 36px;
  border-radius: 8px;
  border: 2px solid rgba(255,255,255,0.4);
  transition: border-color 0.2s, background 0.2s;
}
.btn-outline:hover { border-color: white; background: rgba(255,255,255,0.1); }

.hero-stats-card {
  background: var(--white);
  border-radius: 16px;
  padding: 40px 36px;
  box-shadow: 0 20px 60px rgba(11,31,58,0.3);
}
.hero-stats-card h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--sky);
}
.stat-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--gray-100);
}
.stat-row:last-child { border-bottom: none; padding-bottom: 0; }
.stat-icon {
  width: 48px; height: 48px;
  background: var(--sky);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; flex-shrink: 0;
}
.stat-text strong {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 22px; font-weight: 800;
  color: var(--blue); line-height: 1; margin-bottom: 3px;
}
.stat-text span { font-size: 13px; color: var(--gray-500); font-weight: 500; }

/* ─── CLIENTS ─── */
.clients { background: var(--navy); padding: 28px 5%; text-align: center; }
.clients p {
  font-size: 12px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--sky-mid); margin-bottom: 16px; font-weight: 600;
}
.clients-logos { display: flex; flex-wrap: wrap; gap: 16px 32px; justify-content: center; align-items: center; }
.client-tag {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.7);
  padding: 8px 20px; border-radius: 6px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.5px;
  font-family: 'Montserrat', sans-serif;
}

/* ─── SECTION UTIL ─── */
section { padding: 88px 5%; }
.section-inner { max-width: 1200px; margin: 0 auto; }
.section-label {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  color: var(--blue); margin-bottom: 12px;
}
.section-label::before { content: ''; display: block; width: 24px; height: 2px; background: var(--blue); }
.section-title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800; color: var(--navy);
  line-height: 1.15; margin-bottom: 16px; letter-spacing: -0.5px;
}
.section-title span { color: var(--blue); }
.section-lead { font-size: 16px; color: var(--gray-500); line-height: 1.8; max-width: 580px; }

/* ─── ABOUT ─── */
.about { background: var(--off-white); }
.about-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.about-text .section-lead { max-width: 100%; margin-bottom: 28px; }
.about-highlights { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 32px; }
.highlight {
  background: var(--white); border: 1px solid var(--gray-100); border-left: 4px solid var(--blue);
  padding: 16px 18px; border-radius: 0 8px 8px 0;
}
.highlight h4 { font-family: 'Montserrat', sans-serif; font-size: 14px; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.highlight p { font-size: 12px; color: var(--gray-500); line-height: 1.5; }
.about-visual { position: relative; }
.about-img-main { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: 12px; display: block; }
.about-img-thumb {
  position: absolute; bottom: -20px; right: -20px;
  width: 160px; height: 160px; object-fit: cover; border-radius: 10px;
  border: 4px solid var(--white); box-shadow: 0 8px 24px rgba(11,31,58,0.15);
}
.about-cert {
  position: absolute; top: 24px; left: -20px;
  background: var(--blue); color: var(--white);
  padding: 18px 22px; border-radius: 10px;
  box-shadow: 0 8px 24px rgba(21,101,192,0.35);
}
.about-cert-num { font-family: 'Montserrat', sans-serif; font-size: 36px; font-weight: 800; line-height: 1; display: block; }
.about-cert-text { font-size: 11px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; opacity: 0.85; }

/* ─── SERVICES ─── */
.services { background: var(--white); }
.services-head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 56px; gap: 24px; flex-wrap: wrap; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service-card {
  background: var(--off-white); border: 1px solid var(--gray-100); border-top: 4px solid var(--blue);
  padding: 36px 28px; border-radius: 0 0 12px 12px;
  transition: box-shadow 0.3s, transform 0.2s; cursor: default;
}
.service-card:hover { box-shadow: 0 12px 40px rgba(21,101,192,0.12); transform: translateY(-4px); border-top-color: var(--accent); }
.service-icon {
  width: 56px; height: 56px; background: var(--sky); border-radius: 12px;
  display: flex; align-items: center; justify-content: center; font-size: 26px; margin-bottom: 20px;
}
.service-card h3 { font-family: 'Montserrat', sans-serif; font-size: 17px; font-weight: 700; color: var(--navy); margin-bottom: 12px; }
.service-card p { font-size: 14px; color: var(--gray-500); line-height: 1.7; }
.service-card a.learn-more {
  display: inline-block; margin-top: 14px; font-size: 13px; font-weight: 700; color: var(--blue); text-decoration: none;
  font-family: 'Montserrat', sans-serif;
}
.service-card a.learn-more:hover { text-decoration: underline; }

/* Service detail page list */
.service-detail-grid { display: flex; flex-direction: column; gap: 56px; }
.service-detail {
  display: grid; grid-template-columns: 1fr 1.3fr; gap: 48px; align-items: start;
  padding-bottom: 48px; border-bottom: 1px solid var(--gray-100);
}
.service-detail:last-child { border-bottom: none; padding-bottom: 0; }
.service-detail-icon-wrap {
  width: 72px; height: 72px; background: var(--sky); border-radius: 16px;
  display: flex; align-items: center; justify-content: center; font-size: 34px;
}
.service-detail h2 { font-family: 'Montserrat', sans-serif; font-size: 24px; font-weight: 800; color: var(--navy); margin: 18px 0 14px; }
.service-detail p { font-size: 15px; color: var(--gray-500); line-height: 1.8; margin-bottom: 14px; }
.service-detail ul { list-style: none; margin-top: 14px; }
.service-detail ul li {
  font-size: 14px; color: var(--gray-700); padding: 8px 0 8px 26px; position: relative;
}
.service-detail ul li::before { content: '✓'; position: absolute; left: 0; color: var(--blue); font-weight: 700; }

/* ─── PROJECTS ─── */
.projects { background: var(--off-white); }
.projects-head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 48px; gap: 24px; flex-wrap: wrap; }
.projects-tabs { display: flex; gap: 8px; margin-bottom: 32px; flex-wrap: wrap; }
.tab-btn {
  padding: 8px 20px; border-radius: 50px; border: 2px solid var(--gray-300);
  background: transparent; font-family: 'Montserrat', sans-serif; font-size: 13px; font-weight: 600;
  color: var(--gray-500); cursor: pointer; transition: all 0.2s;
}
.tab-btn:hover { border-color: var(--blue); color: var(--blue); }
.tab-btn.active { background: var(--blue); border-color: var(--blue); color: var(--white); }
.projects-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.project-card {
  position: relative; overflow: hidden; border-radius: 12px; background: var(--navy-light);
  cursor: pointer; box-shadow: 0 4px 16px rgba(11,31,58,0.08);
  display: flex; flex-direction: column;
}
.project-card.featured { grid-column: span 2; }
.project-card img {
  width: 100%; height: 280px; object-fit: cover; display: block;
  transition: transform 0.5s ease; flex-shrink: 0;
}
.project-card.featured img { height: 360px; }
.project-card:hover img { transform: scale(1.05); }
.project-info {
  padding: 20px; background: var(--white); border-top: 3px solid var(--blue);
  flex: 1; display: flex; flex-direction: column; justify-content: flex-start;
}
.project-info h4 { font-family: 'Montserrat', sans-serif; font-size: 15px; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.project-meta { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.project-tag {
  background: var(--sky); color: var(--blue); font-size: 11px; font-weight: 600;
  padding: 3px 10px; border-radius: 50px; letter-spacing: 0.5px; font-family: 'Montserrat', sans-serif;
}
.project-location { font-size: 13px; color: var(--gray-500); }

/* ─── WHY US ─── */
.whyus { background: var(--navy); }
.whyus .section-label { color: #90CAF9; }
.whyus .section-label::before { background: #90CAF9; }
.whyus .section-title { color: var(--white); }
.whyus .section-title span { color: #90CAF9; }
.whyus .section-lead { color: rgba(255,255,255,0.65); }
.whyus-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.whyus-points { margin-top: 40px; display: flex; flex-direction: column; gap: 0; }
.why-item { display: flex; gap: 18px; align-items: flex-start; padding: 24px 0; border-bottom: 1px solid rgba(255,255,255,0.08); }
.why-item:first-child { border-top: 1px solid rgba(255,255,255,0.08); }
.why-num {
  width: 40px; height: 40px; background: var(--blue); border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 16px; color: var(--white); flex-shrink: 0;
}
.why-body h4 { font-family: 'Montserrat', sans-serif; font-size: 15px; font-weight: 700; color: var(--white); margin-bottom: 6px; }
.why-body p { font-size: 14px; color: rgba(255,255,255,0.55); line-height: 1.65; }
.whyus-visual { position: relative; }
.whyus-visual img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: 12px; filter: brightness(0.85); }
.whyus-quote-box {
  position: absolute; bottom: -24px; left: -24px; background: var(--blue);
  padding: 28px 32px; border-radius: 12px; max-width: 300px; box-shadow: 0 16px 40px rgba(21,101,192,0.4);
}
.whyus-quote-box blockquote {
  font-size: 15px; font-style: italic; color: var(--white); line-height: 1.6; margin-bottom: 14px;
  font-family: 'Open Sans', sans-serif; font-weight: 300;
}
.whyus-quote-box cite {
  font-family: 'Montserrat', sans-serif; font-size: 12px; font-weight: 700; color: #90CAF9;
  letter-spacing: 1px; text-transform: uppercase; font-style: normal;
}

/* ─── CONTACT ─── */
.contact { background: var(--off-white); }
.contact-inner { display: grid; grid-template-columns: 1fr 1.3fr; gap: 72px; align-items: start; }
.contact-info-items { margin-top: 36px; display: flex; flex-direction: column; gap: 0; }
.contact-item { display: flex; gap: 16px; align-items: flex-start; padding: 22px 0; border-bottom: 1px solid var(--gray-100); }
.contact-item:first-child { border-top: 1px solid var(--gray-100); }
.ci-icon {
  width: 46px; height: 46px; background: var(--blue); border-radius: 10px;
  display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0;
}
.ci-body label {
  display: block; font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  color: var(--blue); margin-bottom: 5px; font-family: 'Montserrat', sans-serif;
}
.ci-body a, .ci-body p { font-size: 15px; color: var(--navy); text-decoration: none; line-height: 1.55; font-weight: 400; }
.ci-body a:hover { color: var(--blue); }
.contact-form-wrap {
  background: var(--white); border-radius: 16px; padding: 48px 44px;
  box-shadow: 0 8px 40px rgba(11,31,58,0.08); border-top: 5px solid var(--blue);
}
.contact-form-wrap h3 { font-family: 'Montserrat', sans-serif; font-size: 22px; font-weight: 800; color: var(--navy); margin-bottom: 6px; }
.contact-form-wrap > p { font-size: 14px; color: var(--gray-500); margin-bottom: 32px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fg { display: flex; flex-direction: column; gap: 7px; margin-bottom: 14px; }
.fg label {
  font-family: 'Montserrat', sans-serif; font-size: 12px; font-weight: 700; letter-spacing: 0.5px;
  color: var(--navy); text-transform: uppercase;
}
.fg input, .fg select, .fg textarea {
  border: 1.5px solid var(--gray-300); border-radius: 8px; padding: 12px 14px; font-size: 14px;
  font-family: 'Open Sans', sans-serif; color: var(--navy); background: var(--white);
  outline: none; transition: border-color 0.2s; width: 100%;
}
.fg input:focus, .fg select:focus, .fg textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(21,101,192,0.1); }
.fg textarea { resize: vertical; min-height: 110px; }
.fg select { appearance: none; cursor: pointer; }
.form-submit {
  width: 100%; background: var(--blue); color: var(--white); border: none; padding: 16px;
  font-family: 'Montserrat', sans-serif; font-size: 14px; font-weight: 700; letter-spacing: 1px;
  text-transform: uppercase; cursor: pointer; border-radius: 8px; transition: background 0.2s, transform 0.15s; margin-top: 6px;
}
.form-submit:hover { background: var(--navy); transform: translateY(-1px); }

/* ─── MAP EMBED ─── */
.map-wrap { margin-top: 48px; border-radius: 16px; overflow: hidden; box-shadow: 0 8px 40px rgba(11,31,58,0.08); }
.map-wrap iframe { width: 100%; height: 380px; border: 0; display: block; }

/* ─── FOOTER ─── */
footer { background: var(--navy); padding: 64px 5% 36px; }
.footer-inner {
  max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand .nav-logo { margin-bottom: 16px; }
.footer-brand .nav-logo-text strong { color: var(--white); }
.footer-brand .nav-logo-text span { color: rgba(255,255,255,0.4); }
.footer-brand p { font-size: 14px; color: rgba(255,255,255,0.5); line-height: 1.7; font-weight: 300; max-width: 300px; }
.footer-col h4 {
  font-family: 'Montserrat', sans-serif; font-size: 12px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: #90CAF9; margin-bottom: 20px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a { text-decoration: none; font-size: 14px; color: rgba(255,255,255,0.5); transition: color 0.2s; font-weight: 300; }
.footer-col ul a:hover { color: var(--white); }
.footer-bottom {
  max-width: 1200px; margin: 28px auto 0; display: flex; justify-content: space-between; align-items: center;
  font-size: 13px; color: rgba(255,255,255,0.3); flex-wrap: wrap; gap: 8px;
}
.footer-bottom a { color: rgba(255,255,255,0.4); text-decoration: none; }
.footer-bottom a:hover { color: #90CAF9; }

/* ─── MOBILE MENU ─── */
.mobile-menu {
  display: none; position: fixed; top: 76px; left: 0; right: 0; background: var(--white);
  padding: 20px 5%; border-bottom: 1px solid var(--gray-100); box-shadow: 0 8px 24px rgba(11,31,58,0.1);
  z-index: 99; flex-direction: column; gap: 4px; max-height: calc(100vh - 76px); overflow-y: auto;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  text-decoration: none; font-family: 'Montserrat', sans-serif; font-size: 15px; font-weight: 600;
  color: var(--navy); padding: 14px 16px; border-radius: 8px; transition: background 0.2s;
}
.mobile-menu a:hover, .mobile-menu a.active { background: var(--sky); color: var(--blue); }

/* =========================================================
   RESPONSIVE — TABLET (≤1024px)
   ========================================================= */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-stats-card { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .hero-stats-card h3 { grid-column: span 3; }
  .stat-row { flex-direction: column; text-align: center; border-bottom: none; padding: 12px 8px; border: 1px solid var(--gray-100); border-radius: 8px; }
  .about-inner, .whyus-inner, .contact-inner { grid-template-columns: 1fr; gap: 40px; }
  .about-visual { max-width: 420px; margin: 0 auto; }
  .whyus-visual { max-width: 420px; margin: 0 auto; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .projects-grid { grid-template-columns: 1fr 1fr; }
  .project-card.featured { grid-column: auto; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .service-detail { grid-template-columns: 1fr; gap: 20px; }
  section { padding: 64px 5%; }
}

/* =========================================================
   RESPONSIVE — MOBILE (≤768px)
   ========================================================= */
@media (max-width: 768px) {
  .topbar-left span { display: none; }
  .topbar { justify-content: center; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  nav { height: 68px; padding: 0 4%; }
  .nav-logo-icon { width: 40px; height: 40px; font-size: 15px; }
  .nav-logo-text strong { font-size: 14px; }
  .nav-logo-text span { font-size: 10px; }
  .mobile-menu { top: 68px; }

  .hero { min-height: auto; padding: 48px 5% 56px; }
  .hero-badge { font-size: 11px; padding: 6px 14px; }
  .hero-sub { font-size: 15px; }
  .hero-actions { flex-direction: column; }
  .hero-actions a { text-align: center; width: 100%; }
  .hero-stats-card { grid-template-columns: 1fr 1fr; padding: 28px 20px; }
  .hero-stats-card h3 { grid-column: span 2; font-size: 16px; }

  .page-hero { padding: 44px 5% 40px; }

  .services-grid { grid-template-columns: 1fr; }
  .projects-grid { grid-template-columns: 1fr; }
  .project-card img, .project-card.featured img { height: 220px; }

  .form-row { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 28px 22px; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .services-head, .projects-head { flex-direction: column; align-items: flex-start; }
  .clients-logos { gap: 10px 16px; }
  .about-highlights { grid-template-columns: 1fr; }

  section { padding: 48px 5%; }
  .section-title { font-size: 26px; }

  .about-cert { left: 8px; top: 16px; padding: 12px 16px; }
  .about-cert-num { font-size: 26px; }
  .about-img-thumb { width: 110px; height: 110px; right: 8px; bottom: -16px; }
  .whyus-quote-box { left: 8px; bottom: -16px; padding: 18px 20px; max-width: calc(100% - 16px); }

  .map-wrap iframe { height: 280px; }
}

@media (max-width: 420px) {
  .hero h1 { font-size: 30px; }
  .section-title { font-size: 22px; }
  .nav-logo-text { display: none; }
}

/* ─── REVEAL ─── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.65s ease, transform 0.65s ease; }
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
