/* ==========================================================================
   JD Trading Lanka (Pvt) Limited - Responsive Corporate Stylesheet
   Mobile-first hardened across 320px phones, foldables, tablets, and desktops
   ========================================================================== */

:root {
  --red-600: #C81E2B;
  --red-700: #A61521;
  --red-800: #87101A;
  --red-50: #FDF2F3;
  --navy-950: #08182C;
  --navy-900: #0D223D;
  --navy-800: #143257;
  --slate-900: #111827;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748B;
  --slate-200: #E2E8F0;
  --slate-100: #F1F5F9;
  --slate-50: #F8FAFC;
  --white: #FFFFFF;
  --shadow-sm: 0 2px 8px rgba(13, 34, 61, 0.06);
  --shadow-md: 0 10px 30px rgba(13, 34, 61, 0.10);
  --shadow-lg: 0 20px 45px rgba(13, 34, 61, 0.14);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --container: 1220px;
  --transition: 0.22s ease;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: clip;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--slate-700);
  background-color: var(--white);
  line-height: 1.6;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

main, section, header, footer {
  max-width: 100%;
}

/* Prevent CSS Grid/Flex children from forcing horizontal scroll on narrow screens */
.about-grid > *,
.divisions-grid > *,
.reach-grid > *,
.contact-layout > *,
.timeline-grid > *,
.division-feature-grid > *,
.process-grid > *,
.clients-grid > *,
.cards-2 > *,
.cards-3 > *,
.footer-main > *,
.division-strip > * {
  min-width: 0;
}

h1, h2, h3, h4, h5 {
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  color: var(--navy-900);
  margin: 0 0 0.75rem;
  line-height: 1.22;
  font-weight: 700;
  overflow-wrap: break-word;
}

p {
  margin: 0 0 1rem;
  overflow-wrap: break-word;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition), background-color var(--transition), border-color var(--transition), transform var(--transition);
}

img, svg {
  max-width: 100%;
  display: block;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(14px, 3vw, 24px);
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  box-shadow: 0 2px 16px rgba(13, 34, 61, 0.08);
}

.top-bar {
  background: var(--slate-50);
  border-bottom: 1px solid var(--slate-200);
  font-size: 0.82rem;
  color: var(--slate-600);
}

.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 0;
  gap: 12px;
  flex-wrap: wrap;
}

.top-contact-list {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.top-contact-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
}

.top-contact-item:hover {
  color: var(--red-600);
}

.top-contact-item svg {
  width: 15px;
  height: 15px;
  color: var(--red-600);
  flex-shrink: 0;
}

.top-badge {
  font-weight: 600;
  color: var(--navy-900);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.top-badge::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red-600);
}

.nav-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  gap: 14px;
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex: 1 1 auto;
}

.brand-lockup > span {
  min-width: 0;
}

.brand-logo {
  width: clamp(38px, 6vw, 50px);
  height: clamp(38px, 6vw, 50px);
  flex-shrink: 0;
}

.brand-title {
  display: block;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(0.92rem, 2.2vw, 1.15rem);
  font-weight: 800;
  color: var(--navy-900);
  letter-spacing: -0.01em;
  line-height: 1.18;
}

.brand-subtitle {
  display: block;
  font-size: clamp(0.66rem, 1.4vw, 0.75rem);
  font-weight: 500;
  color: var(--slate-500);
  margin-top: 2px;
  line-height: 1.25;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 9px 12px;
  min-height: 40px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy-900);
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--red-600);
  background: var(--red-50);
}

.nav-link.active {
  background: var(--red-600);
  color: var(--white);
}

.nav-dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 265px;
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all var(--transition);
  z-index: 1200;
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  display: block;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  min-height: 44px;
}

.dropdown-item:hover {
  background: var(--red-50);
}

.dropdown-item strong {
  display: block;
  font-size: 0.88rem;
  color: var(--navy-900);
}

.dropdown-item span {
  display: block;
  font-size: 0.76rem;
  color: var(--slate-500);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  min-height: 44px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.92rem;
  line-height: 1.3;
  text-align: center;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: all var(--transition);
  white-space: normal;
  max-width: 100%;
}

.btn-primary {
  background: var(--red-600);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--red-700);
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(200, 30, 43, 0.25);
}

