:root {
  --navy: #0d2240;
  --steel: #1c3a5e;
  --orange: #e1531f;
  --gold: #ffa500;
  --glow-orange: #ff6b35;
  --cream: #f0ede4;
  --white: #ffffff;
  --text: #223041;
  --muted: #64748b;
  --border: #e5e7eb;
  --dark-bg: #0a1628;
  --light-glow: rgba(255, 165, 0, 0.3);
  --glass-surface: linear-gradient(135deg, rgba(24, 54, 92, 0.46) 0%, rgba(11, 28, 54, 0.34) 100%);
  --glass-surface-strong: linear-gradient(135deg, rgba(24, 54, 92, 0.62) 0%, rgba(10, 24, 46, 0.52) 100%);
  --glass-border: rgba(255, 188, 70, 0.34);
  --glass-shadow: 0 14px 40px rgba(0, 0, 0, 0.36), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.accordion-item.open {
  border-color: rgba(255, 186, 70, 0.34);
  box-shadow: 0 12px 32px rgba(7, 18, 38, 0.46);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  color: rgba(255, 255, 255, 0.94);
  line-height: 1.6;
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 165, 0, 0.12) 0%, transparent 38%),
    radial-gradient(circle at 82% 22%, rgba(74, 126, 255, 0.14) 0%, transparent 40%),
    linear-gradient(135deg, #071426 0%, #0a1931 52%, #11284b 100%);
  overflow-x: hidden;
  position: relative;
  isolation: isolate;
}

body > :not(.site-backdrop) {
  position: relative;
  z-index: 1;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  min-height: 118px;
  z-index: 200;
  background: linear-gradient(105deg, rgba(7, 20, 42, 0.78), rgba(12, 33, 62, 0.66) 55%, rgba(10, 28, 53, 0.76));
  backdrop-filter: blur(22px);
  border-bottom: 1px solid rgba(255, 186, 70, 0.34);
  border-bottom-left-radius: 16px;
  border-bottom-right-radius: 16px;
  box-shadow: 0 16px 40px rgba(4, 10, 22, 0.56);
  overflow: visible;
}

header::before {
  display: none;
}

header::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 190, 86, 0.72), transparent);
  pointer-events: none;
}

header.scrolled {
  box-shadow: 0 18px 44px rgba(255, 165, 0, 0.28);
}

body {
  padding-top: 120px;
}

.header-inner {
  max-width: 1400px;
  margin: 0 auto;
  min-height: 118px;
  padding: 0.7rem 1.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  position: relative;
  z-index: 2;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 700;
  flex-shrink: 0;
  position: static;
  padding-left: 0;
  min-height: 0;
}

.brand-logo {
  height: 98px;
  width: auto;
  max-width: 360px;
  object-fit: contain;
  filter: drop-shadow(0 0 18px rgba(255, 165, 0, 0.45));
  position: static;
  transform: translateY(7px);
  pointer-events: auto;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: Oswald, Arial, sans-serif;
  font-size: 1.32rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 900;
  color: white;
}

.brand-name span {
  color: #ffa500;
  text-shadow: 0 0 20px rgba(255, 165, 0, 0.6);
}

.brand-sub {
  font-size: 0.72rem;
  color: #ffa500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 600;
}

@keyframes header-sheen {
  0%, 100% { transform: translateX(-45%); opacity: 0.25; }
  50% { transform: translateX(35%); opacity: 0.55; }
}

nav {
  display: flex;
  gap: 1.35rem;
  align-items: center;
  flex: 1;
}

nav a {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 600;
  transition: all 0.3s ease;
  position: relative;
  padding: 8px 12px;
  font-size: 0.95rem;
  border-radius: 999px;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: 3px;
  left: 12px;
  width: calc(100% - 24px);
  height: 2px;
  background: linear-gradient(90deg, #ffa500, #ff6b35);
  transition: opacity 0.3s ease;
  opacity: 0;
}

nav a:hover::after,
nav a.active::after {
  opacity: 1;
}

nav a.active,
nav a:hover {
  color: #ffa500;
  text-shadow: 0 0 10px rgba(255, 165, 0, 0.6);
  background: rgba(255, 165, 0, 0.1);
}

.btn-cta, .btn-primary, .btn-submit, .btn-portal, .btn-white, .btn-outline, .btn-white-outline {
  display: inline-block;
  padding: 0.85rem 1.8rem;
  border-radius: 999px;
  font-weight: 700;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  font-size: 0.95rem;
}

.header-inner > .btn-cta {
  display: none !important;
}

.btn-cta, .btn-primary, .btn-submit, .btn-portal {
  background: linear-gradient(135deg, #ffbe45 0%, #ff8d3d 52%, #ff6b35 100%);
  color: white;
  box-shadow: 0 14px 30px rgba(255, 126, 53, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.btn-cta:hover, .btn-primary:hover, .btn-submit:hover, .btn-portal:hover {
  box-shadow: 0 18px 36px rgba(255, 153, 35, 0.48);
  transform: translateY(-3px);
}

.btn-outline {
  border: 2px solid #ffa500;
  color: #ffa500;
  background: transparent;
}

.btn-outline:hover {
  background: rgba(255, 165, 0, 0.15);
  box-shadow: 0 0 25px rgba(255, 165, 0, 0.7);
}

.btn-white {
  background: white;
  color: var(--navy);
  box-shadow: 0 0 25px rgba(255, 255, 255, 0.4);
}

.btn-white:hover {
  box-shadow: 0 0 35px rgba(255, 255, 255, 0.7);
}

.btn-white-outline {
  border: 2px solid white;
  color: white;
  background: transparent;
}

.btn-white-outline:hover {
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 0 25px rgba(255, 255, 255, 0.7);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: rgba(255, 255, 255, 0.92);
  border-radius: 999px;
  padding: 0.75rem 1.25rem;
  font-weight: 700;
  cursor: pointer;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.18);
}

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 0.4rem;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: white;
  margin: 4px 0;
  transition: all 0.3s ease;
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(8, 18, 36, 0.48) 0%, rgba(13, 34, 64, 0.5) 50%, rgba(10, 22, 40, 0.56) 100%),
    url("https://images.unsplash.com/photo-1541888946425-d81bb19240f5?auto=format&fit=crop&w=1600&q=80") center center / cover no-repeat;
  color: white;
  padding: 8rem 0 6rem;
  min-height: 700px;
  display: flex;
  align-items: center;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle, rgba(95, 199, 255, 0.34) 1px, transparent 1.8px) 0 0 / 42px 42px,
    radial-gradient(circle at 18% 45%, rgba(95, 199, 255, 0.16) 0%, transparent 52%),
    linear-gradient(180deg, rgba(2, 10, 24, 0.06) 0%, rgba(2, 10, 24, 0.18) 100%);
  animation: hero-grid-drift 16s linear infinite;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(102deg, transparent 0%, transparent 28%, rgba(92, 195, 255, 0.26) 31%, transparent 34%, transparent 100%),
    linear-gradient(94deg, transparent 0%, transparent 55%, rgba(102, 210, 255, 0.22) 58%, transparent 61%, transparent 100%);
  opacity: 0.78;
  animation: hero-wave-shift 13s ease-in-out infinite;
  pointer-events: none;
}

