@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@400;600;700;800&family=Barlow:wght@300;400;500;600&display=swap');

:root {
  --black: #162032;
  --heading: #162032;
  --body-text: #1a1a1a;
  --dark: #111928;
  --charcoal: #0d1520;
  --steel: #3a4a52;
  --mid: #556066;
  --muted: #8a9a9f;
  --border: #e2e2e2;
  --light: #f4f4f4;
  --light2: #ebebeb;
  --white: #ffffff;
  --red: #a52828;
  --red-dark: #8a1e1e;
  --stat-bg: #0f1720;
  --hero-height: 820px;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Barlow', sans-serif; background: var(--white); color: #1a1a1a; overflow-x: hidden; font-size: 16px; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
h1, h2, h3, h4 { font-family: 'Barlow Condensed', sans-serif; font-weight: 700; line-height: 1.05; }

/* NAV */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 200; background: #162032; backdrop-filter: blur(10px); border-bottom: 1px solid rgba(255,255,255,0.08); }
.nav__inner { max-width: 1320px; margin: 0 auto; padding: 0 48px; height: 88px; display: flex; align-items: center; justify-content: space-between; transition: height 0.3s; }
.nav.scrolled .nav__inner { height: 88px; }
.nav__logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.nav__logo-img { height: 52px; width: 52px; object-fit: contain; background: transparent; transition: height 0.3s, width 0.3s; }
.nav.scrolled .nav__logo-img { height: 30px; width: 30px; }
.nav__logo-text { font-family: 'Barlow Condensed', sans-serif; font-size: 18px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--white); }
.nav__links { display: flex; align-items: center; gap: 4px; }
.nav__links a { padding: 8px 14px; font-size: 12px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: rgba(255,255,255,0.6); transition: color 0.2s; }
.nav__links a:hover, .nav__links a.active { color: var(--white); }
.nav__cta { background: var(--red) !important; color: var(--white) !important; padding: 9px 20px !important; }
.nav__cta:hover { background: var(--red-dark) !important; }
.nav__hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.nav__hamburger span { display: block; width: 22px; height: 2px; background: var(--white); }

/* HERO - clamp height so it never gets cut off */
.hero { position: relative; height: 820px; min-height: 600px; display: flex; align-items: center; overflow: hidden; margin-top: 88px; }
.hero__bg { position: absolute; inset: 0; background-size: cover; background-position: center 40%; filter: brightness(0.55); }
.hero__overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.78) 0%, rgba(0,0,0,0.08) 55%, rgba(0,0,0,0.18) 100%); }
.hero__content { position: relative; z-index: 2; width: 100%; max-width: 1320px; margin: 0 auto; padding: 0 48px 48px; }
.hero__eyebrow { font-size: 11px; font-weight: 600; letter-spacing: 4px; text-transform: uppercase; color: rgba(210,210,210,0.85); margin-bottom: 12px; display: block; }
.hero__title { font-family: 'Barlow Condensed', sans-serif; font-size: clamp(52px, 6.5vw, 96px); font-weight: 800; text-transform: uppercase; color: var(--white); line-height: 0.97; max-width: 900px; }
.hero__sub { font-size: clamp(14px, 1.4vw, 17px); font-weight: 300; color: rgba(255,255,255,0.7); margin-top: 14px; max-width: 540px; line-height: 1.65; }
.btn-group { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }

/* BUTTONS - all identical height/padding, no exceptions */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 28px; font-family: 'Barlow', sans-serif; font-size: 13px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; cursor: pointer; border: none; transition: background 0.2s, color 0.2s, border-color 0.2s; text-decoration: none; white-space: nowrap; flex-shrink: 0; line-height: 1; }
.btn--primary { background: var(--red); color: var(--white); border: 2px solid var(--red); }
.btn--primary:hover { background: var(--red-dark); border-color: var(--red-dark); }
.btn--outline { background: transparent; border: 2px solid var(--white); color: var(--white); }
.btn--outline:hover { background: var(--white); color: var(--black); }
.btn--dark { background: var(--black); color: var(--white); border: 2px solid var(--black); }
.btn--dark:hover { background: var(--red); border-color: var(--red); }
.btn--ghost { background: transparent; border: 2px solid var(--border); color: var(--black); }
.btn--ghost:hover { border-color: var(--black); }
.btn-center { display: flex; justify-content: center; margin-top: 48px; }