.btn-navy {
  background: rgba(13, 34, 61, 0.85);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(6px);
}

.btn-navy:hover {
  background: var(--navy-900);
  border-color: var(--white);
}

.btn-outline-white {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.65);
}

.btn-outline-white:hover {
  background: var(--white);
  color: var(--navy-900);
}

.btn-outline-red {
  background: var(--white);
  color: var(--red-600);
  border-color: var(--red-600);
}

.btn-outline-red:hover {
  background: var(--red-600);
  color: var(--white);
}

.btn-sm {
  padding: 9px 15px;
  min-height: 40px;
  font-size: 0.84rem;
}

.nav-cta {
  padding: 9px 16px;
  font-size: 0.88rem;
  white-space: nowrap;
}

.mobile-toggle {
  display: none;
  background: var(--slate-100);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-sm);
  min-width: 44px;
  min-height: 44px;
  padding: 8px;
  cursor: pointer;
  color: var(--navy-900);
  flex-shrink: 0;
}

/* ==========================================================================
   Hero Section & Division Quick Strip
   ========================================================================== */

.hero-wrapper {
  position: relative;
  background: var(--navy-950);
  padding-bottom: 54px;
}

.hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: var(--navy-950);
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8, 24, 44, 0.94) 0%, rgba(13, 34, 61, 0.85) 52%, rgba(13, 34, 61, 0.35) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  padding: clamp(40px, 7vw, 64px) 0 clamp(76px, 9vw, 96px);
  color: var(--white);
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #E2E8F0;
  background: rgba(200, 30, 43, 0.28);
  border: 1px solid rgba(200, 30, 43, 0.7);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.hero h1 {
  color: var(--white);
  font-size: clamp(1.7rem, 4vw, 3.05rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 16px;
}

.hero h1 span {
  color: #FF4D5A;
}

.hero-lead {
  font-size: clamp(0.95rem, 1.8vw, 1.04rem);
  color: #E2E8F0;
  margin-bottom: 12px;
  line-height: 1.65;
}

.hero-sub {
  font-size: clamp(0.88rem, 1.5vw, 0.95rem);
  color: #CBD5E1;
  margin-bottom: 24px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.division-strip-wrap {
  position: relative;
  z-index: 5;
  margin-top: -54px;
}

.division-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--slate-200);
  overflow: hidden;
}

.strip-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px;
  border-right: 1px solid var(--slate-200);
  background: var(--white);
}

.strip-item:last-child {
  border-right: none;
}

.strip-item:hover {
  background: var(--red-50);
}

.strip-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--red-50);
  color: var(--red-600);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.strip-icon svg {
  width: 24px;
  height: 24px;
}

.strip-text strong {
  display: block;
  font-size: 0.96rem;
  color: var(--navy-900);
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.strip-text span {
  display: block;
  font-size: 0.8rem;
  color: var(--slate-500);
  line-height: 1.35;
}

/* ==========================================================================
   Generic Sections & Headings
   ========================================================================== */

.section {
  padding: clamp(44px, 6vw, 72px) 0;
}

.section-muted {
  background: var(--slate-50);
}

.section-heading-center {
  text-align: center;
  max-width: 760px;
  margin: 0 auto clamp(28px, 4vw, 44px);
}

.section-title-lines {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 10px;
}

.section-title-lines::before,
.section-title-lines::after {
  content: "";
  height: 2px;
  width: clamp(24px, 6vw, 68px);
  background: var(--red-600);
  flex-shrink: 0;
}

.section-title-lines h2 {
  margin: 0;
  font-size: clamp(1.45rem, 2.8vw, 2.25rem);
}

.section-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--red-600);
  margin-bottom: 8px;
}

.section-subtitle {
  color: var(--slate-600);
  font-size: clamp(0.92rem, 1.5vw, 1rem);
}

/* ==========================================================================
   About Section
   ========================================================================== */

.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr 1fr;
  gap: 24px;
  align-items: stretch;
}

.about-copy h2 {
  font-size: clamp(1.55rem, 2.6vw, 2rem);
  margin-bottom: 6px;
}

.about-copy h2 span {
  color: var(--red-600);
  display: block;
}

.about-tagline {
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy-800);
  margin-bottom: 14px;
}

.about-copy p {
  font-size: 0.94rem;
  color: var(--slate-600);
}