.particle-field {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
}

.particle {
  position: absolute;
  border-radius: 50%;
  animation: float 8s ease-in-out infinite;
  box-shadow: 0 0 20px rgba(255, 165, 0, 0.5);
}

.construction-elements {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  display: none;
}

.element {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.88);
  background: rgba(255, 165, 0, 0.12);
  border: 1px solid rgba(255, 165, 0, 0.35);
  box-shadow: 0 0 24px rgba(255, 165, 0, 0.35);
  animation: drift 10s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0) translateX(0); opacity: 0.3; }
  50% { transform: translateY(-25px) translateX(15px); opacity: 0.8; }
}

@keyframes hero-grid-drift {
  0% { background-position: 0 0, 0 0, 0 0; }
  100% { background-position: 42px 42px, 0 0, 0 0; }
}

@keyframes hero-wave-shift {
  0%, 100% { transform: translateX(-2%) translateY(0); }
  50% { transform: translateX(2%) translateY(1%); }
}

@keyframes float-slow {
  0%, 100% { transform: translateY(0) translateX(0) rotate(0deg); opacity: 0.2; }
  50% { transform: translateY(-30px) translateX(20px) rotate(5deg); opacity: 0.6; }
}

@keyframes fall {
  0% { transform: translateY(-100px) rotate(0deg); opacity: 0; }
  10% { opacity: 0.4; }
  90% { opacity: 0.4; }
  100% { transform: translateY(100vh) rotate(360deg); opacity: 0; }
}

.hero-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 2.2rem 2rem;
  position: relative;
  z-index: 2;
  border-radius: 24px;
  border: 1px solid rgba(255, 191, 90, 0.25);
  background: linear-gradient(130deg, rgba(8, 24, 46, 0.44) 0%, rgba(16, 40, 70, 0.28) 100%);
  box-shadow: 0 20px 48px rgba(5, 12, 25, 0.48);
  backdrop-filter: blur(10px);
}

.hero-tag {
  display: inline-block;
  margin-bottom: 1.5rem;
  color: #ffa500;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  font-weight: 700;
  text-shadow: 0 0 15px rgba(255, 165, 0, 0.8);
}

.hero h1 {
  font-family: Oswald, Arial, sans-serif;
  font-size: clamp(2.8rem, 5.5vw, 4rem);
  margin: 0 0 1.5rem;
  max-width: 1000px;
  text-shadow: 0 4px 16px rgba(0, 0, 0, 0.56), 0 0 18px rgba(255, 165, 0, 0.22);
  font-weight: 900;
  line-height: 1.15;
}

.gradient-text {
  background: linear-gradient(135deg, #ffa500, #ff6b35);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 1.2rem;
  max-width: 800px;
  color: rgba(255, 255, 255, 0.96);
  margin-bottom: 2.5rem;
  line-height: 1.8;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
}

.hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.tagline {
  display: grid;
  gap: 0.45rem;
  margin-top: 1rem;
  max-width: 760px;
  padding: 1rem 1.3rem;
  background: linear-gradient(115deg, rgba(255, 165, 0, 0.2), rgba(38, 85, 142, 0.28));
  border: 1px solid rgba(255, 194, 93, 0.38);
  border-left: 4px solid #ffbe45;
  border-radius: 14px;
  color: rgba(255, 255, 255, 0.94);
  box-shadow: var(--glass-shadow);
  backdrop-filter: blur(12px);
}

.tagline strong {
  font-size: 1.08rem;
  letter-spacing: 0.01em;
  font-style: italic;
}

.tagline span {
  font-size: 1.02rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.88);
}

@keyframes glow-pulse {
  0%, 100% { box-shadow: 0 0 20px rgba(255, 165, 0, 0.4); }
  50% { box-shadow: 0 0 50px rgba(255, 165, 0, 0.9); }
}

.section-inner {
  padding: 6rem 1.25rem;
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
  z-index: 10;
}

.section-inner::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 165, 0, 0.3), transparent);
}

.section-header {
  margin-bottom: 4rem;
  display: grid;
  gap: 0.4rem;
  max-width: 980px;
}

.section-alt {
  background: linear-gradient(135deg, rgba(225, 83, 31, 0.15) 0%, rgba(255, 165, 0, 0.09) 100%);
  border-top: 1px solid rgba(255, 165, 0, 0.28);
  border-bottom: 1px solid rgba(255, 165, 0, 0.24);
}

