/* ============================================================
   Gulf ESSCO — main stylesheet
   Brand palette:
     #007A33  Dark Green (primary)
     #2E9B3D  Medium Green
     #6CC04A  Light Green (accent)
     #1E1E1E  Charcoal (text)
     #444444  Dark Gray (muted text)
     #FFFFFF  White
   ============================================================ */

:root {
  --primary: #007A33;
  --primary-dark: #00541F;
  --green-mid: #2E9B3D;
  --green-light: #6CC04A;
  --green-soft: #F0F7EC;
  --ink: #1E1E1E;
  --text: #1E1E1E;
  --muted: #444444;
  --muted-light: #6E7570;
  --border: #E5EAE3;
  --border-strong: #C8D2C5;
  --bg: #FFFFFF;
  --bg-soft: #F8FAF7;
  --white: #FFFFFF;

  --shadow-sm: 0 1px 2px rgba(0, 60, 25, 0.06);
  --shadow-md: 0 6px 24px rgba(0, 60, 25, 0.08);
  --shadow-lg: 0 20px 50px rgba(0, 60, 25, 0.12);

  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 16px;

  --container: 1240px;
  --section-y: clamp(64px, 8vw, 110px);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

h1, h2, h3, h4, h5 {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--ink);
}
h1 { font-size: clamp(36px, 5vw, 56px); font-weight: 800; letter-spacing: -0.03em; }
h2 { font-size: clamp(28px, 3.5vw, 40px); }
h3 { font-size: clamp(20px, 2vw, 24px); }
h4 { font-size: 18px; }

p { color: var(--muted); }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 18px;
}
.kicker::before {
  content: '';
  width: 28px;
  height: 2px;
  background: var(--green-light);
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: all .25s;
  white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; flex-shrink: 0; }
.btn-primary {
  background: var(--primary);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(0, 122, 51, 0.25);
}
.btn-secondary {
  background: var(--white);
  color: var(--primary);
  border: 1.5px solid var(--primary);
}
.btn-secondary:hover {
  background: var(--primary);
  color: var(--white);
}
.btn-light {
  background: var(--white);
  color: var(--primary);
}
.btn-light:hover { background: var(--green-soft); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--border-strong);
}
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); }

/* ===== Topbar ===== */
.topbar {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  padding: 9px 0;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.topbar-info, .topbar-contact {
  display: flex;
  gap: 22px;
  align-items: center;
  flex-wrap: wrap;
}
.topbar span, .topbar a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: rgba(255, 255, 255, 0.7);
}
.topbar a:hover { color: var(--green-light); }
.topbar svg { width: 13px; height: 13px; opacity: 0.7; }

/* ===== Header / Nav ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  gap: 24px;
}
.logo-link {
  display: inline-flex;
  align-items: center;
  background: var(--white);
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}
.logo-link img {
  height: 48px;
  width: auto;
}
.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}
.nav-menu a {
  display: inline-block;
  padding: 10px 14px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--muted);
  border-radius: var(--radius-sm);
}
.nav-menu a:hover { color: var(--primary); background: var(--green-soft); }
.nav-menu a.active { color: var(--primary); }
.nav-cta-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}
.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  color: var(--ink);
}
.menu-toggle svg { width: 26px; height: 26px; }

/* ===== Hero ===== */
.hero {
  padding: clamp(48px, 7vw, 90px) 0 clamp(40px, 5vw, 70px);
  background:
    radial-gradient(800px 400px at 90% -10%, rgba(108, 192, 74, 0.08), transparent 70%),
    linear-gradient(180deg, var(--bg-soft) 0%, var(--white) 100%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.hero-content h1 {
  margin-bottom: 22px;
}
.hero-content h1 .accent {
  color: var(--primary);
}
.hero-lead {
  font-size: clamp(16px, 1.4vw, 18px);
  color: var(--muted);
  max-width: 520px;
  margin-bottom: 32px;
  line-height: 1.65;
}
.hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 48px);
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}
.hero-card::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 60%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--green-light));
}
.hero-card-logo {
  background: var(--white);
  padding: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 24px;
}
.hero-card-logo img {
  max-width: 100%;
  height: auto;
  max-height: 140px;
  width: auto;
}
.hero-card-meta {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.hero-meta-item {
  text-align: left;
}
.hero-meta-value {
  font-size: 26px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 4px;
  letter-spacing: -0.02em;
}
.hero-meta-label {
  font-size: 12px;
  color: var(--muted);
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* ===== Trust Strip ===== */
.trust {
  padding: 36px 0;
  border-bottom: 1px solid var(--border);
}
.trust-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
  justify-content: center;
}
.trust-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted-light);
  white-space: nowrap;
}
.trust-clients {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}
.trust-clients span {
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.02em;
}