.about-photo-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--slate-200);
  min-height: 280px;
}

.about-photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-photo-caption {
  position: absolute;
  bottom: 12px;
  left: 12px;
  right: 12px;
  background: rgba(8, 24, 44, 0.88);
  color: var(--white);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  backdrop-filter: blur(4px);
}

.pillar-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  justify-content: space-between;
}

.pillar-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  box-shadow: var(--shadow-sm);
}

.pillar-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--red-50);
  color: var(--red-600);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pillar-icon svg {
  width: 21px;
  height: 21px;
}

.pillar-card h3 {
  font-size: 0.96rem;
  margin-bottom: 3px;
}

.pillar-card p {
  font-size: 0.83rem;
  color: var(--slate-600);
  margin: 0;
}

/* ==========================================================================
   Our Business Divisions
   ========================================================================== */

.divisions-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.division-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition);
}

.division-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.division-img {
  height: 185px;
  overflow: hidden;
  background: var(--slate-100);
}

.division-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.division-card:hover .division-img img {
  transform: scale(1.04);
}

.division-header {
  background: linear-gradient(135deg, var(--red-700), var(--red-600));
  color: var(--white);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.division-header-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.16);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.division-header-icon svg {
  width: 20px;
  height: 20px;
}

.division-header h3 {
  color: var(--white);
  font-size: 1.04rem;
  margin: 0;
}

.division-header span {
  display: block;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.9);
  margin-top: 2px;
}

.division-body {
  padding: 18px 16px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.division-body p {
  font-size: 0.87rem;
  color: var(--slate-600);
  margin-bottom: 14px;
}

.check-list {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 18px;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.84rem;
  color: var(--slate-700);
  font-weight: 500;
}

.check-list li::before {
  content: "✓";
  color: var(--red-600);
  font-weight: 800;
  flex-shrink: 0;
}

.division-cta {
  margin-top: auto;
  width: 100%;
}

/* ==========================================================================
   Valued Corporate Clients Strip
   ========================================================================== */

.clients-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 12px;
  align-items: stretch;
}

.client-logo-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 14px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 78px;
  box-shadow: var(--shadow-sm);
}

.client-logo-card svg {
  max-width: 100%;
  height: 36px;
}

/* ==========================================================================
   Customer Base, Highlights & Quick Contact
   ========================================================================== */

.reach-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr;
  gap: 22px;
  align-items: stretch;
}

.navy-panel {
  background: linear-gradient(155deg, var(--navy-900) 0%, #1B3B66 100%);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: clamp(22px, 3vw, 28px);
  box-shadow: var(--shadow-md);
}

.navy-panel h3 {
  color: var(--white);
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  margin-bottom: 10px;
}

.navy-panel > p {
  color: #CBD5E1;
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.segment-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.segment-icon {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  flex-shrink: 0;
}

.segment-row strong {
  display: block;
  font-size: 0.94rem;
  color: var(--white);
}

.segment-row span {
  display: block;
  font-size: 0.82rem;
  color: #CBD5E1;
}

.highlights-panel {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: clamp(20px, 3vw, 26px);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.highlights-panel h3 {
  text-align: center;
  font-size: 1.25rem;
  margin-bottom: 18px;
}

.stat-boxes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.stat-box {
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 14px 10px;
  text-align: center;
}

.stat-box strong {
  display: block;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  color: var(--red-600);
  margin-bottom: 4px;
}

.stat-box span {
  display: block;
  font-size: 0.78rem;
  color: var(--slate-600);
  line-height: 1.35;
}

.touch-panel {
  background: var(--white);
  border: 1.5px solid #F3C4C8;
  border-radius: var(--radius-lg);
  padding: clamp(20px, 3vw, 26px);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.touch-panel h3 {
  color: var(--red-600);
  font-size: 1.4rem;
  margin-bottom: 6px;
}

.touch-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 18px 0 22px;
}

.touch-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--slate-700);
  overflow-wrap: anywhere;
}

.touch-item svg {
  width: 20px;
  height: 20px;
  color: var(--red-600);
  flex-shrink: 0;
  margin-top: 2px;
}

/* ==========================================================================
   Cards, History, Process, FAQ, Contact Form
   ========================================================================== */

.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.cards-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.info-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: clamp(18px, 3vw, 24px);
  box-shadow: var(--shadow-sm);
}