.section-soft {
  background: linear-gradient(135deg, rgba(14, 30, 54, 0.82) 0%, rgba(18, 44, 78, 0.62) 100%);
}

.section-tag {
  color: #ffa500;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  margin-bottom: 0.8rem;
  text-shadow: 0 0 10px rgba(255, 165, 0, 0.5);
}

.section-title {
  font-family: Oswald, Arial, sans-serif;
  font-size: clamp(2rem, 3vw, 2.8rem);
  margin: 0 0 1rem;
  color: white;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: 0.01em;
  text-wrap: balance;
}

.section-sub {
  color: rgba(255, 255, 255, 0.94);
  max-width: 800px;
  font-size: 1.1rem;
  line-height: 1.8;
}

.section-sub-detail {
  margin-top: 0.9rem;
  max-width: 940px;
  font-size: 1.02rem;
  color: rgba(255, 255, 255, 0.86);
}

.home-services-cta {
  margin-top: 2rem;
  padding: 1.2rem 1.4rem;
  border: 1px solid rgba(255, 191, 90, 0.36);
  border-radius: 16px;
  background: linear-gradient(115deg, rgba(12, 31, 58, 0.56), rgba(23, 54, 92, 0.34));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  box-shadow: var(--glass-shadow);
  backdrop-filter: blur(12px);
}

.home-services-cta p {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
}

.stat-strip {
  background: linear-gradient(135deg, rgba(255, 165, 0, 0.12) 0%, rgba(255, 107, 53, 0.08) 100%);
  border-top: 2px solid rgba(255, 165, 0, 0.25);
  border-bottom: 2px solid rgba(255, 165, 0, 0.25);
  backdrop-filter: blur(10px);
}

.stat-strip-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 3rem 1.25rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3rem;
}

.stat-item {
  text-align: center;
  padding: 1.5rem;
}

.stat-num {
  font-family: Oswald, Arial, sans-serif;
  font-size: 3rem;
  color: #ffa500;
  text-shadow: 0 0 25px rgba(255, 165, 0, 0.7);
  font-weight: 900;
  margin-bottom: 0.5rem;
}

.stat-label {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.05rem;
  font-weight: 600;
}

.services-grid, .why-grid, .testimonials-grid, .portal-grid, .info-cards, .values-grid, .cert-grid, .process-grid {
  display: grid;
  gap: 2.5rem;
}

.services-grid { grid-template-columns: repeat(3, 1fr); }
.why-grid { grid-template-columns: repeat(3, 1fr); }
.testimonials-grid { grid-template-columns: repeat(3, 1fr); }
.portal-grid { grid-template-columns: repeat(2, 1fr); }
.info-cards { grid-template-columns: repeat(3, 1fr); }
.values-grid { grid-template-columns: repeat(3, 1fr); }
.cert-grid { grid-template-columns: repeat(3, 1fr); }
.process-grid { grid-template-columns: repeat(4, 1fr); }

.service-card, .why-card, .testimonial-card, .portal-card, .info-card, .value-card, .process-step, .company-doc, .spec-panel, .form-card {
  background: var(--glass-surface);
  border: 1px solid var(--glass-border);
  border-radius: 18px;
  padding: 2.5rem;
  box-shadow: var(--glass-shadow);
  backdrop-filter: blur(16px);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.service-card:nth-child(2), .why-card:nth-child(2), .portal-card:nth-child(2), .value-card:nth-child(2) { animation-delay: 0.8s; }
.service-card:nth-child(3), .why-card:nth-child(3), .portal-card:nth-child(3), .value-card:nth-child(3) { animation-delay: 1.6s; }
.service-card:nth-child(4), .portal-card:nth-child(4), .value-card:nth-child(4) { animation-delay: 2.2s; }

.service-card::before, .why-card::before, .value-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 165, 0, 0.12) 0%, transparent 70%);
  animation: glow-pulse 4s ease-in-out infinite;
  pointer-events: none;
}

.service-card:hover, .why-card:hover, .testimonial-card:hover, .portal-card:hover, .value-card:hover {
  border-color: rgba(255, 194, 93, 0.62);
  box-shadow: 0 20px 52px rgba(6, 17, 34, 0.62), inset 0 0 28px rgba(255, 186, 70, 0.14);
  transform: translateY(-4px);
  background: var(--glass-surface-strong);
}

.service-icon, .why-icon, .value-icon {
  width: 3.5rem;
  height: 3.5rem;
  color: #ffa500;
  margin-bottom: 1.5rem;
  font-size: 2.2rem;
  text-shadow: 0 0 20px rgba(255, 165, 0, 0.7);
}

.service-title, .why-title, .value-title, .portal-title, .step-title {
  font-family: Oswald, Arial, sans-serif;
  margin: 1rem 0 1rem;
  text-transform: uppercase;
  color: #ffa500;
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: 0.05em;
}

.portal-title {
  font-size: 1.35rem;
  letter-spacing: 0.02em;
}

.service-desc, .why-desc, .testimonial-quote, .portal-desc, .step-desc, .info-card p {
  color: rgba(255, 255, 255, 0.93);
  line-height: 1.8;
  font-size: 0.98rem;
}

.testimonial-quote {
  font-size: 1.05rem;
  font-style: italic;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 1rem;
}

.accordion-item {
  background: linear-gradient(135deg, rgba(28, 58, 94, 0.25) 0%, rgba(13, 34, 64, 0.15) 100%);
  border: 1px solid rgba(255, 165, 0, 0.15);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
}

.services-media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.6rem;
  margin-bottom: 2.5rem;
}