/* ===== Section heading ===== */
.section {
  padding: var(--section-y) 0;
}
.section-soft { background: var(--bg-soft); }
.section-dark {
  background: var(--ink);
  color: var(--white);
}
.section-head {
  text-align: center;
  margin-bottom: clamp(40px, 5vw, 64px);
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
.section-head .kicker { justify-content: center; }
.section-head h2 { margin-bottom: 14px; }
.section-head p {
  font-size: clamp(15px, 1.3vw, 17px);
  color: var(--muted);
  line-height: 1.65;
}

/* ===== Services ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: all .3s;
}
.service-card:hover {
  border-color: var(--green-light);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.service-icon {
  width: 52px;
  height: 52px;
  background: var(--green-soft);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  margin-bottom: 22px;
}
.service-icon svg { width: 26px; height: 26px; }
.service-card:hover .service-icon {
  background: var(--primary);
  color: var(--white);
}
.service-card h3 {
  font-size: 19px;
  margin-bottom: 10px;
}
.service-card p {
  font-size: 14.5px;
  line-height: 1.6;
}

/* ===== Numbers band ===== */
.numbers {
  padding: clamp(60px, 7vw, 90px) 0;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
}
.numbers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}
.number-item {
  padding: 0 12px;
  border-right: 1px solid rgba(255, 255, 255, 0.15);
}
.number-item:last-child { border-right: none; }
.number-value {
  font-size: clamp(40px, 5vw, 56px);
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}
.number-value .unit {
  font-size: 0.45em;
  color: var(--green-light);
  margin-left: 2px;
}
.number-label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ===== About ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.about-content h2 { margin-bottom: 20px; }
.about-content > p {
  font-size: clamp(15px, 1.2vw, 17px);
  color: var(--muted);
  margin-bottom: 16px;
  line-height: 1.7;
}
.about-list {
  list-style: none;
  margin-top: 28px;
  display: grid;
  gap: 12px;
}
.about-list li {
  position: relative;
  padding-left: 28px;
  font-size: 15px;
  color: var(--ink);
  line-height: 1.5;
}
.about-list li::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 9px;
  width: 12px;
  height: 6px;
  border-left: 2px solid var(--primary);
  border-bottom: 2px solid var(--primary);
  transform: rotate(-45deg);
}

.credentials {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.credential {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: all .25s;
}
.credential:hover {
  border-color: var(--green-light);
  box-shadow: var(--shadow-sm);
}
.credential-icon {
  width: 40px;
  height: 40px;
  background: var(--green-soft);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
}
.credential-icon svg { width: 20px; height: 20px; }
.credential h4 {
  font-size: 15px;
  margin-bottom: 6px;
  color: var(--ink);
}
.credential p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}

/* ===== Projects gallery ===== */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}
.gallery-item {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-soft);
  position: relative;
  cursor: pointer;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s;
}
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 60%, rgba(0, 0, 0, 0.35));
  opacity: 0;
  transition: opacity .3s;
}
.gallery-item:hover::after { opacity: 1; }

.gallery-toggle {
  display: flex;
  justify-content: center;
  margin-top: 36px;
}
.gallery-item.hidden-extra {
  display: none;
}
.gallery.show-all .gallery-item.hidden-extra {
  display: block;
}