/* LAYOUT */
.container { max-width: 1320px; margin: 0 auto; padding: 0 48px; }
.section { padding: 88px 0; }
.section--dark { background: var(--dark); }
.section--light { background: var(--light); }
.section--light2 { background: var(--light2); }
.section--black { background: var(--black); }

/* SECTION HEADER */
.section-header { margin-bottom: 52px; }
.section-header--center { text-align: center; }
.eyebrow { font-size: 11px; font-weight: 600; letter-spacing: 4px; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; display: block; }
.section-title { font-family: 'Barlow Condensed', sans-serif; font-size: clamp(32px, 3.5vw, 56px); font-weight: 800; text-transform: uppercase; line-height: 1; color: #162032; }
.section-title--white { color: var(--white); }
.section-sub { font-size: 16px; line-height: 1.75; color: var(--mid); margin-top: 14px; }
.section-sub--center { margin: 14px auto 0; max-width: 600px; }

/* STAT BAR */
.stat-bar { background: var(--stat-bg); padding: 28px 0; }
.stat-bar__inner { max-width: 1320px; margin: 0 auto; padding: 0 48px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat-item { text-align: center; }
.stat-item__num { font-family: 'Barlow Condensed', sans-serif; font-size: 46px; font-weight: 800; color: var(--white); line-height: 1; }
.stat-item__label { font-size: 11px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,0.5); margin-top: 4px; }

/* CARDS */
.card-grid { display: grid; gap: 20px; }
.card-grid--3 { grid-template-columns: repeat(3, 1fr); }
.card-grid--2 { grid-template-columns: repeat(2, 1fr); }
.card-grid--4 { grid-template-columns: repeat(4, 1fr); }
.service-card { background: var(--white); border: 1px solid var(--border); border-top: 3px solid transparent; padding: 36px 28px; transition: border-top-color 0.3s, box-shadow 0.3s; text-align: center; }
.service-card:hover { border-top-color: var(--red); box-shadow: 0 4px 20px rgba(0,0,0,0.08); }
.service-card__icon { margin-bottom: 18px; color: var(--red); display: flex; justify-content: center; }
.service-card__title { font-family: 'Barlow Condensed', sans-serif; font-size: 22px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 10px; }
.service-card__text { font-size: 15px; line-height: 1.7; color: var(--mid); }

/* PROJECT CARDS */
.project-card { position: relative; overflow: hidden; background: var(--dark); }
.project-card__img { width: 100%; aspect-ratio: 4/3; object-fit: cover; filter: brightness(0.65); transition: transform 0.6s ease, filter 0.4s ease; display: block; }
.project-card:hover .project-card__img { transform: scale(1.03); filter: brightness(0.5); }
.project-card__overlay { position: absolute; inset: 0; padding: 20px; display: flex; flex-direction: column; justify-content: flex-end; background: linear-gradient(to top, rgba(0,0,0,0.82) 0%, transparent 55%); }
.project-card__cat { font-size: 10px; font-weight: 600; letter-spacing: 3px; text-transform: uppercase; color: rgba(210,210,210,0.8); margin-bottom: 6px; }
.project-card__title { font-family: 'Barlow Condensed', sans-serif; font-size: 24px; font-weight: 700; text-transform: uppercase; color: var(--white); margin-bottom: 4px; }
.project-card__desc { font-size: 13px; color: rgba(255,255,255,0.6); line-height: 1.5; max-height: 0; overflow: hidden; transition: max-height 0.4s, opacity 0.3s; opacity: 0; }
.project-card:hover .project-card__desc { max-height: 80px; opacity: 1; }

/* PROJECT HIGHLIGHT */
.project-highlight { padding: 72px 0; border-bottom: 1px solid var(--border); }
.project-highlight:last-child { border-bottom: none; }
.project-highlight__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
.project-highlight__img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.project-highlight__eyebrow { font-size: 11px; font-weight: 600; letter-spacing: 3px; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; display: block; }
.project-highlight__title { font-family: 'Barlow Condensed', sans-serif; font-size: clamp(28px, 3vw, 44px); font-weight: 800; text-transform: uppercase; line-height: 1; margin-bottom: 20px; }
.project-highlight__body { font-size: 15px; line-height: 1.8; color: #444; margin-bottom: 16px; }
.project-highlight__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 28px 0; }
.project-stat { background: var(--light); padding: 16px 18px; }
.project-stat__label { font-size: 10px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.project-stat__value { font-size: 14px; font-weight: 600; }
.project-highlight__scope { margin-bottom: 28px; }
.project-highlight__scope-title { font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.project-highlight__scope ul { display: flex; flex-direction: column; gap: 8px; }
.project-highlight__scope li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: #333; }
.project-highlight__scope li::before { content: ''; display: block; width: 6px; height: 6px; background: var(--red); border-radius: 50%; flex-shrink: 0; margin-top: 7px; }
.project-highlight__badges { display: flex; flex-wrap: wrap; gap: 8px; }
.badge { background: var(--black); color: var(--white); padding: 6px 14px; font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; }

/* SERVICES PAGE - row layout, compact */
.service-row { display: grid; grid-template-columns: 200px 1fr; gap: 40px; border-top: 1px solid var(--border); padding: 40px 0; align-items: start; overflow: hidden; }
.service-row:last-child { border-bottom: 1px solid var(--border); }
.service-row__num { font-family: 'Barlow Condensed', sans-serif; font-size: 32px; font-weight: 800; text-transform: uppercase; color: var(--light2); line-height: 1; }
.service-row__name { font-family: 'Barlow Condensed', sans-serif; font-size: 26px; font-weight: 700; text-transform: uppercase; color: var(--red); margin-top: 4px; line-height: 1.1; }
.service-row__body { font-size: 15px; line-height: 1.8; color: var(--mid); max-width: 100%; margin-bottom: 16px; }
.service-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.service-tag { background: var(--light); padding: 6px 14px; font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; }

/* FAQ */
.faq-item { border-bottom: 1px solid var(--border); padding: 24px 0; }
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-q { font-family: 'Barlow Condensed', sans-serif; font-size: 20px; font-weight: 700; text-transform: uppercase; }
.faq-a { font-size: 15px; line-height: 1.75; color: var(--mid); margin-top: 8px; max-width: 640px; }

/* TESTIMONIAL */
.testimonial-block { background: var(--red); padding: 72px 48px; text-align: center; max-width: 840px; margin: 0 auto; }
.testimonial-block__quote { font-family: 'Barlow Condensed', sans-serif; font-size: clamp(20px, 2.5vw, 28px); font-weight: 600; font-style: italic; color: var(--white); line-height: 1.5; margin-bottom: 24px; }
.testimonial-block__author { font-size: 11px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: rgba(255,255,255,0.6); }

/* ABOUT GRID */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about-img-wrap { position: relative; }
.about-img { width: 100%; aspect-ratio: 3/4; object-fit: cover; }
.about-badge { position: absolute; bottom: -20px; right: -20px; width: 120px; height: 120px; background: var(--red); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.about-badge__num { font-family: 'Barlow Condensed', sans-serif; font-size: 40px; font-weight: 800; color: var(--white); line-height: 1; }
.about-badge__text { font-size: 9px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: rgba(255,255,255,0.8); margin-top: 2px; }

/* MAP / OFFICES */
.offices-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.office-map { width: 100%; height: 420px; border: 0; filter: grayscale(15%); }
.office-info { background: var(--charcoal); padding: 52px 44px; display: flex; flex-direction: column; justify-content: center; }
.office-item { margin-bottom: 32px; }
.office-item:last-of-type { margin-bottom: 0; }
.office-label { font-size: 10px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.office-addr { font-size: 15px; color: rgba(255,255,255,0.65); line-height: 1.7; }
.office-addr a { color: rgba(255,255,255,0.65); transition: color 0.2s; }
.office-addr a:hover { color: var(--white); }

/* CERT LOGOS */
.cert-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; align-items: center; }
.cert-item { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; padding: 24px 16px; border: 1px solid var(--border); transition: border-color 0.2s; }
.cert-item:hover { border-color: var(--red); }
.cert-item img { width: 68px; height: 68px; object-fit: contain; }
.cert-item__label { font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--mid); line-height: 1.4; }
.cert-numbers { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin-top: 40px; border: 1px solid var(--border); }
.cert-num-item { padding: 18px 24px; border-bottom: 1px solid var(--border); border-right: 1px solid var(--border); }
.cert-num-item:nth-child(even) { border-right: none; }
.cert-num-item:nth-last-child(-n+2) { border-bottom: none; }
.cert-num-label { font-size: 10px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.cert-num-value { font-size: 14px; font-weight: 600; color: var(--black); }

/* CONTACT */
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 72px; }
.contact-detail { display: flex; gap: 16px; margin-bottom: 24px; padding-bottom: 24px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.contact-detail:last-child { border-bottom: none; }
.contact-icon { width: 44px; height: 44px; min-width: 44px; background: rgba(255,255,255,0.06); display: flex; align-items: center; justify-content: center; color: var(--red); }
.contact-label { font-size: 10px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.contact-value { font-size: 15px; color: rgba(255,255,255,0.65); line-height: 1.65; }
.contact-value a { color: rgba(255,255,255,0.65); transition: color 0.2s; }
.contact-value a:hover { color: var(--red); }

/* FORM */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field--full { grid-column: 1 / -1; }
.form-label { font-size: 10px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,0.4); }
.form-input { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); padding: 13px 16px; font-family: 'Barlow', sans-serif; font-size: 15px; color: var(--white); outline: none; transition: border-color 0.2s; width: 100%; }
.form-input::placeholder { color: rgba(255,255,255,0.25); }
.form-input:focus { border-color: var(--red); }
select.form-input { color: var(--black); background: var(--white); cursor: pointer; }
select.form-input option { color: var(--black); background: var(--white); }
textarea.form-input { resize: vertical; min-height: 120px; }
.form-success { display: none; color: #6fcf97; font-size: 14px; padding: 12px; text-align: center; margin-top: 8px; }

/* FOOTER */
.footer { background: #162032; border-top: 1px solid rgba(255,255,255,0.06); padding: 64px 0 0; }
.footer__inner { max-width: 1320px; margin: 0 auto; padding: 0 48px; display: grid; grid-template-columns: 1.8fr 1fr 1fr 1fr; gap: 48px; align-items: start; }
.footer__brand-name { font-family: 'Barlow Condensed', sans-serif; font-size: 19px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--white); margin-bottom: 10px; }
.footer__tagline { font-size: 13px; color: rgba(255,255,255,0.38); line-height: 1.65; max-width: 220px; }
.footer__col-title { font-size: 10px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: rgba(255,255,255,0.3); margin-bottom: 16px; }
.footer__links { display: flex; flex-direction: column; gap: 10px; }
.footer__links li { font-size: 13px; color: rgba(255,255,255,0.42); line-height: 1.5; }
.footer__links a { font-size: 13px; color: rgba(255,255,255,0.42); transition: color 0.2s; }
.footer__links a:hover { color: var(--white); }
.footer__bottom { max-width: 1320px; margin: 48px auto 0; padding: 20px 48px; border-top: 1px solid rgba(255,255,255,0.06); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
.footer__copy { font-size: 12px; color: rgba(255,255,255,0.22); }

/* ANIMATIONS */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.revealed { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }
.hero__eyebrow, .hero__title, .hero__sub, .hero .btn-group { opacity: 0; animation: heroFadeUp 0.8s ease forwards; }
.hero__eyebrow { animation-delay: 0.15s; }
.hero__title { animation-delay: 0.3s; }
.hero__sub { animation-delay: 0.5s; }
.hero .btn-group { animation-delay: 0.65s; }
@keyframes heroFadeUp { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: translateY(0); } }


.marquee-track { display: flex; gap: 0; animation: marquee 28s linear infinite; width: max-content; }
.marquee-track:hover { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.marquee-wrap { overflow: hidden; -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%); mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%); }

/* TABLET */
@media (max-width: 1024px) {
  .nav__inner, .container, .stat-bar__inner, .footer__inner, .footer__bottom { padding: 0 28px; }
  .hero__content { padding: 0 28px 44px; }
  .stat-bar__inner { grid-template-columns: repeat(2, 1fr); }
  .card-grid--3 { grid-template-columns: repeat(2, 1fr); }
  .card-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-badge { right: 0; }
  .project-highlight__grid { grid-template-columns: 1fr; gap: 36px; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .footer__inner { grid-template-columns: 1fr 1fr; gap: 36px; }
  .cert-grid { grid-template-columns: repeat(2, 1fr); }
  .offices-grid { grid-template-columns: 1fr; }
  .office-map { height: 300px; }
  .service-row { grid-template-columns: 200px 1fr; gap: 28px; }
}

/* MOBILE */
@media (max-width: 768px) {
  :root {
  --black: #162032;
  --heading: #162032;
  --body-text: #1a1a1a;
  --dark: #111928;
  --charcoal: #0d1520;
  --steel: #3a4a52;
  --mid: #556066;
  --muted: #8a9a9f;
  --border: #e2e2e2;
  --light: #f4f4f4;
  --light2: #ebebeb;
  --white: #ffffff;
  --red: #a52828;
  --red-dark: #8a1e1e;
  --stat-bg: #0f1720;
  --hero-height: 820px;
}
  .nav__inner { padding: 0 20px; }
  .nav__logo-text { font-size: 15px; }
  .nav__links { display: none; }
  .nav__hamburger { display: flex; }

  .hero { height: clamp(360px, 75vw, 480px); }
  .hero__content { padding: 0 20px 36px; }
  .hero__title { font-size: clamp(28px, 8vw, 48px); }
  .hero__sub { font-size: 14px; }
  .btn-group { gap: 10px; }
  .btn { height: 44px; padding: 0 22px; font-size: 12px; }

  .section { padding: 60px 0; }
  .container, .stat-bar__inner, .footer__inner, .footer__bottom { padding: 0 20px; }
  .section-header { margin-bottom: 36px; }

  .stat-bar__inner { grid-template-columns: repeat(2, 1fr); gap: 12px; padding: 0 20px; }
  .stat-item__num { font-size: 36px; }

  .card-grid--3, .card-grid--2 { grid-template-columns: 1fr; }
  .card-grid--4 { grid-template-columns: 1fr 1fr; }
  .service-card { padding: 28px 22px; }

  .service-row { grid-template-columns: 1fr; gap: 12px; padding: 32px 0; }
  .service-row__num { display: none; }

  .project-highlight__grid { grid-template-columns: 1fr; gap: 28px; }
  .project-highlight__stats { grid-template-columns: 1fr 1fr; }
  .project-highlight { padding: 48px 0; }

  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-badge { right: 0; bottom: -16px; width: 100px; height: 100px; }
  .about-badge__num { font-size: 32px; }

  .offices-grid { grid-template-columns: 1fr; }
  .office-map { height: 260px; }
  .office-info { padding: 36px 24px; }

  .form-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }

  .cert-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .cert-numbers { grid-template-columns: 1fr; }
  .cert-num-item:nth-child(even) { border-right: none; }
  .cert-num-item:nth-last-child(-n+2) { border-bottom: 1px solid var(--border); }
  .cert-num-item:last-child { border-bottom: none; }

  .footer__inner { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; gap: 8px; }
  .testimonial-block { padding: 48px 28px; }

  .btn-center { margin-top: 36px; }
}

@media (max-width: 480px) {
  .card-grid--4 { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; }
  .project-highlight__stats { grid-template-columns: 1fr; }
  .cert-grid { grid-template-columns: 1fr 1fr; }
}

/* ============================================
   CONTACT HERO - SPLIT LAYOUT
   ============================================ */
.contact-hero {
  margin-top: 88px;
  position: relative;
  height: 820px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.contact-hero__img {
  position: absolute; inset: 0;
}
.contact-hero__img img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  display: block;
  filter: brightness(0.5);
}
.contact-hero__img-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.1) 60%);
}
.contact-hero__content {
  position: relative; z-index: 2;
  width: 100%; max-width: 1320px;
  margin: 0 auto;
  padding: 0 56px;
}
.contact-hero__title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(52px, 6.5vw, 96px);
  font-weight: 800; text-transform: uppercase;
  color: var(--white); line-height: 0.97;
  margin-top: 14px; margin-bottom: 24px;
}
.contact-hero__sub {
  font-size: 21px; line-height: 1.7;
  color: rgba(255,255,255,0.75);
  max-width: 620px;
}

