/* ==========================================================================
   SAEED & SONS CONTRACTING COMPANY — Design System
   Palette, type, and layout taken from the corporate construction mockup.
   ========================================================================== */

:root {
  --navy: #0b1c2e;
  --navy-mid: #10263d;
  --navy-deep: #071422;
  --navy-soft: #16324d;
  --gold: #c9a227;
  --gold-bright: #d4b03a;
  --gold-dark: #a6861c;
  --gold-soft: rgba(201, 162, 39, 0.12);
  --white: #ffffff;
  --off: #f4f5f7;
  --line: #e6e8ec;
  --text: #1b2430;
  --muted: #5c6673;
  --muted-light: #8a93a0;
  --header-h: 84px;
  --container: 1200px;
  --radius: 4px;
  --shadow: 0 10px 30px rgba(11, 28, 46, 0.08);
  --shadow-hover: 0 16px 40px rgba(11, 28, 46, 0.14);
  --transition: 0.28s ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Montserrat", "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  font-size: 15px;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

button,
input,
select,
textarea {
  font-family: inherit;
}

.container {
  width: min(100% - 48px, var(--container));
  margin-inline: auto;
}

.container-wide {
  width: min(100% - 48px, 1280px);
  margin-inline: auto;
}

/* --------------------------------------------------------------------------
   Typography
   -------------------------------------------------------------------------- */

.eyebrow {
  display: inline-block;
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3.2px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 800;
  letter-spacing: -0.4px;
  line-height: 1.2;
  color: var(--navy);
  text-transform: uppercase;
}

.section-title.light {
  color: var(--white);
}

.lead {
  color: var(--muted);
  font-size: 15.5px;
  max-width: 620px;
}

.gold {
  color: var(--gold);
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 48px;
  padding: 0 26px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  border: 2px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.btn svg {
  width: 16px;
  height: 16px;
}

.learn-more svg,
.project-loc svg,
.cta-contacts svg,
.socials svg {
  width: 16px;
  height: 16px;
}

.btn-gold {
  background: var(--gold);
  color: var(--navy-deep);
  border-color: var(--gold);
}

.btn-gold:hover {
  background: var(--gold-bright);
  border-color: var(--gold-bright);
  transform: translateY(-1px);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

.btn-outline-white:hover {
  background: var(--white);
  color: var(--navy);
}

.btn-outline-gold {
  background: transparent;
  color: var(--gold);
  border-color: var(--gold);
}

.btn-outline-gold:hover {
  background: var(--gold);
  color: var(--navy-deep);
}

.btn-dark {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.btn-dark:hover {
  background: var(--navy-mid);
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  height: var(--header-h);
  background: rgba(11, 28, 46, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201, 162, 39, 0.12);
  transition: var(--transition);
}

.site-header.scrolled {
  background: var(--navy-deep);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 28px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.logo-mark {
  width: 46px;
  height: 46px;
  background: var(--gold);
  color: var(--navy-deep);
  display: grid;
  place-items: center;
  border-radius: 3px;
  flex-shrink: 0;
}

.logo-mark svg {
  width: 28px;
  height: 28px;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  color: var(--white);
}

.logo-text strong {
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: 0.6px;
}

.logo-text span {
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: 1.6px;
  color: var(--gold);
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex: 1;
}

.main-nav a {
  color: var(--white);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 8px 8px;
  position: relative;
  white-space: nowrap;
  opacity: 0.88;
  transition: var(--transition);
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--gold);
  opacity: 1;
}

.header-cta {
  flex-shrink: 0;
  height: 42px;
  padding: 0 18px;
  font-size: 11px;
}

.mobile-quote {
  display: none;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--white);
  cursor: pointer;
  margin-left: auto;
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  align-items: center;
  background:
    linear-gradient(105deg, rgba(7, 20, 34, 0.82) 0%, rgba(7, 20, 34, 0.45) 55%, rgba(7, 20, 34, 0.55) 100%),
    url("https://images.unsplash.com/photo-1504307651254-35680f356dfd?auto=format&fit=crop&w=1920&q=80") center/cover no-repeat;
  color: var(--white);
  padding: calc(var(--header-h) + 40px) 0 80px;
}

.hero-content {
  max-width: 760px;
}

.hero h1 {
  font-size: clamp(40px, 6.2vw, 72px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -1px;
  text-transform: uppercase;
  margin: 8px 0 22px;
}

.hero h1 .line-gold {
  color: var(--gold);
  display: block;
}

.hero p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.82);
  max-width: 540px;
  margin-bottom: 34px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.page-hero {
  position: relative;
  min-height: 340px;
  display: grid;
  align-items: end;
  padding: calc(var(--header-h) + 56px) 0 56px;
  background:
    linear-gradient(180deg, rgba(7, 20, 34, 0.55) 0%, rgba(7, 20, 34, 0.78) 100%),
    var(--hero-image) center/cover no-repeat;
  color: var(--white);
}

.page-hero.about { --hero-image: url("https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&w=1920&q=80"); }
.page-hero.services { --hero-image: url("https://images.unsplash.com/photo-1503387762-592deb58ef4e?auto=format&fit=crop&w=1920&q=80"); }
.page-hero.projects { --hero-image: url("https://images.unsplash.com/photo-1541888946425-d81bb19240f5?auto=format&fit=crop&w=1920&q=80"); }
.page-hero.certs { --hero-image: url("https://images.unsplash.com/photo-1454165804606-c3d57bc86b40?auto=format&fit=crop&w=1920&q=80"); }
.page-hero.careers { --hero-image: url("https://images.unsplash.com/photo-1581094794329-c8ddfb258fe1?auto=format&fit=crop&w=1920&q=80"); }
.page-hero.contact { --hero-image: url("https://images.unsplash.com/photo-1497366216548-37526070297c?auto=format&fit=crop&w=1920&q=80"); }
.page-hero.detail { --hero-image: url("https://images.unsplash.com/photo-1513828583688-c52646dbbd41?auto=format&fit=crop&w=1920&q=80"); }

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.75);
}

.breadcrumb a:hover {
  color: var(--gold);
}

.page-hero h1 {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  letter-spacing: -0.6px;
  text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   Feature bar
   -------------------------------------------------------------------------- */

.feature-bar {
  background: var(--navy);
  color: var(--white);
  padding: 28px 0;
  border-top: 3px solid var(--gold);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 8px 8px 8px 0;
}

.feature-item + .feature-item {
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  padding-left: 24px;
}

.feature-icon {
  width: 48px;
  height: 48px;
  border: 1px solid rgba(201, 162, 39, 0.45);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--gold);
  flex-shrink: 0;
}

.feature-icon svg {
  width: 22px;
  height: 22px;
}

.feature-item h3 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.feature-item p {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 2px;
}

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */

.section {
  padding: 92px 0;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 42px;
}

.section.alt {
  background: var(--off);
}

.section.navy {
  background: var(--navy);
  color: var(--white);
}

/* --------------------------------------------------------------------------
   Services
   -------------------------------------------------------------------------- */

.services-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 28px 22px 24px;
  min-height: 230px;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: transparent;
}