/* ===== Contact section ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: stretch;
}
.contact-info { padding: 16px 0; }
.contact-channels {
  display: grid;
  gap: 16px;
  margin-top: 32px;
}
.contact-channel {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all .25s;
}
.contact-channel:hover {
  border-color: var(--green-light);
  transform: translateX(4px);
}
.contact-channel-icon {
  width: 48px;
  height: 48px;
  background: var(--green-soft);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}
.contact-channel-icon svg { width: 22px; height: 22px; }
.contact-channel-text { flex: 1; }
.contact-channel-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted-light);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.contact-channel-value {
  font-size: 16px;
  color: var(--ink);
  font-weight: 600;
}

.contact-map {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  min-height: 420px;
  background: var(--bg-soft);
  position: relative;
}
.contact-map iframe {
  width: 100%;
  height: 100%;
  min-height: 420px;
  display: block;
  border: 0;
}

/* ===== CTA Band ===== */
.cta-band {
  background: linear-gradient(135deg, var(--green-light) 0%, var(--green-mid) 100%);
  padding: clamp(40px, 5vw, 64px) 0;
  color: var(--white);
}
.cta-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.cta-band-text h3 {
  color: var(--white);
  font-size: clamp(22px, 2.5vw, 30px);
  margin-bottom: 6px;
}
.cta-band-text p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 15px;
  margin: 0;
}
.cta-band-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ===== Footer ===== */
.footer {
  background: #0F1814;
  color: rgba(255, 255, 255, 0.65);
  padding: clamp(48px, 6vw, 72px) 0 28px;
  font-size: 14px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-logo-wrap {
  background: var(--white);
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  display: inline-block;
  margin-bottom: 20px;
}
.footer-logo-wrap img {
  height: 48px;
  width: auto;
}
.footer-about p {
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.65;
  max-width: 320px;
  margin: 0;
}
.footer h5 {
  color: var(--green-light);
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 18px;
  font-weight: 700;
}
.footer-col a {
  display: block;
  color: rgba(255, 255, 255, 0.6);
  padding: 6px 0;
  font-size: 14px;
}
.footer-col a:hover { color: var(--green-light); }
.footer-contact-item {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.5;
}
.footer-contact-item svg {
  width: 14px;
  height: 14px;
  margin-top: 4px;
  color: var(--green-light);
  flex-shrink: 0;
}
.footer-bottom {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.45);
}

/* ===== Careers page ===== */
.page-hero {
  background:
    radial-gradient(700px 350px at 90% -10%, rgba(108, 192, 74, 0.08), transparent 70%),
    linear-gradient(180deg, var(--bg-soft) 0%, var(--white) 100%);
  padding: clamp(60px, 7vw, 90px) 0 clamp(40px, 5vw, 60px);
}
.page-hero h1 { margin-bottom: 18px; }
.page-hero-lead {
  font-size: clamp(16px, 1.4vw, 18px);
  color: var(--muted);
  max-width: 640px;
  line-height: 1.65;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.why-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  text-align: center;
  transition: all .3s;
}
.why-card:hover {
  border-color: var(--green-light);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.why-icon {
  width: 64px;
  height: 64px;
  background: var(--green-soft);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin: 0 auto 20px;
}
.why-icon svg { width: 28px; height: 28px; }
.why-card h3 { font-size: 18px; margin-bottom: 10px; }
.why-card p { font-size: 14.5px; }

.apply-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(32px, 5vw, 56px);
  align-items: start;
}
.apply-intro h2 { margin-bottom: 18px; }
.apply-intro p {
  font-size: 15.5px;
  line-height: 1.7;
  margin-bottom: 16px;
}
.apply-form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(28px, 3vw, 40px);
  box-shadow: var(--shadow-sm);
}
.form-row {
  margin-bottom: 18px;
}
.form-row.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 0;
}
.form-row.split > div { margin-bottom: 18px; }
.form-row label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 7px;
}
.form-row label .req { color: var(--green-mid); }
.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
  background: var(--white);
  transition: border-color .2s, box-shadow .2s;
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 122, 51, 0.1);
}
.form-row textarea { resize: vertical; min-height: 110px; }
.form-note {
  background: var(--green-soft);
  border-left: 3px solid var(--primary);
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 20px;
}
.form-submit {
  width: 100%;
  padding: 14px;
  font-size: 15px;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .hero-grid,
  .about-grid,
  .contact-grid,
  .apply-grid {
    grid-template-columns: 1fr;
  }
  .hero-card { max-width: 520px; }
  .services-grid,
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 960px) {
  .topbar { font-size: 12px; padding: 8px 0; }
  .topbar .container { justify-content: center; }
  .topbar-info { gap: 14px; }
  .topbar-contact { gap: 14px; }

  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    padding: 12px 24px 20px;
    gap: 0;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
  }
  .nav-menu.open { display: flex; }
  .nav-menu a {
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
    font-size: 16px;
  }
  .nav-menu li:last-child a { border-bottom: none; }
  .menu-toggle { display: flex; }
  .nav-cta-wrap .btn:not(.menu-toggle) { display: none; }
  .header { position: sticky; }

  .numbers-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .number-item:nth-child(odd) { border-right: 1px solid rgba(255, 255, 255, 0.15); }
  .number-item:nth-child(even) { border-right: none; }

  .services-grid,
  .why-grid,
  .credentials {
    grid-template-columns: 1fr;
  }
  .credentials { gap: 12px; }

  .form-row.split { grid-template-columns: 1fr; gap: 0; }
  .form-row.split > div { margin-bottom: 18px; }

  .cta-band-inner {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
  .cta-band-buttons {
    justify-content: center;
    width: 100%;
  }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .contact-map { min-height: 320px; }
  .contact-map iframe { min-height: 320px; }
}