/* ============================================
   TESTIMONIAL - RESTYLED
   ============================================ */
.testimonial-block {
  background: var(--light2);
  border-left: 4px solid var(--red);
  padding: 56px 64px;
  text-align: left;
  max-width: 900px;
  margin: 0 auto;
}
.testimonial-block__quote {
  font-family: 'Barlow', sans-serif;
  font-size: clamp(17px, 2vw, 22px);
  font-weight: 400;
  font-style: italic;
  color: var(--charcoal);
  line-height: 1.7;
  margin-bottom: 24px;
}
.testimonial-block__author {
  font-size: 13px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--muted);
}

/* ============================================
   MOBILE - COMPREHENSIVE FIXES
   ============================================ */
@media (max-width: 1024px) {
  .contact-hero { height: 680px; }
  .contact-hero__content { padding: 0 28px 80px; }
}

@media (max-width: 768px) {
  /* Nav */
  .nav__inner { padding: 0 20px; height: 88px; }
  .nav__links { display: none; flex-direction: column; }
  .nav__hamburger { display: flex; }

  /* Hero */
  :root {
  --black: #162032;
  --heading: #162032;
  --body-text: #1a1a1a;
  --dark: #111928;
  --charcoal: #0d1520;
  --steel: #3a4a52;
  --mid: #556066;
  --muted: #8a9a9f;
  --border: #e2e2e2;
  --light: #f4f4f4;
  --light2: #ebebeb;
  --white: #ffffff;
  --red: #a52828;
  --red-dark: #8a1e1e;
  --stat-bg: #0f1720;
  --hero-height: 820px;
}
  .hero { margin-top: 88px; }
  .hero__content { padding: 0 20px 40px; }
  .hero__title { font-size: clamp(36px, 10vw, 56px); }
  .hero__sub { font-size: 15px; }
  .btn-group { flex-direction: column; gap: 10px; }
  .btn-group .btn { width: 100%; justify-content: center; }

  /* Contact hero - stack vertically on mobile */
  .contact-hero { height: 480px; margin-top: 88px; }
  .contact-hero__content { padding: 0 20px 60px; }
  .contact-hero__title { font-size: clamp(36px, 10vw, 52px); }

  /* Stat bar */
  .stat-bar__inner { grid-template-columns: repeat(2, 1fr); gap: 0; padding: 0; }
  .stat-item { padding: 20px 12px; border-right: 1px solid rgba(255,255,255,0.08); border-bottom: 1px solid rgba(255,255,255,0.08); }
  .stat-item:nth-child(even) { border-right: none; }
  .stat-item__num { font-size: 36px; }

  /* Grids */
  .card-grid--3, .card-grid--2, .card-grid--4 { grid-template-columns: 1fr; }
  .cert-grid { grid-template-columns: repeat(2, 1fr); }

  /* Section padding */
  .section { padding: 64px 0; }
  .container { padding: 0 20px; }
  .section-header { margin-bottom: 40px; }
  .section-title { font-size: clamp(30px, 8vw, 48px); }

  /* About grid */
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-badge { right: 0; bottom: -16px; width: 100px; height: 100px; }
  .about-badge__num { font-size: 34px; }

  /* Project highlights */
  .project-highlight__grid { grid-template-columns: 1fr; gap: 32px; }
  .project-highlight__grid > div[style*="order:2"] { order: 1 !important; }
  .project-highlight__grid > div[style*="order:1"] { order: 2 !important; }
  .project-highlight__stats { grid-template-columns: 1fr 1fr; }

  /* Contact */
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .form-grid { grid-template-columns: 1fr; }
  .offices-grid { grid-template-columns: 1fr; }
  .office-map { height: 280px; }
  .office-info { padding: 36px 24px; }

  /* Services rows */
  .service-row, [style*="grid-template-columns:220px"] {
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
    padding: 36px 0 !important;
  }

  /* Testimonial */
  .testimonial-block { padding: 36px 24px; }

  /* Map/offices */
  .offices-grid { grid-template-columns: 1fr; }
  #mapwrap { display: none !important; }

  /* Footer - 2 columns on mobile instead of stacking everything */
  .footer { padding: 40px 0 0; }
  .footer__inner { grid-template-columns: 1fr 1fr; gap: 28px; padding: 0 20px; }
  .footer__bottom { padding: 16px 20px; flex-direction: column; align-items: flex-start; gap: 8px; }

  /* Cert numbers */
  .cert-numbers { grid-template-columns: 1fr; }
  .cert-num-item { border-right: 1px solid var(--border) !important; }
  .cert-num-item:last-child { border-bottom: none; }

  /* Button centering on mobile */
  .btn-center { margin-top: 36px; }

  /* Stat bar inner */
  .stat-bar__inner { padding: 0 20px; }

  /* Footer bottom */
  .footer__bottom { margin-top: 32px; }
}