.service-card .icon {
  width: 46px;
  height: 46px;
  color: var(--gold);
  margin-bottom: 18px;
}

.service-card .icon svg {
  width: 42px;
  height: 42px;
}

.service-card h3 {
  font-size: 15px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  margin-bottom: 10px;
  color: var(--navy);
}

.service-card p {
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.6;
  flex: 1;
}

.learn-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.learn-more:hover {
  gap: 12px;
}

.service-card-media {
  background: var(--white);
  border: 1px solid var(--line);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.service-card-media:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.service-card-media .thumb {
  height: 180px;
  background-size: cover;
  background-position: center;
}

.service-card-media .body {
  padding: 22px 22px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.service-card-media h3 {
  font-size: 15px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  margin-bottom: 10px;
  color: var(--navy);
}

.service-card-media p {
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.6;
  flex: 1;
}

.services-page-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

/* --------------------------------------------------------------------------
   Projects
   -------------------------------------------------------------------------- */

.projects-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.projects-grid.cols-3 {
  grid-template-columns: repeat(3, 1fr);
}

.project-card {
  background: var(--white);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.project-card .thumb {
  height: 210px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.project-card .thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(7, 20, 34, 0.35) 100%);
}

.project-card .meta {
  padding: 18px 18px 20px;
}

.project-card h3 {
  font-size: 15px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 8px;
}

.project-loc {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--gold);
  font-size: 12.5px;
  font-weight: 600;
}

.project-loc svg {
  width: 14px;
  height: 14px;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 36px;
}

.filter-btn {
  height: 40px;
  padding: 0 18px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--navy);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: var(--radius);
  transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy-deep);
}

.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 48px;
}

.pagination a,
.pagination span {
  min-width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  background: var(--white);
}

.pagination .current,
.pagination a:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy-deep);
}

/* --------------------------------------------------------------------------
   Why choose us / stats
   -------------------------------------------------------------------------- */

.why-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 60px;
  align-items: center;
}

.why-copy p {
  color: rgba(255, 255, 255, 0.72);
  margin: 18px 0 32px;
  max-width: 480px;
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 20px;
}

