/* ============================================================
   Painless Controls Inc. — Main Stylesheet
   Colour palette: Navy #0d2240 | Steel #4a6274 | White #f8f9fa | Orange #e8600a
   ============================================================ */

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:      #0d2240;
  --navy-dark: #081629;
  --navy-mid:  #163356;
  --steel:     #4a6274;
  --steel-lt:  #7a95a8;
  --orange:    #e8600a;
  --orange-dk: #c44f08;
  --white:     #ffffff;
  --off-white: #f4f6f8;
  --light-grey:#e8ecef;
  --mid-grey:  #c5ced5;
  --text-dark: #1a2b3c;
  --text-mid:  #3d5166;
  --text-light:#6b8296;
  --font-main: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  --radius:    4px;
  --shadow:    0 2px 12px rgba(13,34,64,.12);
  --shadow-lg: 0 6px 32px rgba(13,34,64,.18);
  --transition:0.25s ease;
  --max-w:     1200px;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-main);
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--orange); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--orange-dk); }
ul { list-style: none; }

/* ---------- Typography ---------- */
h1,h2,h3,h4,h5 {
  font-weight: 700;
  line-height: 1.25;
  color: var(--navy);
}
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.15rem; }
p  { margin-bottom: 1rem; color: var(--text-mid); }
p:last-child { margin-bottom: 0; }

.section-label {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: .6rem;
}

/* ---------- Layout Utilities ---------- */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 1.5rem; }
.section    { padding: 5rem 0; }
.section--alt { background: var(--off-white); }
.section--dark { background: var(--navy); }
.section--dark h2, .section--dark h3, .section--dark h4 { color: var(--white); }
.section--dark p { color: var(--steel-lt); }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

.text-center { text-align: center; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: .75rem 1.75rem;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: .03em;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
  text-align: center;
}
.btn-primary {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
}
.btn-primary:hover {
  background: var(--orange-dk);
  border-color: var(--orange-dk);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(232,96,10,.35);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--navy);
}
.btn-outline-dark {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-outline-dark:hover {
  background: var(--navy);
  color: var(--white);
}

/* ---------- Navigation ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--navy);
  box-shadow: 0 2px 16px rgba(0,0,0,.25);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  gap: 1rem;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: .75rem;
  text-decoration: none;
}
/* Real logo image */
.nav-logo-img {
  height: 44px;
  width: auto;
  display: block;
  /* Logo has white text — add subtle drop shadow for dark bg legibility */
  filter: drop-shadow(0 1px 3px rgba(0,0,0,.25));
}
.footer-logo-img {
  height: 48px;
  width: auto;
  display: block;
  margin-bottom: .75rem;
  /* Invert the light-coloured text on dark footer bg */
  filter: brightness(0) invert(1) drop-shadow(0 1px 2px rgba(0,0,0,.3));
}
.footer-logo-link { display: inline-block; }
.nav-logo-mark {
  width: 42px;
  height: 42px;
  background: var(--orange);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1.1rem;
  color: var(--white);
  letter-spacing: -.02em;
  flex-shrink: 0;
}
.nav-logo-text { line-height: 1.15; }
.nav-logo-text .brand-name {
  display: block;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: .02em;
}
.nav-logo-text .brand-tag {
  display: block;
  font-size: .7rem;
  color: var(--steel-lt);
  letter-spacing: .08em;
  text-transform: uppercase;
}
.nav-menu {
  display: flex;
  align-items: center;
  gap: .25rem;
}
.nav-menu a {
  color: var(--steel-lt);
  font-size: .9rem;
  font-weight: 600;
  padding: .5rem .85rem;
  border-radius: var(--radius);
  transition: all var(--transition);
  letter-spacing: .03em;
}
.nav-menu a:hover,
.nav-menu a.active {
  color: var(--white);
  background: rgba(255,255,255,.08);
}
.nav-cta {
  background: var(--orange) !important;
  color: var(--white) !important;
  padding: .5rem 1.1rem !important;
}
.nav-cta:hover {
  background: var(--orange-dk) !important;
}
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: .5rem;
  background: none;
  border: none;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--navy-dark);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: .35;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(8,22,41,.85) 0%, rgba(13,34,64,.6) 60%, transparent 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  padding: 4rem 0;
}
.hero-eyebrow {
  display: inline-block;
  background: var(--orange);
  color: var(--white);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: .35rem .9rem;
  border-radius: var(--radius);
  margin-bottom: 1.25rem;
}
.hero h1 {
  color: var(--white);
  margin-bottom: 1.25rem;
  text-shadow: 0 2px 12px rgba(0,0,0,.3);
}
.hero h1 span { color: var(--orange); }
.hero p {
  font-size: 1.15rem;
  color: rgba(255,255,255,.82);
  margin-bottom: 2rem;
  max-width: 580px;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-stats {
  position: absolute;
  bottom: 2.5rem;
  left: 0;
  right: 0;
  z-index: 2;
}
.hero-stats-inner {
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
}
.hero-stat { color: var(--white); }
.hero-stat .num {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: var(--orange);
  line-height: 1;
}
.hero-stat .label {
  font-size: .78rem;
  color: rgba(255,255,255,.65);
  text-transform: uppercase;
  letter-spacing: .08em;
}

/* ---------- Section Headers ---------- */
.section-header { margin-bottom: 3rem; }
.section-header.text-center .section-divider { margin: 1rem auto 0; }
.section-divider {
  width: 48px;
  height: 3px;
  background: var(--orange);
  border-radius: 2px;
  margin-top: 1rem;
}

/* ---------- Service Cards ---------- */
.service-card {
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.service-card-img {
  height: 220px;
  overflow: hidden;
}
.service-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.service-card:hover .service-card-img img { transform: scale(1.04); }
.service-card-body { padding: 1.5rem; flex: 1; }
.service-card-body h3 { margin-bottom: .6rem; font-size: 1.2rem; }
.service-card-body p { font-size: .92rem; }
.service-card-footer { padding: 0 1.5rem 1.5rem; }

/* ---------- Feature List ---------- */
.feature-list { display: flex; flex-direction: column; gap: .6rem; }
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  font-size: .92rem;
  color: var(--text-mid);
}
.feature-list li::before {
  content: '';
  display: block;
  width: 8px;
  height: 8px;
  min-width: 8px;
  border-radius: 50%;
  background: var(--orange);
  margin-top: .5rem;
}

/* ---------- Why Choose Us ---------- */
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 2rem; }
.why-card {
  text-align: center;
  padding: 2rem 1.5rem;
  border-radius: 8px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  transition: background var(--transition);
}
.why-card:hover { background: rgba(255,255,255,.09); }
.why-icon {
  width: 56px;
  height: 56px;
  background: var(--orange);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  font-size: 1.5rem;
}
.why-card h4 { color: var(--white); margin-bottom: .5rem; }
.why-card p { font-size: .9rem; color: rgba(255,255,255,.65); margin: 0; }