@media (max-width: 640px) {
  :root {
    --section-y: clamp(48px, 9vw, 72px);
  }
  .container { padding: 0 18px; }

  /* Topbar: hide address on small screens, keep phone+email */
  .topbar-info { display: none; }
  .topbar .container { padding: 0 18px; }
  .topbar-contact {
    width: 100%;
    justify-content: space-around;
    gap: 10px;
    flex-wrap: wrap;
  }
  .topbar-contact a {
    font-size: 12px;
  }

  /* Header padding tighter */
  .nav { padding: 12px 0; }
  .logo-link img { height: 40px; }

  /* Hero typography */
  h1 { font-size: clamp(28px, 9vw, 38px); }
  .hero { padding: 36px 0 32px; }
  .hero-lead { font-size: 15px; margin-bottom: 24px; }

  /* Buttons full-width on hero */
  .hero-cta {
    flex-direction: column;
    width: 100%;
  }
  .hero-cta .btn {
    width: 100%;
    justify-content: center;
    padding: 15px 22px;
  }

  /* Hero card */
  .hero-card { padding: 24px 20px; }
  .hero-card-logo { padding: 18px; margin-bottom: 18px; }
  .hero-card-logo img { max-height: 100px; }
  .hero-card-meta {
    grid-template-columns: 1fr 1fr;
    gap: 18px 12px;
    padding-top: 18px;
  }
  .hero-meta-value { font-size: 22px; }
  .hero-meta-label { font-size: 11.5px; }

  /* Trust strip: tighter, 2 columns of clients */
  .trust { padding: 28px 0; }
  .trust-inner { gap: 18px; }
  .trust-clients {
    gap: 14px 22px;
    justify-content: center;
  }
  .trust-clients span { font-size: 12.5px; }

  /* Section heads tighter */
  .section-head { margin-bottom: 32px; }
  h2 { font-size: clamp(24px, 7vw, 30px); }

  /* Service cards: less padding */
  .service-card { padding: 26px 22px; }
  .service-card h3 { font-size: 17.5px; }
  .service-icon { width: 46px; height: 46px; margin-bottom: 18px; }
  .service-icon svg { width: 22px; height: 22px; }

  /* Numbers: stack 2x2 with smaller text */
  .numbers { padding: 48px 0; }
  .number-value { font-size: 38px; }
  .number-label { font-size: 12px; letter-spacing: 0.04em; }

  /* About list & credentials */
  .about-content h2 { margin-bottom: 16px; }
  .about-list { margin-top: 22px; }
  .about-list li { font-size: 14.5px; }

  /* Project gallery: smaller tiles */
  .gallery {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .gallery-item { aspect-ratio: 1 / 1; }

  /* CTA band */
  .cta-band-text h3 { font-size: 22px; }
  .cta-band-text p { font-size: 14px; }
  .cta-band-buttons {
    flex-direction: column;
    width: 100%;
  }
  .cta-band-buttons .btn {
    width: 100%;
    justify-content: center;
  }

  /* Contact channels: tighter padding */
  .contact-channel { padding: 16px; }
  .contact-channel-icon { width: 42px; height: 42px; }
  .contact-channel-icon svg { width: 20px; height: 20px; }
  .contact-channel-value { font-size: 15px; }

  /* Footer */
  .footer { padding: 44px 0 24px; }
  .footer-grid { padding-bottom: 28px; }
  .footer-logo-wrap { padding: 10px 14px; }
  .footer-logo-wrap img { height: 40px; }
  .footer-bottom { font-size: 11.5px; }

  /* Careers form */
  .apply-form { padding: 22px 18px; }
  .form-row input,
  .form-row select,
  .form-row textarea {
    font-size: 16px;  /* prevents iOS zoom on focus */
    padding: 11px 12px;
  }
  .why-card { padding: 28px 24px; }
}

@media (max-width: 380px) {
  .topbar-contact { gap: 6px; }
  .topbar-contact a { font-size: 11.5px; }
  .container { padding: 0 14px; }
  .gallery {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .gallery-item { aspect-ratio: 4 / 3; }
}