.stat {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.stat-icon {
  width: 52px;
  height: 52px;
  color: var(--gold);
  flex-shrink: 0;
}

.stat-icon svg {
  width: 46px;
  height: 46px;
}

.stat strong {
  display: block;
  font-size: 28px;
  font-weight: 800;
  color: var(--gold);
  line-height: 1.1;
}

.stat span {
  color: rgba(255, 255, 255, 0.75);
  font-size: 13px;
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   CTA banner
   -------------------------------------------------------------------------- */

.cta-banner {
  position: relative;
  padding: 80px 0;
  background:
    linear-gradient(90deg, rgba(7, 20, 34, 0.88) 0%, rgba(7, 20, 34, 0.7) 100%),
    url("https://images.unsplash.com/photo-1581094794329-c8ddfb258fe1?auto=format&fit=crop&w=1920&q=80") center/cover no-repeat;
  color: var(--white);
}

.cta-inner {
  display: grid;
  grid-template-columns: 1.4fr auto;
  gap: 40px;
  align-items: center;
}

.cta-banner h2 {
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 22px;
}

.cta-contacts {
  display: flex;
  flex-wrap: wrap;
  gap: 28px 40px;
}

.cta-contacts div {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.cta-contacts svg {
  width: 18px;
  height: 18px;
  color: var(--gold);
  margin-top: 3px;
  flex-shrink: 0;
}

.cta-contacts small {
  display: block;
  color: var(--gold);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.cta-contacts p {
  font-size: 14px;
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   About
   -------------------------------------------------------------------------- */

.about-split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.about-split .photo {
  min-height: 480px;
  background:
    url("https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&w=1200&q=80") center/cover no-repeat;
  position: relative;
}

.about-split .photo::after {
  content: "";
  position: absolute;
  inset: 18px -18px -18px 18px;
  border: 2px solid var(--gold);
  z-index: -1;
}

.about-split p + p {
  margin-top: 16px;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.value-card {
  text-align: center;
  padding: 12px 10px;
}

.value-card .icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  color: var(--gold);
}

.value-card .icon svg {
  width: 56px;
  height: 56px;
}

.value-card h3 {
  font-size: 16px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 10px;
}

.value-card p {
  color: var(--muted);
  font-size: 14px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.team-card {
  background: var(--white);
  text-align: center;
  box-shadow: var(--shadow);
}

.team-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  object-position: top;
}

.team-card .body {
  padding: 18px 12px 22px;
}

.team-card h3 {
  font-size: 15px;
  font-weight: 800;
  color: var(--navy);
}

.team-card span {
  display: block;
  margin-top: 4px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   Project detail
   -------------------------------------------------------------------------- */

.detail-top {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: 40px;
  align-items: start;
}

.detail-photo {
  min-height: 420px;
  background-size: cover;
  background-position: center;
}

.detail-facts {
  background: var(--off);
  padding: 32px 28px;
  border-top: 3px solid var(--gold);
}

.detail-facts h2 {
  font-size: 22px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 22px;
}

.fact-row {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}

.fact-row dt {
  color: var(--gold);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.8px;
}

.fact-row dd {
  font-weight: 600;
  color: var(--navy);
}

.rich-text h2 {
  font-size: 26px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--navy);
  margin: 0 0 16px;
}

.rich-text p {
  color: var(--muted);
  margin-bottom: 14px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.gallery-grid div {
  height: 180px;
  background-size: cover;
  background-position: center;
}

/* --------------------------------------------------------------------------
   Certificates
   -------------------------------------------------------------------------- */

.certs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.cert-card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 18px 16px 22px;
  text-align: center;
  transition: var(--transition);
}

.cert-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.cert-frame {
  height: 220px;
  border: 8px solid #1f2a3a;
  outline: 2px solid var(--gold);
  outline-offset: -14px;
  background:
    radial-gradient(circle at 50% 28%, rgba(201, 162, 39, 0.18), transparent 46%),
    linear-gradient(#fbf8ef, #f3ead0);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 14px;
  color: var(--navy);
}

.cert-frame .seal {
  width: 54px;
  height: 54px;
  border: 2px solid var(--gold);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--gold);
  font-weight: 800;
  font-size: 11px;
}

.cert-frame h4 {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1px;
}

.cert-frame small {
  font-size: 11px;
  color: var(--muted);
}

.cert-card p {
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
}

.iso-bar {
  background: var(--navy);
  padding: 36px 0;
}

.iso-row {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  color: var(--gold);
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-size: 13px;
}

.iso-row span {
  display: flex;
  align-items: center;
  gap: 10px;
}

.iso-row i {
  width: 10px;
  height: 10px;
  background: var(--gold);
  display: inline-block;
  border-radius: 50%;
}

/* --------------------------------------------------------------------------
   Careers
   -------------------------------------------------------------------------- */

.careers-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.careers-split .photo {
  min-height: 420px;
  background:
    url("https://images.unsplash.com/photo-1581092918056-0c4c3acd3789?auto=format&fit=crop&w=1200&q=80") center/cover no-repeat;
}

.benefit-list {
  margin: 22px 0 32px;
  display: grid;
  gap: 14px;
}

.benefit-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  color: var(--navy);
}

.benefit-list svg {
  width: 20px;
  height: 20px;
  color: var(--gold);
  flex-shrink: 0;
}

.jobs-list {
  display: grid;
  gap: 16px;
}

.job-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 22px 24px;
  background: var(--white);
  border: 1px solid var(--line);
}

.job-card h3 {
  font-size: 16px;
  font-weight: 800;
  color: var(--navy);
}

.job-card p {
  color: var(--muted);
  font-size: 13.5px;
  margin-top: 4px;
}

/* --------------------------------------------------------------------------
   Contact
   -------------------------------------------------------------------------- */

.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 48px;
}

.contact-item {
  display: flex;
  gap: 16px;
  margin-bottom: 22px;
}

.contact-item .icon {
  width: 44px;
  height: 44px;
  background: var(--gold-soft);
  color: var(--gold);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.contact-item .icon svg {
  width: 20px;
  height: 20px;
}

.contact-item h4 {
  font-size: 12px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 4px;
}

.contact-item p,
.contact-item a {
  font-weight: 600;
  color: var(--navy);
}

.socials {
  display: flex;
  gap: 10px;
  margin-top: 8px;
}

.socials a {
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  color: var(--navy);
  transition: var(--transition);
}

.socials a:hover {
  background: var(--gold);
  border-color: var(--gold);
}

.site-footer .socials a {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.16);
}

.site-footer .socials a:hover {
  color: var(--navy-deep);
}

.site-footer .logo-text {
  color: var(--white);
}

.form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form .full {
  grid-column: 1 / -1;
}

.form label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 7px;
}

.form input,
.form select,
.form textarea {
  width: 100%;
  height: 48px;
  border: 1px solid var(--line);
  background: var(--off);
  padding: 0 14px;
  font-size: 14px;
  color: var(--text);
  outline: none;
  transition: var(--transition);
}

.form textarea {
  height: 140px;
  padding: 12px 14px;
  resize: vertical;
}

.form input:focus,
.form select:focus,
.form textarea:focus {
  border-color: var(--gold);
  background: var(--white);
}

.form-note {
  margin-top: 14px;
  font-size: 13px;
  color: var(--gold-dark);
  font-weight: 600;
  display: none;
}

.form-note.show {
  display: block;
}

.map-wrap {
  margin-top: 56px;
  height: 380px;
  border: 1px solid var(--line);
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.78);
  padding: 72px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.9fr 0.9fr;
  gap: 40px;
  padding-bottom: 48px;
}