.service-media-card {
  border: 1px solid rgba(255, 188, 70, 0.32);
  border-radius: 16px;
  background: var(--glass-surface);
  overflow: hidden;
  box-shadow: var(--glass-shadow);
  backdrop-filter: blur(14px);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

.service-media-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  object-position: center;
}

.service-media-card img.compliance-payroll-img {
  object-fit: contain;
  background: radial-gradient(circle at 30% 20%, rgba(46, 99, 173, 0.38), rgba(6, 14, 36, 0.96));
  padding: 0.4rem;
}

.service-media-card img.about-brand-banner-img {
  object-fit: contain;
  background: radial-gradient(circle at 30% 20%, rgba(42, 78, 134, 0.34), rgba(7, 15, 33, 0.96));
  padding: 0.4rem;
}

.service-media-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 194, 93, 0.68);
  box-shadow: 0 18px 44px rgba(7, 18, 37, 0.66);
}

.service-media-link {
  display: block;
  height: 100%;
}

.clickable-card {
  cursor: pointer;
}

.service-media-body {
  padding: 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.service-media-title {
  margin: 0 0 0.6rem;
  color: #ffb22f;
  font-family: Oswald, Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.card-link {
  display: inline-block;
  margin-top: 0.7rem;
  color: #ffd58a;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.83rem;
}

.card-link:hover {
  color: #fff0c7;
  text-decoration: underline;
}

.industry-grid, .client-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}

.boroughs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
  margin-top: 2rem;
}

.borough-card {
  background: var(--glass-surface);
  border: 1px solid rgba(255, 188, 70, 0.28);
  border-radius: 14px;
  padding: 1.2rem;
  color: rgba(255, 255, 255, 0.92);
  box-shadow: var(--glass-shadow);
  backdrop-filter: blur(14px);
}

.borough-icon {
  font-size: 1.5rem;
  margin-bottom: 0.4rem;
}

.borough-card h3 {
  margin: 0 0 0.45rem;
  color: #ffb22f;
}

.industry-card, .client-card {
  background: var(--glass-surface);
  border: 1px solid rgba(255, 188, 70, 0.28);
  border-radius: 14px;
  padding: 1.2rem;
  color: rgba(255, 255, 255, 0.92);
  box-shadow: var(--glass-shadow);
  backdrop-filter: blur(14px);
}

.industry-card h3, .client-card h3 {
  margin: 0 0 0.45rem;
  color: #ffb22f;
  font-size: 1.03rem;
}

.about-media-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.6rem;
}

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

.directory-item {
  background: var(--glass-surface);
  border: 1px solid rgba(255, 188, 70, 0.3);
  border-radius: 14px;
  padding: 1rem 1.1rem;
  box-shadow: var(--glass-shadow);
  backdrop-filter: blur(14px);
}

.directory-item h3 {
  margin: 0 0 0.35rem;
  color: #ffbd47;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.directory-item p {
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
}

.directory-item a {
  color: #ffd27a;
}

.accordion-header {
  padding: 1.5rem;
  background: rgba(28, 58, 94, 0.3);
  border-bottom: 1px solid rgba(255, 165, 0, 0.1);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
}

.accordion-header:hover {
  background: rgba(28, 58, 94, 0.5);
  border-bottom-color: rgba(255, 165, 0, 0.3);
}

.accordion-title {
  color: #ffa500;
  font-weight: 700;
  font-size: 1.1rem;
  margin: 0;
}

.accordion-toggle {
  color: #ffa500;
  font-weight: bold;
  transition: transform 0.3s ease;
}

.accordion-item.open .accordion-toggle {
  transform: rotate(180deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s ease;
}

.accordion-body {
  padding: 1.5rem;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.8;
}

.service-module {
  margin-bottom: 1.4rem;
  padding-bottom: 1.1rem;
  border-bottom: 1px dashed rgba(255, 165, 0, 0.25);
}

.service-module:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: 0;
}

.service-module h4 {
  margin: 0 0 0.65rem;
  color: #ffbd47;
  font-family: Oswald, Arial, sans-serif;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 1rem;
}

.service-module ul {
  margin: 0;
  padding-left: 1.1rem;
}

.service-module li {
  margin-bottom: 0.55rem;
  color: rgba(255, 255, 255, 0.93);
}

.who-section {
  background: linear-gradient(135deg, rgba(255, 165, 0, 0.08) 0%, rgba(255, 107, 53, 0.05) 100%);
  border-top: 2px solid rgba(255, 165, 0, 0.15);
  border-bottom: 2px solid rgba(255, 165, 0, 0.15);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3.5rem;
  align-items: start;
}

.reveal-left, .reveal-right {
  position: relative;
  z-index: 2;
}

.cred-list {
  padding-left: 1.5rem;
  color: rgba(255, 255, 255, 0.94);
  margin: 1.5rem 0;
}

.cred-list li {
  margin-bottom: 1rem;
  padding-left: 1.25rem;
  position: relative;
  font-size: 1.05rem;
  line-height: 1.7;
}

.cred-list li::before {
  content: '>';
  position: absolute;
  left: 0;
  color: #ffa500;
  font-weight: bold;
  font-size: 1.3rem;
}

.contact-band {
  background: linear-gradient(135deg, rgba(11, 28, 54, 0.9) 0%, rgba(19, 42, 74, 0.84) 100%);
  color: white;
  padding: 5rem 1.25rem;
  border-top: 2px solid rgba(255, 165, 0, 0.25);
  border-bottom: 2px solid rgba(255, 165, 0, 0.25);
  position: relative;
  overflow: hidden;
}

.contact-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 50%, rgba(255, 165, 0, 0.12) 0%, transparent 50%);
  pointer-events: none;
}

.contact-band-inner {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 2;
}

.contact-band h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: white;
  font-weight: 900;
}