/* ---------- Industries ---------- */
.industry-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.industry-card {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  min-height: 280px;
  display: flex;
  align-items: flex-end;
  cursor: default;
}
.industry-card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform .4s ease;
}
.industry-card:hover .industry-card-bg { transform: scale(1.04); }
.industry-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8,22,41,.88) 0%, rgba(8,22,41,.3) 60%, transparent 100%);
}
.industry-card-content {
  position: relative;
  z-index: 2;
  padding: 1.5rem;
  width: 100%;
}
.industry-card-content h3 { color: var(--white); margin-bottom: .4rem; font-size: 1.2rem; }
.industry-card-content p { color: rgba(255,255,255,.75); font-size: .88rem; margin: 0; }

/* ---------- Projects / Portfolio ---------- */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: 2.5rem;
}
.filter-btn {
  padding: .45rem 1.1rem;
  border: 2px solid var(--mid-grey);
  border-radius: 30px;
  background: var(--white);
  color: var(--text-mid);
  font-size: .85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
}
.filter-btn:hover,
.filter-btn.active {
  border-color: var(--orange);
  background: var(--orange);
  color: var(--white);
}
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.75rem;
}
.project-card {
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
  cursor: pointer;
}
.project-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.project-card[data-hidden="true"] { display: none; }
.project-card-img {
  position: relative;
  height: 220px;
  overflow: hidden;
}
.project-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.project-card:hover .project-card-img img { transform: scale(1.04); }
.project-badge {
  position: absolute;
  top: .75rem;
  right: .75rem;
  padding: .25rem .7rem;
  border-radius: 20px;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.badge-completed { background: #1a7a4a; color: #fff; }
.badge-ongoing   { background: var(--orange); color: #fff; }
.project-card-body { padding: 1.25rem 1.5rem 1.5rem; }
.project-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem .9rem;
  margin-bottom: .75rem;
}
.project-meta span {
  font-size: .78rem;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: .3rem;
}
.project-meta span::before {
  content: '';
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--orange);
}
.project-card-body h3 { font-size: 1.1rem; margin-bottom: .5rem; }
.project-card-body p { font-size: .88rem; margin: 0; }

/* ---------- Lightbox ---------- */
.lightbox-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: rgba(0,0,0,.92);
  align-items: center;
  justify-content: center;
}
.lightbox-overlay.open { display: flex; }
.lightbox-inner {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.lightbox-img-wrap {
  position: relative;
  max-width: 90vw;
  max-height: 80vh;
}
.lightbox-img-wrap img {
  max-width: 90vw;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 4px;
}
.lightbox-close {
  position: absolute;
  top: -2.5rem;
  right: 0;
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
  opacity: .8;
  transition: opacity var(--transition);
}
.lightbox-close:hover { opacity: 1; }
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,.12);
  border: none;
  color: #fff;
  font-size: 1.8rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}