.footer-about p {
  margin: 16px 0 20px;
  font-size: 14px;
  max-width: 320px;
  color: rgba(255, 255, 255, 0.62);
}

.site-footer h4 {
  color: var(--white);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.site-footer h4::after {
  content: "";
  display: block;
  width: 32px;
  height: 2px;
  background: var(--gold);
  margin-top: 8px;
}

.site-footer li {
  margin-bottom: 10px;
}

.site-footer a:hover {
  color: var(--gold);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 18px 0;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.5);
}

.footer-bottom a:hover {
  color: var(--gold);
}

/* --------------------------------------------------------------------------
   Utility
   -------------------------------------------------------------------------- */

.center {
  text-align: center;
}

.mb-8 { margin-bottom: 8px; }
.mt-20 { margin-top: 20px; }

.hidden {
  display: none !important;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1100px) {
  .main-nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--navy-deep);
    flex-direction: column;
    align-items: stretch;
    padding: 12px 20px 24px;
    gap: 0;
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav a {
    padding: 14px 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .nav-toggle {
    display: grid;
    place-items: center;
  }

  .header-cta {
    display: none;
  }

  .mobile-quote {
    display: inline-flex;
    margin: 14px 8px 8px;
    width: fit-content;
  }

  .services-grid,
  .services-page-grid,
  .projects-grid,
  .projects-grid.cols-3,
  .values-grid,
  .team-grid,
  .certs-grid,
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature-grid,
  .why-grid,
  .about-split,
  .careers-split,
  .detail-top,
  .contact-grid,
  .cta-inner,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .feature-item + .feature-item {
    border-left: 0;
    padding-left: 0;
  }

  .cta-inner .btn {
    justify-self: start;
  }
}

@media (max-width: 640px) {
  .container,
  .container-wide {
    width: min(100% - 32px, var(--container));
  }

  .services-grid,
  .services-page-grid,
  .projects-grid,
  .projects-grid.cols-3,
  .values-grid,
  .team-grid,
  .certs-grid,
  .gallery-grid,
  .stats-grid,
  .form,
  .job-card {
    grid-template-columns: 1fr;
  }

  .feature-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero {
    min-height: 86vh;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .section {
    padding: 64px 0;
  }

  .about-split .photo,
  .careers-split .photo,
  .detail-photo {
    min-height: 280px;
  }
}