.contact-band p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.94);
  margin-bottom: 1.5rem;
}

.contact-details {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin: 2.5rem 0;
}

.contact-item {
  background: var(--glass-surface);
  border: 1px solid rgba(255, 188, 70, 0.34);
  padding: 2rem;
  border-radius: 14px;
  backdrop-filter: blur(16px);
  transition: all 0.3s ease;
  box-shadow: var(--glass-shadow);
}

.contact-item:hover {
  background: var(--glass-surface-strong);
  border-color: rgba(255, 194, 93, 0.56);
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(10, 22, 41, 0.6);
}

.contact-item-title {
  color: #ffa500;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.brand-banner-section {
  padding: 2.2rem 1.25rem 2.8rem;
  border-top: 1px solid rgba(255, 165, 0, 0.2);
}

.brand-banner-inner {
  max-width: 860px;
  margin: 0 auto;
  border: 1px solid rgba(255, 188, 70, 0.34);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--glass-shadow);
  backdrop-filter: blur(12px);
}

.brand-banner-inner img {
  width: 100%;
  height: auto;
  display: block;
}

footer {
  background: linear-gradient(135deg, #0a1628 0%, #0d2240 100%);
  color: rgba(255, 255, 255, 0.85);
  border-top: 2px solid rgba(255, 165, 0, 0.15);
}

.footer-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding: 3rem 1.25rem;
}

.footer-links, .footer-contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1rem;
}

.footer-links a, .footer-contact-list a, .footer-links li, .footer-contact-list li {
  color: rgba(255, 255, 255, 0.9);
  transition: all 0.3s ease;
  font-size: 0.95rem;
  line-height: 1.6;
}

.footer-links a:hover {
  color: #ffa500;
  text-shadow: 0 0 10px rgba(255, 165, 0, 0.5);
  padding-left: 0.5rem;
}

.footer-title {
  color: #ffa500;
  font-weight: 700;
  margin-bottom: 1rem;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 165, 0, 0.1);
}

.footer-bottom-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 2rem 1.25rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
  text-align: center;
}

.footer-credit {
  margin-top: 0.45rem;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.62);
}

.footer-credit a {
  color: rgba(255, 205, 123, 0.95);
  font-weight: 600;
}

.footer-credit a:hover {
  color: #ffd798;
}

.footer-logo {
  width: auto;
  height: 110px;
  max-width: 220px;
  object-fit: contain;
  margin-bottom: 0.75rem;
  filter: drop-shadow(0 0 16px rgba(255, 165, 0, 0.35));
}

.page-hero {
  background:
    linear-gradient(135deg, rgba(12, 29, 54, 0.7) 0%, rgba(19, 45, 79, 0.64) 100%),
    url("/assets/banner.png") center center / cover no-repeat;
  color: white;
  padding: 5rem 0 3.5rem;
  border-bottom: 2px solid rgba(255, 165, 0, 0.2);
  margin-top: 0;
  position: relative;
  overflow: hidden;
}

.page-hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
  position: relative;
  z-index: 2;
}

.breadcrumb {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.page-hero h1 {
  font-family: Oswald, Arial, sans-serif;
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  margin: 0.5rem 0;
  color: white;
  font-weight: 900;
}

.form-wrapper {
  max-width: 1000px;
  margin: 0 auto;
}

form {
  background: var(--glass-surface);
  padding: 3rem;
  border-radius: 18px;
  border: 1px solid rgba(255, 188, 70, 0.34);
  box-shadow: var(--glass-shadow);
  backdrop-filter: blur(16px);
}

.form-wrapper form {
  max-width: 100%;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 1.8rem;
}

label {
  display: block;
  font-weight: 700;
  margin-bottom: 0.6rem;
  color: #ffa500;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

input, select, textarea {
  width: 100%;
  border: 1.5px solid rgba(255, 165, 0, 0.2);
  border-radius: 12px;
  padding: 0.95rem 1rem;
  font: inherit;
  background: rgba(255, 255, 255, 0.06);
  color: white;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  font-size: 0.95rem;
  min-height: 50px;
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: rgba(255, 165, 0, 0.6);
  background: rgba(255, 165, 0, 0.08);
  box-shadow: 0 0 20px rgba(255, 165, 0, 0.25);
}

input::placeholder, textarea::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

textarea {
  min-height: 150px;
  resize: vertical;
}

.checkbox-row {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.checkbox-row input {
  width: auto;
  margin-top: 0.45rem;
  cursor: pointer;
}

.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
}

.checkbox-grid label {
  font-weight: 500;
}

.form-success, .form-error-msg {
  margin-top: 1.5rem;
  padding: 1.2rem 1.5rem;
  border-radius: 12px;
  display: none;
  font-weight: 600;
  border-left: 4px solid;
}

.form-success {
  background: rgba(34, 197, 94, 0.15);
  color: #86efac;
  border-left-color: #22c55e;
}

.form-error-msg {
  background: rgba(239, 68, 68, 0.15);
  color: #fca5a5;
  border-left-color: #ef4444;
}

.required-note {
  color: rgba(255, 255, 255, 0.86);
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
}

.routing-note {
  margin: 0 0 1.1rem;
  padding: 0.8rem 1rem;
  border: 1px solid rgba(255, 188, 70, 0.3);
  border-radius: 12px;
  background: rgba(8, 25, 47, 0.42);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
}

.admin-status-select {
  width: 100%;
  margin-top: 0.45rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(8, 25, 47, 0.65);
  color: rgba(255, 255, 255, 0.95);
  padding: 0.55rem 0.7rem;
}

.admin-toolbar {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin: 0 0 1.25rem;
}

.admin-queue-insights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 0.65rem;
  margin: 0 0 0.9rem;
}

.admin-insight-card {
  border: 1px solid rgba(255, 188, 70, 0.24);
  border-radius: 12px;
  background: rgba(8, 25, 47, 0.46);
  padding: 0.7rem 0.8rem;
}

.admin-insight-card p {
  margin: 0 0 0.3rem;
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

.admin-insight-card strong {
  color: rgba(255, 255, 255, 0.96);
  font-size: 1.26rem;
}

.admin-filter-shell {
  border: 1px solid rgba(255, 188, 70, 0.24);
  border-radius: 14px;
  padding: 0.9rem;
  margin: 0 0 1rem;
  background: rgba(8, 25, 47, 0.42);
}

.admin-filter-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.admin-filter-grid input,
.admin-filter-grid select {
  width: 100%;
}

.admin-filter-actions {
  margin-top: 0.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.admin-visible-count {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.9rem;
}

.admin-request-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
  margin: 1rem 0;
}

.admin-request-actions .btn-secondary {
  width: 100%;
  margin: 0;
  justify-content: center;
}

.admin-request-actions .btn-submit {
  width: 100%;
  margin: 0;
  justify-content: center;
}

.admin-dashboard-grid {
  margin-bottom: 1rem;
}

.admin-dashboard-card {
  display: block;
}

.admin-task-toolbar {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin: 1rem 0 0.75rem;
}

.admin-task-list {
  display: grid;
  gap: 0.8rem;
}

.admin-task-card {
  border: 1px solid rgba(8, 24, 52, 0.12);
  border-radius: 12px;
  padding: 0.9rem;
  background: #f8fbff;
}

.admin-task-head {
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  align-items: flex-start;
  flex-wrap: wrap;
}

.admin-task-meta {
  margin: 0.45rem 0 0.5rem;
  color: #3a4d67;
  font-size: 0.9rem;
}

.admin-task-notes {
  margin: 0 0 0.7rem;
  white-space: pre-wrap;
  color: #0d213e;
}

.admin-task-actions {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.admin-task-actions select {
  min-width: 150px;
}

@media (max-width: 720px) {
  .admin-filter-grid {
    grid-template-columns: 1fr;
  }

  .admin-task-actions {
    flex-direction: column;
    align-items: stretch;
  }
}

body.admin-modal-open {
  overflow: hidden;
}

.admin-modal[hidden] {
  display: none !important;
}

.admin-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 5000;
}

.admin-modal.is-open {
  display: block;
}

.admin-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 10, 26, 0.75);
  backdrop-filter: blur(6px);
}