.lightbox-nav:hover { background: rgba(255,255,255,.25); }
.lightbox-prev { left: -3.5rem; }
.lightbox-next { right: -3.5rem; }
.lightbox-caption {
  margin-top: 1rem;
  color: rgba(255,255,255,.7);
  font-size: .88rem;
  text-align: center;
}
.lightbox-thumbs {
  display: flex;
  gap: .5rem;
  margin-top: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 90vw;
}
.lightbox-thumb {
  width: 60px;
  height: 45px;
  object-fit: cover;
  border-radius: 3px;
  cursor: pointer;
  opacity: .55;
  transition: opacity var(--transition);
  border: 2px solid transparent;
}
.lightbox-thumb:hover,
.lightbox-thumb.active { opacity: 1; border-color: var(--orange); }

/* ---------- Project Detail Modal ---------- */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 8000;
  background: rgba(0,0,0,.6);
  align-items: flex-start;
  justify-content: center;
  padding: 2rem 1rem;
  overflow-y: auto;
}
.modal-overlay.open { display: flex; }
.modal-box {
  background: var(--white);
  border-radius: 10px;
  max-width: 860px;
  width: 100%;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  margin: auto;
}
.modal-header {
  position: relative;
  height: 300px;
  overflow: hidden;
}
.modal-header img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.modal-header-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8,22,41,.8), transparent 60%);
}
.modal-header-content {
  position: absolute;
  bottom: 1.5rem;
  left: 1.75rem;
  right: 1.75rem;
}
.modal-header-content h2 { color: var(--white); font-size: 1.6rem; }
.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(0,0,0,.45);
  border: none;
  color: #fff;
  font-size: 1.4rem;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.modal-body { padding: 2rem 1.75rem; }
.modal-meta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1rem;
  margin-bottom: 1.75rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid var(--light-grey);
}
.modal-meta-item label {
  display: block;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--text-light);
  margin-bottom: .2rem;
}
.modal-meta-item span {
  font-size: .95rem;
  font-weight: 600;
  color: var(--text-dark);
}
.modal-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: .75rem;
  margin-top: 1.5rem;
}
.modal-gallery img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: 4px;
  cursor: pointer;
  transition: opacity var(--transition);
}
.modal-gallery img:hover { opacity: .85; }

/* ---------- About / Values ---------- */
.values-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem; }
.value-card {
  padding: 1.75rem;
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
  border-top: 3px solid var(--orange);
}
.value-card h4 { margin-bottom: .6rem; }
.value-card p { font-size: .9rem; margin: 0; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 3rem; align-items: start; }
.contact-info-block { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-item { display: flex; gap: 1rem; align-items: flex-start; }
.contact-icon {
  width: 44px;
  height: 44px;
  background: var(--navy);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
  color: var(--orange);
}
.contact-item-text label {
  display: block;
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--text-light);
  margin-bottom: .2rem;
}
.contact-item-text a,
.contact-item-text span { font-size: .95rem; font-weight: 600; color: var(--text-dark); }
.contact-form-card {
  background: var(--white);
  border-radius: 10px;
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
}
.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block;
  font-size: .85rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: .4rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: .75rem 1rem;
  border: 1.5px solid var(--mid-grey);
  border-radius: var(--radius);
  font-family: var(--font-main);
  font-size: .95rem;
  color: var(--text-dark);
  background: var(--off-white);
  transition: border-color var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--navy); background: var(--white); }