@media (max-width: 480px) {
  .hero__title { font-size: 34px; }
  .section-title { font-size: 28px; }
  .stat-item__num { font-size: 30px; }
  .project-highlight__stats { grid-template-columns: 1fr; }
  .cert-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .cert-card { padding: 20px 12px; }
  .cert-card img { max-height: 64px; width: auto; max-width: 100%; }
  .cert-card__title { font-size: 10px; letter-spacing: 1px; }
}

/* ── OFFICES CUSTOM LAYOUT ── */
@media (max-width: 768px) {
  /* Home offices two-col */
  [style*="grid-template-columns:1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }
  /* Contact dual maps */
  [style*="grid-template-columns:1fr 1fr"] iframe {
    height: 260px !important;
  }
  /* Office info padding */
  [style*="padding:56px 64px"] {
    padding: 36px 20px !important;
  }
  [style*="padding:28px 64px"] {
    padding: 20px !important;
    flex-direction: column !important;
    align-items: flex-start !important;
  }
}

/* Mobile offices inline grid override */
@media (max-width: 768px) {
  #mapwrap { display: none !important; }
}
@media (max-width: 600px) {
  .footer__inner { grid-template-columns: 1fr 1fr; gap: 24px 16px; padding: 0 16px; }
  .footer__brand-name { font-size: 16px; }
  .footer__tagline { font-size: 12px; }
  .footer__col-title { font-size: 9px; }
  .footer__links a, .footer__links li { font-size: 12px; }
}