.admin-modal-dialog {
  position: relative;
  max-width: min(1040px, 94vw);
  max-height: 88vh;
  margin: 5vh auto;
  border: 1px solid rgba(255, 188, 70, 0.42);
  border-radius: 18px;
  background: linear-gradient(150deg, rgba(15, 39, 67, 0.96), rgba(7, 20, 38, 0.96));
  box-shadow: 0 24px 68px rgba(3, 10, 24, 0.7);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.admin-modal-header,
.admin-modal-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
  padding: 1rem 1.2rem;
  border-bottom: 1px solid rgba(255, 188, 70, 0.2);
}

.admin-modal-header h3 {
  margin: 0;
  color: #ffbc46;
  font-size: clamp(1.1rem, 1.6vw, 1.45rem);
}

.admin-modal-actions {
  border-top: 1px solid rgba(255, 188, 70, 0.2);
  border-bottom: 0;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.admin-modal-body {
  overflow: auto;
  padding: 1.2rem;
}

.admin-detail-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
  margin-bottom: 1.1rem;
}

.admin-detail-meta article {
  border: 1px solid rgba(255, 188, 70, 0.24);
  border-radius: 12px;
  background: rgba(8, 25, 47, 0.5);
  padding: 0.75rem 0.85rem;
}

.admin-detail-meta .admin-detail-source {
  grid-column: 1 / -1;
}

.admin-detail-meta span {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 0.35rem;
}

.admin-detail-meta strong {
  color: rgba(255, 255, 255, 0.95);
  font-size: 0.95rem;
}

.admin-form-view h4 {
  margin: 0 0 0.8rem;
  color: #ffbc46;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.98rem;
}

.admin-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.admin-form-field {
  border: 1px solid rgba(255, 188, 70, 0.2);
  border-radius: 12px;
  background: rgba(8, 25, 47, 0.45);
  padding: 0.7rem 0.8rem;
}

.admin-form-label {
  margin: 0 0 0.35rem;
  color: rgba(255, 255, 255, 0.68);
  text-transform: uppercase;
  font-size: 0.74rem;
  letter-spacing: 0.08em;
}

.admin-form-value {
  margin: 0;
  color: rgba(255, 255, 255, 0.96);
  white-space: pre-wrap;
  word-break: break-word;
  font-size: 0.94rem;
  line-height: 1.55;
}

.ambient-construction {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  overflow: hidden;
}