.form-group textarea { resize: vertical; min-height: 130px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-error {
  margin-top: 1rem;
  padding: .9rem 1.1rem;
  background: #fff5f5;
  border: 1px solid #f5c6c6;
  border-radius: var(--radius);
  color: #b91c1c;
  font-size: .9rem;
}
.form-success {
  display: none;
  padding: 1rem;
  background: #e8f5e9;
  border: 1px solid #a5d6a7;
  border-radius: var(--radius);
  color: #2e7d32;
  font-size: .9rem;
  margin-top: 1rem;
}

/* ---------- Page Hero (inner pages) ---------- */
.page-hero {
  background: var(--navy);
  padding: 4rem 0 3.5rem;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: .15;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: var(--white); margin-bottom: .6rem; }
.page-hero p { color: rgba(255,255,255,.7); font-size: 1.1rem; max-width: 600px; margin: 0; }
.breadcrumb {
  display: flex;
  gap: .5rem;
  align-items: center;
  margin-bottom: 1.25rem;
  font-size: .82rem;
  color: rgba(255,255,255,.5);
}
.breadcrumb a { color: rgba(255,255,255,.65); }
.breadcrumb a:hover { color: var(--orange); }
.breadcrumb span { color: var(--orange); }

/* ---------- CTA Banner ---------- */
.cta-banner {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy-mid) 100%);
  padding: 4.5rem 0;
  text-align: center;
}
.cta-banner h2 { color: var(--white); margin-bottom: 1rem; }
.cta-banner p { color: rgba(255,255,255,.7); max-width: 560px; margin: 0 auto 2rem; }
.cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,.6);
  padding: 4rem 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
}
.footer-brand .nav-logo { margin-bottom: 1rem; }
.footer-brand .footer-logo-link { margin-bottom: 1rem; }
.footer-brand p { font-size: .88rem; color: rgba(255,255,255,.55); line-height: 1.7; }
.footer-col h5 {
  color: var(--white);
  font-size: .9rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 1.1rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: .5rem; }
.footer-col ul li a {
  color: rgba(255,255,255,.55);
  font-size: .88rem;
  transition: color var(--transition);
}
.footer-col ul li a:hover { color: var(--orange); }
.footer-contact-item {
  display: flex;
  gap: .6rem;
  align-items: flex-start;
  font-size: .88rem;
  color: rgba(255,255,255,.55);
  margin-bottom: .65rem;
}
.footer-contact-item a { color: rgba(255,255,255,.55); }
.footer-contact-item a:hover { color: var(--orange); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 1.25rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .82rem;
  flex-wrap: wrap;
  gap: .5rem;
}
.footer-bottom a { color: rgba(255,255,255,.55); }
.footer-bottom a:hover { color: var(--orange); }

/* ---------- Specializations ---------- */
.spec-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; }
.spec-card {
  padding: 1.75rem;
  background: var(--off-white);
  border-radius: 8px;
  border-left: 4px solid var(--orange);
}
.spec-card h4 { margin-bottom: .75rem; }
.spec-card ul { display: flex; flex-direction: column; gap: .4rem; }
.spec-card ul li {
  font-size: .88rem;
  color: var(--text-mid);
  padding-left: 1.1rem;
  position: relative;
}
.spec-card ul li::before {
  content: '›';
  position: absolute;
  left: 0;
  color: var(--orange);
  font-weight: 700;
}

/* ---------- Stats Bar ---------- */
.stats-bar {
  background: var(--orange);
  padding: 2.5rem 0;
}
.stats-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1.5rem;
  text-align: center;
}
.stat-item .num {
  display: block;
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}
.stat-item .label {
  font-size: .82rem;
  color: rgba(255,255,255,.8);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-top: .3rem;
}

/* ---------- Image-text split ---------- */
.split-section { display: grid; grid-template-columns: 1fr 1fr; gap: 0; align-items: stretch; }
.split-img { overflow: hidden; min-height: 400px; }
.split-img img { width: 100%; height: 100%; object-fit: cover; }
.split-content { padding: 4rem; display: flex; flex-direction: column; justify-content: center; }
.split-section.reverse .split-img { order: 2; }
.split-section.reverse .split-content { order: 1; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .split-section { grid-template-columns: 1fr; }
  .split-section.reverse .split-img { order: 0; }
  .split-section.reverse .split-content { order: 0; }
  .split-content { padding: 3rem 2rem; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .section { padding: 3.5rem 0; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .nav-menu { display: none; flex-direction: column; position: absolute; top: 70px; left: 0; right: 0; background: var(--navy); padding: 1rem; gap: 0; }
  .nav-menu.open { display: flex; }
  .nav-menu a { padding: .75rem 1rem; width: 100%; border-radius: 0; border-bottom: 1px solid rgba(255,255,255,.05); }
  .nav-toggle { display: flex; }
  .nav-inner { position: relative; }
  .hero { min-height: 70vh; }
  .hero-stats { position: static; margin-top: 2rem; }
  .hero-stats-inner { gap: 1.5rem; }
  .lightbox-prev { left: -.5rem; }
  .lightbox-next { right: -.5rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .modal-meta-grid { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 1.8rem; }
  .projects-grid { grid-template-columns: 1fr; }
  .modal-meta-grid { grid-template-columns: 1fr; }
}

/* ---------- Utility / Animations ---------- */
.fade-in { opacity: 0; transform: translateY(20px); transition: opacity .5s ease, transform .5s ease; }
.fade-in.visible { opacity: 1; transform: none; }

/* Skip link */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--orange);
  color: #fff;
  padding: .5rem 1rem;
  border-radius: 0 0 4px 4px;
  font-weight: 700;
  z-index: 9999;
}
.skip-link:focus { top: 0; }