.info-card-accent {
  border-top: 4px solid var(--red-600);
}

.info-card-navy {
  border-top: 4px solid var(--navy-900);
}

.timeline-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 24px;
  align-items: start;
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.tag-pill {
  background: var(--red-50);
  color: var(--red-700);
  border: 1px solid #F6C8CD;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.process-step {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 20px 16px;
  position: relative;
  box-shadow: var(--shadow-sm);
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--red-600);
  color: var(--white);
  font-weight: 800;
  font-size: 0.9rem;
  margin-bottom: 12px;
}

.process-step h3 {
  font-size: 0.98rem;
  margin-bottom: 6px;
}

.process-step p {
  font-size: 0.84rem;
  color: var(--slate-600);
  margin: 0;
}

/* FAQ Accordion */
.faq-list {
  max-width: 880px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  padding: 16px 18px;
  min-height: 52px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(0.94rem, 1.8vw, 1rem);
  font-weight: 700;
  color: var(--navy-900);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.faq-question:hover {
  color: var(--red-600);
}

.faq-icon {
  font-size: 1.25rem;
  color: var(--red-600);
  transition: transform var(--transition);
  flex-shrink: 0;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  display: none;
  padding: 0 18px 18px;
  font-size: 0.93rem;
  color: var(--slate-600);
  border-top: 1px solid var(--slate-100);
}

.faq-item.open .faq-answer {
  display: block;
  padding-top: 14px;
}

/* Contact & Quote Form */
.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 24px;
  align-items: start;
}

.contact-info-box {
  background: var(--navy-900);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: clamp(22px, 3vw, 32px);
}

.contact-info-box h3 {
  color: var(--white);
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  margin-bottom: 10px;
}

.contact-info-box p {
  color: #CBD5E1;
  font-size: 0.93rem;
}

.contact-meta-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 22px;
}

.contact-meta-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.92rem;
  overflow-wrap: anywhere;
}

.contact-meta-item strong {
  display: block;
  color: var(--white);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.contact-meta-item span,
.contact-meta-item a {
  color: #E2E8F0;
}

.enquiry-form-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: clamp(20px, 3vw, 32px);
  box-shadow: var(--shadow-md);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.form-group.full {
  grid-column: 1 / -1;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy-900);
}

/* Minimum 16px font-size prevents iOS Safari auto-zoom on focus */
.form-control {
  width: 100%;
  min-height: 44px;
  padding: 10px 13px;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 1rem;
  color: var(--slate-900);
  background: var(--slate-50);
  transition: border-color var(--transition), background-color var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--red-600);
  background: var(--white);
}

textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

.form-status {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  display: none;
}

.form-status.success {
  display: block;
  background: #ECFDF5;
  color: #065F46;
  border: 1px solid #A7F3D0;
}

.form-status.error {
  display: block;
  background: #FEF2F2;
  color: #991B1B;
  border: 1px solid #FECACA;
}

/* ==========================================================================
   Subpage Hero Banner
   ========================================================================== */

.page-banner {
  background: linear-gradient(135deg, var(--navy-950) 0%, var(--navy-800) 100%);
  color: var(--white);
  padding: clamp(38px, 6vw, 58px) 0;
}

.page-banner h1 {
  color: var(--white);
  font-size: clamp(1.6rem, 3.2vw, 2.6rem);
  margin-bottom: 10px;
}

.page-banner p {
  color: #CBD5E1;
  max-width: 740px;
  font-size: clamp(0.94rem, 1.6vw, 1.02rem);
  margin-bottom: 0;
}

.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.84rem;
  color: #CBD5E1;
  margin-bottom: 12px;
}

.breadcrumb a:hover {
  color: var(--white);
  text-decoration: underline;
}

.division-feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: center;
}

.division-feature-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.division-feature-img img {
  width: 100%;
  height: clamp(220px, 38vw, 360px);
  object-fit: cover;
}

/* ==========================================================================
   Footer & Mobile Quick Bar
   ========================================================================== */

.site-footer {
  background: linear-gradient(135deg, var(--red-800) 0%, var(--red-600) 100%);
  color: var(--white);
}