.site-backdrop {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.site-backdrop-wave,
.site-backdrop-vector,
.site-backdrop-grid {
  position: absolute;
  inset: 0;
}

.site-backdrop-wave {
  background:
    radial-gradient(65% 45% at 12% 42%, rgba(84, 198, 255, 0.28) 0%, transparent 70%),
    radial-gradient(58% 42% at 88% 62%, rgba(255, 170, 74, 0.24) 0%, transparent 72%),
    radial-gradient(56% 40% at 42% 18%, rgba(129, 149, 255, 0.2) 0%, transparent 70%);
  filter: blur(26px) saturate(1.12);
  animation: site-wave-drift 18s ease-in-out infinite;
}

.site-backdrop-vector {
  background:
    linear-gradient(108deg, transparent 0%, transparent 28%, rgba(124, 211, 255, 0.24) 32%, transparent 36%, transparent 100%),
    linear-gradient(92deg, transparent 0%, transparent 58%, rgba(255, 178, 93, 0.2) 62%, transparent 66%, transparent 100%),
    linear-gradient(122deg, transparent 0%, transparent 76%, rgba(101, 194, 255, 0.18) 80%, transparent 84%, transparent 100%);
  opacity: 0.94;
  animation: site-vector-sweep 22s linear infinite;
}

.site-backdrop-grid {
  background:
    linear-gradient(130deg, rgba(122, 209, 255, 0.2) 1px, transparent 1px),
    linear-gradient(40deg, rgba(255, 177, 88, 0.14) 1px, transparent 1px);
  background-size: 150px 150px, 190px 190px;
  mix-blend-mode: screen;
  opacity: 0.46;
  animation: site-grid-pulse 26s ease-in-out infinite;
}

@keyframes site-wave-drift {
  0%, 100% { transform: translate3d(-2%, 0, 0) scale(1); }
  35% { transform: translate3d(2%, -1.2%, 0) scale(1.04); }
  65% { transform: translate3d(-1.4%, 1.3%, 0) scale(1.02); }
}

@keyframes site-vector-sweep {
  0% { transform: translate3d(-4%, 0, 0); }
  50% { transform: translate3d(3%, -1%, 0); }
  100% { transform: translate3d(-4%, 0, 0); }
}

@keyframes site-grid-pulse {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); opacity: 0.26; }
  50% { transform: translate3d(1.8%, -1.2%, 0) scale(1.05); opacity: 0.42; }
}

.ambient-icon {
  position: absolute;
  color: rgba(255, 179, 56, 0.28);
  text-shadow: 0 0 10px rgba(255, 165, 0, 0.28);
  filter: saturate(1);
  font-weight: 700;
  letter-spacing: 0.06em;
  animation: drift 12s ease-in-out infinite;
}

@keyframes drift {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg); opacity: 0.22; }
  30% { transform: translate3d(22px, -34px, 0) rotate(8deg); opacity: 0.52; }
  60% { transform: translate3d(-18px, 24px, 0) rotate(-7deg); opacity: 0.34; }
}

@keyframes float-card {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

@keyframes mobile-glow-shift {
  0%, 100% { transform: scale(1) translateX(0); opacity: 0.32; }
  50% { transform: scale(1.08) translateX(2%); opacity: 0.5; }
}

.float-call {
  position: fixed;
  right: 2rem;
  bottom: 2rem;
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #ffa500, #ff6b35);
  display: grid;
  place-items: center;
  color: white;
  font-size: 1.6rem;
  box-shadow: 0 0 40px rgba(255, 165, 0, 0.7);
  cursor: pointer;
  z-index: 40;
  transition: all 0.3s ease;
  animation: glow-pulse 2s ease-in-out infinite;
}

.float-call:hover {
  transform: scale(1.15);
  box-shadow: 0 0 60px rgba(255, 165, 0, 1);
}

/* Hide legacy floating utility buttons to avoid overlap/stray placement */
.float-call,
.back-to-top {
  display: none !important;
}

.back-to-top {
  position: fixed;
  right: 2rem;
  bottom: 7rem;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  border: 0;
  background: linear-gradient(135deg, rgba(13, 34, 64, 0.85), rgba(28, 58, 94, 0.85));
  color: #ffa500;
  display: none;
  place-items: center;
  cursor: pointer;
  font-size: 1.3rem;
  transition: all 0.3s ease;
  border: 1.5px solid rgba(255, 165, 0, 0.4);
  backdrop-filter: blur(15px);
  z-index: 40;
}

.back-to-top.visible {
  display: grid;
}

.back-to-top:hover {
  background: linear-gradient(135deg, rgba(13, 34, 64, 1), rgba(28, 58, 94, 1));
  box-shadow: 0 0 30px rgba(255, 165, 0, 0.6);
  transform: translateY(-3px);
}

.reveal, .reveal-left, .reveal-right {
  opacity: 0;
  transform: translateY(30px);
  transition: 0.9s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.reveal-left {
  transform: translateX(-30px);
}

.reveal-right {
  transform: translateX(30px);
}

.reveal.visible, .reveal-left.visible, .reveal-right.visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 1024px) {
  .header-inner {
    gap: 1rem;
  }
  
  nav {
    gap: 1rem;
  }
  
  nav a {
    font-size: 0.85rem;
  }
  
  .services-grid, .why-grid, .testimonials-grid, .values-grid, .cert-grid, .contact-details {
    grid-template-columns: repeat(2, 1fr);
  }

  .industry-grid, .client-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .boroughs-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-media-grid {
    grid-template-columns: 1fr;
  }

  .directory-grid {
    grid-template-columns: 1fr;
  }
  
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .stat-strip-inner {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
  
  .footer-inner {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .about-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  body {
    padding-top: 94px;
  }

  .page-hero {
    margin-top: 0;
  }
  
  header {
    padding: 0.3rem 0;
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
  }
  
  .header-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    column-gap: 0.45rem;
    min-height: 92px;
    padding: 0.42rem 0.9rem;
  }

  .brand {
    min-width: 0;
    gap: 0.45rem;
    padding-left: 0;
    min-height: 0;
  }
  
  .brand-logo {
    height: 76px;
    width: auto;
    max-width: 240px;
    box-shadow: none;
    transform: translateY(3px);
  }

  .brand-text {
    min-width: 0;
    display: flex;
  }
  
  .brand-name {
    font-size: 1.06rem;
    line-height: 1.1;
    letter-spacing: 0.05em;
  }

  .brand-sub {
    font-size: 0.58rem;
    letter-spacing: 0.09em;
  }
  
  nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    background: linear-gradient(130deg, rgba(8, 25, 48, 0.96), rgba(14, 37, 66, 0.96));
    padding: 1rem;
    border-bottom: 1px solid rgba(255, 165, 0, 0.2);
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
    box-shadow: 0 14px 30px rgba(3, 8, 18, 0.45);
    display: none;
    gap: 0.5rem;
  }
  
  nav.open {
    display: flex;
  }
  
  .nav-toggle {
    display: block;
  }
  
  .section-inner {
    padding: 3.4rem 1rem;
  }
  
  .services-grid, .why-grid, .testimonials-grid, .portal-grid, .values-grid, .cert-grid, .contact-details, .footer-inner, .process-grid {
    grid-template-columns: 1fr;
  }

  .services-media-grid,
  .industry-grid,
  .client-grid,
  .boroughs-grid,
  .about-media-grid,
  .directory-grid {
    grid-template-columns: 1fr;
  }
  
  .stat-strip-inner {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.1rem;
    padding: 2rem 1rem;
  }

  .stat-item {
    padding: 0.75rem 0.45rem;
  }

  .stat-num {
    font-size: 2.35rem;
  }

  .stat-label {
    font-size: 0.96rem;
  }
  
  .hero {
    padding: 6rem 0 4rem;
    min-height: auto;
  }

  .hero-inner {
    padding: 1.2rem 1rem;
    border-radius: 16px;
  }

  .construction-elements {
    display: none;
  }

  .particle-field {
    display: none;
  }

  .ambient-construction {
    display: none;
  }

  .site-backdrop-wave,
  .site-backdrop-vector,
  .site-backdrop-grid {
    opacity: 0.65;
  }

  .float-call,
  .back-to-top {
    display: none !important;
  }

  .hero::before {
    background:
      radial-gradient(circle, rgba(95, 199, 255, 0.3) 1px, transparent 1.8px) 0 0 / 34px 34px,
      radial-gradient(circle at 18% 34%, rgba(95, 199, 255, 0.16) 0%, transparent 52%);
    animation: hero-grid-drift 18s linear infinite;
  }

  .hero h1 {
    font-size: clamp(2rem, 7.2vw, 2.6rem);
  }

  .hero-sub {
    font-size: 1rem;
    line-height: 1.65;
    margin-bottom: 1.4rem;
  }

  .tagline {
    padding: 0.85rem 1rem;
    gap: 0.3rem;
  }

  .tagline strong {
    font-size: 0.98rem;
  }

  .tagline span {
    font-size: 0.92rem;
    line-height: 1.45;
  }

  .service-media-card img {
    height: 205px;
  }

  .contact-band h2 {
    font-size: 2rem;
  }

  .contact-band p {
    font-size: 1rem;
  }

  .brand-banner-section {
    padding: 1.4rem 1rem 2rem;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  form {
    padding: 2rem;
  }
  
  .hero-btns {
    flex-direction: column;
  }
  
  .btn-cta, .btn-primary, .btn-submit, .btn-portal {
    width: 100%;
    text-align: center;
  }

  .admin-request-actions {
    grid-template-columns: 1fr;
  }

  .admin-detail-meta,
  .admin-form-grid {
    grid-template-columns: 1fr;
  }

  .admin-modal-dialog {
    margin: 4vh auto;
    max-height: 92vh;
  }

  .admin-modal-header,
  .admin-modal-actions {
    padding: 0.85rem 0.9rem;
  }

  .header-inner > .btn-cta {
    display: none !important;
  }
}

@media (max-width: 480px) {
  body {
    padding-top: 90px;
  }

  .page-hero {
    margin-top: 0;
  }

  .header-inner {
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: 0.45rem;
    min-height: 84px;
    padding: 0.28rem 0.7rem;
  }

  .brand-logo {
    height: 70px;
    width: auto;
    max-width: 200px;
    transform: translateY(2px);
  }

  .brand {
    padding-left: 0;
    min-height: 0;
  }

  .brand-name {
    font-size: 0.95rem;
    letter-spacing: 0.045em;
  }

  .brand-sub {
    font-size: 0.53rem;
    letter-spacing: 0.08em;
  }

  .header-inner > .btn-cta {
    display: none !important;
  }

  .stat-strip-inner {
    grid-template-columns: 1fr;
    padding: 1.6rem 0.9rem;
  }
  
  .checkbox-grid {
    grid-template-columns: 1fr;
  }
  
  .hero h1 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
  }

  .particle-field {
    display: none;
  }

  .site-backdrop-wave,
  .site-backdrop-vector,
  .site-backdrop-grid {
    opacity: 0.5;
  }

  .service-media-card img {
    height: 190px;
  }

  .tagline {
    border-radius: 6px;
  }

  .section-title {
    font-size: clamp(1.5rem, 2.5vw, 2rem);
  }
  
  .float-call, .back-to-top {
    right: 1rem;
    bottom: 1rem;
  }
  
  .back-to-top {
    bottom: 5rem;
  }
}

/* Next.js migration glass layer */
:root {
  --glass-bg: rgba(17, 38, 66, 0.42);
  --glass-border: rgba(255, 255, 255, 0.22);
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    linear-gradient(102deg, transparent 0%, transparent 30%, rgba(124, 211, 255, 0.16) 34%, transparent 38%, transparent 100%),
    linear-gradient(88deg, transparent 0%, transparent 54%, rgba(255, 178, 93, 0.14) 58%, transparent 62%, transparent 100%);
  opacity: 0.74;
}

.service-card, .why-card, .testimonial-card, .portal-card, .info-card, .value-card, .process-step, .company-doc, .spec-panel, .form-card,
.industry-card, .client-card, .borough-card, .directory-item, .contact-item, form {
  background: linear-gradient(140deg, var(--glass-bg) 0%, rgba(10, 28, 50, 0.3) 100%);
  border-color: var(--glass-border);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}