.footer-main {
  padding: clamp(36px, 5vw, 50px) 0 clamp(28px, 4vw, 38px);
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap: 28px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.footer-brand img {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
}

.footer-brand strong {
  display: block;
  font-size: 1.05rem;
}

.footer-brand span {
  display: block;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.88);
}

.footer-col h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  padding-bottom: 8px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.88rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.92);
  display: inline-block;
  padding: 2px 0;
}

.footer-links a:hover {
  color: var(--white);
  padding-left: 4px;
}

.footer-bottom {
  background: var(--white);
  color: var(--slate-700);
  border-top: 1px solid var(--slate-200);
  font-size: 0.84rem;
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 14px 0;
}

.footer-bottom-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

/* Mobile-only quick dock for effortless thumb navigation */
.mobile-quick-dock {
  display: none;
}

/* ==========================================================================
   Responsive Breakpoints (Tablets, Landscape, Small Phones)
   ========================================================================== */

@media (max-width: 1180px) {
  .divisions-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .clients-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .process-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .about-grid {
    grid-template-columns: 1fr 1fr;
  }
  .about-grid .pillar-list {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 960px) {
  .mobile-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 14px 16px 22px;
    border-top: 1px solid var(--slate-200);
    box-shadow: var(--shadow-lg);
    max-height: calc(100vh - 75px);
    overflow-y: auto;
  }
  .nav-menu.open {
    display: flex;
  }
  .nav-link {
    width: 100%;
    justify-content: space-between;
    padding: 11px 14px;
    min-height: 44px;
  }
  .nav-cta {
    margin-top: 6px;
    width: 100%;
  }
  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    background: var(--slate-50);
    border-radius: var(--radius-sm);
    padding: 6px 8px;
    margin-top: 4px;
    display: none;
  }
  .nav-dropdown.open .dropdown-menu {
    display: block;
  }
  .division-strip {
    grid-template-columns: repeat(2, 1fr);
  }
  .strip-item:nth-child(2n) {
    border-right: none;
  }
  .strip-item:nth-child(-n+2) {
    border-bottom: 1px solid var(--slate-200);
  }
  .reach-grid,
  .contact-layout,
  .timeline-grid,
  .division-feature-grid,
  .cards-3 {
    grid-template-columns: 1fr;
  }
  .cards-2,
  .footer-main {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .top-bar {
    display: none;
  }
  .hero-wrapper {
    padding-bottom: 24px;
  }
  .hero {
    min-height: 0;
  }
  .hero-overlay {
    background: linear-gradient(180deg, rgba(8, 24, 44, 0.90) 0%, rgba(13, 34, 61, 0.93) 100%);
  }
  .hero-content {
    padding: 34px 0 36px;
  }
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-actions .btn {
    width: 100%;
  }
  .division-strip-wrap {
    margin-top: 16px;
  }
  .about-grid,
  .about-grid .pillar-list,
  .divisions-grid,
  .division-strip,
  .process-grid,
  .cards-2,
  .form-grid,
  .footer-main {
    grid-template-columns: 1fr;
  }
  .clients-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .clients-grid .client-logo-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }
  .strip-item {
    border-right: none;
    border-bottom: 1px solid var(--slate-200);
  }
  .strip-item:last-child {
    border-bottom: none;
  }
  .footer-bottom-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .mobile-quick-dock {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1100;
    background: var(--white);
    border-top: 1px solid var(--slate-200);
    box-shadow: 0 -4px 18px rgba(13, 34, 61, 0.12);
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }
  .mobile-quick-dock a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    padding: 9px 6px;
    min-height: 54px;
    font-size: 0.74rem;
    font-weight: 700;
    color: var(--navy-900);
    border-right: 1px solid var(--slate-100);
  }
  .mobile-quick-dock a:last-child {
    border-right: none;
    background: var(--red-600);
    color: var(--white);
  }
  .mobile-quick-dock svg {
    width: 18px;
    height: 18px;
  }
  body {
    padding-bottom: calc(58px + env(safe-area-inset-bottom, 0px));
  }
}

@media (max-width: 380px) {
  .brand-subtitle {
    display: none;
  }
  .section-title-lines::before,
  .section-title-lines::after {
    display: none;
  }
  .stat-boxes {
    grid-template-columns: 1fr;
  }
  .clients-grid {
    grid-template-columns: 1fr;
  }
}
